@stackup-fi/sdk 1.0.10 → 1.0.11

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.
@@ -88,7 +88,7 @@ export declare class Product extends HeyApiClient {
88
88
  create<ThrowOnError extends boolean = false>(parameters?: {
89
89
  id?: string;
90
90
  payoutWalletAddress?: string;
91
- chain?: string;
91
+ chain?: "1" | "8453";
92
92
  currency?: "USDC";
93
93
  amount?: number;
94
94
  supply?: number | null;
@@ -198,7 +198,7 @@ export type ProductCreateData = {
198
198
  * Ethereum address for payouts
199
199
  */
200
200
  payoutWalletAddress: string;
201
- chain: string;
201
+ chain: "1" | "8453";
202
202
  currency: "USDC";
203
203
  amount: number;
204
204
  supply?: number | null;
@@ -231,7 +231,7 @@ export type ProductCreateResponses = {
231
231
  /**
232
232
  * Chain reference (e.g. 8453)
233
233
  */
234
- chain: string;
234
+ chain: "1" | "8453";
235
235
  currency: "USDC";
236
236
  /**
237
237
  * Price amount in base units
@@ -268,7 +268,7 @@ export type ProductListResponses = {
268
268
  /**
269
269
  * Chain reference (e.g. 8453)
270
270
  */
271
- chain: string;
271
+ chain: "1" | "8453";
272
272
  currency: "USDC";
273
273
  /**
274
274
  * Price amount in base units
@@ -344,7 +344,7 @@ export type ProductGetResponses = {
344
344
  /**
345
345
  * Chain reference (e.g. 8453)
346
346
  */
347
- chain: string;
347
+ chain: "1" | "8453";
348
348
  currency: "USDC";
349
349
  /**
350
350
  * Price amount in base units
@@ -414,7 +414,7 @@ export type ProductUpdateResponses = {
414
414
  /**
415
415
  * Chain reference (e.g. 8453)
416
416
  */
417
- chain: string;
417
+ chain: "1" | "8453";
418
418
  currency: "USDC";
419
419
  /**
420
420
  * Price amount in base units
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stackup-fi/sdk",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "exports": {