From a30f2772765de2926919c57d7feaf5dbefb4e6b7 Mon Sep 17 00:00:00 2001 From: trevor-signal <131492920+trevor-signal@users.noreply.github.com> Date: Thu, 4 Jan 2024 17:47:46 -0500 Subject: [PATCH] Remove now-unnecessary data from prekey upload request Co-authored-by: Fedor Indutnyy --- package.json | 2 +- ts/textsecure/WebAPI.ts | 2 -- yarn.lock | 8 ++++---- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index a35ac9336aec..d8f954f71025 100644 --- a/package.json +++ b/package.json @@ -200,7 +200,7 @@ "@electron/notarize": "2.1.0", "@formatjs/intl": "2.6.7", "@mixer/parallel-prettier": "2.0.3", - "@signalapp/mock-server": "4.3.0", + "@signalapp/mock-server": "4.4.1", "@storybook/addon-a11y": "7.4.5", "@storybook/addon-actions": "7.4.5", "@storybook/addon-controls": "7.4.5", diff --git a/ts/textsecure/WebAPI.ts b/ts/textsecure/WebAPI.ts index e1d5afdbca8f..535ac68f62c8 100644 --- a/ts/textsecure/WebAPI.ts +++ b/ts/textsecure/WebAPI.ts @@ -2373,7 +2373,6 @@ export function initialize({ }; type JSONKeysType = { - identityKey: string; preKeys?: Array; pqPreKeys?: Array; pqLastResortPreKey?: JSONKyberPreKeyType; @@ -2412,7 +2411,6 @@ export function initialize({ } const keys: JSONKeysType = { - identityKey: Bytes.toBase64(genKeys.identityKey), preKeys, pqPreKeys, pqLastResortPreKey: serializeSignedPreKey(genKeys.pqLastResortPreKey), diff --git a/yarn.lock b/yarn.lock index 2a8a8cfbd25f..1cc4c1843577 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3970,10 +3970,10 @@ node-gyp-build "^4.2.3" uuid "^8.3.0" -"@signalapp/mock-server@4.3.0": - version "4.3.0" - resolved "https://registry.yarnpkg.com/@signalapp/mock-server/-/mock-server-4.3.0.tgz#501d1e0bc9f9fe811189690e7b053dfe9bac7c88" - integrity sha512-zE8+EhuKsQ0byXG1Prkw5hoH0pMySwf+AJNf2sdOTsIJSKLx8/GOP4uG3m/vSOW3m4BoAmVnpNzJryRIjpfAbw== +"@signalapp/mock-server@4.4.1": + version "4.4.1" + resolved "https://registry.yarnpkg.com/@signalapp/mock-server/-/mock-server-4.4.1.tgz#8e7dd69ae69bdf60f4f1f8609066ffc9163f16a6" + integrity sha512-aexMLAjQiEhcxLr+XhU7Rsrohgn3xMU1SdIbM1UPUIrpGQqLFfA+X+E0huQqBED6k3KgArCQ6zmy4uJ65acHVQ== dependencies: "@signalapp/libsignal-client" "^0.30.2" debug "^4.3.2"