@ember-finance/sdk 2.5.0-pre.7 → 2.5.0-pre.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { Signer as SuiSigner } from "@firefly-exchange/library-sui";
2
- import { SuiJsonRpcClient as SuiClient } from "@mysten/sui/jsonRpc";
2
+ import { BaseClient as SuiClient } from "@mysten/sui/client";
3
3
  import { Signer as EvmSigner, Provider as EvmProvider } from "ethers";
4
4
  import { ISuiDeployment } from "./sui-vaults/interfaces/index.js";
5
5
  import { TxBuilder as SuiTxBuilder } from "./sui-vaults/on-chain-calls/index.js";
@@ -1,4 +1,4 @@
1
- import { SuiJsonRpcClient as SuiClient } from "@mysten/sui/jsonRpc";
1
+ import { BaseClient as SuiClient } from "@mysten/sui/client";
2
2
  import { OnChainCalls } from "./onchain-calls.js";
3
3
  import { ISuiDeployment, IVaultOptionalParams } from "../interfaces/index.js";
4
4
  import { OnChainCallResponse, Signer, SuiAddress, SuiTransactionBlockResponseOptions } from "@firefly-exchange/library-sui";
@@ -1,4 +1,4 @@
1
- import { SuiJsonRpcClient as SuiClient } from "@mysten/sui/jsonRpc";
1
+ import { BaseClient as SuiClient } from "@mysten/sui/client";
2
2
  import { FeeMultiplierTier, InstantWithdrawQuote } from "../../atomic/instant-withdraw.js";
3
3
  /**
4
4
  * Read-only views + instant-withdraw quotes for the Sui Atomic Liquidity Vault (BET-4111).
@@ -1,4 +1,4 @@
1
- import { SuiJsonRpcClient as SuiClient } from "@mysten/sui/jsonRpc";
1
+ import { BaseClient as SuiClient } from "@mysten/sui/client";
2
2
  import { DryRunTransactionBlockResponse, OnChainCallResponse, Signer, SuiTransactionBlockResponse, SuiTransactionBlockResponseOptions, TransactionBlock } from "@firefly-exchange/library-sui";
3
3
  import { Address } from "@firefly-exchange/library-sui";
4
4
  import { SuiDeploymentParser } from "../utils/deployment-parser.js";
@@ -1,4 +1,4 @@
1
- import { SuiJsonRpcClient as SuiClient } from "@mysten/sui/jsonRpc";
1
+ import { BaseClient as SuiClient } from "@mysten/sui/client";
2
2
  import { OnChainCalls } from "./onchain-calls.js";
3
3
  import { ISuiDeployment, IVaultOptionalParams } from "../interfaces/index.js";
4
4
  import { OnChainCallResponse, Signer, SuiAddress, SuiTransactionBlockResponseOptions } from "@firefly-exchange/library-sui";
@@ -1,4 +1,4 @@
1
- import { SuiJsonRpcClient as SuiClient } from "@mysten/sui/jsonRpc";
1
+ import { BaseClient as SuiClient } from "@mysten/sui/client";
2
2
  import { OnChainCalls } from "./onchain-calls.js";
3
3
  import { ISuiDeployment, IVaultOptionalParams } from "../interfaces/index.js";
4
4
  import { OnChainCallResponse, Signer, SuiAddress, SuiTransactionBlockResponseOptions, NumStr } from "@firefly-exchange/library-sui";
@@ -1,4 +1,4 @@
1
- import { SuiJsonRpcClient as SuiClient } from "@mysten/sui/jsonRpc";
1
+ import { BaseClient as SuiClient } from "@mysten/sui/client";
2
2
  import { OnChainCalls } from "./onchain-calls.js";
3
3
  import { ISuiDeployment, IVaultOptionalParams } from "../interfaces/index.js";
4
4
  import { NumStr } from "@firefly-exchange/library-sui";
@@ -1,3 +1,3 @@
1
- import { SuiJsonRpcClient as SuiClient } from "@mysten/sui/jsonRpc";
1
+ import { BaseClient as SuiClient } from "@mysten/sui/client";
2
2
  import { TransactionBlock } from "@firefly-exchange/library-sui";
3
3
  export declare const getTxBytes: (tx: TransactionBlock, client: SuiClient) => Promise<string>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ember-finance/sdk",
3
3
  "description": "Ember Protocol SDK",
4
- "version": "2.5.0-pre.7",
4
+ "version": "2.5.0-pre.8",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",
7
7
  "main": "./dist/index.js",