New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@socialgouv/e2esdk-client

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@socialgouv/e2esdk-client - npm Package Compare versions

Comparing version

to
1.0.0-beta.25

2

dist/index.d.ts

@@ -7,3 +7,3 @@ import { PermissionFlags } from '@socialgouv/e2esdk-api';

serverURL: string;
serverPublicKey: KeyType;
serverSignaturePublicKey: KeyType;
handleNotifications?: boolean;

@@ -10,0 +10,0 @@ handleSessionRefresh?: boolean;

@@ -87,3 +87,3 @@ import initOpaqueClient, { Registration, Login } from '@47ng/opaque-client';

serverURL: config.serverURL,
serverPublicKey: this.decode(config.serverPublicKey),
serverSignaturePublicKey: this.decode(config.serverSignaturePublicKey),
handleNotifications: config.handleNotifications ?? true,

@@ -100,3 +100,3 @@ handleSessionRefresh: config.handleSessionRefresh ?? true,

encryptionKey: "e2esdk-client-localStateSync-encryptionKey8",
namespace: [config.serverURL, config.serverPublicKey].join(":"),
namespace: [config.serverURL, config.serverSignaturePublicKey].join(":"),
onStateUpdated: (incomingState) => {

@@ -1094,3 +1094,3 @@ if (incomingState.state === "idle") {

url: url.toString(),
recipientPublicKey: this.config.serverPublicKey,
recipientPublicKey: this.config.serverSignaturePublicKey,
userId: this.#state.identity.userId,

@@ -1156,3 +1156,3 @@ clientId: this.config.clientId,

body: json,
recipientPublicKey: this.config.serverPublicKey,
recipientPublicKey: this.config.serverSignaturePublicKey,
userId: this.#state.identity.userId,

@@ -1222,3 +1222,3 @@ clientId: this.config.clientId,

this.sodium,
this.config.serverPublicKey,
this.config.serverSignaturePublicKey,
signature,

@@ -1225,0 +1225,0 @@ signatureArgs

{
"name": "@socialgouv/e2esdk-client",
"version": "1.0.0-beta.24",
"version": "1.0.0-beta.25",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "description": "End-to-end encryption client",

@@ -1,1 +0,1 @@

{"$schema":"https://raw.githubusercontent.com/47ng/sceau/main/src/schemas/v1.schema.json","signature":"b8a4b916404c85853c13cef730a7386e3049b1e35969fa933bfb2acd5a8d7e65e3e0012cd1e6b4f27b7ee2c4c90cb1778067dc2e49d536088ff0b225cbfc9102","publicKey":"82182691aa16fb18c4ee5f502f9067fe486768391d6ad5baa95e7a68913c9ad9","timestamp":"2023-05-03T09:41:50.391Z","sourceURL":"https://github.com/SocialGouv/e2esdk/tree/98023fda3ce98e1b3c56bd743ba8c6cd8d37561b","buildURL":"https://github.com/SocialGouv/e2esdk/actions/runs/4870429071","manifest":[{"path":"README.md","hash":"4d045827bb62a85317c226a17beb8fcced4f7464c9cd98b1a9f5454f189d6a5e41da42f1b52183dfe66f166371e9caafb80f170af967d8c7b8999fecd6751c0b","sizeBytes":184,"signature":"73db42e6419b8c7b628e73c87229c182557c258a4ec4ed8a270cb01658fbf7b8d1289288d543bf6a8ec85c9f3836ef8d70f7cba18b38604b128b3973d5bcd009"},{"path":"dist/index.cjs","hash":"05d0651e0f60339fd965c267348246b556fb8ad66691da5d3638762e5706942d4d013f7ed1b6d7ea05855a57d8e1b766b32a43f78f88ca77bfe73e78754114e4","sizeBytes":48540,"signature":"30aacc4fa112e368009ff314a0be6c81a089973ddfe83776753edba1e13f33e1ef4d34f1a92385c8fd6d57dac0d852c8aafd1787dd5f8d0b2bfd4cafc9791c06"},{"path":"dist/index.d.ts","hash":"156c75711d80b547ddfa759c9d67e7bdba8de383ee092b396c88ca8cde796d070bd39df7cc303939be1f1692746867b6358ca2d6e7d4293110f0e99404c9bc15","sizeBytes":6173,"signature":"2e626744ce8fe5eb6bfaed6c35aa86078af4cf493125669bcc0743b441e785f5092e3940659cac8102146e1e5ffdbe6ba82d4839e4ba74d86ce76488a4d47105"},{"path":"dist/index.js","hash":"07f5d52076c39fafb430344efbf45d298e56e3e672225d7d308fb516bcaed879d53651bb6a52452b568d750c27790590724cba883f16c36bbdcb25eae5fa295a","sizeBytes":47250,"signature":"2e543f57c15db87d8f8b440c9ebd6f9afae2949fd53f231965026eef59104ab8fa2687db938ed5401c74f9790198a011ae0f15ef1e869de5deae219e9436ba08"},{"path":"package.json","hash":"ba3be826545ab3dd46177b15d02b11297870df4f130a431a7f37450261350428a953450b85832c449cc3825c4aca1a7a9a7d15aeb16ff98e0ac7e02651528ace","sizeBytes":1352,"signature":"07875032d9e1c928ac99425cf04cabfabf4b41266e072eedffa6811c8a789c20df463b93d2c697fa8cd25bde845843d4e4ff10264e07cdb083a986560afd9e02"}]}
{"$schema":"https://raw.githubusercontent.com/47ng/sceau/main/src/schemas/v1.schema.json","signature":"0d9759e5b15f98a6254c64daeb04833aae3c5295a4fd990751883cb8f37675a8232ab080b5838b17749ad598180468032eaf3bd7b911b3330b93b771f2a61405","publicKey":"82182691aa16fb18c4ee5f502f9067fe486768391d6ad5baa95e7a68913c9ad9","timestamp":"2023-05-10T23:05:20.598Z","sourceURL":"https://github.com/SocialGouv/e2esdk/tree/59aa11a9f369d6cc3ce0f5985a5e62559a2f8d58","buildURL":"https://github.com/SocialGouv/e2esdk/actions/runs/4942042281","manifest":[{"path":"README.md","hash":"4d045827bb62a85317c226a17beb8fcced4f7464c9cd98b1a9f5454f189d6a5e41da42f1b52183dfe66f166371e9caafb80f170af967d8c7b8999fecd6751c0b","sizeBytes":184,"signature":"73db42e6419b8c7b628e73c87229c182557c258a4ec4ed8a270cb01658fbf7b8d1289288d543bf6a8ec85c9f3836ef8d70f7cba18b38604b128b3973d5bcd009"},{"path":"dist/index.cjs","hash":"20bdd18f37fae1b3ebe591bb98bb375edd0c3ce5984dde8ec9b0f3f45bd463360ede7c4be71c8c55ec0de7d3c72f02edb8b6fe51155afa4ebba973471a48f32d","sizeBytes":48594,"signature":"0951700c9a7a230c73145d71a9ecf970f70b36ac8d58697f5e5722c0ae044cae5f32cc3bfc892d30892abb02a270c3ea191513c14f91178ffe3d2865e0872109"},{"path":"dist/index.d.ts","hash":"fed6d92f381f2293fdcea02490e975a2f821d0db419efa7551c4514490a35e2135d97e785ee9a58a58be3bc89134d07c9c095e6fc16983d907d002f6b04dfca0","sizeBytes":6182,"signature":"3195092302f3c0f0703fa11502c31106a09a6c772ae305afa0d599b851e5973f5448dcd29f71701c613a2e00dc480ae3275bc6063b42caa72074190ea027510e"},{"path":"dist/index.js","hash":"ec640a1d0cec4b22e9a24fbee1f43c6ab825d70e7167d5c791d4097d501b8e340a85ed8af0fccc5281416b7ad8780e7f2e31cab75402af114577c6b250f98501","sizeBytes":47304,"signature":"45b5c43357aa0e30b6c22311d61fe74c55589e2594422ec6b716417c38609a9ec13613a225216e9bf4443e6820d6b69288301cbb45fde10f02d5af22537a8702"},{"path":"package.json","hash":"8f4c43369c2790a92d07da5db601efaad029b966679f72231024c297feb699f470c8d7cdc7f565feedb4a357872ac46ef7bb09ed10cdcf45a0c3bc3c77c82233","sizeBytes":1352,"signature":"ec750e6ae7f673318f27f82f164003cf33ff5e16ebc2389ffe45421fbf6126ffa5f9ba408a982cf4b4da5ae20403799f6259aa5a77a6ddd9993bf0480dbbca0c"}]}

Sorry, the diff of this file is not supported yet