@toruslabs/metadata-helpers
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -162,2 +162,4 @@ module.exports = | ||
__webpack_require__.d(__webpack_exports__, "encParamsBufToHex", function() { return /* reexport */ encParamsBufToHex; }); | ||
__webpack_require__.d(__webpack_exports__, "getAndDecryptData", function() { return /* reexport */ getAndDecryptData; }); | ||
__webpack_require__.d(__webpack_exports__, "encryptAndSetData", function() { return /* reexport */ encryptAndSetData; }); | ||
__webpack_require__.d(__webpack_exports__, "setTorusShare", function() { return /* reexport */ setTorusShare; }); | ||
@@ -376,3 +378,2 @@ __webpack_require__.d(__webpack_exports__, "setDeviceShare", function() { return /* reexport */ setDeviceShare; }); | ||
} | ||
function getAndDecryptData(_x, _x2, _x3) { | ||
@@ -379,0 +380,0 @@ return _getAndDecryptData.apply(this, arguments); |
{ | ||
"name": "@toruslabs/metadata-helpers", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "Helper methods for metadata", | ||
@@ -5,0 +5,0 @@ "main": "dist/metadataHelpers.cjs.js", |
@@ -11,2 +11,4 @@ import { Ecies } from "@toruslabs/eccrypto"; | ||
export declare function encParamsBufToHex(encParams: Ecies): EciesHex; | ||
export declare function getAndDecryptData<T>(m: MetadataStorageLayer, privKeyHex: string, namespace: string): Promise<Record<string, T> | null>; | ||
export declare function encryptAndSetData(m: MetadataStorageLayer, privKeyHex: string, d: Record<string, unknown>, namespace: string): Promise<void>; | ||
export declare function setTorusShare(m: MetadataStorageLayer, webAuthnPubKey: PubKeyParams, webAuthnRefHex: string, subspace: string, subspaceData: unknown): Promise<void>; | ||
@@ -13,0 +15,0 @@ export declare function setDeviceShare(m: MetadataStorageLayer, webAuthnRefHex: string, subspace: string, subspaceData: unknown): Promise<void>; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
908478
4633