@immediately-run/sandbox-protocol 0.14.2 → 0.15.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/sandbox.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // GENERATED by scripts/generate.mjs — DO NOT EDIT.
3
3
  // Source of truth: src/descriptors.protocol.mjs (@immediately-run/sandbox-protocol)
4
- // descriptorsHash: 70d1a0afe6dedf5d
4
+ // descriptorsHash: 8f546f51d9b1b45d
5
5
  //
6
6
  // The sandbox↔SDK wire vocabulary (PLATFORM_LAYERING_SPEC §2 / S1). Import the
7
7
  // constants instead of writing the string: a rename then has ONE edit site and
package/dist/sdk.d.ts CHANGED
@@ -284,6 +284,11 @@ export interface ProtocolSpacesLeaveParams {
284
284
  export interface ProtocolSpacesListParams {
285
285
  app?: false | true | undefined;
286
286
  }
287
+ /** Params of `protocol-spaces` method `listSpaceKeys`. */
288
+ export interface ProtocolSpacesListSpaceKeysParams {
289
+ spaceId: string;
290
+ uid?: string | undefined;
291
+ }
287
292
  /** Params of `protocol-spaces` method `lookupUser`. */
288
293
  export interface ProtocolSpacesLookupUserParams {
289
294
  login: string;
@@ -296,6 +301,10 @@ export interface ProtocolSpacesMembersParams {
296
301
  export interface ProtocolSpacesPendingInvitesParams {
297
302
  spaceId: string;
298
303
  }
304
+ /** Params of `protocol-spaces` method `publishSpaceKey`. */
305
+ export interface ProtocolSpacesPublishSpaceKeyParams {
306
+ spaceId: string;
307
+ }
299
308
  /** Params of `protocol-spaces` method `rename`. */
300
309
  export interface ProtocolSpacesRenameParams {
301
310
  name: string;
package/dist/sdk.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // GENERATED by scripts/generate.mjs — DO NOT EDIT.
3
3
  // Source of truth: src/descriptors.protocol.mjs (@immediately-run/sandbox-protocol)
4
- // descriptorsHash: 70d1a0afe6dedf5d
4
+ // descriptorsHash: 8f546f51d9b1b45d
5
5
  //
6
6
  // The sandbox↔SDK wire vocabulary (PLATFORM_LAYERING_SPEC §2 / S1). Import the
7
7
  // constants instead of writing the string: a rename then has ONE edit site and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@immediately-run/sandbox-protocol",
3
- "version": "0.14.2",
3
+ "version": "0.15.0",
4
4
  "description": "The sandbox<->SDK wire protocol: ONE descriptor set, projected into the wire-name constants, the payload types, and the per-side snapshots both repos gate against (PLATFORM_LAYERING_SPEC S1). Consumed by sandbox and immediately-run-sdk so a wire change is a version bump, not a hand-copied file.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -1788,6 +1788,29 @@
1788
1788
  "type": "{}"
1789
1789
  }
1790
1790
  },
1791
+ "listSpaceKeys": {
1792
+ "payload": {
1793
+ "fields": [
1794
+ {
1795
+ "name": "spaceId",
1796
+ "optional": false,
1797
+ "type": "string"
1798
+ },
1799
+ {
1800
+ "name": "uid",
1801
+ "optional": true,
1802
+ "union": [
1803
+ {
1804
+ "type": "string"
1805
+ },
1806
+ {
1807
+ "type": "undefined"
1808
+ }
1809
+ ]
1810
+ }
1811
+ ]
1812
+ }
1813
+ },
1791
1814
  "lookupUser": {
1792
1815
  "payload": {
1793
1816
  "fields": [
@@ -1821,6 +1844,17 @@
1821
1844
  ]
1822
1845
  }
1823
1846
  },
1847
+ "publishSpaceKey": {
1848
+ "payload": {
1849
+ "fields": [
1850
+ {
1851
+ "name": "spaceId",
1852
+ "optional": false,
1853
+ "type": "string"
1854
+ }
1855
+ ]
1856
+ }
1857
+ },
1824
1858
  "rename": {
1825
1859
  "payload": {
1826
1860
  "fields": [