@b3dotfun/sdk 0.0.49-alpha.0 → 0.0.49-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 (78) hide show
  1. package/dist/cjs/anyspend/react/components/AnySpend.d.ts +2 -1
  2. package/dist/cjs/anyspend/react/components/AnySpend.js +8 -4
  3. package/dist/cjs/anyspend/react/components/AnySpendCustom.js +12 -3
  4. package/dist/cjs/anyspend/react/components/AnyspendDepositHype.js +11 -4
  5. package/dist/cjs/anyspend/react/components/common/CryptoPaySection.d.ts +3 -1
  6. package/dist/cjs/anyspend/react/components/common/CryptoPaySection.js +2 -2
  7. package/dist/cjs/anyspend/react/components/common/CryptoReceiveSection.d.ts +3 -1
  8. package/dist/cjs/anyspend/react/components/common/CryptoReceiveSection.js +17 -11
  9. package/dist/cjs/anyspend/react/components/common/FeeBreakDown.d.ts +12 -0
  10. package/dist/cjs/anyspend/react/components/common/FeeBreakDown.js +19 -0
  11. package/dist/cjs/anyspend/react/components/common/FeeDetailPanel.d.ts +8 -0
  12. package/dist/cjs/anyspend/react/components/common/FeeDetailPanel.js +116 -0
  13. package/dist/cjs/anyspend/react/components/common/OrderDetails.d.ts +1 -0
  14. package/dist/cjs/anyspend/react/components/common/OrderDetails.js +6 -6
  15. package/dist/cjs/anyspend/react/components/common/OrderDetailsCollapsible.d.ts +1 -0
  16. package/dist/cjs/anyspend/react/components/common/OrderDetailsCollapsible.js +2 -2
  17. package/dist/cjs/anyspend/react/components/common/PanelOnramp.d.ts +2 -1
  18. package/dist/cjs/anyspend/react/components/common/PanelOnramp.js +36 -21
  19. package/dist/cjs/anyspend/react/components/common/PanelOnrampPayment.js +2 -1
  20. package/dist/cjs/anyspend/react/components/common/PointsDetailPanel.js +1 -2
  21. package/dist/cjs/anyspend/react/hooks/useAnyspendFlow.d.ts +3 -1
  22. package/dist/cjs/anyspend/react/hooks/useAnyspendFlow.js +1 -0
  23. package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +24 -0
  24. package/dist/cjs/anyspend/types/api.d.ts +119 -176
  25. package/dist/cjs/global-account/react/components/ui/tooltip.js +1 -1
  26. package/dist/esm/anyspend/react/components/AnySpend.d.ts +2 -1
  27. package/dist/esm/anyspend/react/components/AnySpend.js +8 -4
  28. package/dist/esm/anyspend/react/components/AnySpendCustom.js +14 -5
  29. package/dist/esm/anyspend/react/components/AnyspendDepositHype.js +11 -4
  30. package/dist/esm/anyspend/react/components/common/CryptoPaySection.d.ts +3 -1
  31. package/dist/esm/anyspend/react/components/common/CryptoPaySection.js +4 -4
  32. package/dist/esm/anyspend/react/components/common/CryptoReceiveSection.d.ts +3 -1
  33. package/dist/esm/anyspend/react/components/common/CryptoReceiveSection.js +19 -13
  34. package/dist/esm/anyspend/react/components/common/FeeBreakDown.d.ts +12 -0
  35. package/dist/esm/anyspend/react/components/common/FeeBreakDown.js +16 -0
  36. package/dist/esm/anyspend/react/components/common/FeeDetailPanel.d.ts +8 -0
  37. package/dist/esm/anyspend/react/components/common/FeeDetailPanel.js +113 -0
  38. package/dist/esm/anyspend/react/components/common/OrderDetails.d.ts +1 -0
  39. package/dist/esm/anyspend/react/components/common/OrderDetails.js +6 -6
  40. package/dist/esm/anyspend/react/components/common/OrderDetailsCollapsible.d.ts +1 -0
  41. package/dist/esm/anyspend/react/components/common/OrderDetailsCollapsible.js +3 -3
  42. package/dist/esm/anyspend/react/components/common/PanelOnramp.d.ts +2 -1
  43. package/dist/esm/anyspend/react/components/common/PanelOnramp.js +38 -23
  44. package/dist/esm/anyspend/react/components/common/PanelOnrampPayment.js +2 -1
  45. package/dist/esm/anyspend/react/components/common/PointsDetailPanel.js +2 -3
  46. package/dist/esm/anyspend/react/hooks/useAnyspendFlow.d.ts +3 -1
  47. package/dist/esm/anyspend/react/hooks/useAnyspendFlow.js +1 -0
  48. package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +24 -0
  49. package/dist/esm/anyspend/types/api.d.ts +119 -176
  50. package/dist/esm/global-account/react/components/ui/tooltip.js +1 -1
  51. package/dist/styles/index.css +1 -1
  52. package/dist/types/anyspend/react/components/AnySpend.d.ts +2 -1
  53. package/dist/types/anyspend/react/components/common/CryptoPaySection.d.ts +3 -1
  54. package/dist/types/anyspend/react/components/common/CryptoReceiveSection.d.ts +3 -1
  55. package/dist/types/anyspend/react/components/common/FeeBreakDown.d.ts +12 -0
  56. package/dist/types/anyspend/react/components/common/FeeDetailPanel.d.ts +8 -0
  57. package/dist/types/anyspend/react/components/common/OrderDetails.d.ts +1 -0
  58. package/dist/types/anyspend/react/components/common/OrderDetailsCollapsible.d.ts +1 -0
  59. package/dist/types/anyspend/react/components/common/PanelOnramp.d.ts +2 -1
  60. package/dist/types/anyspend/react/hooks/useAnyspendFlow.d.ts +3 -1
  61. package/dist/types/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +24 -0
  62. package/dist/types/anyspend/types/api.d.ts +119 -176
  63. package/package.json +1 -1
  64. package/src/anyspend/react/components/AnySpend.tsx +20 -0
  65. package/src/anyspend/react/components/AnySpendCustom.tsx +69 -7
  66. package/src/anyspend/react/components/AnyspendDepositHype.tsx +24 -0
  67. package/src/anyspend/react/components/common/CryptoPaySection.tsx +14 -2
  68. package/src/anyspend/react/components/common/CryptoReceiveSection.tsx +31 -11
  69. package/src/anyspend/react/components/common/FeeBreakDown.tsx +105 -0
  70. package/src/anyspend/react/components/common/FeeDetailPanel.tsx +334 -0
  71. package/src/anyspend/react/components/common/OrderDetails.tsx +7 -0
  72. package/src/anyspend/react/components/common/OrderDetailsCollapsible.tsx +13 -0
  73. package/src/anyspend/react/components/common/PanelOnramp.tsx +58 -27
  74. package/src/anyspend/react/components/common/PanelOnrampPayment.tsx +18 -6
  75. package/src/anyspend/react/components/common/PointsDetailPanel.tsx +1 -13
  76. package/src/anyspend/react/hooks/useAnyspendFlow.ts +1 -0
  77. package/src/anyspend/types/api.ts +121 -176
  78. package/src/global-account/react/components/ui/tooltip.tsx +11 -9
