@spawnco/sdk-types 0.0.3 → 0.0.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.
package/dist/index.d.mts CHANGED
@@ -124,7 +124,7 @@ interface Item {
124
124
  id: string;
125
125
  data?: Record<string, any>;
126
126
  }
127
- type SpawnClientSDK__V0 = Pick<SpawnClientSDK__V1, "user" | "room">;
127
+ type SpawnClientSDK__V0 = Pick<SpawnClientSDK__V1, "user" | "ready">;
128
128
  type SpawnServerSDK__V0 = Pick<SpawnServerSDK__V1, "room">;
129
129
 
130
130
  export type { Item, Room, RoomInfo, RoomVisibility, SpawnClientSDK__V0, SpawnClientSDK__V1, SpawnServerSDK__V0, SpawnServerSDK__V1, User };
package/dist/index.d.ts CHANGED
@@ -124,7 +124,7 @@ interface Item {
124
124
  id: string;
125
125
  data?: Record<string, any>;
126
126
  }
127
- type SpawnClientSDK__V0 = Pick<SpawnClientSDK__V1, "user" | "room">;
127
+ type SpawnClientSDK__V0 = Pick<SpawnClientSDK__V1, "user" | "ready">;
128
128
  type SpawnServerSDK__V0 = Pick<SpawnServerSDK__V1, "room">;
129
129
 
130
130
  export type { Item, Room, RoomInfo, RoomVisibility, SpawnClientSDK__V0, SpawnClientSDK__V1, SpawnServerSDK__V0, SpawnServerSDK__V1, User };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spawnco/sdk-types",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "TypeScript type definitions for Spawn SDK",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
package/src/v1.ts CHANGED
@@ -156,5 +156,5 @@ export interface Item {
156
156
 
157
157
  // v0 sdk types for testing
158
158
 
159
- export type SpawnClientSDK__V0 = Pick<SpawnClientSDK__V1, "user" | "room">;
159
+ export type SpawnClientSDK__V0 = Pick<SpawnClientSDK__V1, "user" | "ready">;
160
160
  export type SpawnServerSDK__V0 = Pick<SpawnServerSDK__V1, "room">;