@b3dotfun/sdk 0.0.4-alpha.0 → 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.
Files changed (28) hide show
  1. package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +10 -0
  2. package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +10 -0
  3. package/dist/cjs/anyspend/services/anyspend.d.ts +5 -0
  4. package/dist/cjs/anyspend/types/order.d.ts +18 -0
  5. package/dist/cjs/anyspend/types/order.js +1 -0
  6. package/dist/cjs/anyspend/types/req-res/createOrder.d.ts +50 -0
  7. package/dist/cjs/anyspend/types/req-res/createOrder.js +1 -0
  8. package/dist/cjs/anyspend/types/req-res/getOrderAndTransactions.d.ts +35 -0
  9. package/dist/cjs/anyspend/types/req-res/getOrderHistory.d.ts +25 -0
  10. package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +10 -0
  11. package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +10 -0
  12. package/dist/esm/anyspend/services/anyspend.d.ts +5 -0
  13. package/dist/esm/anyspend/types/order.d.ts +18 -0
  14. package/dist/esm/anyspend/types/order.js +1 -0
  15. package/dist/esm/anyspend/types/req-res/createOrder.d.ts +50 -0
  16. package/dist/esm/anyspend/types/req-res/createOrder.js +1 -0
  17. package/dist/esm/anyspend/types/req-res/getOrderAndTransactions.d.ts +35 -0
  18. package/dist/esm/anyspend/types/req-res/getOrderHistory.d.ts +25 -0
  19. package/dist/types/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +10 -0
  20. package/dist/types/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +10 -0
  21. package/dist/types/anyspend/services/anyspend.d.ts +5 -0
  22. package/dist/types/anyspend/types/order.d.ts +18 -0
  23. package/dist/types/anyspend/types/req-res/createOrder.d.ts +50 -0
  24. package/dist/types/anyspend/types/req-res/getOrderAndTransactions.d.ts +35 -0
  25. package/dist/types/anyspend/types/req-res/getOrderHistory.d.ts +25 -0
  26. package/package.json +1 -1
  27. package/src/anyspend/types/order.ts +1 -0
  28. package/src/anyspend/types/req-res/createOrder.ts +1 -0
@@ -46,6 +46,7 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
46
46
  ipAddress?: string | undefined;
47
47
  } | null;
48
48
  creatorAddress: string | null;
49
+ partnerId: string | null;
49
50
  oneClickBuyUrl: string | null;
50
51
  stripePaymentIntentId: string | null;
51
52
  permit: {
@@ -117,6 +118,7 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
117
118
  ipAddress?: string | undefined;
118
119
  } | null;
119
120
  creatorAddress: string | null;
121
+ partnerId: string | null;
120
122
  oneClickBuyUrl: string | null;
121
123
  stripePaymentIntentId: string | null;
122
124
  permit: {
@@ -180,6 +182,7 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
180
182
  ipAddress?: string | undefined;
181
183
  } | null;
182
184
  creatorAddress: string | null;
185
+ partnerId: string | null;
183
186
  oneClickBuyUrl: string | null;
184
187
  stripePaymentIntentId: string | null;
185
188
  permit: {
@@ -243,6 +246,7 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
243
246
  ipAddress?: string | undefined;
244
247
  } | null;
245
248
  creatorAddress: string | null;
249
+ partnerId: string | null;
246
250
  oneClickBuyUrl: string | null;
247
251
  stripePaymentIntentId: string | null;
248
252
  permit: {
@@ -301,6 +305,7 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
301
305
  ipAddress?: string | undefined;
302
306
  } | null;
303
307
  creatorAddress: string | null;
308
+ partnerId: string | null;
304
309
  oneClickBuyUrl: string | null;
305
310
  stripePaymentIntentId: string | null;
306
311
  permit: {
@@ -399,6 +404,7 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
399
404
  ipAddress?: string | undefined;
400
405
  } | null;
401
406
  creatorAddress: string | null;
407
+ partnerId: string | null;
402
408
  oneClickBuyUrl: string | null;
403
409
  stripePaymentIntentId: string | null;
404
410
  permit: {
@@ -470,6 +476,7 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
470
476
  ipAddress?: string | undefined;
471
477
  } | null;
472
478
  creatorAddress: string | null;
479
+ partnerId: string | null;
473
480
  oneClickBuyUrl: string | null;
474
481
  stripePaymentIntentId: string | null;
475
482
  permit: {
@@ -533,6 +540,7 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
533
540
  ipAddress?: string | undefined;
534
541
  } | null;
