wallaby-cash 3.16.1 → 3.17.0
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/dist/helpers/bytes.d.ts +6 -0
- package/dist/index.cjs +11 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -11
- package/dist/index.mjs.map +1 -1
- package/dist/lib/auth/authenticator.native.d.ts +10 -0
- package/dist/lib/auth/passkey.service.base.d.ts +36 -3
- package/dist/package.json +4 -4
- package/dist/types/error-response-codes.d.ts +2 -1
- package/dist/types/passkey-error-codes.d.ts +2 -0
- package/dist/types/storage.d.ts +1 -0
- package/package.json +4 -4
package/dist/helpers/bytes.d.ts
CHANGED
|
@@ -35,3 +35,9 @@ export declare function u8aEquals(a: Uint8Array, b: Uint8Array): boolean;
|
|
|
35
35
|
* from context that timing safety doesn't matter.
|
|
36
36
|
*/
|
|
37
37
|
export declare function constantTimeEqual(a: Uint8Array, b: Uint8Array): boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Overwrites a byte buffer with zeros in place, for secrets that should not linger in memory once used.
|
|
40
|
+
* Accepts an `ArrayBuffer` or any `ArrayBuffer` view; anything else (e.g. a string, which is immutable) is left as is.
|
|
41
|
+
* @param value The buffer to zero.
|
|
42
|
+
*/
|
|
43
|
+
export declare function wipeBytes(value: unknown): void;
|