Align x-randomvalues with webCrypto (#1782)
* Align x-randomvalues with webCrypto * Deno export from browser * export * for x-ws * export * from RN * CHANGELOG
This commit is contained in:
@@ -1,8 +1,4 @@
|
||||
// Copyright 2017-2023 @polkadot/x-textencoder authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { packageInfo } from './packageInfo.js';
|
||||
|
||||
const _TextEncoder = TextEncoder;
|
||||
|
||||
export { _TextEncoder as TextEncoder };
|
||||
export * from './browser.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2023 @polkadot/x-textencoder authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { TextEncoder, packageInfo } from './browser.js';
|
||||
export * from './browser.js';
|
||||
|
||||
Reference in New Issue
Block a user