Bump @polkadot/dev (#636)

* Bump @polkadot/dev

* Rebump dev

* Add crypto polyfill

* Adjust expectations
This commit is contained in:
Jaco
2022-04-27 09:38:13 +02:00
committed by GitHub
parent dc023fe2c6
commit 16dbecf0d2
11 changed files with 833 additions and 619 deletions
+10
View File
@@ -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);
}
};