@spawnco/sdk-types 0.0.38 → 0.0.39
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 +4 -0
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/v1.ts +5 -0
package/dist/index.d.mts
CHANGED
|
@@ -110,6 +110,10 @@ interface SpawnServerSDK__V1<TConfig = any> {
|
|
|
110
110
|
}>;
|
|
111
111
|
};
|
|
112
112
|
};
|
|
113
|
+
chat: {
|
|
114
|
+
/** Returns true if the user is currently muted (and not expired) */
|
|
115
|
+
checkIsMuted(userId: string): Promise<boolean>;
|
|
116
|
+
};
|
|
113
117
|
sparks: {
|
|
114
118
|
verifyPurchase({ purchaseId, price }: {
|
|
115
119
|
purchaseId: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -110,6 +110,10 @@ interface SpawnServerSDK__V1<TConfig = any> {
|
|
|
110
110
|
}>;
|
|
111
111
|
};
|
|
112
112
|
};
|
|
113
|
+
chat: {
|
|
114
|
+
/** Returns true if the user is currently muted (and not expired) */
|
|
115
|
+
checkIsMuted(userId: string): Promise<boolean>;
|
|
116
|
+
};
|
|
113
117
|
sparks: {
|
|
114
118
|
verifyPurchase({ purchaseId, price }: {
|
|
115
119
|
purchaseId: string;
|
package/package.json
CHANGED
package/src/v1.ts
CHANGED
|
@@ -123,6 +123,11 @@ export interface SpawnServerSDK__V1<TConfig = any> {
|
|
|
123
123
|
};
|
|
124
124
|
};
|
|
125
125
|
|
|
126
|
+
chat: {
|
|
127
|
+
/** Returns true if the user is currently muted (and not expired) */
|
|
128
|
+
checkIsMuted(userId: string): Promise<boolean>;
|
|
129
|
+
};
|
|
130
|
+
|
|
126
131
|
sparks: {
|
|
127
132
|
verifyPurchase({ purchaseId, price }: { purchaseId: string; price: number }): Promise<boolean>;
|
|
128
133
|
};
|