mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-07-21 14:25:42 +00:00
Bump @polkadot/dev (#636)
* Bump @polkadot/dev * Rebump dev * Add crypto polyfill * Adjust expectations
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// Copyright 2017-2022 @polkadot/ui authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
const nodeCrypto = require('crypto');
|
||||
|
||||
window.crypto = {
|
||||
getRandomValues: function (buffer) {
|
||||
return nodeCrypto.randomFillSync(buffer);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user