@polkadot/wasm-crypto-wasm
Advanced tools
Comparing version 6.1.3 to 6.1.4-0
@@ -16,3 +16,3 @@ "use strict"; | ||
var _bytes = require("./cjs/bytes"); | ||
var _bytes = require("./cjs/bytes.js"); | ||
@@ -19,0 +19,0 @@ var _packageInfo = require("./packageInfo"); |
@@ -14,4 +14,4 @@ "use strict"; | ||
type: 'cjs', | ||
version: '6.1.3' | ||
version: '6.1.4-0' | ||
}; | ||
exports.packageInfo = packageInfo; |
13
mod.d.ts
@@ -1,12 +0,1 @@ | ||
import './detectPackage'; | ||
export { packageInfo } from './packageInfo'; | ||
/** | ||
* @name wasmBytes | ||
* @description | ||
* The decoded WASM interface as exposed by this package. | ||
* | ||
* The build process will output into cjs/* into a compressed base64 format. | ||
* Upon loading the exposed bytes will be decoded and decompressed form this | ||
* specific format and returned. | ||
*/ | ||
export declare const wasmBytes: Uint8Array; | ||
export * from './index'; |
19
mod.ts
// Copyright 2019-2022 @polkadot/wasm-crypto-wasm authors & contributors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
import './detectPackage'; | ||
import { base64Decode, unzlibSync } from '@polkadot/wasm-util'; | ||
import { bytes, sizeUncompressed } from './deno/bytes.js'; | ||
export { packageInfo } from './packageInfo'; | ||
/** | ||
* @name wasmBytes | ||
* @description | ||
* The decoded WASM interface as exposed by this package. | ||
* | ||
* The build process will output into cjs/* into a compressed base64 format. | ||
* Upon loading the exposed bytes will be decoded and decompressed form this | ||
* specific format and returned. | ||
*/ | ||
export const wasmBytes = unzlibSync(base64Decode(bytes), new Uint8Array(sizeUncompressed)); | ||
export * from './index'; |
@@ -20,3 +20,3 @@ { | ||
"type": "module", | ||
"version": "6.1.3", | ||
"version": "6.1.4-0", | ||
"main": "./cjs/index.js", | ||
@@ -47,3 +47,2 @@ "module": "./index.js", | ||
}, | ||
"./deno/deno/bytes": "./deno/deno/bytes.js", | ||
"./detectOther": { | ||
@@ -75,3 +74,3 @@ "types": "./detectOther.d.ts", | ||
"@babel/runtime": "^7.18.3", | ||
"@polkadot/wasm-util": "6.1.3" | ||
"@polkadot/wasm-util": "6.1.4-0" | ||
}, | ||
@@ -78,0 +77,0 @@ "peerDependencies": { |
@@ -8,3 +8,3 @@ // Copyright 2017-2022 @polkadot/wasm-crypto-wasm authors & contributors | ||
type: 'esm', | ||
version: '6.1.3' | ||
version: '6.1.4-0' | ||
}; |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
237058
25
1049
1
+ Added@polkadot/wasm-util@6.1.4-0(transitive)
- Removed@polkadot/wasm-util@6.1.3(transitive)
Updated@polkadot/wasm-util@6.1.4-0