Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/facade/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Run `make sync` after every Wippy Web Host version bump to pull fresh copies.

# Web Host CDN base — update version when Wippy Web Host releases
WEB_HOST_CDN = https://web-host.wippy.ai/webcomponents-1.0.51
WEB_HOST_CDN = https://web-host.wippy.ai/webcomponents-1.0.52

# Files to sync from CDN into public/@wippy-fe/
CDN_FILES = loading.js
Expand Down
6 changes: 3 additions & 3 deletions src/facade/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ These fields are NOT configurable via requirements — they are computed at runt

| Requirement | Default | Description |
|---|---|---|
| `fe_facade_url` | `https://web-host.wippy.ai/webcomponents-1.0.51` | CDN base URL for the Web Host frontend bundle |
| `fe_facade_url` | `https://web-host.wippy.ai/webcomponents-1.0.52` | CDN base URL for the Web Host frontend bundle |
| `fe_entry_path` | `/iframe.html` | Iframe HTML entry point path (appended to `fe_facade_url`) |
| `fe_mode` | `compat` | `compat` (default — loads `module.js`) or `managed` (loads `managed-layout.js` for declarative multi-panel apps). See [Modes](#modes) above |
| `render_engine` | `iframe` | Global page render engine for packaged `view.page` micro-frontends: `iframe` (default — legacy srcdoc iframe) or `fragment` (Web Fragment / reframed realm reflected into a shadow root). `fragment` **requires** the `wippy/views` fragment gateway and a fragment-capable host bundle serving `/@wippy-fe/proxy-fragment.js`. Flows to the host as `hostConfig.renderEngine`; the child app is engine-agnostic (same package renders under either engine). |
Expand Down Expand Up @@ -390,9 +390,9 @@ Returns an empty body (200 OK) when no variables are configured. Response has `C

```json
{
"facade_url": "https://web-host.wippy.ai/webcomponents-1.0.51",
"facade_url": "https://web-host.wippy.ai/webcomponents-1.0.52",
"iframe_origin": "https://web-host.wippy.ai",
"iframe_url": "https://web-host.wippy.ai/webcomponents-1.0.51/iframe.html?waitForCustomConfig",
"iframe_url": "https://web-host.wippy.ai/webcomponents-1.0.52/iframe.html?waitForCustomConfig",
"login_path": "/login.html",
"login_redirect_param": null,
"env": {
Expand Down
2 changes: 1 addition & 1 deletion src/facade/_index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ entries:
targets:
- entry: wippy.facade:fe_facade_url
path: .default
default: https://web-host.wippy.ai/webcomponents-1.0.51
default: https://web-host.wippy.ai/webcomponents-1.0.52

- name: fe_entry_path
kind: ns.requirement
Expand Down
2 changes: 1 addition & 1 deletion src/facade/config_handler_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ local function define_tests()
end)

test.it("extracts iframe origin from facade URL", function()
local facade_url = "https://web-host.wippy.ai/webcomponents-1.0.51"
local facade_url = "https://web-host.wippy.ai/webcomponents-1.0.52"
local origin = facade_url:match("^(https?://[^/]+)")

test.eq(origin, "https://web-host.wippy.ai")
Expand Down
2 changes: 1 addition & 1 deletion src/facade/test/config_dependency_test.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ local function run()
local entry = registry.get(NS .. "fe_facade_url")
test.not_nil(entry)
test.not_nil(entry.data)
test.eq(entry.data.default, "https://web-host.wippy.ai/webcomponents-1.0.49")
test.eq(entry.data.default, "https://web-host.wippy.ai/webcomponents-1.0.52")

entry = registry.get(NS .. "app_title")
test.not_nil(entry)
Expand Down
Loading