diff --git a/package.json b/package.json index 92ecf07..903fb68 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "@getalby/sdk": "^3.7.0", "@nostr-dev-kit/ndk": "^2.3.2", "@nostr-dev-kit/ndk-cache-dexie": "^2.2.3", - "@popicons/react": "^0.0.8", + "@popicons/react": "^0.0.12", "nostr-tools": "1.17.0", "qrcode.react": "^3.1.0", "react": "^18.2.0", diff --git a/src/state/store.ts b/src/state/store.ts index 38eaf4a..c5e6e48 100644 --- a/src/state/store.ts +++ b/src/state/store.ts @@ -18,7 +18,11 @@ interface Actions { clearCart(): void; } -const initialRelays = ["wss://relay.damus.io", "wss://relay.shitforce.one"]; +const initialRelays = [ + "wss://relay.damus.io", + "wss://relay.primal.net", + "wss://relay.nostr.net" +]; const useStore = create((set, get) => ({ provider: undefined, @@ -33,7 +37,7 @@ const useStore = create((set, get) => ({ explicitRelayUrls: initialRelays, autoConnectUserRelays: false, autoFetchUserMutelist: false, - signer: new NDKPrivateKeySigner(provider.secret), + signer: new NDKPrivateKeySigner(provider.client.secret), }); ndk.connect(); } else { diff --git a/yarn.lock b/yarn.lock index ea62e7a..e06b8ba 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1283,10 +1283,10 @@ utf8-buffer "^1.0.0" websocket-polyfill "^0.0.3" -"@popicons/react@^0.0.8": - version "0.0.8" - resolved "https://registry.yarnpkg.com/@popicons/react/-/react-0.0.8.tgz#b329abf0f0f12da76e6eb1a1824f075cac23eb2d" - integrity sha512-/WyuFuSAThK9zCHiIY7N+jxAWnqu4C8kkhXIkj5PcPlBYGKw9T93UheWz+KkSLnAQIUI+jovVrSMV/AZuPROqg== +"@popicons/react@^0.0.12": + version "0.0.12" + resolved "https://registry.yarnpkg.com/@popicons/react/-/react-0.0.12.tgz#044bde1d70124b5afadf0cebde8c7edf63f5cdeb" + integrity sha512-gImLemvEWT2OzBmikcw41iGtzQYR0912YYeKOtVmE/ZkcWrsn1Vkpe6lWvPAKVJBzHG8hUmZJLut0DpWBeYyKg== "@remix-run/router@1.14.1": version "1.14.1"