signet.js 0.0.12-beta.1 → 0.0.12-beta.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "signet.js",
3
- "version": "0.0.12-beta.1",
3
+ "version": "0.0.12-beta.3",
4
4
  "description": "A TypeScript library for handling multi-chain transactions and signatures using Signet MPC",
5
5
  "type": "module",
6
6
  "exports": {
package/types/index.d.cts CHANGED
@@ -9,7 +9,7 @@ import { TxExecutionStatus } from '@near-js/types';
9
9
  import { NetworkId, Action, FinalExecutionOutcome } from '@near-wallet-selector/core';
10
10
  import { KeyPair as KeyPair$1 } from 'near-api-js';
11
11
  import * as _solana_web3_js from '@solana/web3.js';
12
- import { PublicKey, AccountMeta, TransactionInstruction } from '@solana/web3.js';
12
+ import { PublicKey, AccountMeta, TransactionInstruction, Signer } from '@solana/web3.js';
13
13
  import { AnchorProvider } from '@coral-xyz/anchor';
14
14
 
15
15
  interface SignArgs {
@@ -1135,6 +1135,7 @@ declare class ChainSignatureContract extends ChainSignatureContract$3 {
1135
1135
  */
1136
1136
  sign(args: SignArgs, options?: Partial<SignOptions> & {
1137
1137
  remainingAccounts?: Array<AccountMeta>;
1138
+ remainingSigners?: Array<Signer>;
1138
1139
  }): Promise<RSVSignature>;
1139
1140
  /**
1140
1141
  * Listens for signature or error events matching the given requestId.
package/types/index.d.ts CHANGED
@@ -9,7 +9,7 @@ import { TxExecutionStatus } from '@near-js/types';
9
9
  import { NetworkId, Action, FinalExecutionOutcome } from '@near-wallet-selector/core';
10
10
  import { KeyPair as KeyPair$1 } from 'near-api-js';
11
11
  import * as _solana_web3_js from '@solana/web3.js';
12
- import { PublicKey, AccountMeta, TransactionInstruction } from '@solana/web3.js';
12
+ import { PublicKey, AccountMeta, TransactionInstruction, Signer } from '@solana/web3.js';
13
13
  import { AnchorProvider } from '@coral-xyz/anchor';
14
14
 
15
15
  interface SignArgs {
@@ -1135,6 +1135,7 @@ declare class ChainSignatureContract extends ChainSignatureContract$3 {
1135
1135
  */
1136
1136
  sign(args: SignArgs, options?: Partial<SignOptions> & {
1137
1137
  remainingAccounts?: Array<AccountMeta>;
1138
+ remainingSigners?: Array<Signer>;
1138
1139
  }): Promise<RSVSignature>;
1139
1140
  /**
1140
1141
  * Listens for signature or error events matching the given requestId.