mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-04-14 23:18:33 +03:00
Merge pull request #190 from orionprotocol/hotfix/generateSwapCalldata
Fixed ethers contracts version
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@orionprotocol/sdk",
|
"name": "@orionprotocol/sdk",
|
||||||
"version": "0.20.8",
|
"version": "0.20.8-rc2",
|
||||||
"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,4 +1,4 @@
|
|||||||
import { SwapExecutor__factory } from "@orionprotocol/contracts/lib/ethers-v5/index.js"
|
import { SwapExecutor__factory } from "@orionprotocol/contracts/lib/ethers-v6/index.js"
|
||||||
import { SafeArray } from "../../../utils/safeGetters.js"
|
import { SafeArray } from "../../../utils/safeGetters.js"
|
||||||
import { type BytesLike, type BigNumberish, concat, ethers, toBeHex } from "ethers"
|
import { type BytesLike, type BigNumberish, concat, ethers, toBeHex } from "ethers"
|
||||||
import { addCallParams, generateCalls } from "./utils.js"
|
import { addCallParams, generateCalls } from "./utils.js"
|
||||||
|
|||||||
Reference in New Issue
Block a user