mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-22 21:59:44 +03:00
fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@orionprotocol/sdk",
|
"name": "@orionprotocol/sdk",
|
||||||
"version": "0.18.25",
|
"version": "0.18.26",
|
||||||
"description": "Orion Protocol SDK",
|
"description": "Orion Protocol SDK",
|
||||||
"main": "./lib/index.cjs",
|
"main": "./lib/index.cjs",
|
||||||
"module": "./lib/index.js",
|
"module": "./lib/index.js",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { BigNumber } from 'bignumber.js';
|
import { BigNumber } from 'bignumber.js';
|
||||||
import { ethers } from 'ethers';
|
import { ethers } from 'ethers';
|
||||||
import clone from 'just-clone';
|
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 { APPROVE_ERC20_GAS_LIMIT, NATIVE_CURRENCY_PRECISION } from './constants/index.js';
|
||||||
import type {
|
import type {
|
||||||
AggregatedBalanceRequirement, ApproveFix, Asset, BalanceIssue, BalanceRequirement, Source,
|
AggregatedBalanceRequirement, ApproveFix, Asset, BalanceIssue, BalanceRequirement, Source,
|
||||||
|
|||||||
@@ -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 { ethers } from 'ethers';
|
||||||
import invariant from 'tiny-invariant';
|
import invariant from 'tiny-invariant';
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import type { Exchange } 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'
|
import { ERC20__factory } from '@orionprotocol/contracts/lib/ethers-v5/index.js';
|
||||||
import type { BigNumber } from 'bignumber.js';
|
import type { BigNumber } from 'bignumber.js';
|
||||||
import { ethers } from 'ethers';
|
import { ethers } from 'ethers';
|
||||||
import { INTERNAL_ORION_PRECISION, NATIVE_CURRENCY_PRECISION } from '../constants/index.js';
|
import { INTERNAL_ORION_PRECISION, NATIVE_CURRENCY_PRECISION } from '../constants/index.js';
|
||||||
|
|||||||
@@ -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 { BigNumber } from 'bignumber.js';
|
||||||
import type { ethers } from 'ethers';
|
import type { ethers } from 'ethers';
|
||||||
import type { OrionAggregator } from '../services/OrionAggregator/index.js';
|
import type { OrionAggregator } from '../services/OrionAggregator/index.js';
|
||||||
|
|||||||
@@ -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 { ethers } from 'ethers';
|
||||||
import { z } from 'zod';
|
import { z } from 'zod';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user