535
542
  creatorAddress: string | null;
543
+ partnerId: string | null;
536
544
  oneClickBuyUrl: string | null;
537
545
  stripePaymentIntentId: string | null;
538
546
  permit: {
@@ -596,6 +604,7 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
596
604
  ipAddress?: string | undefined;
597
605
  } | null;
598
606
  creatorAddress: string | null;
607
+ partnerId: string | null;
599
608
  oneClickBuyUrl: string | null;
600
609
  stripePaymentIntentId: string | null;
601
610
  permit: {
@@ -654,6 +663,7 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
654
663
  ipAddress?: string | undefined;
655
664
  } | null;
656
665
  creatorAddress: string | null;
666
+ partnerId: string | null;
657
667
  oneClickBuyUrl: string | null;
658
668
  stripePaymentIntentId: string | null;
659
669
  permit: {
@@ -43,6 +43,7 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
43
43
  ipAddress?: string | undefined;
44
44
  } | null;
45
45
  creatorAddress: string | null;
46
+ partnerId: string | null;
46
47
  oneClickBuyUrl: string | null;
47
48
  stripePaymentIntentId: string | null;
48
49
  permit: {
@@ -114,6 +115,7 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
114
115
  ipAddress?: string | undefined;
115
116
  } | null;
116
117
  creatorAddress: string | null;
118
+ partnerId: string | null;
117
119
  oneClickBuyUrl: string | null;
118
120
  stripePaymentIntentId: string | null;
119
121
  permit: {
@@ -177,6 +179,7 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
177
179
  ipAddress?: string | undefined;
178
180
  } | null;
179
181
  creatorAddress: string | null;
182
+ partnerId: string | null;
180
183
  oneClickBuyUrl: string | null;
181
184
  stripePaymentIntentId: string | null;
182
185
  permit: {
@@ -240,6 +243,7 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
240
243
  ipAddress?: string | undefined;
241
244
  } | null;
242
245
  creatorAddress: string | null;
246
+ partnerId: string | null;
243
247
  oneClickBuyUrl: string | null;
244
248
  stripePaymentIntentId: string | null;
245
249
  permit: {
@@ -298,6 +302,7 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
298
302
  ipAddress?: string | undefined;
299
303
  } | null;
300
304
  creatorAddress: string | null;
305
+ partnerId: string | null;
301
306
  oneClickBuyUrl: string | null;
302
307
  stripePaymentIntentId: string | null;
303
308
  permit: {
@@ -360,6 +365,7 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
360
365
  ipAddress?: string | undefined;
361
366
  } | null;
362
367
  creatorAddress: string | null;
368
+ partnerId: string | null;
363
369
  oneClickBuyUrl: string | null;
364
370
  stripePaymentIntentId: string | null;
365
371
  permit: {
@@ -431,6 +437,7 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
431
437
  ipAddress?: string | undefined;
432
438
  } | null;
433
439
  creatorAddress: string | null;
440
+ partnerId: string | null;
434
441
  oneClickBuyUrl: string | null;
435
442
  stripePaymentIntentId: string | null;
436
443
  permit: {
@@ -494,6 +501,7 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
494
501
  ipAddress?: string | undefined;
495
502
  } | null;
496
503
  creatorAddress: string | null;
504
+ partnerId: string | null;
497
505
  oneClickBuyUrl: string | null;
498
506
  stripePaymentIntentId: string | null;
499
507
  permit: {
@@ -557,6 +565,7 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
557
565
  ipAddress?: string | undefined;
558
566
  } | null;
559
567
  creatorAddress: string | null;
568
+ partnerId: string | null;
560
569
  oneClickBuyUrl: string | null;
561
570
  stripePaymentIntentId: string | null;
562
571
  permit: {
@@ -615,6 +624,7 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
615
624
  ipAddress?: string | undefined;
616
625
  } | null;
617
626
  creatorAddress: string | null;
627
+ partnerId: string | null;
618
628
  oneClickBuyUrl: string | null;
619
629
  stripePaymentIntentId: string | null;
