@spawnco/sdk-types 0.0.34 → 0.0.35
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 -1
- package/dist/index.d.ts +4 -1
- package/package.json +1 -1
- package/src/v1.ts +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -111,7 +111,10 @@ interface SpawnServerSDK__V1<TConfig = any> {
|
|
|
111
111
|
};
|
|
112
112
|
};
|
|
113
113
|
sparks: {
|
|
114
|
-
verifyPurchase(purchaseId
|
|
114
|
+
verifyPurchase({ purchaseId, price }: {
|
|
115
|
+
purchaseId: string;
|
|
116
|
+
price: number;
|
|
117
|
+
}): Promise<boolean>;
|
|
115
118
|
};
|
|
116
119
|
config: {
|
|
117
120
|
get(): Promise<TConfig>;
|
package/dist/index.d.ts
CHANGED
|
@@ -111,7 +111,10 @@ interface SpawnServerSDK__V1<TConfig = any> {
|
|
|
111
111
|
};
|
|
112
112
|
};
|
|
113
113
|
sparks: {
|
|
114
|
-
verifyPurchase(purchaseId
|
|
114
|
+
verifyPurchase({ purchaseId, price }: {
|
|
115
|
+
purchaseId: string;
|
|
116
|
+
price: number;
|
|
117
|
+
}): Promise<boolean>;
|
|
115
118
|
};
|
|
116
119
|
config: {
|
|
117
120
|
get(): Promise<TConfig>;
|
package/package.json
CHANGED
package/src/v1.ts
CHANGED
|
@@ -124,7 +124,7 @@ export interface SpawnServerSDK__V1<TConfig = any> {
|
|
|
124
124
|
};
|
|
125
125
|
|
|
126
126
|
sparks: {
|
|
127
|
-
verifyPurchase(purchaseId: string): Promise<boolean>;
|
|
127
|
+
verifyPurchase({ purchaseId, price }: { purchaseId: string; price: number }): Promise<boolean>;
|
|
128
128
|
};
|
|
129
129
|
|
|
130
130
|
config: {
|