applesauce-signers 0.0.0-next-20250330153313 → 0.0.0-next-20250402155442

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.
@@ -122,7 +122,9 @@ export declare class NostrConnectSigner implements Nip07Interface {
122
122
  encrypt: (pubkey: string, plaintext: string) => Promise<string> | string;
123
123
  decrypt: (pubkey: string, ciphertext: string) => Promise<string> | string;
124
124
  } | undefined;
125
+ /** A fallback method to use for subscriptionMethod if none is pass in when creating the signer */
125
126
  static subscriptionMethod: NostrSubscriptionMethod | undefined;
127
+ /** A fallback method to use for publishMethod if none is pass in when creating the signer */
126
128
  static publishMethod: NostrPublishMethod | undefined;
127
129
  constructor(opts: NostrConnectSignerOptions);
128
130
  /** The currently active REQ subscription */
@@ -60,7 +60,9 @@ export class NostrConnectSigner {
60
60
  clientSecret = nanoid(12);
61
61
  nip04;
62
62
  nip44;
63
+ /** A fallback method to use for subscriptionMethod if none is pass in when creating the signer */
63
64
  static subscriptionMethod = undefined;
65
+ /** A fallback method to use for publishMethod if none is pass in when creating the signer */
64
66
  static publishMethod = undefined;
65
67
  constructor(opts) {
66
68
  this.relays = opts.relays;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "applesauce-signers",
3
- "version": "0.0.0-next-20250330153313",
3
+ "version": "0.0.0-next-20250402155442",
4
4
  "description": "Signer classes for applesauce",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -36,7 +36,7 @@
36
36
  "@noble/hashes": "^1.7.1",
37
37
  "@noble/secp256k1": "^1.7.1",
38
38
  "@scure/base": "^1.2.4",
39
- "applesauce-core": "0.0.0-next-20250330153313",
39
+ "applesauce-core": "0.0.0-next-20250402155442",
40
40
  "debug": "^4.4.0",
41
41
  "nanoid": "^5.0.9",
42
42
  "nostr-tools": "^2.10.4"