signet.js 0.0.8 → 0.0.9
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/README.md +8 -1
- package/browser/index.browser.cjs +1 -1
- package/browser/index.browser.cjs.map +1 -1
- package/browser/index.browser.js +1 -1
- package/browser/index.browser.js.map +1 -1
- package/node/index.node.cjs +1 -1
- package/node/index.node.cjs.map +1 -1
- package/node/index.node.js +1 -1
- package/node/index.node.js.map +1 -1
- package/package.json +1 -1
- package/types/index.d.cts +4 -4
- package/types/index.d.ts +4 -4
package/package.json
CHANGED
package/types/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import BN from 'bn.js';
|
|
2
|
-
import { TransactionRequest, Address, SignableMessage, TypedDataDefinition, Hex,
|
|
2
|
+
import { TransactionRequest, Address, SignableMessage, TypedDataDefinition, Hex, PublicClient, Hash, TransactionReceipt, WalletClient } from 'viem';
|
|
3
3
|
import * as bitcoin from 'bitcoinjs-lib';
|
|
4
4
|
import { EncodeObject } from '@cosmjs/proto-signing';
|
|
5
5
|
import { TxRaw } from 'cosmjs-types/cosmos/tx/v1beta1/tx';
|
|
@@ -317,11 +317,11 @@ declare class EVM extends ChainAdapter<EVMTransactionRequest, EVMUnsignedTransac
|
|
|
317
317
|
/**
|
|
318
318
|
* Creates a new EVM chain instance
|
|
319
319
|
* @param params - Configuration parameters
|
|
320
|
-
* @param params.
|
|
320
|
+
* @param params.publicClient - A Viem PublicClient instance for reading from the blockchain
|
|
321
321
|
* @param params.contract - Instance of the chain signature contract for MPC operations
|
|
322
322
|
*/
|
|
323
|
-
constructor({
|
|
324
|
-
|
|
323
|
+
constructor({ publicClient, contract, }: {
|
|
324
|
+
publicClient: PublicClient;
|
|
325
325
|
contract: BaseChainSignatureContract;
|
|
326
326
|
});
|
|
327
327
|
private attachGasAndNonce;
|
package/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import BN from 'bn.js';
|
|
2
|
-
import { TransactionRequest, Address, SignableMessage, TypedDataDefinition, Hex,
|
|
2
|
+
import { TransactionRequest, Address, SignableMessage, TypedDataDefinition, Hex, PublicClient, Hash, TransactionReceipt, WalletClient } from 'viem';
|
|
3
3
|
import * as bitcoin from 'bitcoinjs-lib';
|
|
4
4
|
import { EncodeObject } from '@cosmjs/proto-signing';
|
|
5
5
|
import { TxRaw } from 'cosmjs-types/cosmos/tx/v1beta1/tx';
|
|
@@ -317,11 +317,11 @@ declare class EVM extends ChainAdapter<EVMTransactionRequest, EVMUnsignedTransac
|
|
|
317
317
|
/**
|
|
318
318
|
* Creates a new EVM chain instance
|
|
319
319
|
* @param params - Configuration parameters
|
|
320
|
-
* @param params.
|
|
320
|
+
* @param params.publicClient - A Viem PublicClient instance for reading from the blockchain
|
|
321
321
|
* @param params.contract - Instance of the chain signature contract for MPC operations
|
|
322
322
|
*/
|
|
323
|
-
constructor({
|
|
324
|
-
|
|
323
|
+
constructor({ publicClient, contract, }: {
|
|
324
|
+
publicClient: PublicClient;
|
|
325
325
|
contract: BaseChainSignatureContract;
|
|
326
326
|
});
|
|
327
327
|
private attachGasAndNonce;
|