This commit is contained in:
Aleksandr Kraiz
2023-05-09 22:48:28 +04:00
parent 733d39804e
commit e05dfe6695
6 changed files with 7 additions and 7 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@orionprotocol/sdk",
"version": "0.18.25",
"version": "0.18.26",
"description": "Orion Protocol SDK",
"main": "./lib/index.cjs",
"module": "./lib/index.js",

View File

@@ -1,7 +1,7 @@
import { BigNumber } from 'bignumber.js';
import { ethers } from 'ethers';
import clone from 'just-clone';
import { ERC20__factory } from '@orionprotocol/contracts/lib/ethers-v5';
import { ERC20__factory } from '@orionprotocol/contracts/lib/ethers-v5/index.js';
import { APPROVE_ERC20_GAS_LIMIT, NATIVE_CURRENCY_PRECISION } from './constants/index.js';
import type {
AggregatedBalanceRequirement, ApproveFix, Asset, BalanceIssue, BalanceRequirement, Source,

View File

@@ -1,4 +1,4 @@
import { ERC20__factory } from '@orionprotocol/contracts/lib/ethers-v5';
import { ERC20__factory } from '@orionprotocol/contracts/lib/ethers-v5/index.js';
import { ethers } from 'ethers';
import invariant from 'tiny-invariant';

View File

@@ -1,5 +1,5 @@
import type { Exchange } from '@orionprotocol/contracts/lib/ethers-v5';
import { ERC20__factory } from '@orionprotocol/contracts/lib/ethers-v5'
import type { Exchange } from '@orionprotocol/contracts/lib/ethers-v5/index.js';
import { ERC20__factory } from '@orionprotocol/contracts/lib/ethers-v5/index.js';
import type { BigNumber } from 'bignumber.js';
import { ethers } from 'ethers';
import { INTERNAL_ORION_PRECISION, NATIVE_CURRENCY_PRECISION } from '../constants/index.js';

View File

@@ -1,4 +1,4 @@
import type { Exchange } from '@orionprotocol/contracts/lib/ethers-v5';
import type { Exchange } from '@orionprotocol/contracts/lib/ethers-v5/index.js';
import type { BigNumber } from 'bignumber.js';
import type { ethers } from 'ethers';
import type { OrionAggregator } from '../services/OrionAggregator/index.js';

View File

@@ -1,4 +1,4 @@
import { Exchange__factory } from '@orionprotocol/contracts/lib/ethers-v5';
import { Exchange__factory } from '@orionprotocol/contracts/lib/ethers-v5/index.js';
import { ethers } from 'ethers';
import { z } from 'zod';