diff --git a/package-lock.json b/package-lock.json index f3e355e7..6616e73e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "@smithy/types": "^4.14.3", "@smithy/util-retry": "^4.4.5", "@vrtmrz/browser-ui-kit": "0.1.0", - "@vrtmrz/livesync-commonlib": "0.3.2", + "@vrtmrz/livesync-commonlib": "0.4.0", "@vrtmrz/obsidian-plugin-kit": "0.1.7", "@vrtmrz/ui-interactions": "0.1.2", "@vrtmrz/value-store": "0.1.0", @@ -1949,9 +1949,9 @@ } }, "node_modules/@noble/secp256k1": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-3.1.0.tgz", - "integrity": "sha512-+F7iS7tUMaNGXcc9X3PjmjvuQnXEuSjCRNzVVA2xAcKXgCaP0dHYz4SFyt4FKNHef7sOP//xihowcySSS7PK9g==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/@noble/secp256k1/-/secp256k1-3.2.0.tgz", + "integrity": "sha512-Z3ZAWOTxJ0EuTuZTi7Y69iK7GgrLHh8sgm45lVDhg/b3Nk1TpAiKhick2KkZisHuupeepSkyIydN/J459SdX1w==", "license": "MIT", "funding": { "url": "https://paulmillr.com/funding/" @@ -3281,6 +3281,22 @@ "vite": "^8.0.0-beta.7 || ^8.0.0" } }, + "node_modules/@trystero-p2p/core": { + "version": "0.26.0", + "resolved": "https://registry.npmjs.org/@trystero-p2p/core/-/core-0.26.0.tgz", + "integrity": "sha512-CZpeXPgfbDdFKrGxfD98F9tn/fTjya4mQ2o/Ax6H0qpBaJXCBz5+jyPtjsYEPAAcKRK/btOatCetFiQ5qIMCOA==", + "license": "MIT" + }, + "node_modules/@trystero-p2p/nostr": { + "version": "0.26.0", + "resolved": "https://registry.npmjs.org/@trystero-p2p/nostr/-/nostr-0.26.0.tgz", + "integrity": "sha512-HArp9fonBkqFZgw3U2D823fCePQv7haKkvjtwbGRkWzy+Wo9G3cCDEnG/GENDWwzERHrhRcRacpFsFt4JpwRJQ==", + "license": "MIT", + "dependencies": { + "@noble/secp256k1": "^3.2.0", + "@trystero-p2p/core": "0.26.0" + } + }, "node_modules/@tsconfig/svelte": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/@tsconfig/svelte/-/svelte-5.0.8.tgz", @@ -4065,9 +4081,9 @@ } }, "node_modules/@vrtmrz/livesync-commonlib": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@vrtmrz/livesync-commonlib/-/livesync-commonlib-0.3.2.tgz", - "integrity": "sha512-PiKUdJUiBI4ot0AV1BjlkDoaY4Lbn9oTdEjL8FMX1qf2VCOwSnbsLoQMUr/45wmINpV31KWmqgr2zxqcYO+hpA==", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/@vrtmrz/livesync-commonlib/-/livesync-commonlib-0.4.0.tgz", + "integrity": "sha512-2bhkrd0rRWSiy90rjOxpaO01Ei2V9VSwifzv4ePUttxrzt195zjWNZCzW9ZMvJvAtyPoifShilW0J4kig4oKFA==", "license": "MIT", "dependencies": { "@aws-crypto/sha256-js": "5.2.0", @@ -4077,7 +4093,7 @@ "@smithy/middleware-apply-body-checksum": "^4.3.9", "@smithy/types": "^4.14.3", "@smithy/util-retry": "^4.4.5", - "@trystero-p2p/nostr": "0.25.3", + "@trystero-p2p/nostr": "0.26.0", "@vrtmrz/value-store": "0.1.0", "diff-match-patch": "^1.0.5", "events": "^3.3.0", @@ -4115,22 +4131,6 @@ } } }, - "node_modules/@vrtmrz/livesync-commonlib/node_modules/@trystero-p2p/core": { - "version": "0.25.3", - "resolved": "https://registry.npmjs.org/@trystero-p2p/core/-/core-0.25.3.tgz", - "integrity": "sha512-lQKNq/ha+vF6kQZrpaXJGzlzxLF/Fhizoy5dwJUYQlkqRrbPup/Jov2EpPX/CPr2X+f79HxVzonkeni3MxmCuQ==", - "license": "MIT" - }, - "node_modules/@vrtmrz/livesync-commonlib/node_modules/@trystero-p2p/nostr": { - "version": "0.25.3", - "resolved": "https://registry.npmjs.org/@trystero-p2p/nostr/-/nostr-0.25.3.tgz", - "integrity": "sha512-nZV9Fl/GXuhIkJSQ+wIkdMoRLO1oSTUL/+vZorukaojeAdOpT/61e8b9Vzbt8L1ktMTaGPEJHw2BG/B5BCwBuw==", - "license": "MIT", - "dependencies": { - "@noble/secp256k1": "^3.1.0", - "@trystero-p2p/core": "0.25.3" - } - }, "node_modules/@vrtmrz/livesync-commonlib/node_modules/minimatch": { "version": "11.0.4", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.4.tgz", diff --git a/package.json b/package.json index 681ef357..0bcf3773 100644 --- a/package.json +++ b/package.json @@ -211,7 +211,7 @@ "@smithy/types": "^4.14.3", "@smithy/util-retry": "^4.4.5", "@vrtmrz/browser-ui-kit": "0.1.0", - "@vrtmrz/livesync-commonlib": "0.3.2", + "@vrtmrz/livesync-commonlib": "0.4.0", "@vrtmrz/obsidian-plugin-kit": "0.1.7", "@vrtmrz/ui-interactions": "0.1.2", "@vrtmrz/value-store": "0.1.0", diff --git a/updates.md b/updates.md index b13fbecf..67877b6a 100644 --- a/updates.md +++ b/updates.md @@ -41,6 +41,14 @@ Earlier releases remain available in the 1.0 release history, the 1.0 preview hi before resuming P2P synchronisation. The updated transport uses Trystero 0.26.0 and cannot exchange data with the previous transport. +### Fixed + +#### Synchronisation + +- New saves record the byte length of the stored content, preventing stale host + file-size information from causing a receiving device to reject the file. (#1324) + - Existing incorrect Metadata needs explicit repair. + ## 1.0.45 5th November, 2026