@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 +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/v1.ts +1 -1
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" | "
|
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" | "
|
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
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" | "
|
159
|
+
export type SpawnClientSDK__V0 = Pick<SpawnClientSDK__V1, "user" | "ready">;
|
160
160
|
export type SpawnServerSDK__V0 = Pick<SpawnServerSDK__V1, "room">;
|