@dfns/sdk 0.4.3-alpha.2 → 0.4.3

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.
@@ -492,6 +492,8 @@ export type GetWalletAssetsResponse = {
492
492
  assetId?: string | undefined;
493
493
  contract?: string | undefined;
494
494
  tokenId?: string | undefined;
495
+ issuer?: string | undefined;
496
+ assetCode?: string | undefined;
495
497
  symbol?: string | undefined;
496
498
  decimals: number;
497
499
  verified?: boolean | undefined;
@@ -506,7 +508,7 @@ export type GetWalletHistoryQuery = {
506
508
  limit?: string | undefined;
507
509
  paginationToken?: string | undefined;
508
510
  direction?: ("In" | "Out") | undefined;
509
- kind?: ("NativeTransfer" | "AsaTransfer" | "Erc20Transfer" | "Erc721Transfer" | "Trc10Transfer" | "Trc20Transfer" | "Trc721Transfer" | "UtxoTransfer") | undefined;
511
+ kind?: ("NativeTransfer" | "AsaTransfer" | "Erc20Transfer" | "Erc721Transfer" | "Trc10Transfer" | "Trc20Transfer" | "Trc721Transfer" | "Sep41Transfer" | "UtxoTransfer") | undefined;
510
512
  contract?: string | undefined;
511
513
  };
512
514
  export type GetWalletHistoryResponse = {
@@ -543,6 +545,9 @@ export type GetWalletHistoryResponse = {
543
545
  to: string;
544
546
  value: string;
545
547
  fee?: string | undefined;
548
+ memo?: string | undefined;
549
+ liquidityPool?: string | undefined;
550
+ balanceId?: string | undefined;
546
551
  /** @deprecated use metadata.asset.symbol instead */
547
552
  symbol: string;
548
553
  /** @deprecated use metadata.asset.decimals instead */
@@ -658,6 +663,42 @@ export type GetWalletHistoryResponse = {
658
663
  symbol?: string | undefined;
659
664
  /** @deprecated use metadata.asset.verified instead */
660
665
  verified?: boolean | undefined;
666
+ } | {
667
+ walletId: string;
668
+ direction: "In" | "Out";
669
+ network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
670
+ blockNumber: number;
671
+ txHash: string;
672
+ index?: string | undefined;
673
+ timestamp: string;
674
+ metadata: {
675
+ asset: {
676
+ symbol?: string | undefined;
677
+ decimals?: number | undefined;
678
+ verified?: boolean | undefined;
679
+ quotes?: {
680
+ [x: string]: number;
681
+ } | undefined;
682
+ };
683
+ fee?: {
684
+ symbol?: string | undefined;
685
+ decimals?: number | undefined;
686
+ verified?: boolean | undefined;
687
+ quotes?: {
688
+ [x: string]: number;
689
+ } | undefined;
690
+ } | undefined;
691
+ };
692
+ kind: "Sep41Transfer";
693
+ issuer: string;
694
+ assetCode: string;
695
+ from: string;
696
+ to: string;
697
+ value: string;
698
+ fee?: string | undefined;
699
+ memo?: string | undefined;
700
+ liquidityPool?: string | undefined;
701
+ balanceId?: string | undefined;
661
702
  } | {
662
703
  walletId: string;
663
704
  direction: "In" | "Out";
@@ -1248,7 +1289,8 @@ export type UntagWalletRequest = UntagWalletParams & {
1248
1289
  body: UntagWalletBody;
1249
1290
  };
1250
1291
  export type UpdateWalletBody = {
1251
- name: string;
1292
+ name?: (string | null) | undefined;
1293
+ externalId?: (string | null) | undefined;
1252
1294
  };
1253
1295
  export type UpdateWalletParams = {
1254
1296
  walletId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dfns/sdk",
3
- "version": "0.4.3-alpha.2",
3
+ "version": "0.4.3",
4
4
  "dependencies": {
5
5
  "buffer": "6.0.3",
6
6
  "cross-fetch": "3.1.6",