@imtbl/core-sdk
Advanced tools
Comparing version 0.3.1 to 0.4.0
@@ -7,1 +7,2 @@ export * from './config'; | ||
export * from './stark/stark-key'; | ||
export * from './stark/base-signer'; |
@@ -1,4 +0,5 @@ | ||
import { Signer } from '@ethersproject/abstract-signer'; | ||
import { StarkWallet } from '../types'; | ||
import { L1Signer, L2Signer, StarkWallet } from '../types'; | ||
import { GetSignableTradeRequest, TradesApi } from '../api'; | ||
import { Signer } from 'ethers'; | ||
export declare function createTradeWorkflow(signer: Signer, starkWallet: StarkWallet, request: GetSignableTradeRequest, tradesApi: TradesApi): Promise<import("../api").CreateTradeResponse>; | ||
export declare function createTradeWorkflowWithSigner(l1Signer: L1Signer, l2Signer: L2Signer, request: GetSignableTradeRequest, tradesApi: TradesApi): Promise<import("../api").CreateTradeResponse>; |
import { Signer } from '@ethersproject/abstract-signer'; | ||
import { TransfersApiGetTransferRequest, GetSignableOrderRequest, GetSignableCancelOrderRequest, GetSignableTradeRequest } from '../api'; | ||
import { UnsignedMintRequest, UnsignedTransferRequest, UnsignedBatchNftTransferRequest, ERC20Deposit, ERC721Deposit, ETHDeposit, TokenDeposit, UnsignedBurnRequest, TokenPrepareWithdrawal, Config, ERC721Withdrawal, ERC20Withdrawal, TokenWithdrawal, StarkWallet } from '../types'; | ||
import { UnsignedMintRequest, UnsignedTransferRequest, UnsignedBatchNftTransferRequest, ERC20Deposit, ERC721Deposit, ETHDeposit, TokenDeposit, UnsignedBurnRequest, TokenPrepareWithdrawal, Config, ERC721Withdrawal, ERC20Withdrawal, TokenWithdrawal, StarkWallet, L1Signer, L2Signer } from '../types'; | ||
export declare class Workflows { | ||
@@ -41,3 +41,5 @@ protected config: Config; | ||
}>; | ||
/** @deprecated */ | ||
createTrade(signer: Signer, starkWallet: StarkWallet, request: GetSignableTradeRequest): Promise<import("../api").CreateTradeResponse>; | ||
createTradeWithSigner(l1Signer: L1Signer, l2Signer: L2Signer, request: GetSignableTradeRequest): Promise<import("../api").CreateTradeResponse>; | ||
} |
{ | ||
"name": "@imtbl/core-sdk", | ||
"version": "0.3.1", | ||
"version": "0.4.0", | ||
"description": "Immutable Core SDK", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.cjs.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2539626
185
12725