tkms 0.11.1 → 0.12.2

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.
package/LICENSE ADDED
@@ -0,0 +1,28 @@
1
+ BSD 3-Clause Clear License
2
+
3
+ Copyright © 2024 ZAMA.
4
+ All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without modification,
7
+ are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice, this
13
+ list of conditions and the following disclaimer in the documentation and/or other
14
+ materials provided with the distribution.
15
+
16
+ 3. Neither the name of ZAMA nor the names of its contributors may be used to endorse
17
+ or promote products derived from this software without specific prior written permission.
18
+
19
+ NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS LICENSE.
20
+ THIS SOFTWARE IS PROVIDED BY THE ZAMA AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
21
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
22
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
23
+ ZAMA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
24
+ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
26
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
28
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package/kms_lib.d.ts CHANGED
@@ -393,6 +393,8 @@ export interface InitOutput {
393
393
  readonly __wbg_client_free: (a: number, b: number) => void;
394
394
  readonly __wbg_ciphertexthandle_free: (a: number, b: number) => void;
395
395
  readonly __wbg_parseduserdecryptionrequest_free: (a: number, b: number) => void;
396
+ readonly __wbg_publicsigkey_free: (a: number, b: number) => void;
397
+ readonly __wbg_privatesigkey_free: (a: number, b: number) => void;
396
398
  readonly __wbg_privateenckeymlkem512_free: (a: number, b: number) => void;
397
399
  readonly __wbg_publicenckeymlkem512_free: (a: number, b: number) => void;
398
400
  readonly ml_kem_pke_pk_len: () => number;
@@ -417,8 +419,6 @@ export interface InitOutput {
417
419
  readonly ml_kem_pke_decrypt: (a: number, b: number, c: number) => [number, number];
418
420
  readonly process_user_decryption_resp_from_js: (a: number, b: any, c: any, d: any, e: number, f: number, g: number) => [number, number, number, number];
419
421
  readonly process_user_decryption_resp: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => [number, number, number, number];
420
- readonly __wbg_publicsigkey_free: (a: number, b: number) => void;
421
- readonly __wbg_privatesigkey_free: (a: number, b: number) => void;
422
422
  readonly __wbg_requestid_free: (a: number, b: number) => void;
423
423
  readonly __wbg_get_requestid_request_id: (a: number) => [number, number];
424
424
  readonly __wbg_typedciphertext_free: (a: number, b: number) => void;
package/kms_lib_bg.wasm CHANGED
Binary file
package/package.json CHANGED
@@ -4,8 +4,13 @@
4
4
  "collaborators": [
5
5
  "Zama"
6
6
  ],
7
- "version": "0.11.1",
7
+ "description": "Key Management System for the Zama Protocol.",
8
+ "version": "0.12.2",
8
9
  "license": "BSD-3-Clause-Clear",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/zama-ai/kms"
13
+ },
9
14
  "files": [
10
15
  "kms_lib_bg.wasm",
11
16
  "kms_lib.js",