@octaflowlabs/onchain-sdk 1.0.0-test17 → 1.0.0-test18
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.
package/dist/cjs/index.d.ts
CHANGED
|
@@ -19,4 +19,4 @@ export { transformBigInt } from './utils/transformBigInt';
|
|
|
19
19
|
import NATIVE_TOKENS from './utils/tokens';
|
|
20
20
|
export { NATIVE_TOKENS };
|
|
21
21
|
/** types exports */
|
|
22
|
-
export { BroadcastTransactionOptions, BuildMaxNativeTransferTxOptions, BuildMaxNativeTransferTxResponse, BuildUnsignedTransferTxOptions, EstimateGasLimitFromProviderProps, GasEstimateResult, TxStatusOptions, TxStatusResponse, UnsignedTransferTxResponse, FormatAmountOptions, } from './types/common';
|
|
22
|
+
export { BroadcastTransactionOptions, BuildMaxNativeTransferTxOptions, BuildMaxNativeTransferTxResponse, BuildUnsignedTransferTxOptions, EstimateGasLimitFromProviderProps, GasEstimateResult, TxStatusOptions, TxStatusResponse, UnsignedTransferTxResponse, FormatAmountOptions, TransactionRequest, } from './types/common';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** npm imports */
|
|
2
|
-
import { Wallet
|
|
2
|
+
import { Wallet } from 'ethers';
|
|
3
|
+
/** local imports */
|
|
4
|
+
import { TransactionRequest } from '../../types/common';
|
|
3
5
|
export declare const createWallet: (privateKey: string, rpcUrl?: string) => Wallet;
|
|
4
6
|
export declare const signMessage: (privateKey: string, message: string) => Promise<string>;
|
|
5
7
|
export declare const signTransaction: (privateKey: string, tx: TransactionRequest, rpcUrl?: string) => Promise<string>;
|
package/dist/index.d.ts
CHANGED
|
@@ -19,4 +19,4 @@ export { transformBigInt } from './utils/transformBigInt';
|
|
|
19
19
|
import NATIVE_TOKENS from './utils/tokens';
|
|
20
20
|
export { NATIVE_TOKENS };
|
|
21
21
|
/** types exports */
|
|
22
|
-
export { BroadcastTransactionOptions, BuildMaxNativeTransferTxOptions, BuildMaxNativeTransferTxResponse, BuildUnsignedTransferTxOptions, EstimateGasLimitFromProviderProps, GasEstimateResult, TxStatusOptions, TxStatusResponse, UnsignedTransferTxResponse, FormatAmountOptions, } from './types/common';
|
|
22
|
+
export { BroadcastTransactionOptions, BuildMaxNativeTransferTxOptions, BuildMaxNativeTransferTxResponse, BuildUnsignedTransferTxOptions, EstimateGasLimitFromProviderProps, GasEstimateResult, TxStatusOptions, TxStatusResponse, UnsignedTransferTxResponse, FormatAmountOptions, TransactionRequest, } from './types/common';
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/** npm imports */
|
|
2
|
-
import { Wallet
|
|
2
|
+
import { Wallet } from 'ethers';
|
|
3
|
+
/** local imports */
|
|
4
|
+
import { TransactionRequest } from '../../types/common';
|
|
3
5
|
export declare const createWallet: (privateKey: string, rpcUrl?: string) => Wallet;
|
|
4
6
|
export declare const signMessage: (privateKey: string, message: string) => Promise<string>;
|
|
5
7
|
export declare const signTransaction: (privateKey: string, tx: TransactionRequest, rpcUrl?: string) => Promise<string>;
|
package/dist/types/common.d.ts
CHANGED