@monoflake/sdk 2026.1004.2 → 2026.1004.4

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,4 +1,4 @@
1
- import { GITHUB_OWNER, LOOPBACK_HOST, Normalized, PORT_OFFSET, isDevHost, loopbackUrl, normalizePath, normalizedLocation } from "@canmi/me/urls";
1
+ import { GITHUB_OWNER, LOOPBACK_HOST, Normalized, isDevHost, loopbackUrl, normalizePath, normalizedLocation } from "@canmi/me/urls";
2
2
  //#region src/index.d.ts
3
3
  /**
4
4
  * The repositories whose deploy runs the hook passes to the nodes, as GitHub names them: the two
@@ -25,7 +25,7 @@ export declare const PINNED_PORTS: {
25
25
  export declare const BOUND_PORTS: {
26
26
  readonly quota: 26523;
27
27
  };
28
- /** The ports this checkout's servers bind: the pinned ones, shifted in the sandbox. */
28
+ /** The ports this checkout's servers bind: the pinned ones and the bound ones together. */
29
29
  export declare const DEVELOPMENT_PORTS: { readonly [App in keyof typeof PINNED_PORTS | keyof typeof BOUND_PORTS]: number; };
30
30
  export type AppName = keyof typeof PINNED_PORTS;
31
31
  export type DevelopmentUrls = Readonly<Record<AppName | 'symlink', string>>;
@@ -214,4 +214,4 @@ export declare function pickUrls(isDev: boolean): UrlMap;
214
214
  */
215
215
  export declare function pageUrls(isDev: boolean): UrlMap;
216
216
  //#endregion
217
- export { GITHUB_OWNER, LOOPBACK_HOST, type Normalized, PORT_OFFSET, isDevHost, loopbackUrl, normalizePath, normalizedLocation };
217
+ export { GITHUB_OWNER, LOOPBACK_HOST, type Normalized, isDevHost, loopbackUrl, normalizePath, normalizedLocation };
package/dist/src/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { CONTACT, EXTERNAL, GITHUB_OWNER, LOOPBACK_HOST, PORT_OFFSET, SITE, SITE_PORT, SOURCE, isDevHost, loopbackUrl, normalizePath, normalizedLocation } from "@canmi/me/urls";
1
+ import { CONTACT, EXTERNAL, GITHUB_OWNER, LOOPBACK_HOST, SITE, SITE_PORT, SOURCE, isDevHost, loopbackUrl, normalizePath, normalizedLocation } from "@canmi/me/urls";
2
2
  import { INFRA, PANEL_PORT } from "@monoflake/urls";
3
3
  //#region src/index.ts
4
4
  /**
@@ -30,11 +30,11 @@ const PINNED_PORTS = {
30
30
  };
31
31
  /** Workers reached by binding alone: a port that is the mutex, and no address. */
32
32
  const BOUND_PORTS = { quota: 26523 };
33
- /** The ports this checkout's servers bind: the pinned ones, shifted in the sandbox. */
34
- const DEVELOPMENT_PORTS = Object.fromEntries(Object.entries({
33
+ /** The ports this checkout's servers bind: the pinned ones and the bound ones together. */
34
+ const DEVELOPMENT_PORTS = {
35
35
  ...PINNED_PORTS,
36
36
  ...BOUND_PORTS
37
- }).map(([app, port]) => [app, port + PORT_OFFSET]));
37
+ };
38
38
  /** The site's scope of the API host, which is the service's name, `site`. */
39
39
  const SITE_SCOPE = "site";
40
40
  /**
@@ -211,4 +211,4 @@ function pageUrls(isDev) {
211
211
  } : URLS.apps.production;
212
212
  }
213
213
  //#endregion
214
- export { BOUND_PORTS, DEPLOY_SOURCES, DEVELOPMENT_PORTS, DEVELOPMENT_PROXY_PATHS, GATEWAY, GATEWAY_HOSTS, GATEWAY_NAMES, GITHUB_OWNER, LOOPBACK_HOST, PAGE_ORIGINS, PINNED_PORTS, PORT_OFFSET, URLS, developmentUrl, developmentUrls, isDevHost, loopbackUrl, normalizePath, normalizedLocation, pageUrls, pickUrls };
214
+ export { BOUND_PORTS, DEPLOY_SOURCES, DEVELOPMENT_PORTS, DEVELOPMENT_PROXY_PATHS, GATEWAY, GATEWAY_HOSTS, GATEWAY_NAMES, GITHUB_OWNER, LOOPBACK_HOST, PAGE_ORIGINS, PINNED_PORTS, URLS, developmentUrl, developmentUrls, isDevHost, loopbackUrl, normalizePath, normalizedLocation, pageUrls, pickUrls };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monoflake/sdk",
3
- "version": "2026.1004.2",
3
+ "version": "2026.1004.4",
4
4
  "description": "The platform's addresses, and every client of its services and its policies behind a subpath",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -63,9 +63,9 @@
63
63
  }
64
64
  },
65
65
  "dependencies": {
66
- "@canmi/me": "^2026.1004.1",
66
+ "@canmi/me": "^2026.1004.4",
67
67
  "@canmi/response": "^2.0.0",
68
- "@monoflake/urls": "^2026.1004.0",
68
+ "@monoflake/urls": "^2026.1004.3",
69
69
  "valibot": "^1.5.0"
70
70
  },
71
71
  "devDependencies": {