@b3dotfun/sdk 0.0.7-alpha.11 → 0.0.7-alpha.13
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/cjs/anyspend/react/components/AnySpendCustom.js +2 -2
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +10 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +10 -0
- package/dist/cjs/anyspend/services/anyspend.d.ts +5 -0
- package/dist/cjs/anyspend/types/onramp.d.ts +3 -0
- package/dist/cjs/anyspend/types/onramp.js +2 -1
- package/dist/cjs/anyspend/types/order.d.ts +30 -0
- package/dist/cjs/anyspend/types/req-res/createOrder.d.ts +70 -0
- package/dist/cjs/anyspend/types/req-res/getOrderAndTransactions.d.ts +45 -0
- package/dist/cjs/anyspend/types/req-res/getOrderHistory.d.ts +35 -0
- package/dist/cjs/anyspend/types/req-res/getQuote.d.ts +26 -0
- package/dist/cjs/anyspend/types/req-res/getQuote.js +3 -1
- package/dist/esm/anyspend/react/components/AnySpendCustom.js +2 -2
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +10 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +10 -0
- package/dist/esm/anyspend/services/anyspend.d.ts +5 -0
- package/dist/esm/anyspend/types/onramp.d.ts +3 -0
- package/dist/esm/anyspend/types/onramp.js +2 -1
- package/dist/esm/anyspend/types/order.d.ts +30 -0
- package/dist/esm/anyspend/types/req-res/createOrder.d.ts +70 -0
- package/dist/esm/anyspend/types/req-res/getOrderAndTransactions.d.ts +45 -0
- package/dist/esm/anyspend/types/req-res/getOrderHistory.d.ts +35 -0
- package/dist/esm/anyspend/types/req-res/getQuote.d.ts +26 -0
- package/dist/esm/anyspend/types/req-res/getQuote.js +3 -1
- package/dist/styles/index.css +1 -1
- package/dist/types/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +10 -0
- package/dist/types/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +10 -0
- package/dist/types/anyspend/services/anyspend.d.ts +5 -0
- package/dist/types/anyspend/types/onramp.d.ts +3 -0
- package/dist/types/anyspend/types/order.d.ts +30 -0
- package/dist/types/anyspend/types/req-res/createOrder.d.ts +70 -0
- package/dist/types/anyspend/types/req-res/getOrderAndTransactions.d.ts +45 -0
- package/dist/types/anyspend/types/req-res/getOrderHistory.d.ts +35 -0
- package/dist/types/anyspend/types/req-res/getQuote.d.ts +26 -0
- package/package.json +1 -1
- package/src/anyspend/react/components/AnySpend.tsx +1 -0
- package/src/anyspend/react/components/AnySpendCustom.tsx +2 -2
- package/src/anyspend/types/onramp.ts +2 -1
- package/src/anyspend/types/req-res/getQuote.ts +3 -1
|
@@ -38,18 +38,21 @@ export declare const zBaseOrder: z.ZodObject<{
|
|
|
38
38
|
paymentMethod: z.ZodString;
|
|
39
39
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
40
40
|
redirectUrl: z.ZodString;
|
|
41
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
41
42
|
}, "strip", z.ZodTypeAny, {
|
|
42
43
|
country: string;
|
|
43
44
|
vendor: import("./onramp").OnrampVendor;
|
|
44
45
|
paymentMethod: string;
|
|
45
46
|
redirectUrl: string;
|
|
46
47
|
ipAddress?: string | undefined;
|
|
48
|
+
stripeAmountInCents?: number | undefined;
|
|
47
49
|
}, {
|
|
48
50
|
country: string;
|
|
49
51
|
vendor: import("./onramp").OnrampVendor;
|
|
50
52
|
paymentMethod: string;
|
|
51
53
|
redirectUrl: string;
|
|
52
54
|
ipAddress?: string | undefined;
|
|
55
|
+
stripeAmountInCents?: number | undefined;
|
|
53
56
|
}>>;
|
|
54
57
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
55
58
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
@@ -93,6 +96,7 @@ export declare const zBaseOrder: z.ZodObject<{
|
|
|
93
96
|
paymentMethod: string;
|
|
94
97
|
redirectUrl: string;
|
|
95
98
|
ipAddress?: string | undefined;
|
|
99
|
+
stripeAmountInCents?: number | undefined;
|
|
96
100
|
} | null;
|
|
97
101
|
creatorAddress: string | null;
|
|
98
102
|
partnerId: string | null;
|
|
@@ -124,6 +128,7 @@ export declare const zBaseOrder: z.ZodObject<{
|
|
|
124
128
|
paymentMethod: string;
|
|
125
129
|
redirectUrl: string;
|
|
126
130
|
ipAddress?: string | undefined;
|
|
131
|
+
stripeAmountInCents?: number | undefined;
|
|
127
132
|
} | null;
|
|
128
133
|
creatorAddress: string | null;
|
|
129
134
|
partnerId: string | null;
|
|
@@ -156,18 +161,21 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
156
161
|
paymentMethod: z.ZodString;
|
|
157
162
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
158
163
|
redirectUrl: z.ZodString;
|
|
164
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
159
165
|
}, "strip", z.ZodTypeAny, {
|
|
160
166
|
country: string;
|
|
161
167
|
vendor: import("./onramp").OnrampVendor;
|
|
162
168
|
paymentMethod: string;
|
|
163
169
|
redirectUrl: string;
|
|
164
170
|
ipAddress?: string | undefined;
|
|
171
|
+
stripeAmountInCents?: number | undefined;
|
|
165
172
|
}, {
|
|
166
173
|
country: string;
|
|
167
174
|
vendor: import("./onramp").OnrampVendor;
|
|
168
175
|
paymentMethod: string;
|
|
169
176
|
redirectUrl: string;
|
|
170
177
|
ipAddress?: string | undefined;
|
|
178
|
+
stripeAmountInCents?: number | undefined;
|
|
171
179
|
}>>;
|
|
172
180
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
173
181
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
@@ -354,6 +362,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
354
362
|
paymentMethod: string;
|
|
355
363
|
redirectUrl: string;
|
|
356
364
|
ipAddress?: string | undefined;
|
|
365
|
+
stripeAmountInCents?: number | undefined;
|
|
357
366
|
} | null;
|
|
358
367
|
creatorAddress: string | null;
|
|
359
368
|
partnerId: string | null;
|
|
@@ -412,6 +421,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
412
421
|
paymentMethod: string;
|
|
413
422
|
redirectUrl: string;
|
|
414
423
|
ipAddress?: string | undefined;
|
|
424
|
+
stripeAmountInCents?: number | undefined;
|
|
415
425
|
} | null;
|
|
416
426
|
creatorAddress: string | null;
|
|
417
427
|
partnerId: string | null;
|
|
@@ -447,18 +457,21 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
447
457
|
paymentMethod: z.ZodString;
|
|
448
458
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
449
459
|
redirectUrl: z.ZodString;
|
|
460
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
450
461
|
}, "strip", z.ZodTypeAny, {
|
|
451
462
|
country: string;
|
|
452
463
|
vendor: import("./onramp").OnrampVendor;
|
|
453
464
|
paymentMethod: string;
|
|
454
465
|
redirectUrl: string;
|
|
455
466
|
ipAddress?: string | undefined;
|
|
467
|
+
stripeAmountInCents?: number | undefined;
|
|
456
468
|
}, {
|
|
457
469
|
country: string;
|
|
458
470
|
vendor: import("./onramp").OnrampVendor;
|
|
459
471
|
paymentMethod: string;
|
|
460
472
|
redirectUrl: string;
|
|
461
473
|
ipAddress?: string | undefined;
|
|
474
|
+
stripeAmountInCents?: number | undefined;
|
|
462
475
|
}>>;
|
|
463
476
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
464
477
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
@@ -735,6 +748,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
735
748
|
paymentMethod: string;
|
|
736
749
|
redirectUrl: string;
|
|
737
750
|
ipAddress?: string | undefined;
|
|
751
|
+
stripeAmountInCents?: number | undefined;
|
|
738
752
|
} | null;
|
|
739
753
|
creatorAddress: string | null;
|
|
740
754
|
partnerId: string | null;
|
|
@@ -809,6 +823,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
809
823
|
paymentMethod: string;
|
|
810
824
|
redirectUrl: string;
|
|
811
825
|
ipAddress?: string | undefined;
|
|
826
|
+
stripeAmountInCents?: number | undefined;
|
|
812
827
|
} | null;
|
|
813
828
|
creatorAddress: string | null;
|
|
814
829
|
partnerId: string | null;
|
|
@@ -846,18 +861,21 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
846
861
|
paymentMethod: z.ZodString;
|
|
847
862
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
848
863
|
redirectUrl: z.ZodString;
|
|
864
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
849
865
|
}, "strip", z.ZodTypeAny, {
|
|
850
866
|
country: string;
|
|
851
867
|
vendor: import("./onramp").OnrampVendor;
|
|
852
868
|
paymentMethod: string;
|
|
853
869
|
redirectUrl: string;
|
|
854
870
|
ipAddress?: string | undefined;
|
|
871
|
+
stripeAmountInCents?: number | undefined;
|
|
855
872
|
}, {
|
|
856
873
|
country: string;
|
|
857
874
|
vendor: import("./onramp").OnrampVendor;
|
|
858
875
|
paymentMethod: string;
|
|
859
876
|
redirectUrl: string;
|
|
860
877
|
ipAddress?: string | undefined;
|
|
878
|
+
stripeAmountInCents?: number | undefined;
|
|
861
879
|
}>>;
|
|
862
880
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
863
881
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
@@ -1078,6 +1096,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1078
1096
|
paymentMethod: string;
|
|
1079
1097
|
redirectUrl: string;
|
|
1080
1098
|
ipAddress?: string | undefined;
|
|
1099
|
+
stripeAmountInCents?: number | undefined;
|
|
1081
1100
|
} | null;
|
|
1082
1101
|
creatorAddress: string | null;
|
|
1083
1102
|
partnerId: string | null;
|
|
@@ -1142,6 +1161,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1142
1161
|
paymentMethod: string;
|
|
1143
1162
|
redirectUrl: string;
|
|
1144
1163
|
ipAddress?: string | undefined;
|
|
1164
|
+
stripeAmountInCents?: number | undefined;
|
|
1145
1165
|
} | null;
|
|
1146
1166
|
creatorAddress: string | null;
|
|
1147
1167
|
partnerId: string | null;
|
|
@@ -1177,18 +1197,21 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1177
1197
|
paymentMethod: z.ZodString;
|
|
1178
1198
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
1179
1199
|
redirectUrl: z.ZodString;
|
|
1200
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
1180
1201
|
}, "strip", z.ZodTypeAny, {
|
|
1181
1202
|
country: string;
|
|
1182
1203
|
vendor: import("./onramp").OnrampVendor;
|
|
1183
1204
|
paymentMethod: string;
|
|
1184
1205
|
redirectUrl: string;
|
|
1185
1206
|
ipAddress?: string | undefined;
|
|
1207
|
+
stripeAmountInCents?: number | undefined;
|
|
1186
1208
|
}, {
|
|
1187
1209
|
country: string;
|
|
1188
1210
|
vendor: import("./onramp").OnrampVendor;
|
|
1189
1211
|
paymentMethod: string;
|
|
1190
1212
|
redirectUrl: string;
|
|
1191
1213
|
ipAddress?: string | undefined;
|
|
1214
|
+
stripeAmountInCents?: number | undefined;
|
|
1192
1215
|
}>>;
|
|
1193
1216
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
1194
1217
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
@@ -1409,6 +1432,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1409
1432
|
paymentMethod: string;
|
|
1410
1433
|
redirectUrl: string;
|
|
1411
1434
|
ipAddress?: string | undefined;
|
|
1435
|
+
stripeAmountInCents?: number | undefined;
|
|
1412
1436
|
} | null;
|
|
1413
1437
|
creatorAddress: string | null;
|
|
1414
1438
|
partnerId: string | null;
|
|
@@ -1473,6 +1497,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1473
1497
|
paymentMethod: string;
|
|
1474
1498
|
redirectUrl: string;
|
|
1475
1499
|
ipAddress?: string | undefined;
|
|
1500
|
+
stripeAmountInCents?: number | undefined;
|
|
1476
1501
|
} | null;
|
|
1477
1502
|
creatorAddress: string | null;
|
|
1478
1503
|
partnerId: string | null;
|
|
@@ -1508,18 +1533,21 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1508
1533
|
paymentMethod: z.ZodString;
|
|
1509
1534
|
ipAddress: z.ZodOptional<z.ZodString>;
|
|
1510
1535
|
redirectUrl: z.ZodString;
|
|
1536
|
+
stripeAmountInCents: z.ZodOptional<z.ZodNumber>;
|
|
1511
1537
|
}, "strip", z.ZodTypeAny, {
|
|
1512
1538
|
country: string;
|
|
1513
1539
|
vendor: import("./onramp").OnrampVendor;
|
|
1514
1540
|
paymentMethod: string;
|
|
1515
1541
|
redirectUrl: string;
|
|
1516
1542
|
ipAddress?: string | undefined;
|
|
1543
|
+
stripeAmountInCents?: number | undefined;
|
|
1517
1544
|
}, {
|
|
1518
1545
|
country: string;
|
|
1519
1546
|
vendor: import("./onramp").OnrampVendor;
|
|
1520
1547
|
paymentMethod: string;
|
|
1521
1548
|
redirectUrl: string;
|
|
1522
1549
|
ipAddress?: string | undefined;
|
|
1550
|
+
stripeAmountInCents?: number | undefined;
|
|
1523
1551
|
}>>;
|
|
1524
1552
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
1525
1553
|
partnerId: z.ZodNullable<z.ZodString>;
|
|
@@ -1716,6 +1744,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1716
1744
|
paymentMethod: string;
|
|
1717
1745
|
redirectUrl: string;
|
|
1718
1746
|
ipAddress?: string | undefined;
|
|
1747
|
+
stripeAmountInCents?: number | undefined;
|
|
1719
1748
|
} | null;
|
|
1720
1749
|
creatorAddress: string | null;
|
|
1721
1750
|
partnerId: string | null;
|
|
@@ -1777,6 +1806,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
1777
1806
|
paymentMethod: string;
|
|
1778
1807
|
redirectUrl: string;
|
|
1779
1808
|
ipAddress?: string | undefined;
|
|
1809
|
+
stripeAmountInCents?: number | undefined;
|
|
1780
1810
|
} | null;
|
|
1781
1811
|
creatorAddress: string | null;
|
|
1782
1812
|
partnerId: string | null;
|