@konemono/nostr-login 1.7.68 → 1.7.69
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/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/unpkg.js +2 -2
- package/package.json +1 -1
- package/src/modules/AuthNostrService.ts +4 -0
package/package.json
CHANGED
|
@@ -123,6 +123,8 @@ class AuthNostrService extends EventEmitter implements Signer {
|
|
|
123
123
|
pubkey: response.result,
|
|
124
124
|
name: nip19.npubEncode(response.result),
|
|
125
125
|
authMethod: 'amber' as any,
|
|
126
|
+
relays: [],
|
|
127
|
+
signerPubkey: '',
|
|
126
128
|
};
|
|
127
129
|
console.log('Amber login success', info);
|
|
128
130
|
this.onAuth('login', info);
|
|
@@ -222,6 +224,8 @@ class AuthNostrService extends EventEmitter implements Signer {
|
|
|
222
224
|
pubkey,
|
|
223
225
|
name: nip19.npubEncode(pubkey),
|
|
224
226
|
authMethod: 'amber' as any,
|
|
227
|
+
relays: [],
|
|
228
|
+
signerPubkey: '',
|
|
225
229
|
};
|
|
226
230
|
|
|
227
231
|
this.onAuth('login', info);
|