impermax-sdk 2.1.63 → 2.1.64

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.
@@ -30,7 +30,7 @@ export declare enum PositionType {
30
30
  OTHER = "Other"
31
31
  }
32
32
  export type AccountPosition = {
33
- id: Address;
33
+ address: Address;
34
34
  network: Networks;
35
35
  value: number;
36
36
  type: PositionType;
@@ -126,7 +126,7 @@ class OffchainMultichainAccount {
126
126
  value: totalValue,
127
127
  type: PositionType.MARKET,
128
128
  network: network,
129
- id: data.id,
129
+ address: data.id,
130
130
  factory: factory,
131
131
  };
132
132
  })));
@@ -143,7 +143,7 @@ class OffchainMultichainAccount {
143
143
  value: value,
144
144
  type: PositionType.VAULT,
145
145
  network: network,
146
- id: data.id,
146
+ address: data.id,
147
147
  factory: undefined,
148
148
  };
149
149
  })));
@@ -163,7 +163,7 @@ class OffchainMultichainAccount {
163
163
  value: remainingValue,
164
164
  type: PositionType.OTHER,
165
165
  network: types_1.Networks.Mainnet,
166
- id: "",
166
+ address: "",
167
167
  factory: undefined,
168
168
  },
169
169
  ].map((pos) => (Object.assign(Object.assign({}, pos), { percentage: (pos.value / totalValue) * 100 })));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "2.1.63",
3
+ "version": "2.1.64",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",