@spawnco/sdk-types 0.0.31 → 0.0.33

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
@@ -94,6 +94,7 @@ interface SpawnClientSDK__V1<TConfig = any> {
94
94
  price: number;
95
95
  amount?: number;
96
96
  data?: Record<string, unknown>;
97
+ imageUrl?: string;
97
98
  }): Promise<{
98
99
  success: boolean;
99
100
  transactionId?: string;
@@ -126,6 +127,9 @@ interface SpawnServerSDK__V1<TConfig = any> {
126
127
  }>;
127
128
  };
128
129
  };
130
+ sparks: {
131
+ verifyPurchase(purchaseId: string): Promise<boolean>;
132
+ };
129
133
  config: {
130
134
  get(): Promise<TConfig>;
131
135
  version(): Promise<string>;
package/dist/index.d.ts CHANGED
@@ -94,6 +94,7 @@ interface SpawnClientSDK__V1<TConfig = any> {
94
94
  price: number;
95
95
  amount?: number;
96
96
  data?: Record<string, unknown>;
97
+ imageUrl?: string;
97
98
  }): Promise<{
98
99
  success: boolean;
99
100
  transactionId?: string;
@@ -126,6 +127,9 @@ interface SpawnServerSDK__V1<TConfig = any> {
126
127
  }>;
127
128
  };
128
129
  };
130
+ sparks: {
131
+ verifyPurchase(purchaseId: string): Promise<boolean>;
132
+ };
129
133
  config: {
130
134
  get(): Promise<TConfig>;
131
135
  version(): Promise<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spawnco/sdk-types",
3
- "version": "0.0.31",
3
+ "version": "0.0.33",
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
@@ -122,6 +122,7 @@ export interface SpawnClientSDK__V1<TConfig = any> {
122
122
  price: number;
123
123
  amount?: number;
124
124
  data?: Record<string, unknown>;
125
+ imageUrl?: string;
125
126
  }
126
127
  ): Promise<{
127
128
  success: boolean;
@@ -146,6 +147,10 @@ export interface SpawnServerSDK__V1<TConfig = any> {
146
147
  };
147
148
  };
148
149
 
150
+ sparks: {
151
+ verifyPurchase(purchaseId: string): Promise<boolean>;
152
+ };
153
+
149
154
  config: {
150
155
  get(): Promise<TConfig>;
151
156
  version(): Promise<string>;