@avalabs/vm-module-types 0.7.2 → 0.7.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.
@@ -77,15 +77,18 @@ interface TokenWithBalancePVM extends NetworkTokenWithBalance {
77
77
  availableDisplayValue?: string;
78
78
  availableCurrencyDisplayValue?: string;
79
79
  utxos?: PChainBalance;
80
+ /**
81
+ * All values are represented in `nAvax`
82
+ */
80
83
  balancePerType: {
81
- lockedStaked: number;
82
- lockedStakeable: number;
83
- lockedPlatform: number;
84
- atomicMemoryLocked: number;
85
- atomicMemoryUnlocked: number;
86
- unlockedUnstaked: number;
87
- unlockedStaked: number;
88
- pendingStaked: number;
84
+ lockedStaked?: bigint;
85
+ lockedStakeable?: bigint;
86
+ lockedPlatform?: bigint;
87
+ atomicMemoryLocked?: bigint;
88
+ atomicMemoryUnlocked?: bigint;
89
+ unlockedUnstaked?: bigint;
90
+ unlockedStaked?: bigint;
91
+ pendingStaked?: bigint;
89
92
  };
90
93
  }
91
94
  interface TokenWithBalanceAVM extends NetworkTokenWithBalance {
@@ -94,11 +97,14 @@ interface TokenWithBalanceAVM extends NetworkTokenWithBalance {
94
97
  availableDisplayValue?: string;
95
98
  availableCurrencyDisplayValue?: string;
96
99
  utxos?: XChainBalances;
100
+ /**
101
+ * All values are represented in `nAvax`
102
+ */
97
103
  balancePerType: {
98
- locked: number;
99
- unlocked: number;
100
- atomicMemoryUnlocked: number;
101
- atomicMemoryLocked: number;
104
+ locked?: bigint;
105
+ unlocked?: bigint;
106
+ atomicMemoryUnlocked?: bigint;
107
+ atomicMemoryLocked?: bigint;
102
108
  };
103
109
  }
104
110
  interface NftTokenWithBalance extends Omit<NetworkTokenWithBalance, 'type' | 'decimals' | 'coingeckoId'> {
package/dist/balance.d.ts CHANGED
@@ -77,15 +77,18 @@ interface TokenWithBalancePVM extends NetworkTokenWithBalance {
77
77
  availableDisplayValue?: string;
78
78
  availableCurrencyDisplayValue?: string;
79
79
  utxos?: PChainBalance;
80
+ /**
81
+ * All values are represented in `nAvax`
82
+ */
80
83
  balancePerType: {
81
- lockedStaked: number;
82
- lockedStakeable: number;
83
- lockedPlatform: number;
84
- atomicMemoryLocked: number;
85
- atomicMemoryUnlocked: number;
86
- unlockedUnstaked: number;
87
- unlockedStaked: number;
88
- pendingStaked: number;
84
+ lockedStaked?: bigint;
85
+ lockedStakeable?: bigint;
86
+ lockedPlatform?: bigint;
87
+ atomicMemoryLocked?: bigint;
88
+ atomicMemoryUnlocked?: bigint;
89
+ unlockedUnstaked?: bigint;
90
+ unlockedStaked?: bigint;
91
+ pendingStaked?: bigint;
89
92
  };
90
93
  }
91
94
  interface TokenWithBalanceAVM extends NetworkTokenWithBalance {
@@ -94,11 +97,14 @@ interface TokenWithBalanceAVM extends NetworkTokenWithBalance {
94
97
  availableDisplayValue?: string;
95
98
  availableCurrencyDisplayValue?: string;
96
99
  utxos?: XChainBalances;
100
+ /**
101
+ * All values are represented in `nAvax`
102
+ */
97
103
  balancePerType: {
98
- locked: number;
99
- unlocked: number;
100
- atomicMemoryUnlocked: number;
101
- atomicMemoryLocked: number;
104
+ locked?: bigint;
105
+ unlocked?: bigint;
106
+ atomicMemoryUnlocked?: bigint;
107
+ atomicMemoryLocked?: bigint;
102
108
  };
103
109
  }
104
110
  interface NftTokenWithBalance extends Omit<NetworkTokenWithBalance, 'type' | 'decimals' | 'coingeckoId'> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@avalabs/vm-module-types",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",