@alignable/bifrost 0.0.35 → 0.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  declare const _default: {
2
2
  route: string;
3
+ clientRouting: false;
3
4
  Page: string;
4
5
  onRenderHtml: "import:@alignable/bifrost/proxy/pages/passthru/onRenderHtml";
5
- onRenderClient: "import:@alignable/bifrost/proxy/pages/passthru/onRenderClient";
6
6
  };
7
7
 
8
8
  export { _default as default };
@@ -1,10 +1,10 @@
1
1
  // proxy/pages/passthru/+config.ts
2
2
  var config_default = {
3
3
  route: "/*",
4
+ clientRouting: false,
4
5
  // Fake page:
5
6
  Page: "import:@alignable/bifrost/proxy/pages/Page",
6
- onRenderHtml: "import:@alignable/bifrost/proxy/pages/passthru/onRenderHtml",
7
- onRenderClient: "import:@alignable/bifrost/proxy/pages/passthru/onRenderClient"
7
+ onRenderHtml: "import:@alignable/bifrost/proxy/pages/passthru/onRenderHtml"
8
8
  };
9
9
  export {
10
10
  config_default as default
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../proxy/pages/passthru/+config.ts"],"sourcesContent":["import { Config } from \"vike/types\";\n\nexport default {\n route: \"/*\",\n // Fake page:\n Page: \"import:@alignable/bifrost/proxy/pages/Page\",\n onRenderHtml: \"import:@alignable/bifrost/proxy/pages/passthru/onRenderHtml\",\n onRenderClient:\n \"import:@alignable/bifrost/proxy/pages/passthru/onRenderClient\",\n} satisfies Config;\n"],"mappings":";AAEA,IAAO,iBAAQ;AAAA,EACb,OAAO;AAAA;AAAA,EAEP,MAAM;AAAA,EACN,cAAc;AAAA,EACd,gBACE;AACJ;","names":[]}
1
+ {"version":3,"sources":["../../../../proxy/pages/passthru/+config.ts"],"sourcesContent":["import { Config } from \"vike/types\";\n\nexport default {\n route: \"/*\",\n clientRouting: false,\n // Fake page:\n Page: \"import:@alignable/bifrost/proxy/pages/Page\",\n onRenderHtml: \"import:@alignable/bifrost/proxy/pages/passthru/onRenderHtml\",\n} satisfies Config;\n"],"mappings":";AAEA,IAAO,iBAAQ;AAAA,EACb,OAAO;AAAA,EACP,eAAe;AAAA;AAAA,EAEf,MAAM;AAAA,EACN,cAAc;AAChB;","names":[]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@alignable/bifrost",
3
3
  "repository": "https://github.com/Alignable/bifrost.git",
4
- "version": "0.0.35",
4
+ "version": "0.0.36",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
7
7
  "exports": {
@@ -61,10 +61,6 @@
61
61
  "types": "./dist/proxy/pages/passthru/onRenderHtml.d.ts",
62
62
  "default": "./dist/proxy/pages/passthru/onRenderHtml.js"
63
63
  },
64
- "./proxy/pages/passthru/onRenderClient": {
65
- "types": "./dist/proxy/pages/passthru/onRenderClient.d.ts",
66
- "default": "./dist/proxy/pages/passthru/onRenderClient.js"
67
- },
68
64
  ".": {
69
65
  "types": "./dist/index.d.ts",
70
66
  "default": "./dist/index.js"
@@ -1,3 +0,0 @@
1
- declare function onRenderClient(): Promise<void>;
2
-
3
- export { onRenderClient as default };
@@ -1,8 +0,0 @@
1
- // proxy/pages/passthru/onRenderClient.tsx
2
- async function onRenderClient() {
3
- window.location.reload();
4
- }
5
- export {
6
- onRenderClient as default
7
- };
8
- //# sourceMappingURL=onRenderClient.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../../proxy/pages/passthru/onRenderClient.tsx"],"sourcesContent":["export default async function onRenderClient() {\n // Passthru pages are unhandled by bifrost, reload to grab legacy content from server\n window.location.reload();\n}\n"],"mappings":";AAAA,eAAO,iBAAwC;AAE7C,SAAO,SAAS,OAAO;AACzB;","names":[]}