Allow for CJS file locations under cjs/** root (#326)
This commit is contained in:
@@ -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;
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
const asmJsInit = null;
|
||||
|
||||
exports.asmJsInit = asmJsInit;
|
||||
module.exports.asmJsInit = asmJsInit;
|
||||
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user