signet.js 0.0.12-beta.4 → 0.0.12-beta.5

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.4",
3
+ "version": "0.0.12-beta.5",
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
@@ -1138,10 +1138,10 @@ declare class ChainSignatureContract extends ChainSignatureContract$3 {
1138
1138
  remainingSigners?: Array<Signer>;
1139
1139
  }): Promise<RSVSignature>;
1140
1140
  /**
1141
- * Polls for signature or error events matching the given requestId.
1141
+ * Polls for signature or error events matching the given requestId starting from the solana transaction with signature afterSignature.
1142
1142
  * Returns a signature, error data, or undefined if nothing is found.
1143
1143
  */
1144
- listenForSignatureEvents({ requestId, payload, path, afterSignature, options, }: {
1144
+ pollForRequestId({ requestId, payload, path, afterSignature, options, }: {
1145
1145
  requestId: string;
1146
1146
  payload: number[];
1147
1147
  path: string;
package/types/index.d.ts CHANGED
@@ -1138,10 +1138,10 @@ declare class ChainSignatureContract extends ChainSignatureContract$3 {
1138
1138
  remainingSigners?: Array<Signer>;
1139
1139
  }): Promise<RSVSignature>;
1140
1140
  /**
1141
- * Polls for signature or error events matching the given requestId.
1141
+ * Polls for signature or error events matching the given requestId starting from the solana transaction with signature afterSignature.
1142
1142
  * Returns a signature, error data, or undefined if nothing is found.
1143
1143
  */
1144
- listenForSignatureEvents({ requestId, payload, path, afterSignature, options, }: {
1144
+ pollForRequestId({ requestId, payload, path, afterSignature, options, }: {
1145
1145
  requestId: string;
1146
1146
  payload: number[];
1147
1147
  path: string;