@monoflake/sdk 0.0.0 → 2026.1004.1
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/dist/src/index.d.ts +2 -3
- package/dist/src/index.js +3 -8
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -197,9 +197,8 @@ export declare const GATEWAY_NAMES: {
|
|
|
197
197
|
};
|
|
198
198
|
/**
|
|
199
199
|
* Where each consumer's pages are served, by its service code: what a declaration's `cors.origins`
|
|
200
|
-
* names, so no `service.toml` spells an origin. The status page has
|
|
201
|
-
*
|
|
202
|
-
* code".
|
|
200
|
+
* names, so no `service.toml` spells an origin. The status page has two, both Vercel's. See
|
|
201
|
+
* spec/architecture/gateway.md, "A route names who may call it by service code".
|
|
203
202
|
*/
|
|
204
203
|
export declare const PAGE_ORIGINS: Readonly<Record<string, readonly string[]>>;
|
|
205
204
|
export type UrlEnvironment = keyof typeof URLS.apps;
|
package/dist/src/index.js
CHANGED
|
@@ -186,17 +186,12 @@ const GATEWAY_NAMES = {
|
|
|
186
186
|
};
|
|
187
187
|
/**
|
|
188
188
|
* Where each consumer's pages are served, by its service code: what a declaration's `cors.origins`
|
|
189
|
-
* names, so no `service.toml` spells an origin. The status page has
|
|
190
|
-
*
|
|
191
|
-
* code".
|
|
189
|
+
* names, so no `service.toml` spells an origin. The status page has two, both Vercel's. See
|
|
190
|
+
* spec/architecture/gateway.md, "A route names who may call it by service code".
|
|
192
191
|
*/
|
|
193
192
|
const PAGE_ORIGINS = {
|
|
194
193
|
site: [URLS.apps.production.site],
|
|
195
|
-
status: [
|
|
196
|
-
INTERNAL.status.canonical,
|
|
197
|
-
INTERNAL.status.mirror,
|
|
198
|
-
INTERNAL.app
|
|
199
|
-
]
|
|
194
|
+
status: [INTERNAL.status.canonical, INTERNAL.status.mirror]
|
|
200
195
|
};
|
|
201
196
|
function pickUrls(isDev) {
|
|
202
197
|
return isDev ? URLS.apps.development : URLS.apps.production;
|