@ember-finance/sdk 2.5.0-pre.0 → 2.5.0-pre.1

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,4 +1,5 @@
1
- import { Signer as SuiSigner, SuiClient } from "@firefly-exchange/library-sui";
1
+ import { Signer as SuiSigner } from "@firefly-exchange/library-sui";
2
+ import { SuiJsonRpcClient as SuiClient } from "@mysten/sui/jsonRpc";
2
3
  import { Signer as EvmSigner, Provider as EvmProvider } from "ethers";
3
4
  import { ISuiDeployment } from "./sui-vaults/interfaces/index.js";
4
5
  import { TxBuilder as SuiTxBuilder } from "./sui-vaults/on-chain-calls/index.js";
@@ -1,6 +1,7 @@
1
+ import { SuiJsonRpcClient as SuiClient } from "@mysten/sui/jsonRpc";
1
2
  import { OnChainCalls } from "./onchain-calls.js";
2
3
  import { ISuiDeployment, IVaultOptionalParams } from "../interfaces/index.js";
3
- import { OnChainCallResponse, Signer, SuiAddress, SuiClient, SuiTransactionBlockResponseOptions } from "@firefly-exchange/library-sui";
4
+ import { OnChainCallResponse, Signer, SuiAddress, SuiTransactionBlockResponseOptions } from "@firefly-exchange/library-sui";
4
5
  import { NumStr } from "@firefly-exchange/library-sui";
5
6
  export declare class AdminCalls extends OnChainCalls {
6
7
  constructor(_network: string, _suiClient: SuiClient, _deployment: ISuiDeployment, _signer?: Signer, _walletAddress?: string);
@@ -1,4 +1,4 @@
1
- import { SuiClient } from "@firefly-exchange/library-sui";
1
+ import { SuiJsonRpcClient as SuiClient } from "@mysten/sui/jsonRpc";
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,5 @@
1
- import { DryRunTransactionBlockResponse, OnChainCallResponse, Signer, SuiClient, SuiTransactionBlockResponse, SuiTransactionBlockResponseOptions, TransactionBlock } from "@firefly-exchange/library-sui";
1
+ import { SuiJsonRpcClient as SuiClient } from "@mysten/sui/jsonRpc";
2
+ import { DryRunTransactionBlockResponse, OnChainCallResponse, Signer, SuiTransactionBlockResponse, SuiTransactionBlockResponseOptions, TransactionBlock } from "@firefly-exchange/library-sui";
2
3
  import { Address } from "@firefly-exchange/library-sui";
3
4
  import { SuiDeploymentParser } from "../utils/deployment-parser.js";
4
5
  import { ISuiDeployment, IVaultOptionalParams } from "../interfaces/index.js";
@@ -1,6 +1,7 @@
1
+ import { SuiJsonRpcClient as SuiClient } from "@mysten/sui/jsonRpc";
1
2
  import { OnChainCalls } from "./onchain-calls.js";
2
3
  import { ISuiDeployment, IVaultOptionalParams } from "../interfaces/index.js";
3
- import { OnChainCallResponse, Signer, SuiAddress, SuiClient, SuiTransactionBlockResponseOptions } from "@firefly-exchange/library-sui";
4
+ import { OnChainCallResponse, Signer, SuiAddress, SuiTransactionBlockResponseOptions } from "@firefly-exchange/library-sui";
4
5
  import { NumStr } from "@firefly-exchange/library-sui";
5
6
  export declare class OperatorCalls extends OnChainCalls {
6
7
  constructor(_network: string, _suiClient: SuiClient, _deployment: ISuiDeployment, _signer?: Signer, _walletAddress?: string);
@@ -1,6 +1,7 @@
1
+ import { SuiJsonRpcClient as SuiClient } from "@mysten/sui/jsonRpc";
1
2
  import { OnChainCalls } from "./onchain-calls.js";
2
3
  import { ISuiDeployment, IVaultOptionalParams } from "../interfaces/index.js";
3
- import { OnChainCallResponse, Signer, SuiAddress, SuiClient, SuiTransactionBlockResponseOptions, NumStr } from "@firefly-exchange/library-sui";
4
+ import { OnChainCallResponse, Signer, SuiAddress, SuiTransactionBlockResponseOptions, NumStr } from "@firefly-exchange/library-sui";
4
5
  import { TransactionObjectArgument } from "@mysten/sui/transactions";
5
6
  export declare class UserCalls extends OnChainCalls {
6
7
  constructor(_network: string, _suiClient: SuiClient, _deployment: ISuiDeployment, _signer?: Signer, _walletAddress?: string, _isUIWallet?: boolean);
@@ -1,7 +1,8 @@
1
+ import { SuiJsonRpcClient as SuiClient } from "@mysten/sui/jsonRpc";
1
2
  import { OnChainCalls } from "./onchain-calls.js";
2
3
  import { ISuiDeployment, IVaultOptionalParams } from "../interfaces/index.js";
3
4
  import { NumStr } from "@firefly-exchange/library-sui";
4
- import { OnChainCallResponse, Signer, SuiAddress, SuiClient, SuiTransactionBlockResponseOptions } from "@firefly-exchange/library-sui";
5
+ import { OnChainCallResponse, Signer, SuiAddress, SuiTransactionBlockResponseOptions } from "@firefly-exchange/library-sui";
5
6
  export declare class VaultAdminCalls extends OnChainCalls {
6
7
  constructor(_network: string, _suiClient: SuiClient, _deployment: ISuiDeployment, _signer?: Signer, _walletAddress?: string);
7
8
  /**
@@ -1,4 +1,5 @@
1
- import { Signer, SuiClient } from "@firefly-exchange/library-sui";
1
+ import { SuiJsonRpcClient as SuiClient } from "@mysten/sui/jsonRpc";
2
+ import { Signer } from "@firefly-exchange/library-sui";
2
3
  import { IVault, IVaultAccount } from "../interfaces/index.js";
3
4
  export declare class Vault {
4
5
  /**
@@ -1,2 +1,3 @@
1
- import { SuiClient, TransactionBlock } from "@firefly-exchange/library-sui";
1
+ import { SuiJsonRpcClient as SuiClient } from "@mysten/sui/jsonRpc";
2
+ import { TransactionBlock } from "@firefly-exchange/library-sui";
2
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.0",
4
+ "version": "2.5.0-pre.1",
5
5
  "type": "module",
6
6
  "module": "./dist/index.js",
7
7
  "main": "./dist/index.js",