@b3dotfun/sdk 0.0.4-alpha.1 → 0.0.4-alpha.2

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.
@@ -8,6 +8,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
8
8
  srcTokenAddress: z.ZodString;
9
9
  dstTokenAddress: z.ZodString;
10
10
  srcAmount: z.ZodString;
11
+ partnerId: z.ZodOptional<z.ZodString>;
11
12
  onramp: z.ZodOptional<z.ZodObject<{
12
13
  country: z.ZodString;
13
14
  vendor: z.ZodNativeEnum<typeof import("../onramp").OnrampVendor>;
@@ -183,6 +184,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
183
184
  actualDstAmount: string | null;
184
185
  };
185
186
  creatorAddress?: string | undefined;
187
+ partnerId?: string | undefined;
186
188
  onramp?: {
187
189
  country: string;
188
190
  vendor: import("../onramp").OnrampVendor;
@@ -225,6 +227,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
225
227
  actualDstAmount: string | null;
226
228
  };
227
229
  creatorAddress?: string | undefined;
230
+ partnerId?: string | undefined;
228
231
  onramp?: {
229
232
  country: string;
230
233
  vendor: import("../onramp").OnrampVendor;
@@ -239,6 +242,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
239
242
  srcTokenAddress: z.ZodString;
240
243
  dstTokenAddress: z.ZodString;
241
244
  srcAmount: z.ZodString;
245
+ partnerId: z.ZodOptional<z.ZodString>;
242
246
  onramp: z.ZodOptional<z.ZodObject<{
243
247
  country: z.ZodString;
244
248
  vendor: z.ZodNativeEnum<typeof import("../onramp").OnrampVendor>;
@@ -498,6 +502,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
498
502
  nftPrice: string;
499
503
  };
500
504
  creatorAddress?: string | undefined;
505
+ partnerId?: string | undefined;
501
506
  onramp?: {
502
507
  country: string;
503
508
  vendor: import("../onramp").OnrampVendor;
@@ -554,6 +559,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
554
559
  nftPrice: string;
555
560
  };
556
561
  creatorAddress?: string | undefined;
562
+ partnerId?: string | undefined;
557
563
  onramp?: {
558
564
  country: string;
559
565
  vendor: import("../onramp").OnrampVendor;
@@ -568,6 +574,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
568
574
  srcTokenAddress: z.ZodString;
569
575
  dstTokenAddress: z.ZodString;
570
576
  srcAmount: z.ZodString;
577
+ partnerId: z.ZodOptional<z.ZodString>;
571
578
  onramp: z.ZodOptional<z.ZodObject<{
572
579
  country: z.ZodString;
573
580
  vendor: z.ZodNativeEnum<typeof import("../onramp").OnrampVendor>;
@@ -777,6 +784,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
777
784
  entryPrice: string;
778
785
  };
779
786
  creatorAddress?: string | undefined;
787
+ partnerId?: string | undefined;
780
788
  onramp?: {
781
789
  country: string;
782
790
  vendor: import("../onramp").OnrampVendor;
@@ -825,6 +833,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
825
833
  entryPrice: string;
826
834
  };
827
835
  creatorAddress?: string | undefined;
836
+ partnerId?: string | undefined;
828
837
  onramp?: {
829
838
  country: string;
830
839
  vendor: import("../onramp").OnrampVendor;
@@ -839,6 +848,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
839
848
  srcTokenAddress: z.ZodString;
840
849
  dstTokenAddress: z.ZodString;
841
850
  srcAmount: z.ZodString;
851
+ partnerId: z.ZodOptional<z.ZodString>;
842
852
  onramp: z.ZodOptional<z.ZodObject<{
843
853
  country: z.ZodString;
844
854
  vendor: z.ZodNativeEnum<typeof import("../onramp").OnrampVendor>;
@@ -1048,6 +1058,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1048
1058
  fundAmount: string;
1049
1059
  };
1050
1060
  creatorAddress?: string | undefined;
1061
+ partnerId?: string | undefined;
1051
1062
  onramp?: {
1052
1063
  country: string;
1053
1064
  vendor: import("../onramp").OnrampVendor;
@@ -1096,6 +1107,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1096
1107
  fundAmount: string;
1097
1108
  };
1098
1109
  creatorAddress?: string | undefined;
1110
+ partnerId?: string | undefined;
1099
1111
  onramp?: {
1100
1112
  country: string;
1101
1113
  vendor: import("../onramp").OnrampVendor;
@@ -1110,6 +1122,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1110
1122
  srcTokenAddress: z.ZodString;
1111
1123
  dstTokenAddress: z.ZodString;
1112
1124
  srcAmount: z.ZodString;
1125
+ partnerId: z.ZodOptional<z.ZodString>;
1113
1126
  onramp: z.ZodOptional<z.ZodObject<{
1114
1127
  country: z.ZodString;
1115
1128
  vendor: z.ZodNativeEnum<typeof import("../onramp").OnrampVendor>;
@@ -1297,6 +1310,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1297
1310
  spenderAddress?: string | undefined;
1298
1311
  };
1299
1312
  creatorAddress?: string | undefined;
1313
+ partnerId?: string | undefined;
1300
1314
  onramp?: {
1301
1315
  country: string;
1302
1316
  vendor: import("../onramp").OnrampVendor;
@@ -1342,6 +1356,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1342
1356
  spenderAddress?: string | undefined;
1343
1357
  };
1344
1358
  creatorAddress?: string | undefined;
1359
+ partnerId?: string | undefined;
1345
1360
  onramp?: {
1346
1361
  country: string;
1347
1362
  vendor: import("../onramp").OnrampVendor;
@@ -1386,6 +1401,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1386
1401
  actualDstAmount: string | null;
1387
1402
  };
1388
1403
  creatorAddress?: string | undefined;
1404
+ partnerId?: string | undefined;
1389
1405
  onramp?: {
1390
1406
  country: string;
1391
1407
  vendor: import("../onramp").OnrampVendor;
@@ -1442,6 +1458,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1442
1458
  nftPrice: string;
1443
1459
  };
1444
1460
  creatorAddress?: string | undefined;
1461
+ partnerId?: string | undefined;
1445
1462
  onramp?: {
1446
1463
  country: string;
1447
1464
  vendor: import("../onramp").OnrampVendor;
@@ -1490,6 +1507,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1490
1507
  entryPrice: string;
1491
1508
  };
1492
1509
  creatorAddress?: string | undefined;
1510
+ partnerId?: string | undefined;
1493
1511
  onramp?: {
1494
1512
  country: string;
1495
1513
  vendor: import("../onramp").OnrampVendor;
@@ -1538,6 +1556,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1538
1556
  fundAmount: string;
1539
1557
  };
1540
1558
  creatorAddress?: string | undefined;
1559
+ partnerId?: string | undefined;
1541
1560
  onramp?: {
1542
1561
  country: string;
1543
1562
  vendor: import("../onramp").OnrampVendor;
@@ -1583,6 +1602,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1583
1602
  spenderAddress?: string | undefined;
1584
1603
  };
1585
1604
  creatorAddress?: string | undefined;
1605
+ partnerId?: string | undefined;
1586
1606
  onramp?: {
1587
1607
  country: string;
1588
1608
  vendor: import("../onramp").OnrampVendor;
@@ -1627,6 +1647,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1627
1647
  actualDstAmount: string | null;
1628
1648
  };
1629
1649
  creatorAddress?: string | undefined;
1650
+ partnerId?: string | undefined;
1630
1651
  onramp?: {
1631
1652
  country: string;
1632
1653
  vendor: import("../onramp").OnrampVendor;
@@ -1683,6 +1704,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1683
1704
  nftPrice: string;
1684
1705
  };
1685
1706
  creatorAddress?: string | undefined;
1707
+ partnerId?: string | undefined;
1686
1708
  onramp?: {
1687
1709
  country: string;
1688
1710
  vendor: import("../onramp").OnrampVendor;
@@ -1731,6 +1753,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1731
1753
  entryPrice: string;
1732
1754
  };
1733
1755
  creatorAddress?: string | undefined;
1756
+ partnerId?: string | undefined;
1734
1757
  onramp?: {
1735
1758
  country: string;
1736
1759
  vendor: import("../onramp").OnrampVendor;
@@ -1779,6 +1802,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1779
1802
  fundAmount: string;
1780
1803
  };
1781
1804
  creatorAddress?: string | undefined;
1805
+ partnerId?: string | undefined;
1782
1806
  onramp?: {
1783
1807
  country: string;
1784
1808
  vendor: import("../onramp").OnrampVendor;
@@ -1824,6 +1848,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1824
1848
  spenderAddress?: string | undefined;
1825
1849
  };
1826
1850
  creatorAddress?: string | undefined;
1851
+ partnerId?: string | undefined;
1827
1852
  onramp?: {
1828
1853
  country: string;
1829
1854
  vendor: import("../onramp").OnrampVendor;
@@ -15,6 +15,7 @@ const zBaseCreateOrderBody = zod_1.z.object({
15
15
  srcTokenAddress: zod_1.z.string(),
16
16
  dstTokenAddress: zod_1.z.string(),
17
17
  srcAmount: zod_1.z.string(),
18
+ partnerId: zod_1.z.string().optional(),
18
19
  onramp: onramp_1.zOnrampMetadata.optional(),
19
20
  creatorAddress: zod_1.z.string().optional()
20
21
  });
@@ -8,6 +8,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
8
8
  srcTokenAddress: z.ZodString;
9
9
  dstTokenAddress: z.ZodString;
10
10
  srcAmount: z.ZodString;
11
+ partnerId: z.ZodOptional<z.ZodString>;
11
12
  onramp: z.ZodOptional<z.ZodObject<{
12
13
  country: z.ZodString;
13
14
  vendor: z.ZodNativeEnum<typeof import("../onramp").OnrampVendor>;
@@ -183,6 +184,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
183
184
  actualDstAmount: string | null;
184
185
  };
185
186
  creatorAddress?: string | undefined;
187
+ partnerId?: string | undefined;
186
188
  onramp?: {
187
189
  country: string;
188
190
  vendor: import("../onramp").OnrampVendor;
@@ -225,6 +227,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
225
227
  actualDstAmount: string | null;
226
228
  };
227
229
  creatorAddress?: string | undefined;
230
+ partnerId?: string | undefined;
228
231
  onramp?: {
229
232
  country: string;
230
233
  vendor: import("../onramp").OnrampVendor;
@@ -239,6 +242,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
239
242
  srcTokenAddress: z.ZodString;
240
243
  dstTokenAddress: z.ZodString;
241
244
  srcAmount: z.ZodString;
245
+ partnerId: z.ZodOptional<z.ZodString>;
242
246
  onramp: z.ZodOptional<z.ZodObject<{
243
247
  country: z.ZodString;
244
248
  vendor: z.ZodNativeEnum<typeof import("../onramp").OnrampVendor>;
@@ -498,6 +502,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
498
502
  nftPrice: string;
499
503
  };
500
504
  creatorAddress?: string | undefined;
505
+ partnerId?: string | undefined;
501
506
  onramp?: {
502
507
  country: string;
503
508
  vendor: import("../onramp").OnrampVendor;
@@ -554,6 +559,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
554
559
  nftPrice: string;
555
560
  };
556
561
  creatorAddress?: string | undefined;
562
+ partnerId?: string | undefined;
557
563
  onramp?: {
558
564
  country: string;
559
565
  vendor: import("../onramp").OnrampVendor;
@@ -568,6 +574,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
568
574
  srcTokenAddress: z.ZodString;
569
575
  dstTokenAddress: z.ZodString;
570
576
  srcAmount: z.ZodString;
577
+ partnerId: z.ZodOptional<z.ZodString>;
571
578
  onramp: z.ZodOptional<z.ZodObject<{
572
579
  country: z.ZodString;
573
580
  vendor: z.ZodNativeEnum<typeof import("../onramp").OnrampVendor>;
@@ -777,6 +784,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
777
784
  entryPrice: string;
778
785
  };
779
786
  creatorAddress?: string | undefined;
787
+ partnerId?: string | undefined;
780
788
  onramp?: {
781
789
  country: string;
782
790
  vendor: import("../onramp").OnrampVendor;
@@ -825,6 +833,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
825
833
  entryPrice: string;
826
834
  };
827
835
  creatorAddress?: string | undefined;
836
+ partnerId?: string | undefined;
828
837
  onramp?: {
829
838
  country: string;
830
839
  vendor: import("../onramp").OnrampVendor;
@@ -839,6 +848,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
839
848
  srcTokenAddress: z.ZodString;
840
849
  dstTokenAddress: z.ZodString;
841
850
  srcAmount: z.ZodString;
851
+ partnerId: z.ZodOptional<z.ZodString>;
842
852
  onramp: z.ZodOptional<z.ZodObject<{
843
853
  country: z.ZodString;
844
854
  vendor: z.ZodNativeEnum<typeof import("../onramp").OnrampVendor>;
@@ -1048,6 +1058,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1048
1058
  fundAmount: string;
1049
1059
  };
1050
1060
  creatorAddress?: string | undefined;
1061
+ partnerId?: string | undefined;
1051
1062
  onramp?: {
1052
1063
  country: string;
1053
1064
  vendor: import("../onramp").OnrampVendor;
@@ -1096,6 +1107,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1096
1107
  fundAmount: string;
1097
1108
  };
1098
1109
  creatorAddress?: string | undefined;
1110
+ partnerId?: string | undefined;
1099
1111
  onramp?: {
1100
1112
  country: string;
1101
1113
  vendor: import("../onramp").OnrampVendor;
@@ -1110,6 +1122,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1110
1122
  srcTokenAddress: z.ZodString;
1111
1123
  dstTokenAddress: z.ZodString;
1112
1124
  srcAmount: z.ZodString;
1125
+ partnerId: z.ZodOptional<z.ZodString>;
1113
1126
  onramp: z.ZodOptional<z.ZodObject<{
1114
1127
  country: z.ZodString;
1115
1128
  vendor: z.ZodNativeEnum<typeof import("../onramp").OnrampVendor>;
@@ -1297,6 +1310,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1297
1310
  spenderAddress?: string | undefined;
1298
1311
  };
1299
1312
  creatorAddress?: string | undefined;
1313
+ partnerId?: string | undefined;
1300
1314
  onramp?: {
1301
1315
  country: string;
1302
1316
  vendor: import("../onramp").OnrampVendor;
@@ -1342,6 +1356,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1342
1356
  spenderAddress?: string | undefined;
1343
1357
  };
1344
1358
  creatorAddress?: string | undefined;
1359
+ partnerId?: string | undefined;
1345
1360
  onramp?: {
1346
1361
  country: string;
1347
1362
  vendor: import("../onramp").OnrampVendor;
@@ -1386,6 +1401,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1386
1401
  actualDstAmount: string | null;
1387
1402
  };
1388
1403
  creatorAddress?: string | undefined;
1404
+ partnerId?: string | undefined;
1389
1405
  onramp?: {
1390
1406
  country: string;
1391
1407
  vendor: import("../onramp").OnrampVendor;
@@ -1442,6 +1458,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1442
1458
  nftPrice: string;
1443
1459
  };
1444
1460
  creatorAddress?: string | undefined;
1461
+ partnerId?: string | undefined;
1445
1462
  onramp?: {
1446
1463
  country: string;
1447
1464
  vendor: import("../onramp").OnrampVendor;
@@ -1490,6 +1507,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1490
1507
  entryPrice: string;
1491
1508
  };
1492
1509
  creatorAddress?: string | undefined;
1510
+ partnerId?: string | undefined;
1493
1511
  onramp?: {
1494
1512
  country: string;
1495
1513
  vendor: import("../onramp").OnrampVendor;
@@ -1538,6 +1556,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1538
1556
  fundAmount: string;
1539
1557
  };
1540
1558
  creatorAddress?: string | undefined;
1559
+ partnerId?: string | undefined;
1541
1560
  onramp?: {
1542
1561
  country: string;
1543
1562
  vendor: import("../onramp").OnrampVendor;
@@ -1583,6 +1602,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1583
1602
  spenderAddress?: string | undefined;
1584
1603
  };
1585
1604
  creatorAddress?: string | undefined;
1605
+ partnerId?: string | undefined;
1586
1606
  onramp?: {
1587
1607
  country: string;
1588
1608
  vendor: import("../onramp").OnrampVendor;
@@ -1627,6 +1647,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1627
1647
  actualDstAmount: string | null;
1628
1648
  };
1629
1649
  creatorAddress?: string | undefined;
1650
+ partnerId?: string | undefined;
1630
1651
  onramp?: {
1631
1652
  country: string;
1632
1653
  vendor: import("../onramp").OnrampVendor;
@@ -1683,6 +1704,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1683
1704
  nftPrice: string;
1684
1705
  };
1685
1706
  creatorAddress?: string | undefined;
1707
+ partnerId?: string | undefined;
1686
1708
  onramp?: {
1687
1709
  country: string;
1688
1710
  vendor: import("../onramp").OnrampVendor;
@@ -1731,6 +1753,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1731
1753
  entryPrice: string;
1732
1754
  };
1733
1755
  creatorAddress?: string | undefined;
1756
+ partnerId?: string | undefined;
1734
1757
  onramp?: {
1735
1758
  country: string;
1736
1759
  vendor: import("../onramp").OnrampVendor;
@@ -1779,6 +1802,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1779
1802
  fundAmount: string;
1780
1803
  };
1781
1804
  creatorAddress?: string | undefined;
1805
+ partnerId?: string | undefined;
1782
1806
  onramp?: {
1783
1807
  country: string;
1784
1808
  vendor: import("../onramp").OnrampVendor;
@@ -1824,6 +1848,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1824
1848
  spenderAddress?: string | undefined;
1825
1849
  };
1826
1850
  creatorAddress?: string | undefined;
1851
+ partnerId?: string | undefined;
1827
1852
  onramp?: {
1828
1853
  country: string;
1829
1854
  vendor: import("../onramp").OnrampVendor;
@@ -12,6 +12,7 @@ const zBaseCreateOrderBody = z.object({
12
12
  srcTokenAddress: z.string(),
13
13
  dstTokenAddress: z.string(),
14
14
  srcAmount: z.string(),
15
+ partnerId: z.string().optional(),
15
16
  onramp: zOnrampMetadata.optional(),
16
17
  creatorAddress: z.string().optional()
17
18
  });
@@ -8,6 +8,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
8
8
  srcTokenAddress: z.ZodString;
9
9
  dstTokenAddress: z.ZodString;
10
10
  srcAmount: z.ZodString;
11
+ partnerId: z.ZodOptional<z.ZodString>;
11
12
  onramp: z.ZodOptional<z.ZodObject<{
12
13
  country: z.ZodString;
13
14
  vendor: z.ZodNativeEnum<typeof import("../onramp").OnrampVendor>;
@@ -183,6 +184,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
183
184
  actualDstAmount: string | null;
184
185
  };
185
186
  creatorAddress?: string | undefined;
187
+ partnerId?: string | undefined;
186
188
  onramp?: {
187
189
  country: string;
188
190
  vendor: import("../onramp").OnrampVendor;
@@ -225,6 +227,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
225
227
  actualDstAmount: string | null;
226
228
  };
227
229
  creatorAddress?: string | undefined;
230
+ partnerId?: string | undefined;
228
231
  onramp?: {
229
232
  country: string;
230
233
  vendor: import("../onramp").OnrampVendor;
@@ -239,6 +242,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
239
242
  srcTokenAddress: z.ZodString;
240
243
  dstTokenAddress: z.ZodString;
241
244
  srcAmount: z.ZodString;
245
+ partnerId: z.ZodOptional<z.ZodString>;
242
246
  onramp: z.ZodOptional<z.ZodObject<{
243
247
  country: z.ZodString;
244
248
  vendor: z.ZodNativeEnum<typeof import("../onramp").OnrampVendor>;
@@ -498,6 +502,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
498
502
  nftPrice: string;
499
503
  };
500
504
  creatorAddress?: string | undefined;
505
+ partnerId?: string | undefined;
501
506
  onramp?: {
502
507
  country: string;
503
508
  vendor: import("../onramp").OnrampVendor;
@@ -554,6 +559,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
554
559
  nftPrice: string;
555
560
  };
556
561
  creatorAddress?: string | undefined;
562
+ partnerId?: string | undefined;
557
563
  onramp?: {
558
564
  country: string;
559
565
  vendor: import("../onramp").OnrampVendor;
@@ -568,6 +574,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
568
574
  srcTokenAddress: z.ZodString;
569
575
  dstTokenAddress: z.ZodString;
570
576
  srcAmount: z.ZodString;
577
+ partnerId: z.ZodOptional<z.ZodString>;
571
578
  onramp: z.ZodOptional<z.ZodObject<{
572
579
  country: z.ZodString;
573
580
  vendor: z.ZodNativeEnum<typeof import("../onramp").OnrampVendor>;
@@ -777,6 +784,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
777
784
  entryPrice: string;
778
785
  };
779
786
  creatorAddress?: string | undefined;
787
+ partnerId?: string | undefined;
780
788
  onramp?: {
781
789
  country: string;
782
790
  vendor: import("../onramp").OnrampVendor;
@@ -825,6 +833,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
825
833
  entryPrice: string;
826
834
  };
827
835
  creatorAddress?: string | undefined;
836
+ partnerId?: string | undefined;
828
837
  onramp?: {
829
838
  country: string;
830
839
  vendor: import("../onramp").OnrampVendor;
@@ -839,6 +848,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
839
848
  srcTokenAddress: z.ZodString;
840
849
  dstTokenAddress: z.ZodString;
841
850
  srcAmount: z.ZodString;
851
+ partnerId: z.ZodOptional<z.ZodString>;
842
852
  onramp: z.ZodOptional<z.ZodObject<{
843
853
  country: z.ZodString;
844
854
  vendor: z.ZodNativeEnum<typeof import("../onramp").OnrampVendor>;
@@ -1048,6 +1058,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1048
1058
  fundAmount: string;
1049
1059
  };
1050
1060
  creatorAddress?: string | undefined;
1061
+ partnerId?: string | undefined;
1051
1062
  onramp?: {
1052
1063
  country: string;
1053
1064
  vendor: import("../onramp").OnrampVendor;
@@ -1096,6 +1107,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1096
1107
  fundAmount: string;
1097
1108
  };
1098
1109
  creatorAddress?: string | undefined;
1110
+ partnerId?: string | undefined;
1099
1111
  onramp?: {
1100
1112
  country: string;
1101
1113
  vendor: import("../onramp").OnrampVendor;
@@ -1110,6 +1122,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1110
1122
  srcTokenAddress: z.ZodString;
1111
1123
  dstTokenAddress: z.ZodString;
1112
1124
  srcAmount: z.ZodString;
1125
+ partnerId: z.ZodOptional<z.ZodString>;
1113
1126
  onramp: z.ZodOptional<z.ZodObject<{
1114
1127
  country: z.ZodString;
1115
1128
  vendor: z.ZodNativeEnum<typeof import("../onramp").OnrampVendor>;
@@ -1297,6 +1310,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1297
1310
  spenderAddress?: string | undefined;
1298
1311
  };
1299
1312
  creatorAddress?: string | undefined;
1313
+ partnerId?: string | undefined;
1300
1314
  onramp?: {
1301
1315
  country: string;
1302
1316
  vendor: import("../onramp").OnrampVendor;
@@ -1342,6 +1356,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1342
1356
  spenderAddress?: string | undefined;
1343
1357
  };
1344
1358
  creatorAddress?: string | undefined;
1359
+ partnerId?: string | undefined;
1345
1360
  onramp?: {
1346
1361
  country: string;
1347
1362
  vendor: import("../onramp").OnrampVendor;
@@ -1386,6 +1401,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1386
1401
  actualDstAmount: string | null;
1387
1402
  };
1388
1403
  creatorAddress?: string | undefined;
1404
+ partnerId?: string | undefined;
1389
1405
  onramp?: {
1390
1406
  country: string;
1391
1407
  vendor: import("../onramp").OnrampVendor;
@@ -1442,6 +1458,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1442
1458
  nftPrice: string;
1443
1459
  };
1444
1460
  creatorAddress?: string | undefined;
1461
+ partnerId?: string | undefined;
1445
1462
  onramp?: {
1446
1463
  country: string;
1447
1464
  vendor: import("../onramp").OnrampVendor;
@@ -1490,6 +1507,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1490
1507
  entryPrice: string;
1491
1508
  };
1492
1509
  creatorAddress?: string | undefined;
1510
+ partnerId?: string | undefined;
1493
1511
  onramp?: {
1494
1512
  country: string;
1495
1513
  vendor: import("../onramp").OnrampVendor;
@@ -1538,6 +1556,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1538
1556
  fundAmount: string;
1539
1557
  };
1540
1558
  creatorAddress?: string | undefined;
1559
+ partnerId?: string | undefined;
1541
1560
  onramp?: {
1542
1561
  country: string;
1543
1562
  vendor: import("../onramp").OnrampVendor;
@@ -1583,6 +1602,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1583
1602
  spenderAddress?: string | undefined;
1584
1603
  };
1585
1604
  creatorAddress?: string | undefined;
1605
+ partnerId?: string | undefined;
1586
1606
  onramp?: {
1587
1607
  country: string;
1588
1608
  vendor: import("../onramp").OnrampVendor;
@@ -1627,6 +1647,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1627
1647
  actualDstAmount: string | null;
1628
1648
  };
1629
1649
  creatorAddress?: string | undefined;
1650
+ partnerId?: string | undefined;
1630
1651
  onramp?: {
1631
1652
  country: string;
1632
1653
  vendor: import("../onramp").OnrampVendor;
@@ -1683,6 +1704,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1683
1704
  nftPrice: string;
1684
1705
  };
1685
1706
  creatorAddress?: string | undefined;
1707
+ partnerId?: string | undefined;
1686
1708
  onramp?: {
1687
1709
  country: string;
1688
1710
  vendor: import("../onramp").OnrampVendor;
@@ -1731,6 +1753,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1731
1753
  entryPrice: string;
1732
1754
  };
1733
1755
  creatorAddress?: string | undefined;
1756
+ partnerId?: string | undefined;
1734
1757
  onramp?: {
1735
1758
  country: string;
1736
1759
  vendor: import("../onramp").OnrampVendor;
@@ -1779,6 +1802,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1779
1802
  fundAmount: string;
1780
1803
  };
1781
1804
  creatorAddress?: string | undefined;
1805
+ partnerId?: string | undefined;
1782
1806
  onramp?: {
1783
1807
  country: string;
1784
1808
  vendor: import("../onramp").OnrampVendor;
@@ -1824,6 +1848,7 @@ export declare const zCreateOrderRequest: z.ZodObject<{
1824
1848
  spenderAddress?: string | undefined;
1825
1849
  };
1826
1850
  creatorAddress?: string | undefined;
1851
+ partnerId?: string | undefined;
1827
1852
  onramp?: {
1828
1853
  country: string;
1829
1854
  vendor: import("../onramp").OnrampVendor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@b3dotfun/sdk",
3
- "version": "0.0.4-alpha.1",
3
+ "version": "0.0.4-alpha.2",
4
4
  "source": "src/index.ts",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "react-native": "./dist/cjs/index.native.js",
@@ -13,6 +13,7 @@ const zBaseCreateOrderBody = z.object({
13
13
  srcTokenAddress: z.string(),
14
14
  dstTokenAddress: z.string(),
15
15
  srcAmount: z.string(),
16
+ partnerId: z.string().optional(),
16
17
  onramp: zOnrampMetadata.optional(),
17
18
  creatorAddress: z.string().optional()
18
19
  });