@40rty/ams-sdk 0.1.0 → 0.2.0

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/index.js CHANGED
@@ -11202,7 +11202,7 @@ function primedEntitiesFor(resolverKey) {
11202
11202
  import { useEffect as useEffect20, useState as useState22 } from "react";
11203
11203
 
11204
11204
  // package.json
11205
- var version = "0.1.0";
11205
+ var version = "0.2.0";
11206
11206
 
11207
11207
  // src/host/host-modules.ts
11208
11208
  import * as react from "react";
@@ -49,6 +49,15 @@ export interface CreateSpaceInput {
49
49
  * identity plane (create-space's promote) supplies it here.
50
50
  */
51
51
  ownerUserId?: string;
52
+ /**
53
+ * The organization that owns the space — written to the canonical
54
+ * `spaces.organization_id` column on the insert. Optional because a space may
55
+ * be born unclaimed (the Shopify install flow); a caller creating a space FOR
56
+ * an organization sets it here AND mirrors it into
57
+ * `platformConfig.organizationId` (the legacy field, still read until the
58
+ * expand-contract retires it — `20260813211813_space_organization_ownership.sql`).
59
+ */
60
+ organizationId?: string;
52
61
  }
53
62
  /**
54
63
  * A space's connector — a first-class row (the `connectors` table), one per
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "react": "^18.3.0 || ^19.0.0",
26
26
  "react-dom": "^18.3.0 || ^19.0.0"
27
27
  },
28
- "version": "0.1.0",
28
+ "version": "0.2.0",
29
29
  "homepage": "https://docs.40rty.ai",
30
30
  "license": "UNLICENSED",
31
31
  "engines": {