@b3dotfun/sdk 0.0.73-test.0 → 0.0.73-test.1
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 +1 -1
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +1 -0
- package/dist/esm/anyspend/react/components/AnySpendCustom.js +1 -1
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +1 -0
- package/dist/types/anyspend/react/hooks/useAnyspendCreateOrder.d.ts +1 -0
- package/package.json +1 -1
- package/src/anyspend/react/components/AnySpendCustom.tsx +1 -1
- package/src/anyspend/react/hooks/useAnyspendCreateOrder.ts +1 -0
|
@@ -369,9 +369,9 @@ function AnySpendCustomInner({ loadOrder, mode = "modal", activeTab: activeTabPr
|
|
|
369
369
|
data: encodedData,
|
|
370
370
|
spenderAddress: spenderAddress,
|
|
371
371
|
to: contractAddress,
|
|
372
|
-
...metadata,
|
|
373
372
|
}
|
|
374
373
|
: undefined,
|
|
374
|
+
metadata,
|
|
375
375
|
};
|
|
376
376
|
if (onramp) {
|
|
377
377
|
const effectiveSrcToken = activeTab === "fiat" ? constants_1.USDC_BASE : srcToken;
|
|
@@ -330,9 +330,9 @@ function AnySpendCustomInner({ loadOrder, mode = "modal", activeTab: activeTabPr
|
|
|
330
330
|
data: encodedData,
|
|
331
331
|
spenderAddress: spenderAddress,
|
|
332
332
|
to: contractAddress,
|
|
333
|
-
...metadata,
|
|
334
333
|
}
|
|
335
334
|
: undefined,
|
|
335
|
+
metadata,
|
|
336
336
|
};
|
|
337
337
|
if (onramp) {
|
|
338
338
|
const effectiveSrcToken = activeTab === "fiat" ? USDC_BASE : srcToken;
|
package/package.json
CHANGED
|
@@ -21,6 +21,7 @@ export type CreateOrderParams = {
|
|
|
21
21
|
tournament?: components["schemas"]["Tournament"] & { contractAddress: string; entryPriceOrFundAmount: string };
|
|
22
22
|
creatorAddress?: string;
|
|
23
23
|
payload?: any;
|
|
24
|
+
metadata?: Record<string, any>;
|
|
24
25
|
};
|
|
25
26
|
|
|
26
27
|
export type UseAnyspendCreateOrderProps = {
|