@secrecy/lib 1.69.0-feat-anonymous-upload.2 → 1.69.0-feat-anonymous-upload.3
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.
|
@@ -142,8 +142,7 @@ export class SecrecyCloudClient {
|
|
|
142
142
|
signal,
|
|
143
143
|
});
|
|
144
144
|
if (uploadData.type === 'authed' && uploadData.parts.length === 0) {
|
|
145
|
-
if (uploadData.keyPair
|
|
146
|
-
uploadData.keyPair.pub !== this.#keys.publicKey) {
|
|
145
|
+
if (uploadData.keyPair.pub !== this.#keys.publicKey) {
|
|
147
146
|
throw new Error('The public key does not match with cached key!');
|
|
148
147
|
}
|
|
149
148
|
await uploadProgress?.({
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@secrecy/lib",
|
|
3
3
|
"author": "Anonymize <anonymize@gmail.com>",
|
|
4
4
|
"description": "Anonymize Secrecy Library",
|
|
5
|
-
"version": "1.69.0-feat-anonymous-upload.
|
|
5
|
+
"version": "1.69.0-feat-anonymous-upload.3",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/anonymize-org/lib.git"
|