@wtfalch/foundry 0.44.0 → 0.44.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.
@@ -995,7 +995,7 @@ export interface PlatformArchonRuntime {
995
995
  export declare const PLATFORM_ARCHON_ACCESS_APP_NAME = "foundry:platform:archon";
996
996
  /**
997
997
  * Archon paths a machine calls and Archon authenticates itself (its `proxy.ts`:
998
- * `PUBLIC_EXACT` and `ORG_CHANGES_PATH_RE`). Each gets its own Access app with
998
+ * `PUBLIC_ROUTES` and the org route pattern in `src/lib/public-routes.ts`). Each gets its own Access app with
999
999
  * one bypass policy, because the hostname app would otherwise ask a machine for
1000
1000
  * an emailed code. `/api/uptime/targets` and `/api/uptime/results` are left out
1001
1001
  * on purpose: they pass the hostname app through the uptime service-token
@@ -3722,7 +3722,7 @@ const PLATFORM_ARCHON_TUNNEL_SCOPE_KEY = 'cloudflare_platform_archon_tunnel';
3722
3722
  const PLATFORM_ARCHON_ACCESS_SCOPE_KEY = 'cloudflare_platform_archon_access_app';
3723
3723
  /**
3724
3724
  * Archon paths a machine calls and Archon authenticates itself (its `proxy.ts`:
3725
- * `PUBLIC_EXACT` and `ORG_CHANGES_PATH_RE`). Each gets its own Access app with
3725
+ * `PUBLIC_ROUTES` and the org route pattern in `src/lib/public-routes.ts`). Each gets its own Access app with
3726
3726
  * one bypass policy, because the hostname app would otherwise ask a machine for
3727
3727
  * an emailed code. `/api/uptime/targets` and `/api/uptime/results` are left out
3728
3728
  * on purpose: they pass the hostname app through the uptime service-token
@@ -3736,6 +3736,7 @@ export const PLATFORM_ARCHON_PUBLIC_PATHS = [
3736
3736
  { name: 'usage-tick', path: '/api/usage/tick' },
3737
3737
  { name: 'reporting-collect', path: '/api/reporting/collect' },
3738
3738
  { name: 'org-changes', path: '/api/orgs/*/changes' },
3739
+ { name: 'org-settings', path: '/api/orgs/*/settings' },
3739
3740
  ];
3740
3741
  const PLATFORM_ARCHON_PUBLIC_POLICY_NAME = 'foundry: public path';
3741
3742
  const archonPublicAppName = (name) => `${PLATFORM_ARCHON_ACCESS_APP_NAME}:public:${name}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wtfalch/foundry",
3
- "version": "0.44.0",
3
+ "version": "0.44.1",
4
4
  "description": "Foundry's SDK: the declared org's types, the plan and apply contracts, and the state store's interface.",
5
5
  "repository": {
6
6
  "type": "git",