@dfns/sdk 0.5.7 → 0.5.9

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.
@@ -537,7 +537,7 @@ class AuthClient {
537
537
  query: {},
538
538
  });
539
539
  const response = await (0, fetch_1.simpleFetch)(path, {
540
- method: 'POST',
540
+ method: 'PUT',
541
541
  apiOptions: this.apiOptions,
542
542
  });
543
543
  return response.json();
@@ -866,7 +866,7 @@ class DelegatedAuthClient {
866
866
  query: {},
867
867
  });
868
868
  const response = await (0, fetch_1.simpleFetch)(path, {
869
- method: 'POST',
869
+ method: 'PUT',
870
870
  apiOptions: this.apiOptions,
871
871
  });
872
872
  return response.json();
@@ -1981,7 +1981,7 @@ export type RegisterEndUserBody = {
1981
1981
  credentialName?: string | undefined;
1982
1982
  } | undefined;
1983
1983
  wallets: {
1984
- network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Kaspa" | "KaspaTestnet11" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismSepolia" | "Origyn" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Race" | "RaceSepolia" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "ArbitrumGoerli" | "BaseGoerli" | "Cardano" | "CardanoPreprod" | "Kusama" | "OptimismGoerli" | "Polkadot" | "Westend" | "Tezos" | "TezosGhostnet" | "XrpLedger" | "XrpLedgerTestnet" | "KeyEdDSA" | "KeyECDSA" | "KeyECDSAStark";
1984
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseSepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Kaspa" | "KaspaTestnet11" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismSepolia" | "Origyn" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "ArbitrumGoerli" | "BaseGoerli" | "Cardano" | "CardanoPreprod" | "Iota" | "IotaTestnet" | "Kusama" | "OptimismGoerli" | "Polkadot" | "Tezos" | "TezosGhostnet" | "Westend" | "XrpLedger" | "XrpLedgerTestnet" | "KeyEdDSA" | "KeyECDSA" | "KeyECDSAStark";
1985
1985
  name?: string | undefined;
1986
1986
  }[];
1987
1987
  };
@@ -2001,10 +2001,10 @@ export type RegisterEndUserResponse = {
2001
2001
  };
2002
2002
  wallets: {
2003
2003
  id: string;
2004
- 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" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Race" | "RaceSepolia" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
2004
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Iota" | "IotaTestnet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Polkadot" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
2005
2005
  address?: string | undefined;
2006
2006
  signingKey: {
2007
- scheme: "ECDSA" | "EdDSA";
2007
+ scheme: "ECDSA" | "EdDSA" | "Schnorr";
2008
2008
  curve: "ed25519" | "secp256k1" | "stark";
2009
2009
  publicKey: string;
2010
2010
  };
@@ -2,6 +2,7 @@ export type CreateDepositBody = {
2
2
  kind: "Native";
3
3
  amount: string;
4
4
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
5
+ createDestinationAccount?: boolean | undefined;
5
6
  externalId?: string | undefined;
6
7
  walletId: string;
7
8
  otp?: string | undefined;
@@ -79,6 +80,7 @@ export type CreateDepositResponse = {
79
80
  kind: "Native";
80
81
  amount: string;
81
82
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
83
+ createDestinationAccount?: boolean | undefined;
82
84
  externalId?: string | undefined;
83
85
  walletId: string;
84
86
  otp?: string | undefined;
@@ -169,6 +171,7 @@ export type CreateWithdrawalBody = {
169
171
  kind: "Native";
170
172
  amount: string;
171
173
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
174
+ createDestinationAccount?: boolean | undefined;
172
175
  externalId?: string | undefined;
173
176
  walletId: string;
174
177
  otp?: string | undefined;
@@ -246,6 +249,7 @@ export type CreateWithdrawalResponse = {
246
249
  kind: "Native";
247
250
  amount: string;
248
251
  priority?: ("Slow" | "Standard" | "Fast") | undefined;
252
+ createDestinationAccount?: boolean | undefined;
249
253
  externalId?: string | undefined;
250
254
  walletId: string;
251
255
  otp?: string | undefined;
@@ -388,7 +392,7 @@ export type ListAssetWithdrawalNetworksResponse = (({
388
392
  kind: "Tep74";
389
393
  master: string;
390
394
  }) & {
391
- network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Kaspa" | "KaspaTestnet11" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismSepolia" | "Origyn" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Race" | "RaceSepolia" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "ArbitrumGoerli" | "BaseGoerli" | "Cardano" | "CardanoPreprod" | "Kusama" | "OptimismGoerli" | "Polkadot" | "Westend" | "Tezos" | "TezosGhostnet" | "XrpLedger" | "XrpLedgerTestnet" | "KeyEdDSA" | "KeyECDSA" | "KeyECDSAStark";
395
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseSepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "InternetComputer" | "Kaspa" | "KaspaTestnet11" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismSepolia" | "Origyn" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "ArbitrumGoerli" | "BaseGoerli" | "Cardano" | "CardanoPreprod" | "Iota" | "IotaTestnet" | "Kusama" | "OptimismGoerli" | "Polkadot" | "Tezos" | "TezosGhostnet" | "Westend" | "XrpLedger" | "XrpLedgerTestnet" | "KeyEdDSA" | "KeyECDSA" | "KeyECDSAStark";
392
396
  decimals: number;
393
397
  })[];
394
398
  export type ListAssetWithdrawalNetworksRequest = ListAssetWithdrawalNetworksParams;
@@ -1,9 +1,9 @@
1
1
  export type GetFeesQuery = {
2
- network: ("Bitcoin" | "BitcoinTestnet3" | "Litecoin" | "LitecoinTestnet") | ("ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bsc" | "BscTestnet" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Race" | "RaceSepolia") | ("Solana" | "SolanaDevnet");
2
+ network: ("Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Litecoin" | "LitecoinTestnet") | ("ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bsc" | "BscTestnet" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Race" | "RaceSepolia") | ("Solana" | "SolanaDevnet");
3
3
  };
4
4
  export type GetFeesResponse = {
5
5
  kind: "Bitcoin";
6
- network: "Bitcoin" | "BitcoinTestnet3" | "Litecoin" | "LitecoinTestnet";
6
+ network: "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "Litecoin" | "LitecoinTestnet";
7
7
  blockNumber: number;
8
8
  slow: {
9
9
  feeRate: string;