@dfns/sdk 0.5.6-alpha.4 → 0.5.6-alpha.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.
@@ -11,13 +11,6 @@ export type CreateDepositBody = {
11
11
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
12
12
  walletId: string;
13
13
  otp?: string | undefined;
14
- } | {
15
- kind: "Erc721";
16
- contract: string;
17
- tokenId: string;
18
- priority?: ("Slow" | "Standard" | "Fast") | undefined;
19
- walletId: string;
20
- otp?: string | undefined;
21
14
  } | {
22
15
  kind: "Trc10";
23
16
  tokenId: string;
@@ -30,12 +23,6 @@ export type CreateDepositBody = {
30
23
  amount: string;
31
24
  walletId: string;
32
25
  otp?: string | undefined;
33
- } | {
34
- kind: "Trc721";
35
- contract: string;
36
- tokenId: string;
37
- walletId: string;
38
- otp?: string | undefined;
39
26
  } | {
40
27
  kind: "Asa";
41
28
  assetId: string;
@@ -184,7 +171,6 @@ export type CreateExchangeRequest = {
184
171
  };
185
172
  export type CreateWithdrawalBody = {
186
173
  kind: "Native";
187
- to: string | string | string | string | string | string | string | string | string | string | string | string | string;
188
174
  amount: string;
189
175
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
190
176
  walletId: string;
@@ -192,44 +178,25 @@ export type CreateWithdrawalBody = {
192
178
  } | {
193
179
  kind: "Erc20";
194
180
  contract: string;
195
- to: string;
196
181
  amount: string;
197
182
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
198
183
  walletId: string;
199
184
  otp?: string | undefined;
200
- } | {
201
- kind: "Erc721";
202
- contract: string;
203
- to: string;
204
- tokenId: string;
205
- priority?: ("Slow" | "Standard" | "Fast") | undefined;
206
- walletId: string;
207
- otp?: string | undefined;
208
185
  } | {
209
186
  kind: "Trc10";
210
187
  tokenId: string;
211
- to: string;
212
188
  amount: string;
213
189
  walletId: string;
214
190
  otp?: string | undefined;
215
191
  } | {
216
192
  kind: "Trc20";
217
193
  contract: string;
218
- to: string;
219
194
  amount: string;
220
195
  walletId: string;
221
196
  otp?: string | undefined;
222
- } | {
223
- kind: "Trc721";
224
- contract: string;
225
- to: string;
226
- tokenId: string;
227
- walletId: string;
228
- otp?: string | undefined;
229
197
  } | {
230
198
  kind: "Asa";
231
199
  assetId: string;
232
- to: string;
233
200
  amount: string;
234
201
  walletId: string;
235
202
  otp?: string | undefined;
@@ -237,13 +204,11 @@ export type CreateWithdrawalBody = {
237
204
  kind: "Sep41";
238
205
  issuer: string;
239
206
  assetCode: string;
240
- to: string;
241
207
  amount: string;
242
208
  walletId: string;
243
209
  otp?: string | undefined;
244
210
  } | {
245
211
  kind: "Spl" | "Spl2022";
246
- to: string;
247
212
  amount: string;
248
213
  mint: string;
249
214
  createDestinationAccount?: boolean | undefined;
@@ -251,7 +216,6 @@ export type CreateWithdrawalBody = {
251
216
  otp?: string | undefined;
252
217
  } | {
253
218
  kind: "Tep74";
254
- to: string;
255
219
  master: string;
256
220
  amount: string;
257
221
  walletId: string;
@@ -417,8 +381,6 @@ export type ListAccountsParams = {
417
381
  export type ListAccountsQuery = {
418
382
  limit?: number | undefined;
419
383
  paginationToken?: string | undefined;
420
- symbol?: string | undefined;
421
- network?: ("Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "Ton" | "TonTestnet" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA") | undefined;
422
384
  };
423
385
  export type ListAccountsResponse = {
424
386
  items: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dfns/sdk",
3
- "version": "0.5.6-alpha.4",
3
+ "version": "0.5.6-alpha.5",
4
4
  "dependencies": {
5
5
  "buffer": "6.0.3",
6
6
  "cross-fetch": "3.1.6",