@aws-crypto/caching-materials-manager-browser
Advanced tools
Comparing version 0.1.0-preview.2 to 0.1.0-preview.3
@@ -20,2 +20,3 @@ "use strict"; | ||
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser"); | ||
const util_base64_browser_1 = require("@aws-sdk/util-base64-browser"); | ||
const web_crypto_backend_1 = require("@aws-crypto/web-crypto-backend"); | ||
@@ -36,3 +37,3 @@ const sha512_1 = require("./sha512"); | ||
*/ | ||
const { partition = util_utf8_browser_1.toUtf8(web_crypto_backend_1.synchronousRandomValues(64)) } = input; | ||
const { partition = util_base64_browser_1.toBase64(web_crypto_backend_1.synchronousRandomValues(64)) } = input; | ||
cache_material_1.decorateProperties(this, { | ||
@@ -46,2 +47,2 @@ ...input, | ||
exports.WebCryptoCachingMaterialsManager = WebCryptoCachingMaterialsManager; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FjaGluZ19tYXRlcmlhbHNfbWFuYWdlcl9icm93c2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2NhY2hpbmdfbWF0ZXJpYWxzX21hbmFnZXJfYnJvd3Nlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUE7Ozs7Ozs7Ozs7Ozs7R0FhRzs7QUFFSCwrREFTbUM7QUFDbkMseUZBT2dEO0FBQ2hELGtFQUE2RDtBQUM3RCx1RUFBd0U7QUFDeEUscUNBQWlDO0FBRWpDLE1BQU0sZUFBZSxHQUFHLDJEQUEwQyxDQUFDLDRCQUFRLEVBQUUsMEJBQU0sRUFBRSxlQUFNLENBQUMsQ0FBQTtBQUU1RixNQUFhLGdDQUFnQztJQVEzQyxZQUFhLEtBQTREO1FBa0J6RSwyQkFBc0IsR0FBb0MsdUNBQXNCLENBQTBCLGVBQWUsQ0FBQyxDQUFBO1FBQzFILHFCQUFnQixHQUFpQyxpQ0FBZ0IsQ0FBMEIsZUFBZSxDQU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RDtRQWtCekUsMkJBQXNCLEdBQW9DLHVDQUFzQixDQUEwQixlQUFlLENBQUMsQ0FBQTtRQUMxSCxxQkFBZ0IsR0FBaUMsaUNBQWdCLENBQTBCLGVBQWUsQ0FBQyxDQUFBO1FBQzNHLGlDQUE0QixHQUFHLDRDQUEyQixFQUEyQixDQUFBO1FBbkJuRixNQUFNLHVCQUF1QixHQUFHLEtBQUssQ0FBQyxnQkFBZ0IsWUFBWSw4Q0FBZ0I7WUFDaEYsQ0FBQyxDQUFDLElBQUksMkVBQTZDLENBQUMsS0FBSyxDQUFDLGdCQUFnQixDQUFDO1lBQzNFLENBQUMsQ0FBZ0QsS0FBSyxDQUFDLGdCQUFnQixDQUFBO1FBRXpFOzs7V0FHRztRQUNILE1BQU0sRUFBRSxTQUFTLEdBQUcsOEJBQVEsQ0FBQyw0Q0FBdUIsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFFLEdBQUcsS0FBSyxDQUFBO1FBRW5FLG1DQUFrQixDQUFDLElBQUksRUFBRTtZQUN2QixHQUFHLEtBQUs7WUFDUix1QkFBdUI7WUFDdkIsU0FBUztTQUNWLENBQUMsQ0FBQTtJQUNKLENBQUM7Q0FLRjtBQTdCRCw0RUE2QkMifQ== |
export * from './caching_materials_manager_browser'; | ||
export { getLocalCryptographicMaterialsCache } from '@aws-crypto/cache-material'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -21,2 +21,4 @@ "use strict"; | ||
__export(require("./caching_materials_manager_browser")); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7Ozs7Ozs7Ozs7O0dBYUc7Ozs7O0FBRUgseURBQW1EIn0= | ||
var cache_material_1 = require("@aws-crypto/cache-material"); | ||
exports.getLocalCryptographicMaterialsCache = cache_material_1.getLocalCryptographicMaterialsCache; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBOzs7Ozs7Ozs7Ozs7O0dBYUc7Ozs7O0FBRUgseURBQW1EO0FBQ25ELDZEQUFnRjtBQUF2RSwrREFBQSxtQ0FBbUMsQ0FBQSJ9 |
@@ -21,2 +21,3 @@ /* | ||
import { fromUtf8, toUtf8 } from '@aws-sdk/util-utf8-browser'; | ||
import { toBase64 } from '@aws-sdk/util-base64-browser'; | ||
import { synchronousRandomValues } from '@aws-crypto/web-crypto-backend'; | ||
@@ -37,3 +38,3 @@ import { sha512 } from './sha512'; | ||
*/ | ||
const { partition = toUtf8(synchronousRandomValues(64)) } = input; | ||
const { partition = toBase64(synchronousRandomValues(64)) } = input; | ||
decorateProperties(this, { | ||
@@ -46,2 +47,2 @@ ...input, | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FjaGluZ19tYXRlcmlhbHNfbWFuYWdlcl9icm93c2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2NhY2hpbmdfbWF0ZXJpYWxzX21hbmFnZXJfYnJvd3Nlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7Ozs7Ozs7OztHQWFHO0FBRUgsT0FBTyxFQUNvQixxQ0FBcUM7QUFDOUQsa0JBQWtCLEVBQ2xCLHNCQUFzQixFQUN0QixnQkFBZ0IsRUFDaEIsMkJBQTJCLEVBQzNCLDBDQUEwQyxFQUczQyxNQUFNLDRCQUE0QixDQUFBO0FBQ25DLE9BQU8sRUFDc0IscUNBQXFDO0FBQ2hFLDZDQUE2QyxFQUNwQ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zNHLGlDQUE0QixHQUFHLDJCQUEyQixFQUEyQixDQUFBO1FBbkJuRixNQUFNLHVCQUF1QixHQUFHLEtBQUssQ0FBQyxnQkFBZ0IsWUFBWSxnQkFBZ0I7WUFDaEYsQ0FBQyxDQUFDLElBQUksNkNBQTZDLENBQUMsS0FBSyxDQUFDLGdCQUFnQixDQUFDO1lBQzNFLENBQUMsQ0FBZ0QsS0FBSyxDQUFDLGdCQUFnQixDQUFBO1FBRXpFOzs7V0FHRztRQUNILE1BQU0sRUFBRSxTQUFTLEdBQUcsUUFBUSxDQUFDLHVCQUF1QixDQUFDLEVBQUUsQ0FBQyxDQUFDLEVBQUUsR0FBRyxLQUFLLENBQUE7UUFFbkUsa0JBQWtCLENBQUMsSUFBSSxFQUFFO1lBQ3ZCLEdBQUcsS0FBSztZQUNSLHVCQUF1QjtZQUN2QixTQUFTO1NBQ1YsQ0FBQyxDQUFBO0lBQ0osQ0FBQztDQUtGIn0= |
export * from './caching_materials_manager_browser'; | ||
export { getLocalCryptographicMaterialsCache } from '@aws-crypto/cache-material'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -16,2 +16,3 @@ /* | ||
export * from './caching_materials_manager_browser'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7R0FhRztBQUVILGNBQWMscUNBQXFDLENBQUEifQ== | ||
export { getLocalCryptographicMaterialsCache } from '@aws-crypto/cache-material'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7Ozs7R0FhRztBQUVILGNBQWMscUNBQXFDLENBQUE7QUFDbkQsT0FBTyxFQUFFLG1DQUFtQyxFQUFFLE1BQU0sNEJBQTRCLENBQUEifQ== |
@@ -6,2 +6,13 @@ # Change Log | ||
# [0.1.0-preview.3](/compare/@aws-crypto/caching-materials-manager-browser@0.1.0-preview.2...@aws-crypto/caching-materials-manager-browser@0.1.0-preview.3) (2019-08-08) | ||
### Bug Fixes | ||
* caching cmm export and material (#186) d2b352c, closes #186 | ||
# [0.1.0-preview.2](/compare/@aws-crypto/caching-materials-manager-browser@0.1.0-preview.1...@aws-crypto/caching-materials-manager-browser@0.1.0-preview.2) (2019-07-24) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@aws-crypto/caching-materials-manager-browser", | ||
"version": "0.1.0-preview.2", | ||
"version": "0.1.0-preview.3", | ||
"scripts": { | ||
@@ -19,6 +19,6 @@ "prepublishOnly": "npm run build", | ||
"dependencies": { | ||
"@aws-crypto/cache-material": "^0.1.0-preview.2", | ||
"@aws-crypto/material-management-browser": "^0.1.0-preview.2", | ||
"@aws-crypto/serialize": "^0.1.0-preview.2", | ||
"@aws-crypto/web-crypto-backend": "^0.1.0-preview.2", | ||
"@aws-crypto/cache-material": "^0.1.0-preview.3", | ||
"@aws-crypto/material-management-browser": "^0.1.0-preview.3", | ||
"@aws-crypto/serialize": "^0.1.0-preview.3", | ||
"@aws-crypto/web-crypto-backend": "^0.1.0-preview.3", | ||
"@aws-sdk/util-base64-browser": "0.1.0-preview.1", | ||
@@ -63,3 +63,3 @@ "tslib": "^1.9.3" | ||
}, | ||
"gitHead": "970dbfad262186db90bd9ad2eba7a36d8a54ca18" | ||
"gitHead": "698180f30c85ef77a5739ebadd676d4b41ad441f" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
390797
218