Allow for CJS file locations under cjs/** root (#326)

This commit is contained in:
Jaco
2022-04-04 11:39:55 +03:00
committed by GitHub
parent 2faf907296
commit efb0c51648
5 changed files with 17 additions and 4 deletions
+1
View File
@@ -5,6 +5,7 @@
Changes:
- Update ed25519 secret key format return description
- Allow for CJS file locations under `cjs/**` root
## 5.1.1 Mar 27, 2022
@@ -0,0 +1,6 @@
// Copyright 2019-2022 @polkadot/wasm-crypto-wasm authors & contributors
// SPDX-License-Identifier: Apache-2.0
const data = require('../data.js');
module.exports = data;
+1 -1
View File
@@ -3,4 +3,4 @@
const asmJsInit = null;
exports.asmJsInit = asmJsInit;
module.exports.asmJsInit = asmJsInit;
+3 -3
View File
@@ -1,8 +1,8 @@
// Copyright 2019-2022 @polkadot/wasm-crypto-wasm authors & contributors
// SPDX-License-Identifier: Apache-2.0
exports.bytes = '';
module.exports.bytes = '';
exports.sizeCompressed = 0;
module.exports.sizeCompressed = 0;
exports.sizeUncompressed = 0;
module.exports.sizeUncompressed = 0;
@@ -0,0 +1,6 @@
// Copyright 2019-2022 @polkadot/wasm-crypto-wasm authors & contributors
// SPDX-License-Identifier: Apache-2.0
const bytes = require('../bytes.js');
module.exports = bytes;