mirror of
https://github.com/nostr-connect/connect.git
synced 2025-12-17 05:04:20 +01:00
pkg name
This commit is contained in:
@@ -33,7 +33,7 @@ To create a Nostr Connect instance, you need to provide the ephemeral key and th
|
||||
import { Connect } from '@nostr-connect/connect';
|
||||
|
||||
|
||||
const connect = new Connect({ secretKey: sk, relay: 'wss://relay.nostr-connect.com' });
|
||||
const connect = new Connect({ secretKey: sk, relay: 'wss://nostr.vulpem.com' });
|
||||
connect.events.on('connect', ( walletPubkey:string ) => {
|
||||
console.log('connected with wallet: ' + walletPubkey);
|
||||
});
|
||||
|
||||
@@ -33,16 +33,16 @@
|
||||
"singleQuote": true,
|
||||
"trailingComma": "es5"
|
||||
},
|
||||
"name": "nostr-connect-ts",
|
||||
"name": "@nostr-connect/connect",
|
||||
"author": "tiero",
|
||||
"module": "dist/nostr-connect-ts.esm.js",
|
||||
"module": "dist/connect.esm.js",
|
||||
"size-limit": [
|
||||
{
|
||||
"path": "dist/nostr-connect-ts.cjs.production.min.js",
|
||||
"path": "dist/connect.cjs.production.min.js",
|
||||
"limit": "10 KB"
|
||||
},
|
||||
{
|
||||
"path": "dist/nostr-connect-ts.esm.js",
|
||||
"path": "dist/connect.esm.js",
|
||||
"limit": "10 KB"
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user