@@ -13,6 +13,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
13
13
  createdAt: number;
14
14
  expiredAt: number;
15
15
  filledAt: number | null;
16
+ receivedDepositAt: number | null;
16
17
  creatorAddress: string | null;
17
18
  partnerId: string | null;
18
19
  onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
@@ -21,6 +22,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
21
22
  settlement: {
22
23
  actualDstAmount: string | null;
23
24
  } | null;
25
+ fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
24
26
  } & {
25
27
  type: "swap";
26
28
  payload: import("../..").components["schemas"]["SwapPayload"];
@@ -39,6 +41,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
39
41
  createdAt: number;
40
42
  expiredAt: number;
41
43
  filledAt: number | null;
44
+ receivedDepositAt: number | null;
42
45
  creatorAddress: string | null;
43
46
  partnerId: string | null;
44
47
  onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
@@ -47,6 +50,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
47
50
  settlement: {
48
51
  actualDstAmount: string | null;
49
52
  } | null;
53
+ fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
50
54
  } & {
51
55
  type: "hype_duel";
52
56
  payload: import("../..").components["schemas"]["HypeDuelPayload"];
@@ -65,6 +69,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
65
69
  createdAt: number;
66
70
  expiredAt: number;
67
71
  filledAt: number | null;
72
+ receivedDepositAt: number | null;
68
73
  creatorAddress: string | null;
69
74
  partnerId: string | null;
70
75
  onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
@@ -73,6 +78,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
73
78
  settlement: {
74
79
  actualDstAmount: string | null;
75
80
  } | null;
81
+ fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
76
82
  } & {
77
83
  type: "custom";
78
84
  payload: import("../..").components["schemas"]["CustomPayload"];
@@ -91,6 +97,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
91
97
  createdAt: number;
92
98
  expiredAt: number;
93
99
  filledAt: number | null;
100
+ receivedDepositAt: number | null;
94
101
  creatorAddress: string | null;
95
102
  partnerId: string | null;
96
103
  onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
@@ -99,6 +106,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
99
106
  settlement: {
100
107
  actualDstAmount: string | null;
101
108
  } | null;
109
+ fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
102
110
  } & {
103
111
  type: "mint_nft";
104
112
  payload: import("../..").components["schemas"]["MintNftPayload"];
@@ -117,6 +125,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
117
125
  createdAt: number;
118
126
  expiredAt: number;
119
127
  filledAt: number | null;
128
+ receivedDepositAt: number | null;
120
129
  creatorAddress: string | null;
121
130
  partnerId: string | null;
122
131
  onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
@@ -125,6 +134,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
125
134
  settlement: {
126
135
  actualDstAmount: string | null;
127
136
  } | null;
137
+ fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
128
138
  } & {
129
139
  type: "join_tournament";
130
140
  payload: import("../..").components["schemas"]["JoinTournamentPayload"];
@@ -143,6 +153,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
143
153
  createdAt: number;
144
154
  expiredAt: number;
145
155
  filledAt: number | null;
156
+ receivedDepositAt: number | null;
146
157
  creatorAddress: string | null;
147
158
  partnerId: string | null;
148
159
  onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
@@ -151,6 +162,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
151
162
  settlement: {
152
163
  actualDstAmount: string | null;
153
164
  } | null;
165
+ fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
154
166
  } & {
155
167
  type: "fund_tournament";
156
168
  payload: import("../..").components["schemas"]["FundTournamentPayload"];
@@ -172,6 +184,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
172
184
  createdAt: number;
173
185
  expiredAt: number;
174
186
  filledAt: number | null;
187
+ receivedDepositAt: number | null;
175
188
  creatorAddress: string | null;
176
189
  partnerId: string | null;
177
190
  onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
@@ -180,6 +193,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
180
193
  settlement: {
181
194
  actualDstAmount: string | null;
182
195
  } | null;
196
+ fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
183
197
  } & {
184
198
  type: "swap";
185
199
  payload: import("../..").components["schemas"]["SwapPayload"];
@@ -198,6 +212,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
198
212
  createdAt: number;
199
213
  expiredAt: number;
200
214
  filledAt: number | null;
215
+ receivedDepositAt: number | null;
201
216
  creatorAddress: string | null;
202
217
  partnerId: string | null;
203
218
  onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
@@ -206,6 +221,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
206
221
  settlement: {
207
222
  actualDstAmount: string | null;
208
223
  } | null;
224
+ fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
209
225
  } & {
210
226
  type: "hype_duel";
211
227
  payload: import("../..").components["schemas"]["HypeDuelPayload"];
@@ -224,6 +240,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
224
240
  createdAt: number;
225
241
  expiredAt: number;
226
242
  filledAt: number | null;
243
+ receivedDepositAt: number | null;
227
244
  creatorAddress: string | null;
228
245
  partnerId: string | null;
229
246
  onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
@@ -232,6 +249,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
232
249
  settlement: {
233
250
  actualDstAmount: string | null;
234
251
  } | null;
252
+ fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
235
253
  } & {
236
254
  type: "custom";
237
255
  payload: import("../..").components["schemas"]["CustomPayload"];
@@ -250,6 +268,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
250
268
  createdAt: number;
251
269
  expiredAt: number;
252
270
  filledAt: number | null;
271
+ receivedDepositAt: number | null;
253
272
  creatorAddress: string | null;
254
273
  partnerId: string | null;
255
274
  onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
@@ -258,6 +277,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
258
277
  settlement: {
259
278
  actualDstAmount: string | null;
260
279
  } | null;
280
+ fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
261
281
  } & {
262
282
  type: "mint_nft";
263
283
  payload: import("../..").components["schemas"]["MintNftPayload"];
@@ -276,6 +296,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
276
296
  createdAt: number;
277
297
  expiredAt: number;
278
298
  filledAt: number | null;
299
+ receivedDepositAt: number | null;
279
300
  creatorAddress: string | null;
280
301
  partnerId: string | null;
281
302
  onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
@@ -284,6 +305,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
284
305
  settlement: {
285
306
  actualDstAmount: string | null;
286
307
  } | null;
308
+ fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
287
309
  } & {
288
310
  type: "join_tournament";
289
311
  payload: import("../..").components["schemas"]["JoinTournamentPayload"];
@@ -302,6 +324,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
302
324
  createdAt: number;
303
325
  expiredAt: number;
304
326
  filledAt: number | null;
327
+ receivedDepositAt: number | null;
305
328
  creatorAddress: string | null;
306
329
  partnerId: string | null;
307
330
  onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
@@ -310,6 +333,7 @@ export declare function useAnyspendOrderHistory(creatorAddress: string | undefin
310
333
  settlement: {
311
334
  actualDstAmount: string | null;
312
335
  } | null;
336
+ fee?: Omit<import("../..").components["schemas"]["Fee"], "type"> | null;
313
337
  } & {
314
338
  type: "fund_tournament";
315
339
  payload: import("../..").components["schemas"]["FundTournamentPayload"];