mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-14 06:02:36 +03:00
Fix deps
This commit is contained in:
12
package-lock.json
generated
12
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@orionprotocol/sdk",
|
||||
"version": "0.19.7",
|
||||
"version": "0.19.10",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@orionprotocol/sdk",
|
||||
"version": "0.19.7",
|
||||
"version": "0.19.10",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.21.0",
|
||||
@@ -22,7 +22,7 @@
|
||||
"just-clone": "^6.2.0",
|
||||
"merge-anything": "^5.1.7",
|
||||
"neverthrow": "^6.0.0",
|
||||
"simple-typed-fetch": "^0.1.9",
|
||||
"simple-typed-fetch": "0.2.1",
|
||||
"stream-browserify": "^3.0.0",
|
||||
"tiny-invariant": "^1.3.1",
|
||||
"ts-is-present": "^1.2.2",
|
||||
@@ -9450,9 +9450,9 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/simple-typed-fetch": {
|
||||
"version": "0.1.9",
|
||||
"resolved": "https://registry.npmjs.org/simple-typed-fetch/-/simple-typed-fetch-0.1.9.tgz",
|
||||
"integrity": "sha512-VF8LDd4WFyVb2CeRnx1Za1r1nQ37pbsQOn19sFAzEg4in1GUcvT9GUkJvp/G1Hz7LqOH/V8ExOnBoLdjN8vnxA==",
|
||||
"version": "0.2.1",
|
||||
"resolved": "https://registry.npmjs.org/simple-typed-fetch/-/simple-typed-fetch-0.2.1.tgz",
|
||||
"integrity": "sha512-0fG29ovoeUdrbuPi6TE52x8tpkQFkQ04wxQOCC3lAHdGCL8NL3mlNvsC/iCD+VzCRwyFDqU/vVU3n80Oqg9GKA==",
|
||||
"dependencies": {
|
||||
"isomorphic-unfetch": "^4.0.2",
|
||||
"neverthrow": "^6.0.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@orionprotocol/sdk",
|
||||
"version": "0.19.9",
|
||||
"version": "0.19.10",
|
||||
"description": "Orion Protocol SDK",
|
||||
"main": "./lib/index.cjs",
|
||||
"module": "./lib/index.js",
|
||||
@@ -93,7 +93,7 @@
|
||||
"just-clone": "^6.2.0",
|
||||
"merge-anything": "^5.1.7",
|
||||
"neverthrow": "^6.0.0",
|
||||
"simple-typed-fetch": "^0.1.9",
|
||||
"simple-typed-fetch": "0.2.1",
|
||||
"stream-browserify": "^3.0.0",
|
||||
"tiny-invariant": "^1.3.1",
|
||||
"ts-is-present": "^1.2.2",
|
||||
|
||||
@@ -38,7 +38,7 @@ export default async function getBalance(
|
||||
}
|
||||
|
||||
return {
|
||||
exchange: denormalizedAssetInContractBalance.minus(denormalizedAssetLockedBalanceResult.value[assetName] ?? 0),
|
||||
exchange: denormalizedAssetInContractBalance.minus(denormalizedAssetLockedBalanceResult.value.data[assetName] ?? 0),
|
||||
wallet: denormalizedAssetInWalletBalance,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user