@polkadot/wasm-crypto-wasm
Advanced tools
Comparing version 6.2.2 to 6.2.3
// Copyright 2019-2022 @polkadot/wasm-crypto-wasm authors & contributors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
import { base64Decode, unzlibSync } from '@polkadot/wasm-util'; | ||
import { bytes, sizeUncompressed } from "./cjs/bytes.js"; | ||
import { bytes, lenIn, lenOut } from "./cjs/bytes.js"; | ||
export { packageInfo } from "./packageInfo.js"; | ||
@@ -16,2 +16,2 @@ /** | ||
export const wasmBytes = unzlibSync(base64Decode(bytes), new Uint8Array(sizeUncompressed)); | ||
export const wasmBytes = unzlibSync(base64Decode(bytes, new Uint8Array(lenIn)), new Uint8Array(lenOut)); |
@@ -32,3 +32,3 @@ "use strict"; | ||
*/ | ||
const wasmBytes = (0, _wasmUtil.unzlibSync)((0, _wasmUtil.base64Decode)(_bytes.bytes), new Uint8Array(_bytes.sizeUncompressed)); | ||
const wasmBytes = (0, _wasmUtil.unzlibSync)((0, _wasmUtil.base64Decode)(_bytes.bytes, new Uint8Array(_bytes.lenIn)), new Uint8Array(_bytes.lenOut)); | ||
exports.wasmBytes = wasmBytes; |
@@ -6,4 +6,4 @@ // Copyright 2019-2022 @polkadot/wasm-crypto-wasm authors & contributors | ||
export declare const sizeCompressed: number; | ||
export declare const lenIn: number; | ||
export declare const sizeUncompressed: number; | ||
export declare const lenOut: number; |
@@ -14,4 +14,4 @@ "use strict"; | ||
type: 'cjs', | ||
version: '6.2.2' | ||
version: '6.2.3' | ||
}; | ||
exports.packageInfo = packageInfo; |
@@ -6,4 +6,4 @@ // Copyright 2019-2022 @polkadot/wasm-crypto-wasm authors & contributors | ||
export declare const sizeCompressed: number; | ||
export declare const lenIn: number; | ||
export declare const sizeUncompressed: number; | ||
export declare const lenOut: number; |
@@ -6,4 +6,4 @@ // Copyright 2019-2022 @polkadot/wasm-crypto-wasm authors & contributors | ||
export const sizeCompressed = 0; | ||
export const lenIn = 0; | ||
export const sizeUncompressed = 0; | ||
export const lenOut = 0; |
@@ -20,3 +20,3 @@ { | ||
"type": "module", | ||
"version": "6.2.2", | ||
"version": "6.2.3", | ||
"main": "./cjs/index.js", | ||
@@ -57,3 +57,2 @@ "module": "./index.js", | ||
}, | ||
"./mod.d.ts": "./mod.d.ts", | ||
"./package.json": "./package.json", | ||
@@ -73,3 +72,3 @@ "./packageInfo.js": { | ||
"@babel/runtime": "^7.18.6", | ||
"@polkadot/wasm-util": "6.2.2" | ||
"@polkadot/wasm-util": "6.2.3" | ||
}, | ||
@@ -76,0 +75,0 @@ "peerDependencies": { |
@@ -8,3 +8,3 @@ // Copyright 2017-2022 @polkadot/wasm-crypto-wasm authors & contributors | ||
type: 'esm', | ||
version: '6.2.2' | ||
version: '6.2.3' | ||
}; |
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
236319
23
1043
+ Added@polkadot/wasm-util@6.2.3(transitive)
- Removed@polkadot/wasm-util@6.2.2(transitive)
Updated@polkadot/wasm-util@6.2.3