diff --git a/package.json b/package.json index 0b08ad3..f8f93a0 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "@noble/hashes": "^1.4.0", "@scure/base": "^1.1.6", "@snort/shared": "^1.0.17", - "@snort/system": "^1.5.3", - "@snort/system-react": "^1.5.4", + "@snort/system": "^1.5.6", + "@snort/system-react": "^1.5.6", "@snort/system-wasm": "^1.0.5", "@snort/wallet": "^0.2.0", "@snort/worker-relay": "^1.3.0", diff --git a/src/index.tsx b/src/index.tsx index c985fa3..afc010b 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -4,7 +4,7 @@ import "./fonts/outfit/outfit.css"; import React, { Suspense, lazy } from "react"; import ReactDOM from "react-dom/client"; -import { NostrSystem } from "@snort/system"; +import { EventBuilder, NostrSystem } from "@snort/system"; import { SnortContext } from "@snort/system-react"; import { RouterProvider, createBrowserRouter } from "react-router-dom"; @@ -47,6 +47,7 @@ const hasWasm = "WebAssembly" in globalThis; const workerRelay = new WorkerRelayInterface( import.meta.env.DEV ? new URL("@snort/worker-relay/dist/esm/worker.mjs", import.meta.url) : new WorkerVite(), ); +EventBuilder.ClientTag = ["client", "zap.stream", __ZAP_STREAM_VERSION__] const System = new NostrSystem({ optimizer: hasWasm ? WasmOptimizer : undefined, cachingRelay: workerRelay, diff --git a/yarn.lock b/yarn.lock index 90068a5..4664e01 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2651,14 +2651,14 @@ __metadata: languageName: node linkType: hard -"@snort/system-react@npm:^1.5.4": - version: 1.5.4 - resolution: "@snort/system-react@npm:1.5.4" +"@snort/system-react@npm:^1.5.6": + version: 1.5.6 + resolution: "@snort/system-react@npm:1.5.6" dependencies: "@snort/shared": "npm:^1.0.17" - "@snort/system": "npm:^1.5.3" + "@snort/system": "npm:^1.5.6" react: "npm:^18.2.0" - checksum: 10c0/4eb379dcc2bc30425d75951ace6f58f1fd08f0d8d24fb88add14e11e63dd67618c67b6de5c9fa391b6dfa4354aed36e087114e36abbfe65d2e85115a32bc55b8 + checksum: 10c0/b7fb8dbc87328603b202dad9ce57dbff2cb8231829128b48346ba10925ee9fa5103652941b6a0456d6221fce8379a7148dc6507ebe8e1d0d35f7efd92738d08a languageName: node linkType: hard @@ -2691,9 +2691,9 @@ __metadata: languageName: node linkType: hard -"@snort/system@npm:^1.5.3": - version: 1.5.3 - resolution: "@snort/system@npm:1.5.3" +"@snort/system@npm:^1.5.6": + version: 1.5.6 + resolution: "@snort/system@npm:1.5.6" dependencies: "@noble/ciphers": "npm:^0.6.0" "@noble/curves": "npm:^1.4.0" @@ -2708,7 +2708,7 @@ __metadata: nostr-social-graph: "npm:^1.0.3" uuid: "npm:^9.0.0" ws: "npm:^8.14.0" - checksum: 10c0/94e5f68252486f1dc433d6a84e277c26ad859fca578b4aac8d8785252eeaa4d1ac226d2ff09c8e6c543f89924bb65f55ef14729d5c8a6a66398e41ba174be971 + checksum: 10c0/38fee2d55240f91a5e6ea0684a4bd94e6f4c56fab9b6a20d9ebef26dcdd17ed6c9a42bf1804c7bcf135a89c6882659baecede6d885dcead4a167d5e3337c9764 languageName: node linkType: hard @@ -7649,8 +7649,8 @@ __metadata: "@noble/hashes": "npm:^1.4.0" "@scure/base": "npm:^1.1.6" "@snort/shared": "npm:^1.0.17" - "@snort/system": "npm:^1.5.3" - "@snort/system-react": "npm:^1.5.4" + "@snort/system": "npm:^1.5.6" + "@snort/system-react": "npm:^1.5.6" "@snort/system-wasm": "npm:^1.0.5" "@snort/wallet": "npm:^0.2.0" "@snort/worker-relay": "npm:^1.3.0"