mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-14 06:02:36 +03:00
bump: contracts
This commit is contained in:
18
package-lock.json
generated
18
package-lock.json
generated
@@ -1,18 +1,18 @@
|
||||
{
|
||||
"name": "@orionprotocol/sdk",
|
||||
"version": "0.18.23",
|
||||
"version": "0.18.24",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@orionprotocol/sdk",
|
||||
"version": "0.18.23",
|
||||
"version": "0.18.24",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.21.0",
|
||||
"@ethersproject/abstract-signer": "^5.7.0",
|
||||
"@ethersproject/providers": "^5.7.2",
|
||||
"@orionprotocol/contracts": "0.11.0",
|
||||
"@orionprotocol/contracts": "1.0.2",
|
||||
"bignumber.js": "^9.1.1",
|
||||
"bson-objectid": "^2.0.4",
|
||||
"buffer": "^6.0.3",
|
||||
@@ -2326,9 +2326,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@orionprotocol/contracts": {
|
||||
"version": "0.11.0",
|
||||
"resolved": "https://registry.npmjs.org/@orionprotocol/contracts/-/contracts-0.11.0.tgz",
|
||||
"integrity": "sha512-8SnSvD3/+NIH6VEgxMGQuOHCclEG8qpraaFL5Lzx5hb4LBdk0q64FLg1FhAoaHHI+oaTbdsAOcPJZoQtNXf6YQ=="
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@orionprotocol/contracts/-/contracts-1.0.2.tgz",
|
||||
"integrity": "sha512-mEf7eh6Udu72xkEX6kvKYM57ckD+G0+J1O0GoB5L6mfobygLfuQkriJr1MTdAsUjfZ2gNfJiMRrIf8HLW5+R/A=="
|
||||
},
|
||||
"node_modules/@sinclair/typebox": {
|
||||
"version": "0.25.23",
|
||||
@@ -12361,9 +12361,9 @@
|
||||
}
|
||||
},
|
||||
"@orionprotocol/contracts": {
|
||||
"version": "0.11.0",
|
||||
"resolved": "https://registry.npmjs.org/@orionprotocol/contracts/-/contracts-0.11.0.tgz",
|
||||
"integrity": "sha512-8SnSvD3/+NIH6VEgxMGQuOHCclEG8qpraaFL5Lzx5hb4LBdk0q64FLg1FhAoaHHI+oaTbdsAOcPJZoQtNXf6YQ=="
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/@orionprotocol/contracts/-/contracts-1.0.2.tgz",
|
||||
"integrity": "sha512-mEf7eh6Udu72xkEX6kvKYM57ckD+G0+J1O0GoB5L6mfobygLfuQkriJr1MTdAsUjfZ2gNfJiMRrIf8HLW5+R/A=="
|
||||
},
|
||||
"@sinclair/typebox": {
|
||||
"version": "0.25.23",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@orionprotocol/sdk",
|
||||
"version": "0.18.24",
|
||||
"version": "0.18.25",
|
||||
"description": "Orion Protocol SDK",
|
||||
"main": "./lib/index.cjs",
|
||||
"module": "./lib/index.js",
|
||||
@@ -82,7 +82,7 @@
|
||||
"@babel/runtime": "^7.21.0",
|
||||
"@ethersproject/abstract-signer": "^5.7.0",
|
||||
"@ethersproject/providers": "^5.7.2",
|
||||
"@orionprotocol/contracts": "0.11.0",
|
||||
"@orionprotocol/contracts": "1.0.2",
|
||||
"bignumber.js": "^9.1.1",
|
||||
"bson-objectid": "^2.0.4",
|
||||
"buffer": "^6.0.3",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { BigNumber } from 'bignumber.js';
|
||||
import { ethers } from 'ethers';
|
||||
import clone from 'just-clone';
|
||||
import { ERC20__factory } from '@orionprotocol/contracts';
|
||||
import { ERC20__factory } from '@orionprotocol/contracts/lib/ethers-v5';
|
||||
import { APPROVE_ERC20_GAS_LIMIT, NATIVE_CURRENCY_PRECISION } from './constants/index.js';
|
||||
import type {
|
||||
AggregatedBalanceRequirement, ApproveFix, Asset, BalanceIssue, BalanceRequirement, Source,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { BigNumber } from 'bignumber.js';
|
||||
import { ethers } from 'ethers';
|
||||
import { Exchange__factory } from '@orionprotocol/contracts';
|
||||
import { Exchange__factory } from '@orionprotocol/contracts/lib/ethers-v5';
|
||||
import getBalances from '../../utils/getBalances.js';
|
||||
import BalanceGuard from '../../BalanceGuard.js';
|
||||
import getAvailableSources from '../../utils/getAvailableFundsSources.js';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { BigNumber } from 'bignumber.js';
|
||||
import { ethers } from 'ethers';
|
||||
import { Exchange__factory } from '@orionprotocol/contracts';
|
||||
import { Exchange__factory } from '@orionprotocol/contracts/lib/ethers-v5';
|
||||
import getBalances from '../../utils/getBalances.js';
|
||||
import BalanceGuard from '../../BalanceGuard.js';
|
||||
import type OrionUnit from '../index.js';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { BigNumber } from 'bignumber.js';
|
||||
import { ethers } from 'ethers';
|
||||
import { Exchange__factory } from '@orionprotocol/contracts';
|
||||
import { Exchange__factory } from '@orionprotocol/contracts/lib/ethers-v5';
|
||||
import getBalances from '../../utils/getBalances.js';
|
||||
import BalanceGuard from '../../BalanceGuard.js';
|
||||
import getAvailableSources from '../../utils/getAvailableFundsSources.js';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { BigNumber } from 'bignumber.js';
|
||||
import { ethers } from 'ethers';
|
||||
import { Exchange__factory } from '@orionprotocol/contracts';
|
||||
import { Exchange__factory } from '@orionprotocol/contracts/lib/ethers-v5';
|
||||
import getBalances from '../../utils/getBalances.js';
|
||||
import BalanceGuard from '../../BalanceGuard.js';
|
||||
import getAvailableSources from '../../utils/getAvailableFundsSources.js';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { BigNumber } from 'bignumber.js';
|
||||
import { ethers } from 'ethers';
|
||||
import { Exchange__factory } from '@orionprotocol/contracts';
|
||||
import { Exchange__factory } from '@orionprotocol/contracts/lib/ethers-v5';
|
||||
import getBalances from '../../utils/getBalances.js';
|
||||
import BalanceGuard from '../../BalanceGuard.js';
|
||||
import type OrionUnit from '../index.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Exchange__factory, IUniswapV2Pair__factory, IUniswapV2Router__factory } from '@orionprotocol/contracts';
|
||||
import { Exchange__factory, IUniswapV2Pair__factory, IUniswapV2Router__factory } from '@orionprotocol/contracts/lib/ethers-v5';
|
||||
import { BigNumber } from 'bignumber.js';
|
||||
import { ethers } from 'ethers';
|
||||
import { simpleFetch } from 'simple-typed-fetch';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ERC20__factory } from '@orionprotocol/contracts';
|
||||
import { ERC20__factory } from '@orionprotocol/contracts/lib/ethers-v5';
|
||||
import { ethers } from 'ethers';
|
||||
import invariant from 'tiny-invariant';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { ERC20__factory, type Exchange } from '@orionprotocol/contracts';
|
||||
|
||||
import type { Exchange } from '@orionprotocol/contracts/lib/ethers-v5';
|
||||
import { ERC20__factory } from '@orionprotocol/contracts/lib/ethers-v5'
|
||||
import type { BigNumber } from 'bignumber.js';
|
||||
import { ethers } from 'ethers';
|
||||
import { INTERNAL_ORION_PRECISION, NATIVE_CURRENCY_PRECISION } from '../constants/index.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Exchange } from '@orionprotocol/contracts';
|
||||
import type { Exchange } from '@orionprotocol/contracts/lib/ethers-v5';
|
||||
import type { BigNumber } from 'bignumber.js';
|
||||
import type { ethers } from 'ethers';
|
||||
import type { OrionAggregator } from '../services/OrionAggregator/index.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Exchange__factory } from '@orionprotocol/contracts';
|
||||
import { Exchange__factory } from '@orionprotocol/contracts/lib/ethers-v5';
|
||||
import { ethers } from 'ethers';
|
||||
import { z } from 'zod';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user