@b3dotfun/sdk 0.0.9-alpha.0 → 0.0.9-alpha.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/index.d.ts +1 -0
- package/dist/cjs/anyspend/index.js +2 -0
- package/dist/cjs/anyspend/index.native.d.ts +1 -0
- package/dist/cjs/anyspend/index.native.js +2 -0
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +10 -10
- package/dist/cjs/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +30 -30
- package/dist/esm/anyspend/index.d.ts +1 -0
- package/dist/esm/anyspend/index.js +2 -0
- package/dist/esm/anyspend/index.native.d.ts +1 -0
- package/dist/esm/anyspend/index.native.js +2 -0
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +10 -10
- package/dist/esm/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +30 -30
- package/dist/types/anyspend/index.d.ts +1 -0
- package/dist/types/anyspend/index.native.d.ts +1 -0
- package/dist/types/anyspend/react/hooks/useAnyspendOrderAndTransactions.d.ts +10 -10
- package/dist/types/anyspend/react/hooks/useAnyspendOrderHistory.d.ts +30 -30
- package/package.json +1 -1
- package/src/anyspend/index.native.ts +3 -0
- package/src/anyspend/index.ts +3 -0
|
@@ -14,6 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
// Types
|
|
18
|
+
__exportStar(require("./types/api"), exports);
|
|
17
19
|
// Utils
|
|
18
20
|
__exportStar(require("./utils/address"), exports);
|
|
19
21
|
__exportStar(require("./utils/chain"), exports);
|
|
@@ -18,6 +18,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
__exportStar(require("./react/hooks"), exports);
|
|
19
19
|
// Providers
|
|
20
20
|
__exportStar(require("./react/providers/AnyspendProvider"), exports);
|
|
21
|
+
// Types
|
|
22
|
+
__exportStar(require("./types/api"), exports);
|
|
21
23
|
// Utils
|
|
22
24
|
__exportStar(require("./utils/address"), exports);
|
|
23
25
|
__exportStar(require("./utils/chain"), exports);
|
|
@@ -3,11 +3,11 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
|
|
|
3
3
|
success: boolean;
|
|
4
4
|
message: string;
|
|
5
5
|
data: {
|
|
6
|
-
order: import("
|
|
7
|
-
depositTxs: import("
|
|
8
|
-
relayTx: import("
|
|
9
|
-
executeTx: import("
|
|
10
|
-
refundTxs: import("
|
|
6
|
+
order: import("../..").components["schemas"]["Order"];
|
|
7
|
+
depositTxs: import("../..").components["schemas"]["DepositTx"][] | null;
|
|
8
|
+
relayTx: import("../..").components["schemas"]["RelayTx"] | null;
|
|
9
|
+
executeTx: import("../..").components["schemas"]["ExecuteTx"] | null;
|
|
10
|
+
refundTxs: import("../..").components["schemas"]["RefundTx"][] | null;
|
|
11
11
|
};
|
|
12
12
|
statusCode: number;
|
|
13
13
|
} | undefined;
|
|
@@ -17,11 +17,11 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
|
|
|
17
17
|
success: boolean;
|
|
18
18
|
message: string;
|
|
19
19
|
data: {
|
|
20
|
-
order: import("
|
|
21
|
-
depositTxs: import("
|
|
22
|
-
relayTx: import("
|
|
23
|
-
executeTx: import("
|
|
24
|
-
refundTxs: import("
|
|
20
|
+
order: import("../..").components["schemas"]["Order"];
|
|
21
|
+
depositTxs: import("../..").components["schemas"]["DepositTx"][] | null;
|
|
22
|
+
relayTx: import("../..").components["schemas"]["RelayTx"] | null;
|
|
23
|
+
executeTx: import("../..").components["schemas"]["ExecuteTx"] | null;
|
|
24
|
+
refundTxs: import("../..").components["schemas"]["RefundTx"][] | null;
|
|
25
25
|
};
|
|
26
26
|
statusCode: number;
|
|
27
27
|
}, Error>>;
|
|
@@ -14,13 +14,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
14
14
|
expiredAt: number;
|
|
15
15
|
creatorAddress: string | null;
|
|
16
16
|
partnerId: string | null;
|
|
17
|
-
onrampMetadata: import("
|
|
17
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
18
18
|
oneClickBuyUrl: string | null;
|
|
19
19
|
stripePaymentIntentId: string | null;
|
|
20
20
|
} & {
|
|
21
21
|
type: "swap";
|
|
22
|
-
payload: import("
|
|
23
|
-
metadata: import("
|
|
22
|
+
payload: import("../..").components["schemas"]["SwapPayload"];
|
|
23
|
+
metadata: import("../..").components["schemas"]["SwapMetadata"];
|
|
24
24
|
}) | ({
|
|
25
25
|
id: string;
|
|
26
26
|
recipientAddress: string;
|
|
@@ -36,13 +36,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
36
36
|
expiredAt: number;
|
|
37
37
|
creatorAddress: string | null;
|
|
38
38
|
partnerId: string | null;
|
|
39
|
-
onrampMetadata: import("
|
|
39
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
40
40
|
oneClickBuyUrl: string | null;
|
|
41
41
|
stripePaymentIntentId: string | null;
|
|
42
42
|
} & {
|
|
43
43
|
type: "custom";
|
|
44
|
-
payload: import("
|
|
45
|
-
metadata: import("
|
|
44
|
+
payload: import("../..").components["schemas"]["CustomPayload"];
|
|
45
|
+
metadata: import("../..").components["schemas"]["CustomMetadata"];
|
|
46
46
|
}) | ({
|
|
47
47
|
id: string;
|
|
48
48
|
recipientAddress: string;
|
|
@@ -58,13 +58,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
58
58
|
expiredAt: number;
|
|
59
59
|
creatorAddress: string | null;
|
|
60
60
|
partnerId: string | null;
|
|
61
|
-
onrampMetadata: import("
|
|
61
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
62
62
|
oneClickBuyUrl: string | null;
|
|
63
63
|
stripePaymentIntentId: string | null;
|
|
64
64
|
} & {
|
|
65
65
|
type: "mint_nft";
|
|
66
|
-
payload: import("
|
|
67
|
-
metadata: import("
|
|
66
|
+
payload: import("../..").components["schemas"]["MintNftPayload"];
|
|
67
|
+
metadata: import("../..").components["schemas"]["MintNftMetadata"];
|
|
68
68
|
}) | ({
|
|
69
69
|
id: string;
|
|
70
70
|
recipientAddress: string;
|
|
@@ -80,13 +80,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
80
80
|
expiredAt: number;
|
|
81
81
|
creatorAddress: string | null;
|
|
82
82
|
partnerId: string | null;
|
|
83
|
-
onrampMetadata: import("
|
|
83
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
84
84
|
oneClickBuyUrl: string | null;
|
|
85
85
|
stripePaymentIntentId: string | null;
|
|
86
86
|
} & {
|
|
87
87
|
type: "join_tournament";
|
|
88
|
-
payload: import("
|
|
89
|
-
metadata: import("
|
|
88
|
+
payload: import("../..").components["schemas"]["JoinTournamentPayload"];
|
|
89
|
+
metadata: import("../..").components["schemas"]["TournamentMetadata"];
|
|
90
90
|
}) | ({
|
|
91
91
|
id: string;
|
|
92
92
|
recipientAddress: string;
|
|
@@ -102,13 +102,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
102
102
|
expiredAt: number;
|
|
103
103
|
creatorAddress: string | null;
|
|
104
104
|
partnerId: string | null;
|
|
105
|
-
onrampMetadata: import("
|
|
105
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
106
106
|
oneClickBuyUrl: string | null;
|
|
107
107
|
stripePaymentIntentId: string | null;
|
|
108
108
|
} & {
|
|
109
109
|
type: "fund_tournament";
|
|
110
|
-
payload: import("
|
|
111
|
-
metadata: import("
|
|
110
|
+
payload: import("../..").components["schemas"]["FundTournamentPayload"];
|
|
111
|
+
metadata: import("../..").components["schemas"]["TournamentMetadata"];
|
|
112
112
|
}))[];
|
|
113
113
|
isLoadingOrderHistory: boolean;
|
|
114
114
|
getOrderHistoryError: Error | null;
|
|
@@ -127,13 +127,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
127
127
|
expiredAt: number;
|
|
128
128
|
creatorAddress: string | null;
|
|
129
129
|
partnerId: string | null;
|
|
130
|
-
onrampMetadata: import("
|
|
130
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
131
131
|
oneClickBuyUrl: string | null;
|
|
132
132
|
stripePaymentIntentId: string | null;
|
|
133
133
|
} & {
|
|
134
134
|
type: "swap";
|
|
135
|
-
payload: import("
|
|
136
|
-
metadata: import("
|
|
135
|
+
payload: import("../..").components["schemas"]["SwapPayload"];
|
|
136
|
+
metadata: import("../..").components["schemas"]["SwapMetadata"];
|
|
137
137
|
}) | ({
|
|
138
138
|
id: string;
|
|
139
139
|
recipientAddress: string;
|
|
@@ -149,13 +149,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
149
149
|
expiredAt: number;
|
|
150
150
|
creatorAddress: string | null;
|
|
151
151
|
partnerId: string | null;
|
|
152
|
-
onrampMetadata: import("
|
|
152
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
153
153
|
oneClickBuyUrl: string | null;
|
|
154
154
|
stripePaymentIntentId: string | null;
|
|
155
155
|
} & {
|
|
156
156
|
type: "custom";
|
|
157
|
-
payload: import("
|
|
158
|
-
metadata: import("
|
|
157
|
+
payload: import("../..").components["schemas"]["CustomPayload"];
|
|
158
|
+
metadata: import("../..").components["schemas"]["CustomMetadata"];
|
|
159
159
|
}) | ({
|
|
160
160
|
id: string;
|
|
161
161
|
recipientAddress: string;
|
|
@@ -171,13 +171,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
171
171
|
expiredAt: number;
|
|
172
172
|
creatorAddress: string | null;
|
|
173
173
|
partnerId: string | null;
|
|
174
|
-
onrampMetadata: import("
|
|
174
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
175
175
|
oneClickBuyUrl: string | null;
|
|
176
176
|
stripePaymentIntentId: string | null;
|
|
177
177
|
} & {
|
|
178
178
|
type: "mint_nft";
|
|
179
|
-
payload: import("
|
|
180
|
-
metadata: import("
|
|
179
|
+
payload: import("../..").components["schemas"]["MintNftPayload"];
|
|
180
|
+
metadata: import("../..").components["schemas"]["MintNftMetadata"];
|
|
181
181
|
}) | ({
|
|
182
182
|
id: string;
|
|
183
183
|
recipientAddress: string;
|
|
@@ -193,13 +193,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
193
193
|
expiredAt: number;
|
|
194
194
|
creatorAddress: string | null;
|
|
195
195
|
partnerId: string | null;
|
|
196
|
-
onrampMetadata: import("
|
|
196
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
197
197
|
oneClickBuyUrl: string | null;
|
|
198
198
|
stripePaymentIntentId: string | null;
|
|
199
199
|
} & {
|
|
200
200
|
type: "join_tournament";
|
|
201
|
-
payload: import("
|
|
202
|
-
metadata: import("
|
|
201
|
+
payload: import("../..").components["schemas"]["JoinTournamentPayload"];
|
|
202
|
+
metadata: import("../..").components["schemas"]["TournamentMetadata"];
|
|
203
203
|
}) | ({
|
|
204
204
|
id: string;
|
|
205
205
|
recipientAddress: string;
|
|
@@ -215,12 +215,12 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
215
215
|
expiredAt: number;
|
|
216
216
|
creatorAddress: string | null;
|
|
217
217
|
partnerId: string | null;
|
|
218
|
-
onrampMetadata: import("
|
|
218
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
219
219
|
oneClickBuyUrl: string | null;
|
|
220
220
|
stripePaymentIntentId: string | null;
|
|
221
221
|
} & {
|
|
222
222
|
type: "fund_tournament";
|
|
223
|
-
payload: import("
|
|
224
|
-
metadata: import("
|
|
223
|
+
payload: import("../..").components["schemas"]["FundTournamentPayload"];
|
|
224
|
+
metadata: import("../..").components["schemas"]["TournamentMetadata"];
|
|
225
225
|
}))[], Error>>;
|
|
226
226
|
};
|
|
@@ -3,11 +3,11 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
|
|
|
3
3
|
success: boolean;
|
|
4
4
|
message: string;
|
|
5
5
|
data: {
|
|
6
|
-
order: import("
|
|
7
|
-
depositTxs: import("
|
|
8
|
-
relayTx: import("
|
|
9
|
-
executeTx: import("
|
|
10
|
-
refundTxs: import("
|
|
6
|
+
order: import("../..").components["schemas"]["Order"];
|
|
7
|
+
depositTxs: import("../..").components["schemas"]["DepositTx"][] | null;
|
|
8
|
+
relayTx: import("../..").components["schemas"]["RelayTx"] | null;
|
|
9
|
+
executeTx: import("../..").components["schemas"]["ExecuteTx"] | null;
|
|
10
|
+
refundTxs: import("../..").components["schemas"]["RefundTx"][] | null;
|
|
11
11
|
};
|
|
12
12
|
statusCode: number;
|
|
13
13
|
} | undefined;
|
|
@@ -17,11 +17,11 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
|
|
|
17
17
|
success: boolean;
|
|
18
18
|
message: string;
|
|
19
19
|
data: {
|
|
20
|
-
order: import("
|
|
21
|
-
depositTxs: import("
|
|
22
|
-
relayTx: import("
|
|
23
|
-
executeTx: import("
|
|
24
|
-
refundTxs: import("
|
|
20
|
+
order: import("../..").components["schemas"]["Order"];
|
|
21
|
+
depositTxs: import("../..").components["schemas"]["DepositTx"][] | null;
|
|
22
|
+
relayTx: import("../..").components["schemas"]["RelayTx"] | null;
|
|
23
|
+
executeTx: import("../..").components["schemas"]["ExecuteTx"] | null;
|
|
24
|
+
refundTxs: import("../..").components["schemas"]["RefundTx"][] | null;
|
|
25
25
|
};
|
|
26
26
|
statusCode: number;
|
|
27
27
|
}, Error>>;
|
|
@@ -14,13 +14,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
14
14
|
expiredAt: number;
|
|
15
15
|
creatorAddress: string | null;
|
|
16
16
|
partnerId: string | null;
|
|
17
|
-
onrampMetadata: import("
|
|
17
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
18
18
|
oneClickBuyUrl: string | null;
|
|
19
19
|
stripePaymentIntentId: string | null;
|
|
20
20
|
} & {
|
|
21
21
|
type: "swap";
|
|
22
|
-
payload: import("
|
|
23
|
-
metadata: import("
|
|
22
|
+
payload: import("../..").components["schemas"]["SwapPayload"];
|
|
23
|
+
metadata: import("../..").components["schemas"]["SwapMetadata"];
|
|
24
24
|
}) | ({
|
|
25
25
|
id: string;
|
|
26
26
|
recipientAddress: string;
|
|
@@ -36,13 +36,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
36
36
|
expiredAt: number;
|
|
37
37
|
creatorAddress: string | null;
|
|
38
38
|
partnerId: string | null;
|
|
39
|
-
onrampMetadata: import("
|
|
39
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
40
40
|
oneClickBuyUrl: string | null;
|
|
41
41
|
stripePaymentIntentId: string | null;
|
|
42
42
|
} & {
|
|
43
43
|
type: "custom";
|
|
44
|
-
payload: import("
|
|
45
|
-
metadata: import("
|
|
44
|
+
payload: import("../..").components["schemas"]["CustomPayload"];
|
|
45
|
+
metadata: import("../..").components["schemas"]["CustomMetadata"];
|
|
46
46
|
}) | ({
|
|
47
47
|
id: string;
|
|
48
48
|
recipientAddress: string;
|
|
@@ -58,13 +58,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
58
58
|
expiredAt: number;
|
|
59
59
|
creatorAddress: string | null;
|
|
60
60
|
partnerId: string | null;
|
|
61
|
-
onrampMetadata: import("
|
|
61
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
62
62
|
oneClickBuyUrl: string | null;
|
|
63
63
|
stripePaymentIntentId: string | null;
|
|
64
64
|
} & {
|
|
65
65
|
type: "mint_nft";
|
|
66
|
-
payload: import("
|
|
67
|
-
metadata: import("
|
|
66
|
+
payload: import("../..").components["schemas"]["MintNftPayload"];
|
|
67
|
+
metadata: import("../..").components["schemas"]["MintNftMetadata"];
|
|
68
68
|
}) | ({
|
|
69
69
|
id: string;
|
|
70
70
|
recipientAddress: string;
|
|
@@ -80,13 +80,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
80
80
|
expiredAt: number;
|
|
81
81
|
creatorAddress: string | null;
|
|
82
82
|
partnerId: string | null;
|
|
83
|
-
onrampMetadata: import("
|
|
83
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
84
84
|
oneClickBuyUrl: string | null;
|
|
85
85
|
stripePaymentIntentId: string | null;
|
|
86
86
|
} & {
|
|
87
87
|
type: "join_tournament";
|
|
88
|
-
payload: import("
|
|
89
|
-
metadata: import("
|
|
88
|
+
payload: import("../..").components["schemas"]["JoinTournamentPayload"];
|
|
89
|
+
metadata: import("../..").components["schemas"]["TournamentMetadata"];
|
|
90
90
|
}) | ({
|
|
91
91
|
id: string;
|
|
92
92
|
recipientAddress: string;
|
|
@@ -102,13 +102,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
102
102
|
expiredAt: number;
|
|
103
103
|
creatorAddress: string | null;
|
|
104
104
|
partnerId: string | null;
|
|
105
|
-
onrampMetadata: import("
|
|
105
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
106
106
|
oneClickBuyUrl: string | null;
|
|
107
107
|
stripePaymentIntentId: string | null;
|
|
108
108
|
} & {
|
|
109
109
|
type: "fund_tournament";
|
|
110
|
-
payload: import("
|
|
111
|
-
metadata: import("
|
|
110
|
+
payload: import("../..").components["schemas"]["FundTournamentPayload"];
|
|
111
|
+
metadata: import("../..").components["schemas"]["TournamentMetadata"];
|
|
112
112
|
}))[];
|
|
113
113
|
isLoadingOrderHistory: boolean;
|
|
114
114
|
getOrderHistoryError: Error | null;
|
|
@@ -127,13 +127,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
127
127
|
expiredAt: number;
|
|
128
128
|
creatorAddress: string | null;
|
|
129
129
|
partnerId: string | null;
|
|
130
|
-
onrampMetadata: import("
|
|
130
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
131
131
|
oneClickBuyUrl: string | null;
|
|
132
132
|
stripePaymentIntentId: string | null;
|
|
133
133
|
} & {
|
|
134
134
|
type: "swap";
|
|
135
|
-
payload: import("
|
|
136
|
-
metadata: import("
|
|
135
|
+
payload: import("../..").components["schemas"]["SwapPayload"];
|
|
136
|
+
metadata: import("../..").components["schemas"]["SwapMetadata"];
|
|
137
137
|
}) | ({
|
|
138
138
|
id: string;
|
|
139
139
|
recipientAddress: string;
|
|
@@ -149,13 +149,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
149
149
|
expiredAt: number;
|
|
150
150
|
creatorAddress: string | null;
|
|
151
151
|
partnerId: string | null;
|
|
152
|
-
onrampMetadata: import("
|
|
152
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
153
153
|
oneClickBuyUrl: string | null;
|
|
154
154
|
stripePaymentIntentId: string | null;
|
|
155
155
|
} & {
|
|
156
156
|
type: "custom";
|
|
157
|
-
payload: import("
|
|
158
|
-
metadata: import("
|
|
157
|
+
payload: import("../..").components["schemas"]["CustomPayload"];
|
|
158
|
+
metadata: import("../..").components["schemas"]["CustomMetadata"];
|
|
159
159
|
}) | ({
|
|
160
160
|
id: string;
|
|
161
161
|
recipientAddress: string;
|
|
@@ -171,13 +171,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
171
171
|
expiredAt: number;
|
|
172
172
|
creatorAddress: string | null;
|
|
173
173
|
partnerId: string | null;
|
|
174
|
-
onrampMetadata: import("
|
|
174
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
175
175
|
oneClickBuyUrl: string | null;
|
|
176
176
|
stripePaymentIntentId: string | null;
|
|
177
177
|
} & {
|
|
178
178
|
type: "mint_nft";
|
|
179
|
-
payload: import("
|
|
180
|
-
metadata: import("
|
|
179
|
+
payload: import("../..").components["schemas"]["MintNftPayload"];
|
|
180
|
+
metadata: import("../..").components["schemas"]["MintNftMetadata"];
|
|
181
181
|
}) | ({
|
|
182
182
|
id: string;
|
|
183
183
|
recipientAddress: string;
|
|
@@ -193,13 +193,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
193
193
|
expiredAt: number;
|
|
194
194
|
creatorAddress: string | null;
|
|
195
195
|
partnerId: string | null;
|
|
196
|
-
onrampMetadata: import("
|
|
196
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
197
197
|
oneClickBuyUrl: string | null;
|
|
198
198
|
stripePaymentIntentId: string | null;
|
|
199
199
|
} & {
|
|
200
200
|
type: "join_tournament";
|
|
201
|
-
payload: import("
|
|
202
|
-
metadata: import("
|
|
201
|
+
payload: import("../..").components["schemas"]["JoinTournamentPayload"];
|
|
202
|
+
metadata: import("../..").components["schemas"]["TournamentMetadata"];
|
|
203
203
|
}) | ({
|
|
204
204
|
id: string;
|
|
205
205
|
recipientAddress: string;
|
|
@@ -215,12 +215,12 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
215
215
|
expiredAt: number;
|
|
216
216
|
creatorAddress: string | null;
|
|
217
217
|
partnerId: string | null;
|
|
218
|
-
onrampMetadata: import("
|
|
218
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
219
219
|
oneClickBuyUrl: string | null;
|
|
220
220
|
stripePaymentIntentId: string | null;
|
|
221
221
|
} & {
|
|
222
222
|
type: "fund_tournament";
|
|
223
|
-
payload: import("
|
|
224
|
-
metadata: import("
|
|
223
|
+
payload: import("../..").components["schemas"]["FundTournamentPayload"];
|
|
224
|
+
metadata: import("../..").components["schemas"]["TournamentMetadata"];
|
|
225
225
|
}))[], Error>>;
|
|
226
226
|
};
|
|
@@ -3,11 +3,11 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
|
|
|
3
3
|
success: boolean;
|
|
4
4
|
message: string;
|
|
5
5
|
data: {
|
|
6
|
-
order: import("
|
|
7
|
-
depositTxs: import("
|
|
8
|
-
relayTx: import("
|
|
9
|
-
executeTx: import("
|
|
10
|
-
refundTxs: import("
|
|
6
|
+
order: import("../..").components["schemas"]["Order"];
|
|
7
|
+
depositTxs: import("../..").components["schemas"]["DepositTx"][] | null;
|
|
8
|
+
relayTx: import("../..").components["schemas"]["RelayTx"] | null;
|
|
9
|
+
executeTx: import("../..").components["schemas"]["ExecuteTx"] | null;
|
|
10
|
+
refundTxs: import("../..").components["schemas"]["RefundTx"][] | null;
|
|
11
11
|
};
|
|
12
12
|
statusCode: number;
|
|
13
13
|
} | undefined;
|
|
@@ -17,11 +17,11 @@ export declare function useAnyspendOrderAndTransactions(isMainnet: boolean, orde
|
|
|
17
17
|
success: boolean;
|
|
18
18
|
message: string;
|
|
19
19
|
data: {
|
|
20
|
-
order: import("
|
|
21
|
-
depositTxs: import("
|
|
22
|
-
relayTx: import("
|
|
23
|
-
executeTx: import("
|
|
24
|
-
refundTxs: import("
|
|
20
|
+
order: import("../..").components["schemas"]["Order"];
|
|
21
|
+
depositTxs: import("../..").components["schemas"]["DepositTx"][] | null;
|
|
22
|
+
relayTx: import("../..").components["schemas"]["RelayTx"] | null;
|
|
23
|
+
executeTx: import("../..").components["schemas"]["ExecuteTx"] | null;
|
|
24
|
+
refundTxs: import("../..").components["schemas"]["RefundTx"][] | null;
|
|
25
25
|
};
|
|
26
26
|
statusCode: number;
|
|
27
27
|
}, Error>>;
|
|
@@ -14,13 +14,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
14
14
|
expiredAt: number;
|
|
15
15
|
creatorAddress: string | null;
|
|
16
16
|
partnerId: string | null;
|
|
17
|
-
onrampMetadata: import("
|
|
17
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
18
18
|
oneClickBuyUrl: string | null;
|
|
19
19
|
stripePaymentIntentId: string | null;
|
|
20
20
|
} & {
|
|
21
21
|
type: "swap";
|
|
22
|
-
payload: import("
|
|
23
|
-
metadata: import("
|
|
22
|
+
payload: import("../..").components["schemas"]["SwapPayload"];
|
|
23
|
+
metadata: import("../..").components["schemas"]["SwapMetadata"];
|
|
24
24
|
}) | ({
|
|
25
25
|
id: string;
|
|
26
26
|
recipientAddress: string;
|
|
@@ -36,13 +36,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
36
36
|
expiredAt: number;
|
|
37
37
|
creatorAddress: string | null;
|
|
38
38
|
partnerId: string | null;
|
|
39
|
-
onrampMetadata: import("
|
|
39
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
40
40
|
oneClickBuyUrl: string | null;
|
|
41
41
|
stripePaymentIntentId: string | null;
|
|
42
42
|
} & {
|
|
43
43
|
type: "custom";
|
|
44
|
-
payload: import("
|
|
45
|
-
metadata: import("
|
|
44
|
+
payload: import("../..").components["schemas"]["CustomPayload"];
|
|
45
|
+
metadata: import("../..").components["schemas"]["CustomMetadata"];
|
|
46
46
|
}) | ({
|
|
47
47
|
id: string;
|
|
48
48
|
recipientAddress: string;
|
|
@@ -58,13 +58,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
58
58
|
expiredAt: number;
|
|
59
59
|
creatorAddress: string | null;
|
|
60
60
|
partnerId: string | null;
|
|
61
|
-
onrampMetadata: import("
|
|
61
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
62
62
|
oneClickBuyUrl: string | null;
|
|
63
63
|
stripePaymentIntentId: string | null;
|
|
64
64
|
} & {
|
|
65
65
|
type: "mint_nft";
|
|
66
|
-
payload: import("
|
|
67
|
-
metadata: import("
|
|
66
|
+
payload: import("../..").components["schemas"]["MintNftPayload"];
|
|
67
|
+
metadata: import("../..").components["schemas"]["MintNftMetadata"];
|
|
68
68
|
}) | ({
|
|
69
69
|
id: string;
|
|
70
70
|
recipientAddress: string;
|
|
@@ -80,13 +80,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
80
80
|
expiredAt: number;
|
|
81
81
|
creatorAddress: string | null;
|
|
82
82
|
partnerId: string | null;
|
|
83
|
-
onrampMetadata: import("
|
|
83
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
84
84
|
oneClickBuyUrl: string | null;
|
|
85
85
|
stripePaymentIntentId: string | null;
|
|
86
86
|
} & {
|
|
87
87
|
type: "join_tournament";
|
|
88
|
-
payload: import("
|
|
89
|
-
metadata: import("
|
|
88
|
+
payload: import("../..").components["schemas"]["JoinTournamentPayload"];
|
|
89
|
+
metadata: import("../..").components["schemas"]["TournamentMetadata"];
|
|
90
90
|
}) | ({
|
|
91
91
|
id: string;
|
|
92
92
|
recipientAddress: string;
|
|
@@ -102,13 +102,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
102
102
|
expiredAt: number;
|
|
103
103
|
creatorAddress: string | null;
|
|
104
104
|
partnerId: string | null;
|
|
105
|
-
onrampMetadata: import("
|
|
105
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
106
106
|
oneClickBuyUrl: string | null;
|
|
107
107
|
stripePaymentIntentId: string | null;
|
|
108
108
|
} & {
|
|
109
109
|
type: "fund_tournament";
|
|
110
|
-
payload: import("
|
|
111
|
-
metadata: import("
|
|
110
|
+
payload: import("../..").components["schemas"]["FundTournamentPayload"];
|
|
111
|
+
metadata: import("../..").components["schemas"]["TournamentMetadata"];
|
|
112
112
|
}))[];
|
|
113
113
|
isLoadingOrderHistory: boolean;
|
|
114
114
|
getOrderHistoryError: Error | null;
|
|
@@ -127,13 +127,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
127
127
|
expiredAt: number;
|
|
128
128
|
creatorAddress: string | null;
|
|
129
129
|
partnerId: string | null;
|
|
130
|
-
onrampMetadata: import("
|
|
130
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
131
131
|
oneClickBuyUrl: string | null;
|
|
132
132
|
stripePaymentIntentId: string | null;
|
|
133
133
|
} & {
|
|
134
134
|
type: "swap";
|
|
135
|
-
payload: import("
|
|
136
|
-
metadata: import("
|
|
135
|
+
payload: import("../..").components["schemas"]["SwapPayload"];
|
|
136
|
+
metadata: import("../..").components["schemas"]["SwapMetadata"];
|
|
137
137
|
}) | ({
|
|
138
138
|
id: string;
|
|
139
139
|
recipientAddress: string;
|
|
@@ -149,13 +149,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
149
149
|
expiredAt: number;
|
|
150
150
|
creatorAddress: string | null;
|
|
151
151
|
partnerId: string | null;
|
|
152
|
-
onrampMetadata: import("
|
|
152
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
153
153
|
oneClickBuyUrl: string | null;
|
|
154
154
|
stripePaymentIntentId: string | null;
|
|
155
155
|
} & {
|
|
156
156
|
type: "custom";
|
|
157
|
-
payload: import("
|
|
158
|
-
metadata: import("
|
|
157
|
+
payload: import("../..").components["schemas"]["CustomPayload"];
|
|
158
|
+
metadata: import("../..").components["schemas"]["CustomMetadata"];
|
|
159
159
|
}) | ({
|
|
160
160
|
id: string;
|
|
161
161
|
recipientAddress: string;
|
|
@@ -171,13 +171,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
171
171
|
expiredAt: number;
|
|
172
172
|
creatorAddress: string | null;
|
|
173
173
|
partnerId: string | null;
|
|
174
|
-
onrampMetadata: import("
|
|
174
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
175
175
|
oneClickBuyUrl: string | null;
|
|
176
176
|
stripePaymentIntentId: string | null;
|
|
177
177
|
} & {
|
|
178
178
|
type: "mint_nft";
|
|
179
|
-
payload: import("
|
|
180
|
-
metadata: import("
|
|
179
|
+
payload: import("../..").components["schemas"]["MintNftPayload"];
|
|
180
|
+
metadata: import("../..").components["schemas"]["MintNftMetadata"];
|
|
181
181
|
}) | ({
|
|
182
182
|
id: string;
|
|
183
183
|
recipientAddress: string;
|
|
@@ -193,13 +193,13 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
193
193
|
expiredAt: number;
|
|
194
194
|
creatorAddress: string | null;
|
|
195
195
|
partnerId: string | null;
|
|
196
|
-
onrampMetadata: import("
|
|
196
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
197
197
|
oneClickBuyUrl: string | null;
|
|
198
198
|
stripePaymentIntentId: string | null;
|
|
199
199
|
} & {
|
|
200
200
|
type: "join_tournament";
|
|
201
|
-
payload: import("
|
|
202
|
-
metadata: import("
|
|
201
|
+
payload: import("../..").components["schemas"]["JoinTournamentPayload"];
|
|
202
|
+
metadata: import("../..").components["schemas"]["TournamentMetadata"];
|
|
203
203
|
}) | ({
|
|
204
204
|
id: string;
|
|
205
205
|
recipientAddress: string;
|
|
@@ -215,12 +215,12 @@ export declare function useAnyspendOrderHistory(isMainnet: boolean, creatorAddre
|
|
|
215
215
|
expiredAt: number;
|
|
216
216
|
creatorAddress: string | null;
|
|
217
217
|
partnerId: string | null;
|
|
218
|
-
onrampMetadata: import("
|
|
218
|
+
onrampMetadata: import("../..").components["schemas"]["OnrampMetadata"] | null;
|
|
219
219
|
oneClickBuyUrl: string | null;
|
|
220
220
|
stripePaymentIntentId: string | null;
|
|
221
221
|
} & {
|
|
222
222
|
type: "fund_tournament";
|
|
223
|
-
payload: import("
|
|
224
|
-
metadata: import("
|
|
223
|
+
payload: import("../..").components["schemas"]["FundTournamentPayload"];
|
|
224
|
+
metadata: import("../..").components["schemas"]["TournamentMetadata"];
|
|
225
225
|
}))[], Error>>;
|
|
226
226
|
};
|
package/package.json
CHANGED