@injectivelabs/sdk-ts 1.16.25 → 1.16.27

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.
@@ -170,6 +170,7 @@ class IndexerGrpcMegaVaultTransformer {
170
170
  static grpcUserStatsToUserStats(stats) {
171
171
  return {
172
172
  currentAmount: stats.currentAmount,
173
+ depositedValue: stats.depositedValue,
173
174
  currentLpAmount: stats.currentLpAmount,
174
175
  pnl: stats.pnl
175
176
  ? IndexerGrpcMegaVaultTransformer.grpcPnlStatsToPnlStats(stats.pnl)
@@ -90,6 +90,7 @@ export interface MegaVaultUser {
90
90
  }
91
91
  export interface MegaVaultUserStats {
92
92
  currentAmount: string;
93
+ depositedValue: string;
93
94
  currentLpAmount: string;
94
95
  pnl: MegaVaultPnlStats | undefined;
95
96
  }
@@ -127,11 +128,11 @@ export interface MegaVaultOperatorRedemptionBucket {
127
128
  missingLiquidity: string;
128
129
  }
129
130
  export interface MegaVaultHistoricalTVL {
130
- t: number;
131
+ t: string;
131
132
  v: string;
132
133
  }
133
134
  export interface MegaVaultHistoricalPnL {
134
- t: number;
135
+ t: string;
135
136
  v: string;
136
137
  }
137
138
  export interface MegaVaultTargetApr {
@@ -167,6 +167,7 @@ export class IndexerGrpcMegaVaultTransformer {
167
167
  static grpcUserStatsToUserStats(stats) {
168
168
  return {
169
169
  currentAmount: stats.currentAmount,
170
+ depositedValue: stats.depositedValue,
170
171
  currentLpAmount: stats.currentLpAmount,
171
172
  pnl: stats.pnl
172
173
  ? IndexerGrpcMegaVaultTransformer.grpcPnlStatsToPnlStats(stats.pnl)
@@ -90,6 +90,7 @@ export interface MegaVaultUser {
90
90
  }
91
91
  export interface MegaVaultUserStats {
92
92
  currentAmount: string;
93
+ depositedValue: string;
93
94
  currentLpAmount: string;
94
95
  pnl: MegaVaultPnlStats | undefined;
95
96
  }
@@ -127,11 +128,11 @@ export interface MegaVaultOperatorRedemptionBucket {
127
128
  missingLiquidity: string;
128
129
  }
129
130
  export interface MegaVaultHistoricalTVL {
130
- t: number;
131
+ t: string;
131
132
  v: string;
132
133
  }
133
134
  export interface MegaVaultHistoricalPnL {
134
- t: number;
135
+ t: string;
135
136
  v: string;
136
137
  }
137
138
  export interface MegaVaultTargetApr {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@injectivelabs/sdk-ts",
3
3
  "description": "SDK in TypeScript for building Injective applications in a browser, node, and react native environment.",
4
- "version": "1.16.25",
4
+ "version": "1.16.27",
5
5
  "sideEffects": false,
6
6
  "license": "Apache-2.0",
7
7
  "author": {
@@ -124,16 +124,16 @@
124
124
  "@cosmjs/stargate": "^0.33.0",
125
125
  "@injectivelabs/abacus-proto-ts": "1.14.1",
126
126
  "@injectivelabs/core-proto-ts": "1.16.6",
127
- "@injectivelabs/exceptions": "1.16.25",
127
+ "@injectivelabs/exceptions": "1.16.27",
128
128
  "@injectivelabs/grpc-web": "^0.0.1",
129
129
  "@injectivelabs/grpc-web-node-http-transport": "^0.0.2",
130
130
  "@injectivelabs/grpc-web-react-native-transport": "^0.0.2",
131
- "@injectivelabs/indexer-proto-ts": "1.13.25",
131
+ "@injectivelabs/indexer-proto-ts": "1.13.26",
132
132
  "@injectivelabs/mito-proto-ts": "1.13.2",
133
- "@injectivelabs/networks": "1.16.25",
133
+ "@injectivelabs/networks": "1.16.27",
134
134
  "@injectivelabs/olp-proto-ts": "1.13.4",
135
- "@injectivelabs/ts-types": "1.16.25",
136
- "@injectivelabs/utils": "1.16.25",
135
+ "@injectivelabs/ts-types": "1.16.27",
136
+ "@injectivelabs/utils": "1.16.27",
137
137
  "@noble/curves": "^1.8.1",
138
138
  "@noble/hashes": "^1.7.1",
139
139
  "@scure/base": "^1.2.6",
@@ -151,7 +151,7 @@
151
151
  "snakecase-keys": "^5.4.1",
152
152
  "viem": "^2.33.2"
153
153
  },
154
- "gitHead": "8d76833757d81a27d05410ddab96bd9f513d6f5b",
154
+ "gitHead": "cc9408164bf9441d36d8310fd57f9071ade18c1e",
155
155
  "typedoc": {
156
156
  "entryPoint": "./src/index.ts",
157
157
  "readmeFile": "./README.md",