@b3dotfun/sdk 0.0.5-alpha.6 → 0.0.5
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/constants/index.js +2 -2
- package/dist/cjs/anyspend/react/components/AnySpend.js +2 -2
- package/dist/cjs/anyspend/react/components/index.d.ts +5 -7
- package/dist/cjs/anyspend/react/components/index.js +11 -15
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +0 -1
- package/dist/cjs/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +3 -4
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +0 -10
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +0 -10
- package/dist/cjs/anyspend/services/anyspend.d.ts +1 -7
- package/dist/cjs/anyspend/services/anyspend.js +2 -3
- package/dist/cjs/anyspend/types/order.d.ts +0 -18
- package/dist/cjs/anyspend/types/order.js +0 -1
- package/dist/cjs/anyspend/types/req-res/createOrder.d.ts +0 -50
- package/dist/cjs/anyspend/types/req-res/createOrder.js +0 -1
- package/dist/cjs/anyspend/types/req-res/getOrderAndTransactions.d.ts +0 -35
- package/dist/cjs/anyspend/types/req-res/getOrderHistory.d.ts +0 -25
- package/dist/cjs/global-account/react/hooks/index.d.ts +1 -2
- package/dist/cjs/global-account/react/hooks/index.js +1 -3
- package/dist/cjs/global-account/react/hooks/useTokenFromUrl.d.ts +1 -5
- package/dist/cjs/global-account/react/hooks/useTokenFromUrl.js +13 -74
- package/dist/cjs/shared/constants/chains/supported.d.ts +3 -13
- package/dist/cjs/shared/constants/chains/supported.js +9 -15
- package/dist/esm/anyspend/constants/index.js +2 -2
- package/dist/esm/anyspend/react/components/AnySpend.js +2 -2
- package/dist/esm/anyspend/react/components/index.d.ts +5 -7
- package/dist/esm/anyspend/react/components/index.js +5 -7
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +0 -1
- package/dist/esm/anyspend/react/hooks/useAnyspendCreateOnrampOrder.js +4 -5
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +0 -10
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +0 -10
- package/dist/esm/anyspend/services/anyspend.d.ts +1 -7
- package/dist/esm/anyspend/services/anyspend.js +2 -3
- package/dist/esm/anyspend/types/order.d.ts +0 -18
- package/dist/esm/anyspend/types/order.js +0 -1
- package/dist/esm/anyspend/types/req-res/createOrder.d.ts +0 -50
- package/dist/esm/anyspend/types/req-res/createOrder.js +0 -1
- package/dist/esm/anyspend/types/req-res/getOrderAndTransactions.d.ts +0 -35
- package/dist/esm/anyspend/types/req-res/getOrderHistory.d.ts +0 -25
- package/dist/esm/global-account/react/hooks/index.d.ts +1 -2
- package/dist/esm/global-account/react/hooks/index.js +0 -1
- package/dist/esm/global-account/react/hooks/useTokenFromUrl.d.ts +1 -5
- package/dist/esm/global-account/react/hooks/useTokenFromUrl.js +13 -73
- package/dist/esm/shared/constants/chains/supported.d.ts +3 -13
- package/dist/esm/shared/constants/chains/supported.js +8 -13
- package/dist/styles/index.css +1 -1
- package/dist/types/anyspend/react/components/index.d.ts +5 -7
- package/dist/types/anyspend/react/hooks/useAnyspendCreateOnrampOrder.d.ts +0 -1
- package/dist/types/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +0 -10
- package/dist/types/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +0 -10
- package/dist/types/anyspend/services/anyspend.d.ts +1 -7
- package/dist/types/anyspend/types/order.d.ts +0 -18
- package/dist/types/anyspend/types/req-res/createOrder.d.ts +0 -50
- package/dist/types/anyspend/types/req-res/getOrderAndTransactions.d.ts +0 -35
- package/dist/types/anyspend/types/req-res/getOrderHistory.d.ts +0 -25
- package/dist/types/global-account/react/hooks/index.d.ts +1 -2
- package/dist/types/global-account/react/hooks/useTokenFromUrl.d.ts +1 -5
- package/dist/types/shared/constants/chains/supported.d.ts +3 -13
- package/package.json +3 -3
- package/src/anyspend/constants/index.ts +4 -2
- package/src/anyspend/react/components/AnySpend.tsx +2 -2
- package/src/anyspend/react/components/index.ts +5 -7
- package/src/anyspend/react/hooks/useAnyspendCreateOnrampOrder.ts +4 -7
- package/src/anyspend/services/anyspend.ts +2 -5
- package/src/anyspend/types/order.ts +0 -1
- package/src/anyspend/types/req-res/createOrder.ts +0 -1
- package/src/global-account/react/hooks/index.ts +1 -2
- package/src/global-account/react/hooks/useTokenFromUrl.tsx +13 -95
- package/src/shared/constants/chains/supported.ts +8 -23
- package/dist/cjs/anyspend/react/components/webview/WebviewOnrampOrderStatus.d.ts +0 -6
- package/dist/cjs/anyspend/react/components/webview/WebviewOnrampOrderStatus.js +0 -37
- package/dist/cjs/anyspend/react/components/webview/WebviewOnrampPayment.d.ts +0 -12
- package/dist/cjs/anyspend/react/components/webview/WebviewOnrampPayment.js +0 -173
- package/dist/cjs/global-account/react/hooks/useB3EnsName.d.ts +0 -9
- package/dist/cjs/global-account/react/hooks/useB3EnsName.js +0 -39
- package/dist/cjs/shared/generated/coingecko-chains.json +0 -1072
- package/dist/esm/anyspend/react/components/webview/WebviewOnrampOrderStatus.d.ts +0 -6
- package/dist/esm/anyspend/react/components/webview/WebviewOnrampOrderStatus.js +0 -31
- package/dist/esm/anyspend/react/components/webview/WebviewOnrampPayment.d.ts +0 -12
- package/dist/esm/anyspend/react/components/webview/WebviewOnrampPayment.js +0 -167
- package/dist/esm/global-account/react/hooks/useB3EnsName.d.ts +0 -9
- package/dist/esm/global-account/react/hooks/useB3EnsName.js +0 -32
- package/dist/esm/shared/generated/coingecko-chains.json +0 -1072
- package/dist/types/anyspend/react/components/webview/WebviewOnrampOrderStatus.d.ts +0 -6
- package/dist/types/anyspend/react/components/webview/WebviewOnrampPayment.d.ts +0 -12
- package/dist/types/global-account/react/hooks/useB3EnsName.d.ts +0 -9
- package/src/anyspend/README.md +0 -626
- package/src/anyspend/react/components/webview/WebviewOnrampOrderStatus.tsx +0 -120
- package/src/anyspend/react/components/webview/WebviewOnrampPayment.tsx +0 -369
- package/src/global-account/react/hooks/useB3EnsName.ts +0 -49
- package/src/shared/generated/coingecko-chains.json +0 -1072
- /package/dist/cjs/{shared/generated → generated}/chain-networks.json +0 -0
- /package/dist/esm/{shared/generated → generated}/chain-networks.json +0 -0
- /package/src/{shared/generated → generated}/chain-networks.json +0 -0
|
@@ -35,7 +35,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
35
35
|
ipAddress?: string | undefined;
|
|
36
36
|
}>>;
|
|
37
37
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
38
|
-
partnerId: z.ZodNullable<z.ZodString>;
|
|
39
38
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
40
39
|
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
41
40
|
permit: z.ZodNullable<z.ZodObject<{
|
|
@@ -221,7 +220,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
221
220
|
ipAddress?: string | undefined;
|
|
222
221
|
} | null;
|
|
223
222
|
creatorAddress: string | null;
|
|
224
|
-
partnerId: string | null;
|
|
225
223
|
oneClickBuyUrl: string | null;
|
|
226
224
|
stripePaymentIntentId: string | null;
|
|
227
225
|
permit: {
|
|
@@ -279,7 +277,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
279
277
|
ipAddress?: string | undefined;
|
|
280
278
|
} | null;
|
|
281
279
|
creatorAddress: string | null;
|
|
282
|
-
partnerId: string | null;
|
|
283
280
|
oneClickBuyUrl: string | null;
|
|
284
281
|
stripePaymentIntentId: string | null;
|
|
285
282
|
permit: {
|
|
@@ -326,7 +323,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
326
323
|
ipAddress?: string | undefined;
|
|
327
324
|
}>>;
|
|
328
325
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
329
|
-
partnerId: z.ZodNullable<z.ZodString>;
|
|
330
326
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
331
327
|
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
332
328
|
permit: z.ZodNullable<z.ZodObject<{
|
|
@@ -596,7 +592,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
596
592
|
ipAddress?: string | undefined;
|
|
597
593
|
} | null;
|
|
598
594
|
creatorAddress: string | null;
|
|
599
|
-
partnerId: string | null;
|
|
600
595
|
oneClickBuyUrl: string | null;
|
|
601
596
|
stripePaymentIntentId: string | null;
|
|
602
597
|
permit: {
|
|
@@ -668,7 +663,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
668
663
|
ipAddress?: string | undefined;
|
|
669
664
|
} | null;
|
|
670
665
|
creatorAddress: string | null;
|
|
671
|
-
partnerId: string | null;
|
|
672
666
|
oneClickBuyUrl: string | null;
|
|
673
667
|
stripePaymentIntentId: string | null;
|
|
674
668
|
permit: {
|
|
@@ -715,7 +709,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
715
709
|
ipAddress?: string | undefined;
|
|
716
710
|
}>>;
|
|
717
711
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
718
|
-
partnerId: z.ZodNullable<z.ZodString>;
|
|
719
712
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
720
713
|
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
721
714
|
permit: z.ZodNullable<z.ZodObject<{
|
|
@@ -935,7 +928,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
935
928
|
ipAddress?: string | undefined;
|
|
936
929
|
} | null;
|
|
937
930
|
creatorAddress: string | null;
|
|
938
|
-
partnerId: string | null;
|
|
939
931
|
oneClickBuyUrl: string | null;
|
|
940
932
|
stripePaymentIntentId: string | null;
|
|
941
933
|
permit: {
|
|
@@ -999,7 +991,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
999
991
|
ipAddress?: string | undefined;
|
|
1000
992
|
} | null;
|
|
1001
993
|
creatorAddress: string | null;
|
|
1002
|
-
partnerId: string | null;
|
|
1003
994
|
oneClickBuyUrl: string | null;
|
|
1004
995
|
stripePaymentIntentId: string | null;
|
|
1005
996
|
permit: {
|
|
@@ -1046,7 +1037,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
1046
1037
|
ipAddress?: string | undefined;
|
|
1047
1038
|
}>>;
|
|
1048
1039
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
1049
|
-
partnerId: z.ZodNullable<z.ZodString>;
|
|
1050
1040
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
1051
1041
|
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
1052
1042
|
permit: z.ZodNullable<z.ZodObject<{
|
|
@@ -1266,7 +1256,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
1266
1256
|
ipAddress?: string | undefined;
|
|
1267
1257
|
} | null;
|
|
1268
1258
|
creatorAddress: string | null;
|
|
1269
|
-
partnerId: string | null;
|
|
1270
1259
|
oneClickBuyUrl: string | null;
|
|
1271
1260
|
stripePaymentIntentId: string | null;
|
|
1272
1261
|
permit: {
|
|
@@ -1330,7 +1319,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
1330
1319
|
ipAddress?: string | undefined;
|
|
1331
1320
|
} | null;
|
|
1332
1321
|
creatorAddress: string | null;
|
|
1333
|
-
partnerId: string | null;
|
|
1334
1322
|
oneClickBuyUrl: string | null;
|
|
1335
1323
|
stripePaymentIntentId: string | null;
|
|
1336
1324
|
permit: {
|
|
@@ -1377,7 +1365,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
1377
1365
|
ipAddress?: string | undefined;
|
|
1378
1366
|
}>>;
|
|
1379
1367
|
creatorAddress: z.ZodNullable<z.ZodString>;
|
|
1380
|
-
partnerId: z.ZodNullable<z.ZodString>;
|
|
1381
1368
|
oneClickBuyUrl: z.ZodNullable<z.ZodString>;
|
|
1382
1369
|
stripePaymentIntentId: z.ZodNullable<z.ZodString>;
|
|
1383
1370
|
permit: z.ZodNullable<z.ZodObject<{
|
|
@@ -1573,7 +1560,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
1573
1560
|
ipAddress?: string | undefined;
|
|
1574
1561
|
} | null;
|
|
1575
1562
|
creatorAddress: string | null;
|
|
1576
|
-
partnerId: string | null;
|
|
1577
1563
|
oneClickBuyUrl: string | null;
|
|
1578
1564
|
stripePaymentIntentId: string | null;
|
|
1579
1565
|
permit: {
|
|
@@ -1634,7 +1620,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
1634
1620
|
ipAddress?: string | undefined;
|
|
1635
1621
|
} | null;
|
|
1636
1622
|
creatorAddress: string | null;
|
|
1637
|
-
partnerId: string | null;
|
|
1638
1623
|
oneClickBuyUrl: string | null;
|
|
1639
1624
|
stripePaymentIntentId: string | null;
|
|
1640
1625
|
permit: {
|
|
@@ -1698,7 +1683,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
1698
1683
|
ipAddress?: string | undefined;
|
|
1699
1684
|
} | null;
|
|
1700
1685
|
creatorAddress: string | null;
|
|
1701
|
-
partnerId: string | null;
|
|
1702
1686
|
oneClickBuyUrl: string | null;
|
|
1703
1687
|
stripePaymentIntentId: string | null;
|
|
1704
1688
|
permit: {
|
|
@@ -1770,7 +1754,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
1770
1754
|
ipAddress?: string | undefined;
|
|
1771
1755
|
} | null;
|
|
1772
1756
|
creatorAddress: string | null;
|
|
1773
|
-
partnerId: string | null;
|
|
1774
1757
|
oneClickBuyUrl: string | null;
|
|
1775
1758
|
stripePaymentIntentId: string | null;
|
|
1776
1759
|
permit: {
|
|
@@ -1834,7 +1817,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
1834
1817
|
ipAddress?: string | undefined;
|
|
1835
1818
|
} | null;
|
|
1836
1819
|
creatorAddress: string | null;
|
|
1837
|
-
partnerId: string | null;
|
|
1838
1820
|
oneClickBuyUrl: string | null;
|
|
1839
1821
|
stripePaymentIntentId: string | null;
|
|
1840
1822
|
permit: {
|
|
@@ -1898,7 +1880,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
1898
1880
|
ipAddress?: string | undefined;
|
|
1899
1881
|
} | null;
|
|
1900
1882
|
creatorAddress: string | null;
|
|
1901
|
-
partnerId: string | null;
|
|
1902
1883
|
oneClickBuyUrl: string | null;
|
|
1903
1884
|
stripePaymentIntentId: string | null;
|
|
1904
1885
|
permit: {
|
|
@@ -1957,7 +1938,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
1957
1938
|
ipAddress?: string | undefined;
|
|
1958
1939
|
} | null;
|
|
1959
1940
|
creatorAddress: string | null;
|
|
1960
|
-
partnerId: string | null;
|
|
1961
1941
|
oneClickBuyUrl: string | null;
|
|
1962
1942
|
stripePaymentIntentId: string | null;
|
|
1963
1943
|
permit: {
|
|
@@ -2022,7 +2002,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
2022
2002
|
ipAddress?: string | undefined;
|
|
2023
2003
|
} | null;
|
|
2024
2004
|
creatorAddress: string | null;
|
|
2025
|
-
partnerId: string | null;
|
|
2026
2005
|
oneClickBuyUrl: string | null;
|
|
2027
2006
|
stripePaymentIntentId: string | null;
|
|
2028
2007
|
permit: {
|
|
@@ -2094,7 +2073,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
2094
2073
|
ipAddress?: string | undefined;
|
|
2095
2074
|
} | null;
|
|
2096
2075
|
creatorAddress: string | null;
|
|
2097
|
-
partnerId: string | null;
|
|
2098
2076
|
oneClickBuyUrl: string | null;
|
|
2099
2077
|
stripePaymentIntentId: string | null;
|
|
2100
2078
|
permit: {
|
|
@@ -2158,7 +2136,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
2158
2136
|
ipAddress?: string | undefined;
|
|
2159
2137
|
} | null;
|
|
2160
2138
|
creatorAddress: string | null;
|
|
2161
|
-
partnerId: string | null;
|
|
2162
2139
|
oneClickBuyUrl: string | null;
|
|
2163
2140
|
stripePaymentIntentId: string | null;
|
|
2164
2141
|
permit: {
|
|
@@ -2222,7 +2199,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
2222
2199
|
ipAddress?: string | undefined;
|
|
2223
2200
|
} | null;
|
|
2224
2201
|
creatorAddress: string | null;
|
|
2225
|
-
partnerId: string | null;
|
|
2226
2202
|
oneClickBuyUrl: string | null;
|
|
2227
2203
|
stripePaymentIntentId: string | null;
|
|
2228
2204
|
permit: {
|
|
@@ -2281,7 +2257,6 @@ export declare const zGetOrderHistoryResponse: z.ZodObject<{
|
|
|
2281
2257
|
ipAddress?: string | undefined;
|
|
2282
2258
|
} | null;
|
|
2283
2259
|
creatorAddress: string | null;
|
|
2284
|
-
partnerId: string | null;
|
|
2285
2260
|
oneClickBuyUrl: string | null;
|
|
2286
2261
|
stripePaymentIntentId: string | null;
|
|
2287
2262
|
permit: {
|
|
@@ -3,14 +3,13 @@ export { useAccountWallet } from "./useAccountWallet";
|
|
|
3
3
|
export { useAddTWSessionKey } from "./useAddTWSessionKey";
|
|
4
4
|
export { useAuthentication } from "./useAuthentication";
|
|
5
5
|
export { useB3BalanceFromAddresses } from "./useB3BalanceFromAddresses";
|
|
6
|
-
export { useB3EnsName } from "./useB3EnsName";
|
|
7
6
|
export { useBestTransactionPath } from "./useBestTransactionPath";
|
|
8
7
|
export { useBsmntProfile } from "./useBsmntProfile";
|
|
9
8
|
export { useChainSwitchWithAction } from "./useChainSwitchWithAction";
|
|
10
9
|
export { useClaim } from "./useClaim";
|
|
11
10
|
export { useConnect } from "./useConnect";
|
|
12
11
|
export { useExchangeRate } from "./useExchangeRate";
|
|
13
|
-
export {
|
|
12
|
+
export { type TWSignerWithMetadata, useGetAllTWSigners } from "./useGetAllTWSigners";
|
|
14
13
|
export { useGetGeo } from "./useGetGeo";
|
|
15
14
|
export { useHandleConnectWithPrivy } from "./useHandleConnectWithPrivy";
|
|
16
15
|
export { useHasMounted } from "./useHasMounted";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useURLParams = exports.useTokensFromAddress = exports.useTokenPriceWithFallback = exports.useTokenPrice = exports.useTokenFromUrl = exports.useTokenData = exports.useTokenBalancesByChain = exports.useTokenBalance = exports.useSiwe = exports.useSearchParamsSSR = exports.useRouter = exports.useRemoveSessionKey = exports.useQueryBSMNT = exports.useQueryB3 = exports.useOneBalance = exports.useOnchainName = exports.useNativeBalanceFromRPC = exports.useNativeBalance = exports.useMediaQuery = exports.useIsomorphicLayoutEffect = exports.useIsMobile = exports.useHasMounted = exports.useHandleConnectWithPrivy = exports.useGetGeo = exports.useGetAllTWSigners = exports.useExchangeRate = exports.useConnect = exports.useClaim = exports.useChainSwitchWithAction = exports.useBsmntProfile = exports.useBestTransactionPath = exports.
|
|
3
|
+
exports.useURLParams = exports.useTokensFromAddress = exports.useTokenPriceWithFallback = exports.useTokenPrice = exports.useTokenFromUrl = exports.useTokenData = exports.useTokenBalancesByChain = exports.useTokenBalance = exports.useSiwe = exports.useSearchParamsSSR = exports.useRouter = exports.useRemoveSessionKey = exports.useQueryBSMNT = exports.useQueryB3 = exports.useOneBalance = exports.useOnchainName = exports.useNativeBalanceFromRPC = exports.useNativeBalance = exports.useMediaQuery = exports.useIsomorphicLayoutEffect = exports.useIsMobile = exports.useHasMounted = exports.useHandleConnectWithPrivy = exports.useGetGeo = exports.useGetAllTWSigners = exports.useExchangeRate = exports.useConnect = exports.useClaim = exports.useChainSwitchWithAction = exports.useBsmntProfile = exports.useBestTransactionPath = exports.useB3BalanceFromAddresses = exports.useAuthentication = exports.useAddTWSessionKey = exports.useAccountWallet = exports.useAccountAssets = void 0;
|
|
4
4
|
var useAccountAssets_1 = require("./useAccountAssets");
|
|
5
5
|
Object.defineProperty(exports, "useAccountAssets", { enumerable: true, get: function () { return useAccountAssets_1.useAccountAssets; } });
|
|
6
6
|
var useAccountWallet_1 = require("./useAccountWallet");
|
|
@@ -11,8 +11,6 @@ var useAuthentication_1 = require("./useAuthentication");
|
|
|
11
11
|
Object.defineProperty(exports, "useAuthentication", { enumerable: true, get: function () { return useAuthentication_1.useAuthentication; } });
|
|
12
12
|
var useB3BalanceFromAddresses_1 = require("./useB3BalanceFromAddresses");
|
|
13
13
|
Object.defineProperty(exports, "useB3BalanceFromAddresses", { enumerable: true, get: function () { return useB3BalanceFromAddresses_1.useB3BalanceFromAddresses; } });
|
|
14
|
-
var useB3EnsName_1 = require("./useB3EnsName");
|
|
15
|
-
Object.defineProperty(exports, "useB3EnsName", { enumerable: true, get: function () { return useB3EnsName_1.useB3EnsName; } });
|
|
16
14
|
var useBestTransactionPath_1 = require("./useBestTransactionPath");
|
|
17
15
|
Object.defineProperty(exports, "useBestTransactionPath", { enumerable: true, get: function () { return useBestTransactionPath_1.useBestTransactionPath; } });
|
|
18
16
|
var useBsmntProfile_1 = require("./useBsmntProfile");
|
|
@@ -10,12 +10,8 @@ interface UseTokenFromUrlOptions {
|
|
|
10
10
|
prefix: string;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* Hook to parse token data from URL parameters
|
|
13
|
+
* Hook to parse token data from URL parameters.
|
|
14
14
|
* Looks for parameters: [prefix]Currency
|
|
15
15
|
*/
|
|
16
16
|
export declare function useTokenFromUrl({ defaultToken, prefix }: UseTokenFromUrlOptions): Token;
|
|
17
|
-
export declare function useTokenFromAddress({ address, chainId }: {
|
|
18
|
-
address: string;
|
|
19
|
-
chainId: number;
|
|
20
|
-
}): Token | undefined;
|
|
21
17
|
export {};
|
|
@@ -2,90 +2,29 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.useTokenFromUrl = useTokenFromUrl;
|
|
5
|
-
exports.useTokenFromAddress = useTokenFromAddress;
|
|
6
|
-
const supported_1 = require("../../../shared/constants/chains/supported");
|
|
7
|
-
const react_query_1 = require("@tanstack/react-query");
|
|
8
5
|
const navigation_1 = require("next/navigation");
|
|
9
|
-
async function fetchTokenInfo(network, address) {
|
|
10
|
-
const response = await fetch("https://api.b3.fun/tokens", {
|
|
11
|
-
method: "POST",
|
|
12
|
-
headers: {
|
|
13
|
-
"Content-Type": "application/json",
|
|
14
|
-
"X-Service-Method": "getCoinGeckoTokenInfo"
|
|
15
|
-
},
|
|
16
|
-
body: JSON.stringify({
|
|
17
|
-
network,
|
|
18
|
-
address
|
|
19
|
-
})
|
|
20
|
-
});
|
|
21
|
-
if (!response.ok) {
|
|
22
|
-
throw new Error("Failed to fetch token info");
|
|
23
|
-
}
|
|
24
|
-
return response.json();
|
|
25
|
-
}
|
|
26
6
|
/**
|
|
27
|
-
* Hook to parse token data from URL parameters
|
|
7
|
+
* Hook to parse token data from URL parameters.
|
|
28
8
|
* Looks for parameters: [prefix]Currency
|
|
29
9
|
*/
|
|
30
10
|
function useTokenFromUrl({ defaultToken, prefix }) {
|
|
31
11
|
const searchParams = (0, navigation_1.useSearchParams)();
|
|
32
|
-
|
|
33
|
-
const currencyParam = searchParams?.get(`${prefix}Currency`);
|
|
34
|
-
const chainIdParam = searchParams?.get(`${prefix}ChainId`);
|
|
35
|
-
// Determine if we should fetch token info
|
|
36
|
-
const shouldFetchToken = Boolean(currencyParam && chainIdParam && currencyParam.toLowerCase() !== defaultToken.address.toLowerCase());
|
|
37
|
-
// Determine network based on chainId
|
|
38
|
-
const network = chainIdParam ? (0, supported_1.getCoingeckoChainInfo)(Number(chainIdParam)).coingecko_id : "";
|
|
39
|
-
const { data: tokenInfo, isError } = (0, react_query_1.useQuery)({
|
|
40
|
-
queryKey: ["tokenInfo", network, currencyParam],
|
|
41
|
-
queryFn: () => fetchTokenInfo(network, currencyParam),
|
|
42
|
-
enabled: shouldFetchToken,
|
|
43
|
-
staleTime: Infinity,
|
|
44
|
-
gcTime: Infinity
|
|
45
|
-
});
|
|
46
|
-
// Return default token if no params or same as default
|
|
47
|
-
if (!shouldFetchToken) {
|
|
12
|
+
if (!searchParams) {
|
|
48
13
|
return defaultToken;
|
|
49
14
|
}
|
|
50
|
-
//
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
chainId: Number(chainIdParam)
|
|
56
|
-
};
|
|
15
|
+
// Get parameters from URL
|
|
16
|
+
const currencyParam = searchParams.get(`${prefix}Currency`);
|
|
17
|
+
const chainIdParam = searchParams.get(`${prefix}ChainId`);
|
|
18
|
+
if (!currencyParam || !chainIdParam) {
|
|
19
|
+
return defaultToken;
|
|
57
20
|
}
|
|
58
|
-
//
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
chainId: Number(chainIdParam),
|
|
62
|
-
name: tokenInfo.data.attributes.name,
|
|
63
|
-
symbol: tokenInfo.data.attributes.symbol,
|
|
64
|
-
decimals: tokenInfo.data.attributes.decimals,
|
|
65
|
-
metadata: {
|
|
66
|
-
logoURI: tokenInfo.data.attributes.image_url
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
function useTokenFromAddress({ address, chainId }) {
|
|
71
|
-
const { data: tokenInfo, isError } = (0, react_query_1.useQuery)({
|
|
72
|
-
queryKey: ["tokenInfo", address, chainId],
|
|
73
|
-
queryFn: () => fetchTokenInfo((0, supported_1.getCoingeckoChainInfo)(chainId).coingecko_id, address),
|
|
74
|
-
enabled: Boolean(address),
|
|
75
|
-
staleTime: Infinity,
|
|
76
|
-
gcTime: Infinity
|
|
77
|
-
});
|
|
78
|
-
if (isError || !tokenInfo) {
|
|
79
|
-
return undefined;
|
|
21
|
+
// If the currency is the same as the default token, return that
|
|
22
|
+
if (currencyParam.toLowerCase() === defaultToken.address.toLowerCase()) {
|
|
23
|
+
return defaultToken;
|
|
80
24
|
}
|
|
81
25
|
return {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
symbol: tokenInfo?.data.attributes.symbol || "",
|
|
86
|
-
decimals: tokenInfo?.data.attributes.decimals || 18,
|
|
87
|
-
metadata: {
|
|
88
|
-
logoURI: tokenInfo?.data.attributes.image_url
|
|
89
|
-
}
|
|
26
|
+
...defaultToken,
|
|
27
|
+
address: currencyParam,
|
|
28
|
+
chainId: Number(chainIdParam)
|
|
90
29
|
};
|
|
91
30
|
}
|
|
@@ -43,18 +43,8 @@ export declare const supportedChainNetworks: {
|
|
|
43
43
|
};
|
|
44
44
|
_id: string | {};
|
|
45
45
|
}[];
|
|
46
|
-
export declare const
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
native_coin_id: string;
|
|
50
|
-
}>;
|
|
51
|
-
export declare function getCoingeckoChainInfo(chainId: number): {
|
|
52
|
-
coingecko_id: string;
|
|
53
|
-
name: string;
|
|
54
|
-
native_coin_id: string;
|
|
55
|
-
};
|
|
46
|
+
export declare const b3Mainnet: import("viem").Chain;
|
|
47
|
+
export declare const b3Testnet: import("viem").Chain;
|
|
48
|
+
export declare const baseMainnet: import("viem").Chain | undefined;
|
|
56
49
|
export declare const b3MainnetThirdWeb: ThirdwebChain;
|
|
57
50
|
export declare const b3TestnetThirdWeb: ThirdwebChain;
|
|
58
|
-
export declare const b3Mainnet: import("viem").Chain | undefined;
|
|
59
|
-
export declare const b3Testnet: import("viem").Chain | undefined;
|
|
60
|
-
export declare const baseMainnet: import("viem").Chain | undefined;
|
|
@@ -3,15 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
7
|
-
exports.getCoingeckoChainInfo = getCoingeckoChainInfo;
|
|
6
|
+
exports.b3TestnetThirdWeb = exports.b3MainnetThirdWeb = exports.baseMainnet = exports.b3Testnet = exports.b3Mainnet = exports.supportedChainNetworks = exports.supportedChainsTW = exports.supportedChains = void 0;
|
|
8
7
|
const chain_transformers_1 = require("../../../shared/utils/chain-transformers");
|
|
9
|
-
const invariant_1 = __importDefault(require("invariant"));
|
|
10
8
|
// Import the JSON directly
|
|
11
9
|
// @ts-ignore
|
|
12
|
-
const chain_networks_json_1 = __importDefault(require("
|
|
13
|
-
|
|
14
|
-
const coingecko_chains_json_1 = __importDefault(require("../../generated/coingecko-chains.json"));
|
|
10
|
+
const chain_networks_json_1 = __importDefault(require("../../../generated/chain-networks.json"));
|
|
11
|
+
const invariant_1 = __importDefault(require("invariant"));
|
|
15
12
|
const chainNetworks = chain_networks_json_1.default;
|
|
16
13
|
// Convert custom chains to Viem format
|
|
17
14
|
const viemChains = chainNetworks.map(chain_transformers_1.toViemChain);
|
|
@@ -29,16 +26,13 @@ exports.supportedChainsTW = [
|
|
|
29
26
|
];
|
|
30
27
|
// Original format from chain-networks.json
|
|
31
28
|
exports.supportedChainNetworks = chainNetworks;
|
|
32
|
-
|
|
33
|
-
exports.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
29
|
+
exports.b3Mainnet = exports.supportedChains.find(chain => chain.id === 8333);
|
|
30
|
+
(0, invariant_1.default)(exports.b3Mainnet, "B3 mainnet chain not found in supported chains");
|
|
31
|
+
exports.b3Testnet = exports.supportedChains.find(chain => chain.id === 1993);
|
|
32
|
+
(0, invariant_1.default)(exports.b3Testnet, "B3 testnet chain not found in supported chains");
|
|
33
|
+
exports.baseMainnet = exports.supportedChains.find(chain => chain.id === 8453);
|
|
34
|
+
(0, invariant_1.default)(exports.baseMainnet, "Base mainnet chain not found in supported chains");
|
|
38
35
|
exports.b3MainnetThirdWeb = exports.supportedChainsTW.find(chain => chain.id === 8333);
|
|
39
36
|
(0, invariant_1.default)(exports.b3MainnetThirdWeb, "B3 mainnet chain not found in supported chains TW");
|
|
40
37
|
exports.b3TestnetThirdWeb = exports.supportedChainsTW.find(chain => chain.id === 1993);
|
|
41
38
|
(0, invariant_1.default)(exports.b3TestnetThirdWeb, "B3 testnet chain not found in supported chains TW");
|
|
42
|
-
exports.b3Mainnet = exports.supportedChains.find(chain => chain.id === 8333);
|
|
43
|
-
exports.b3Testnet = exports.supportedChains.find(chain => chain.id === 1993);
|
|
44
|
-
exports.baseMainnet = exports.supportedChains.find(chain => chain.id === 8453);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { base } from "viem/chains";
|
|
2
|
-
export const ANYSPEND_MAINNET_BASE_URL = process.env.NEXT_PUBLIC_ANYSPEND_BASE_URL || "https://mainnet.
|
|
3
|
-
export const ANYSPEND_TESTNET_BASE_URL = process.env.NEXT_PUBLIC_ANYSPEND_BASE_URL || "https://testnet.
|
|
2
|
+
export const ANYSPEND_MAINNET_BASE_URL = process.env.NEXT_PUBLIC_ANYSPEND_BASE_URL || "https://anyspend-mainnet.up.railway.app";
|
|
3
|
+
export const ANYSPEND_TESTNET_BASE_URL = process.env.NEXT_PUBLIC_ANYSPEND_BASE_URL || "https://anyspend-testnet.up.railway.app";
|
|
4
4
|
export const RELAY_ETH_ADDRESS = "0x0000000000000000000000000000000000000000";
|
|
5
5
|
export const RELAY_SOL_ADDRESS = "11111111111111111111111111111111";
|
|
6
6
|
export const RELAY_SOLANA_MAINNET_CHAIN_ID = 792703809;
|
|
@@ -96,7 +96,7 @@ export function AnySpend({ destinationTokenAddress, destinationTokenChainId, isM
|
|
|
96
96
|
name: srcTokenMetadata.name || selectedSrcToken.name,
|
|
97
97
|
metadata: {
|
|
98
98
|
...selectedSrcToken.metadata,
|
|
99
|
-
logoURI: srcTokenMetadata
|
|
99
|
+
logoURI: srcTokenMetadata.logoURI || selectedSrcToken.metadata?.logoURI
|
|
100
100
|
}
|
|
101
101
|
};
|
|
102
102
|
setSelectedSrcToken(enhancedToken);
|
|
@@ -118,7 +118,7 @@ export function AnySpend({ destinationTokenAddress, destinationTokenChainId, isM
|
|
|
118
118
|
name: dstTokenMetadata.name || selectedDstToken.name,
|
|
119
119
|
metadata: {
|
|
120
120
|
...selectedDstToken.metadata,
|
|
121
|
-
logoURI: dstTokenMetadata
|
|
121
|
+
logoURI: dstTokenMetadata.logoURI || selectedDstToken.metadata?.logoURI
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
124
|
setSelectedDstToken(enhancedToken);
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
export { AnySpend } from "./AnySpend";
|
|
2
|
-
export { AnySpendBuySpin } from "./AnySpendBuySpin";
|
|
3
2
|
export { AnySpendCustom } from "./AnySpendCustom";
|
|
4
3
|
export { AnySpendNFT } from "./AnySpendNFT";
|
|
5
4
|
export { AnySpendNFTButton } from "./AnySpendNFTButton";
|
|
6
|
-
export { AnySpendStakeB3 } from "./AnySpendStakeB3";
|
|
7
5
|
export { AnySpendTournament } from "./AnySpendTournament";
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
6
|
+
export { AnySpendStakeB3 } from "./AnySpendStakeB3";
|
|
7
|
+
export { AnySpendBuySpin } from "./AnySpendBuySpin";
|
|
10
8
|
export { OrderHistoryItem } from "./common/OrderHistoryItem";
|
|
11
|
-
export {
|
|
9
|
+
export { OrderHistory } from "./common/OrderHistory";
|
|
10
|
+
export { OrderDetails } from "./common/OrderDetails";
|
|
12
11
|
export { OrderToken } from "./common/OrderToken";
|
|
13
12
|
export { OrderTokenAmount } from "./common/OrderTokenAmount";
|
|
13
|
+
export { OrderStatus } from "./common/OrderStatus";
|
|
14
14
|
export { TokenBalance } from "./common/TokenBalance";
|
|
15
|
-
export { WebviewOnrampOrderStatus } from "./webview/WebviewOnrampOrderStatus";
|
|
16
|
-
export { WebviewOnrampPayment } from "./webview/WebviewOnrampPayment";
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
// Components
|
|
2
2
|
export { AnySpend } from "./AnySpend.js";
|
|
3
|
-
export { AnySpendBuySpin } from "./AnySpendBuySpin.js";
|
|
4
3
|
export { AnySpendCustom } from "./AnySpendCustom.js";
|
|
5
4
|
export { AnySpendNFT } from "./AnySpendNFT.js";
|
|
6
5
|
export { AnySpendNFTButton } from "./AnySpendNFTButton.js";
|
|
7
|
-
export { AnySpendStakeB3 } from "./AnySpendStakeB3.js";
|
|
8
6
|
export { AnySpendTournament } from "./AnySpendTournament.js";
|
|
7
|
+
export { AnySpendStakeB3 } from "./AnySpendStakeB3.js";
|
|
8
|
+
export { AnySpendBuySpin } from "./AnySpendBuySpin.js";
|
|
9
9
|
// Common Components
|
|
10
|
-
export { OrderDetails } from "./common/OrderDetails.js";
|
|
11
|
-
export { OrderHistory } from "./common/OrderHistory.js";
|
|
12
10
|
export { OrderHistoryItem } from "./common/OrderHistoryItem.js";
|
|
13
|
-
export {
|
|
11
|
+
export { OrderHistory } from "./common/OrderHistory.js";
|
|
12
|
+
export { OrderDetails } from "./common/OrderDetails.js";
|
|
14
13
|
export { OrderToken } from "./common/OrderToken.js";
|
|
15
14
|
export { OrderTokenAmount } from "./common/OrderTokenAmount.js";
|
|
15
|
+
export { OrderStatus } from "./common/OrderStatus.js";
|
|
16
16
|
export { TokenBalance } from "./common/TokenBalance.js";
|
|
17
|
-
export { WebviewOnrampOrderStatus } from "./webview/WebviewOnrampOrderStatus.js";
|
|
18
|
-
export { WebviewOnrampPayment } from "./webview/WebviewOnrampPayment.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { USDC_BASE } from "../../../anyspend/constants/index.js";
|
|
2
1
|
import { anyspendService } from "../../../anyspend/services/anyspend.js";
|
|
3
|
-
import { buildMetadata, buildPayload
|
|
2
|
+
import { normalizeAddress, buildMetadata, buildPayload } from "../../../anyspend/utils/index.js";
|
|
4
3
|
import { useMutation } from "@tanstack/react-query";
|
|
5
4
|
import { useMemo } from "react";
|
|
6
5
|
import { parseUnits } from "viem";
|
|
7
6
|
import { base } from "viem/chains";
|
|
7
|
+
import { USDC_BASE } from "../../../anyspend/constants/index.js";
|
|
8
8
|
/**
|
|
9
9
|
* Hook for creating onramp orders in the Anyspend protocol
|
|
10
10
|
* Specifically handles orders that involve fiat-to-crypto onramp functionality
|
|
@@ -12,7 +12,7 @@ import { base } from "viem/chains";
|
|
|
12
12
|
export function useAnyspendCreateOnrampOrder({ onSuccess, onError } = {}) {
|
|
13
13
|
const { mutate: createOrder, isPending } = useMutation({
|
|
14
14
|
mutationFn: async (params) => {
|
|
15
|
-
const { isMainnet, recipientAddress, orderType, dstChain, dstToken, srcFiatAmount, onramp, creatorAddress, expectedDstAmount, nft, tournament, payload
|
|
15
|
+
const { isMainnet, recipientAddress, orderType, dstChain, dstToken, srcFiatAmount, onramp, creatorAddress, expectedDstAmount, nft, tournament, payload } = params;
|
|
16
16
|
try {
|
|
17
17
|
// Validate Stripe onramp options
|
|
18
18
|
if (onramp.vendor === "stripe" && !onramp.ipAddress) {
|
|
@@ -54,8 +54,7 @@ export function useAnyspendCreateOnrampOrder({ onSuccess, onError } = {}) {
|
|
|
54
54
|
tournament,
|
|
55
55
|
payload
|
|
56
56
|
}),
|
|
57
|
-
creatorAddress: creatorAddress ? normalizeAddress(creatorAddress) : undefined
|
|
58
|
-
partnerId
|
|
57
|
+
creatorAddress: creatorAddress ? normalizeAddress(creatorAddress) : undefined
|
|
59
58
|
});
|
|
60
59
|
}
|
|
61
60
|
catch (error) {
|
|
@@ -46,7 +46,6 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
|
|
|
46
46
|
ipAddress?: string | undefined;
|
|
47
47
|
} | null;
|
|
48
48
|
creatorAddress: string | null;
|
|
49
|
-
partnerId: string | null;
|
|
50
49
|
oneClickBuyUrl: string | null;
|
|
51
50
|
stripePaymentIntentId: string | null;
|
|
52
51
|
permit: {
|
|
@@ -118,7 +117,6 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
|
|
|
118
117
|
ipAddress?: string | undefined;
|
|
119
118
|
} | null;
|
|
120
119
|
creatorAddress: string | null;
|
|
121
|
-
partnerId: string | null;
|
|
122
120
|
oneClickBuyUrl: string | null;
|
|
123
121
|
stripePaymentIntentId: string | null;
|
|
124
122
|
permit: {
|
|
@@ -182,7 +180,6 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
|
|
|
182
180
|
ipAddress?: string | undefined;
|
|
183
181
|
} | null;
|
|
184
182
|
creatorAddress: string | null;
|
|
185
|
-
partnerId: string | null;
|
|
186
183
|
oneClickBuyUrl: string | null;
|
|
187
184
|
stripePaymentIntentId: string | null;
|
|
188
185
|
permit: {
|
|
@@ -246,7 +243,6 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
|
|
|
246
243
|
ipAddress?: string | undefined;
|
|
247
244
|
} | null;
|
|
248
245
|
creatorAddress: string | null;
|
|
249
|
-
partnerId: string | null;
|
|
250
246
|
oneClickBuyUrl: string | null;
|
|
251
247
|
stripePaymentIntentId: string | null;
|
|
252
248
|
permit: {
|
|
@@ -305,7 +301,6 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
|
|
|
305
301
|
ipAddress?: string | undefined;
|
|
306
302
|
} | null;
|
|
307
303
|
creatorAddress: string | null;
|
|
308
|
-
partnerId: string | null;
|
|
309
304
|
oneClickBuyUrl: string | null;
|
|
310
305
|
stripePaymentIntentId: string | null;
|
|
311
306
|
permit: {
|
|
@@ -404,7 +399,6 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
|
|
|
404
399
|
ipAddress?: string | undefined;
|
|
405
400
|
} | null;
|
|
406
401
|
creatorAddress: string | null;
|
|
407
|
-
partnerId: string | null;
|
|
408
402
|
oneClickBuyUrl: string | null;
|
|
409
403
|
stripePaymentIntentId: string | null;
|
|
410
404
|
permit: {
|
|
@@ -476,7 +470,6 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
|
|
|
476
470
|
ipAddress?: string | undefined;
|
|
477
471
|
} | null;
|
|
478
472
|
creatorAddress: string | null;
|
|
479
|
-
partnerId: string | null;
|
|
480
473
|
oneClickBuyUrl: string | null;
|
|
481
474
|
stripePaymentIntentId: string | null;
|
|
482
475
|
permit: {
|
|
@@ -540,7 +533,6 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
|
|
|
540
533
|
ipAddress?: string | undefined;
|
|
541
534
|
} | null;
|
|
542
535
|
creatorAddress: string | null;
|
|
543
|
-
partnerId: string | null;
|
|
544
536
|
oneClickBuyUrl: string | null;
|
|
545
537
|
stripePaymentIntentId: string | null;
|
|
546
538
|
permit: {
|
|
@@ -604,7 +596,6 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
|
|
|
604
596
|
ipAddress?: string | undefined;
|
|
605
597
|
} | null;
|
|
606
598
|
creatorAddress: string | null;
|
|
607
|
-
partnerId: string | null;
|
|
608
599
|
oneClickBuyUrl: string | null;
|
|
609
600
|
stripePaymentIntentId: string | null;
|
|
610
601
|
permit: {
|
|
@@ -663,7 +654,6 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
|
|
|
663
654
|
ipAddress?: string | undefined;
|
|
664
655
|
} | null;
|
|
665
656
|
creatorAddress: string | null;
|
|
666
|
-
partnerId: string | null;
|
|
667
657
|
oneClickBuyUrl: string | null;
|
|
668
658
|
stripePaymentIntentId: string | null;
|
|
669
659
|
permit: {
|