620
630
  permit: {
@@ -65,6 +65,7 @@ export declare const anyspendService: {
65
65
  ipAddress?: string | undefined;
66
66
  } | null;
67
67
  creatorAddress: string | null;
68
+ partnerId: string | null;
68
69
  oneClickBuyUrl: string | null;
69
70
  stripePaymentIntentId: string | null;
70
71
  permit: {
@@ -136,6 +137,7 @@ export declare const anyspendService: {
136
137
  ipAddress?: string | undefined;
137
138
  } | null;
138
139
  creatorAddress: string | null;
140
+ partnerId: string | null;
139
141
  oneClickBuyUrl: string | null;
140
142
  stripePaymentIntentId: string | null;
141
143
  permit: {
@@ -199,6 +201,7 @@ export declare const anyspendService: {
199
201
  ipAddress?: string | undefined;
200
202
  } | null;
201
203
  creatorAddress: string | null;
204
+ partnerId: string | null;
202
205
  oneClickBuyUrl: string | null;
203
206
  stripePaymentIntentId: string | null;
204
207
  permit: {
@@ -262,6 +265,7 @@ export declare const anyspendService: {
262
265
  ipAddress?: string | undefined;
263
266
  } | null;
264
267
  creatorAddress: string | null;
268
+ partnerId: string | null;
265
269
  oneClickBuyUrl: string | null;
266
270
  stripePaymentIntentId: string | null;
267
271
  permit: {
@@ -320,6 +324,7 @@ export declare const anyspendService: {
320
324
  ipAddress?: string | undefined;
321
325
  } | null;
322
326
  creatorAddress: string | null;
327
+ partnerId: string | null;
323
328
  oneClickBuyUrl: string | null;
324
329
  stripePaymentIntentId: string | null;
325
330
  permit: {
@@ -52,6 +52,7 @@ export declare const zBaseOrder: z.ZodObject<{
52
52
  ipAddress?: string | undefined;
53
53
  }>>;
54
54
  creatorAddress: z.ZodNullable<z.ZodString>;
55
+ partnerId: z.ZodNullable<z.ZodString>;
55
56
  oneClickBuyUrl: z.ZodNullable<z.ZodString>;
56
57
  stripePaymentIntentId: z.ZodNullable<z.ZodString>;
57
58
  permit: z.ZodNullable<z.ZodObject<{
@@ -94,6 +95,7 @@ export declare const zBaseOrder: z.ZodObject<{
94
95
  ipAddress?: string | undefined;
95
96
  } | null;
96
97
  creatorAddress: string | null;
98
+ partnerId: string | null;
97
99
  oneClickBuyUrl: string | null;
98
100
  stripePaymentIntentId: string | null;
99
101
  permit: {
@@ -124,6 +126,7 @@ export declare const zBaseOrder: z.ZodObject<{
124
126
  ipAddress?: string | undefined;
125
127
  } | null;
126
128
  creatorAddress: string | null;
129
+ partnerId: string | null;
127
130
  oneClickBuyUrl: string | null;
128
131
  stripePaymentIntentId: string | null;
129
132
  permit: {
@@ -167,6 +170,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
167
170
  ipAddress?: string | undefined;
168
171
  }>>;
169
172
  creatorAddress: z.ZodNullable<z.ZodString>;
173
+ partnerId: z.ZodNullable<z.ZodString>;
170
174
  oneClickBuyUrl: z.ZodNullable<z.ZodString>;
171
175
  stripePaymentIntentId: z.ZodNullable<z.ZodString>;
172
176
  permit: z.ZodNullable<z.ZodObject<{
@@ -352,6 +356,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
352
356
  ipAddress?: string | undefined;
353
357
  } | null;
354
358
  creatorAddress: string | null;
359
+ partnerId: string | null;
355
360
  oneClickBuyUrl: string | null;
356
361
  stripePaymentIntentId: string | null;
357
362
  permit: {
@@ -409,6 +414,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
409
414
  ipAddress?: string | undefined;
410
415
  } | null;
411
416
  creatorAddress: string | null;
417
+ partnerId: string | null;
412
418
  oneClickBuyUrl: string | null;
413
419
  stripePaymentIntentId: string | null;
414
420
  permit: {
@@ -455,6 +461,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
455
461
  ipAddress?: string | undefined;
456
462
  }>>;
457
463
  creatorAddress: z.ZodNullable<z.ZodString>;
464
+ partnerId: z.ZodNullable<z.ZodString>;
458
465
  oneClickBuyUrl: z.ZodNullable<z.ZodString>;
459
466
  stripePaymentIntentId: z.ZodNullable<z.ZodString>;
460
467
  permit: z.ZodNullable<z.ZodObject<{
@@ -724,6 +731,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
724
731
  ipAddress?: string | undefined;
725
732
  } | null;
726
733
  creatorAddress: string | null;
734
+ partnerId: string | null;
727
735
  oneClickBuyUrl: string | null;
728
736
  stripePaymentIntentId: string | null;
729
737
  permit: {
@@ -795,6 +803,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
795
803
  ipAddress?: string | undefined;
796
804
  } | null;
797
805
  creatorAddress: string | null;
806
+ partnerId: string | null;
798
807
  oneClickBuyUrl: string | null;
799
808
  stripePaymentIntentId: string | null;
800
809
  permit: {
@@ -841,6 +850,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
841
850
  ipAddress?: string | undefined;
842
851
  }>>;
843
852
  creatorAddress: z.ZodNullable<z.ZodString>;
853
+ partnerId: z.ZodNullable<z.ZodString>;
844
854
  oneClickBuyUrl: z.ZodNullable<z.ZodString>;
845
855
  stripePaymentIntentId: z.ZodNullable<z.ZodString>;
846
856
  permit: z.ZodNullable<z.ZodObject<{
@@ -1060,6 +1070,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1060
1070
  ipAddress?: string | undefined;
1061
1071
  } | null;
1062
1072
  creatorAddress: string | null;
1073
+ partnerId: string | null;
1063
1074
  oneClickBuyUrl: string | null;
1064
1075
  stripePaymentIntentId: string | null;
1065
1076
  permit: {
@@ -1123,6 +1134,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1123
1134
  ipAddress?: string | undefined;
1124
1135
  } | null;
1125
1136
  creatorAddress: string | null;
1137
+ partnerId: string | null;
1126
1138
  oneClickBuyUrl: string | null;
1127
1139
  stripePaymentIntentId: string | null;
1128
1140
  permit: {
@@ -1169,6 +1181,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1169
1181
  ipAddress?: string | undefined;
1170
1182
  }>>;
1171
1183
  creatorAddress: z.ZodNullable<z.ZodString>;
1184
+ partnerId: z.ZodNullable<z.ZodString>;
1172
1185
  oneClickBuyUrl: z.ZodNullable<z.ZodString>;
1173
1186
  stripePaymentIntentId: z.ZodNullable<z.ZodString>;
1174
1187
  permit: z.ZodNullable<z.ZodObject<{
@@ -1388,6 +1401,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1388
1401
  ipAddress?: string | undefined;
1389
1402
  } | null;
1390
1403
  creatorAddress: string | null;
1404
+ partnerId: string | null;
1391
1405
  oneClickBuyUrl: string | null;
1392
1406
  stripePaymentIntentId: string | null;
1393
1407
  permit: {
@@ -1451,6 +1465,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1451
1465
  ipAddress?: string | undefined;
1452
1466
  } | null;
1453
1467
  creatorAddress: string | null;
1468
+ partnerId: string | null;
1454
1469
  oneClickBuyUrl: string | null;
1455
1470
  stripePaymentIntentId: string | null;
1456
1471
  permit: {
@@ -1497,6 +1512,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1497
1512
  ipAddress?: string | undefined;
1498
1513
  }>>;
1499
1514
  creatorAddress: z.ZodNullable<z.ZodString>;
1515
+ partnerId: z.ZodNullable<z.ZodString>;
1500
1516
  oneClickBuyUrl: z.ZodNullable<z.ZodString>;
1501
1517
  stripePaymentIntentId: z.ZodNullable<z.ZodString>;
1502
1518
  permit: z.ZodNullable<z.ZodObject<{
@@ -1692,6 +1708,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1692
1708
  ipAddress?: string | undefined;
1693
1709
  } | null;
1694
1710
  creatorAddress: string | null;
1711
+ partnerId: string | null;
1695
1712
  oneClickBuyUrl: string | null;
1696
1713
  stripePaymentIntentId: string | null;
1697
1714
  permit: {
@@ -1752,6 +1769,7 @@ export declare const zOrder: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1752
1769
  ipAddress?: string | undefined;
1753
1770
  } | null;
1754
1771
  creatorAddress: string | null;
1772
+ partnerId: string | null;
1755
1773
  oneClickBuyUrl: string | null;
1756
1774
  stripePaymentIntentId: string | null;
1757
1775
  permit: {
@@ -52,6 +52,7 @@ exports.zBaseOrder = zod_1.z.object({
52
52
  expiredAt: zod_1.z.number(),
53
53
  onrampMetadata: onramp_1.zOnrampMetadata.nullable(),
54
54
  creatorAddress: zod_1.z.string().nullable(),
55
+ partnerId: zod_1.z.string().nullable(),
55
56
  oneClickBuyUrl: zod_1.z.string().nullable(),
56
57
  stripePaymentIntentId: zod_1.z.string().nullable(),
57
58
  permit: permit_1.zPermit.nullable()