@wix/origami-site 0.1.13 → 0.1.15

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/origami-site",
3
- "version": "0.1.13",
3
+ "version": "0.1.15",
4
4
  "description": "Runs an exported Wix origami site: file-based routing, Wix dynamic pages, popups and build checks. Use with @wix/origami-site-astro or @wix/origami-site-express.",
5
5
  "type": "module",
6
6
  "files": [
@@ -48,7 +48,7 @@
48
48
  "@wix/origami-types": "1.4.0",
49
49
  "@wix/builder-error-pages": "^1.1.6",
50
50
  "@wix/builder-piler-components": "^1.6.7",
51
- "@wix/origami-transforms": "0.1.8",
51
+ "@wix/origami-transforms": "0.1.9",
52
52
  "@babel/parser": "^7.25.0",
53
53
  "@wix/system-core-components": "^1.3.10"
54
54
  },
@@ -91,5 +91,5 @@
91
91
  "optional": true
92
92
  }
93
93
  },
94
- "falconPackageHash": "4ac96e3424d72ea4e249857636f23b2f4e22af082d644f6b99637eb0"
94
+ "falconPackageHash": "748e601cea98786102660536fbd9888a9acd2d16a4e737a9eb66090a"
95
95
  }
@@ -8,7 +8,7 @@ export type SiteOptions = {
8
8
  root: string // the site package folder
9
9
  mode: 'dev' | 'prod'
10
10
  table?: SiteRouteTable // prod: the table from the build. dev: omitted, the core scans.
11
- wix: { clientId: string; siteId: string } // from VITE_WIX_CLIENT_ID / VITE_WIX_SITE_ID
11
+ wix: { clientId: string; siteId: string } // from VITE_WIX_CLIENT_ID / VITE_WIX_METASITE_ID
12
12
  tokens?: TokenProvider // default: rejects until router support (stage 2)
13
13
  access?: AccessSource // default: noAccessRules (4)
14
14
  accessHandlers?: AccessHandler[] // default: []
@@ -35,7 +35,7 @@ export interface ConformanceDriver {
35
35
  start(root: string, env: SiteEnv): Promise<RunningSite>
36
36
  }
37
37
 
38
- export type SiteEnv = Record<string, string> // VITE_WIX_CLIENT_ID, VITE_WIX_SITE_ID, ORIGAMI_WIX_API_BASE (tests), PORT
38
+ export type SiteEnv = Record<string, string> // VITE_WIX_CLIENT_ID, VITE_WIX_METASITE_ID, ORIGAMI_WIX_API_BASE (tests), PORT
39
39
  export type RunningSite = { url: URL; logs(): string; restarts(): number; stop(): Promise<void> }
40
40
  export type BuildResult = { ok: true; output: string } | { ok: false; output: string }
41
41