@stackable-labs/sdk-extension-contracts 3.6.0 → 3.7.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +10 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1284,7 +1284,17 @@ type HostToSandboxMessage = {
1284
1284
  } | {
1285
1285
  type: 'context-update';
1286
1286
  surfaceId: string;
1287
+ slotKey?: string;
1287
1288
  context: Record<string, unknown>;
1289
+ } | {
1290
+ type: 'surface-render';
1291
+ surfaceId: string;
1292
+ slotKey?: string;
1293
+ context?: Record<string, unknown>;
1294
+ } | {
1295
+ type: 'surface-unmount';
1296
+ surfaceId: string;
1297
+ slotKey: string;
1288
1298
  } | {
1289
1299
  type: 'surface-lifecycle';
1290
1300
  data: SurfaceLifecycleMessage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackable-labs/sdk-extension-contracts",
3
- "version": "3.6.0",
3
+ "version": "3.7.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "private": false,