node-tkms 0.11.0-rc5 → 0.11.0-rc7
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/kms_lib.d.ts +6 -6
- package/kms_lib.js +10 -10
- package/kms_lib_bg.wasm +0 -0
- package/package.json +1 -1
package/kms_lib.d.ts
CHANGED
|
@@ -190,8 +190,8 @@ export class ReencryptionRequest {
|
|
|
190
190
|
private constructor();
|
|
191
191
|
free(): void;
|
|
192
192
|
/**
|
|
193
|
-
* The 32 Byte / 256 Bit ID of the user decryption request, without `0x`
|
|
194
|
-
* Future queries for the result must use this request ID.
|
|
193
|
+
* The 32 Byte / 256 Bit ID of the user decryption request, without `0x`
|
|
194
|
+
* prefix. Future queries for the result must use this request ID.
|
|
195
195
|
*/
|
|
196
196
|
request_id?: RequestId;
|
|
197
197
|
/**
|
|
@@ -199,8 +199,8 @@ export class ReencryptionRequest {
|
|
|
199
199
|
*/
|
|
200
200
|
typed_ciphertexts: (TypedCiphertext)[];
|
|
201
201
|
/**
|
|
202
|
-
* The 32 Byte / 256 Bit key id to use for decryption. This is the request_id
|
|
203
|
-
* generation
|
|
202
|
+
* The 32 Byte / 256 Bit key id to use for decryption. This is the request_id
|
|
203
|
+
* used for key generation
|
|
204
204
|
*/
|
|
205
205
|
key_id?: RequestId;
|
|
206
206
|
/**
|
|
@@ -267,8 +267,8 @@ export class ReencryptionResponsePayload {
|
|
|
267
267
|
degree: number;
|
|
268
268
|
}
|
|
269
269
|
/**
|
|
270
|
-
* Simple response to return a 32 Byte / 256 Bit ID, to be used to retrieve the
|
|
271
|
-
* later on. This string does NOT contain a `0x` prefix.
|
|
270
|
+
* Simple response to return a 32 Byte / 256 Bit ID, to be used to retrieve the
|
|
271
|
+
* computed result later on. This string does NOT contain a `0x` prefix.
|
|
272
272
|
*/
|
|
273
273
|
export class RequestId {
|
|
274
274
|
private constructor();
|
package/kms_lib.js
CHANGED
|
@@ -972,8 +972,8 @@ class ReencryptionRequest {
|
|
|
972
972
|
wasm.__wbg_reencryptionrequest_free(ptr, 0);
|
|
973
973
|
}
|
|
974
974
|
/**
|
|
975
|
-
* The 32 Byte / 256 Bit ID of the user decryption request, without `0x`
|
|
976
|
-
* Future queries for the result must use this request ID.
|
|
975
|
+
* The 32 Byte / 256 Bit ID of the user decryption request, without `0x`
|
|
976
|
+
* prefix. Future queries for the result must use this request ID.
|
|
977
977
|
* @returns {RequestId | undefined}
|
|
978
978
|
*/
|
|
979
979
|
get request_id() {
|
|
@@ -981,8 +981,8 @@ class ReencryptionRequest {
|
|
|
981
981
|
return ret === 0 ? undefined : RequestId.__wrap(ret);
|
|
982
982
|
}
|
|
983
983
|
/**
|
|
984
|
-
* The 32 Byte / 256 Bit ID of the user decryption request, without `0x`
|
|
985
|
-
* Future queries for the result must use this request ID.
|
|
984
|
+
* The 32 Byte / 256 Bit ID of the user decryption request, without `0x`
|
|
985
|
+
* prefix. Future queries for the result must use this request ID.
|
|
986
986
|
* @param {RequestId | undefined} [arg0]
|
|
987
987
|
*/
|
|
988
988
|
set request_id(arg0) {
|
|
@@ -1013,8 +1013,8 @@ class ReencryptionRequest {
|
|
|
1013
1013
|
wasm.__wbg_set_reencryptionrequest_typed_ciphertexts(this.__wbg_ptr, ptr0, len0);
|
|
1014
1014
|
}
|
|
1015
1015
|
/**
|
|
1016
|
-
* The 32 Byte / 256 Bit key id to use for decryption. This is the request_id
|
|
1017
|
-
* generation
|
|
1016
|
+
* The 32 Byte / 256 Bit key id to use for decryption. This is the request_id
|
|
1017
|
+
* used for key generation
|
|
1018
1018
|
* @returns {RequestId | undefined}
|
|
1019
1019
|
*/
|
|
1020
1020
|
get key_id() {
|
|
@@ -1022,8 +1022,8 @@ class ReencryptionRequest {
|
|
|
1022
1022
|
return ret === 0 ? undefined : RequestId.__wrap(ret);
|
|
1023
1023
|
}
|
|
1024
1024
|
/**
|
|
1025
|
-
* The 32 Byte / 256 Bit key id to use for decryption. This is the request_id
|
|
1026
|
-
* generation
|
|
1025
|
+
* The 32 Byte / 256 Bit key id to use for decryption. This is the request_id
|
|
1026
|
+
* used for key generation
|
|
1027
1027
|
* @param {RequestId | undefined} [arg0]
|
|
1028
1028
|
*/
|
|
1029
1029
|
set key_id(arg0) {
|
|
@@ -1333,8 +1333,8 @@ const RequestIdFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
|
1333
1333
|
? { register: () => {}, unregister: () => {} }
|
|
1334
1334
|
: new FinalizationRegistry(ptr => wasm.__wbg_requestid_free(ptr >>> 0, 1));
|
|
1335
1335
|
/**
|
|
1336
|
-
* Simple response to return a 32 Byte / 256 Bit ID, to be used to retrieve the
|
|
1337
|
-
* later on. This string does NOT contain a `0x` prefix.
|
|
1336
|
+
* Simple response to return a 32 Byte / 256 Bit ID, to be used to retrieve the
|
|
1337
|
+
* computed result later on. This string does NOT contain a `0x` prefix.
|
|
1338
1338
|
*/
|
|
1339
1339
|
class RequestId {
|
|
1340
1340
|
|
package/kms_lib_bg.wasm
CHANGED
|
Binary file
|