Skip to content

Commit 5cf7271

Browse files
author
Florian Lenz
committed
[ether.js] added uint8array shim
1 parent 9e0ce11 commit 5cf7271

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

ethereum/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
const Uint8Array = require('typedarray').Uint8Array;
2+
13
import {pangeaETHAddress} from '../vm-raw'
24
const VMProvider = require('./vmProvider');
35
const VMSigner = require('./VMSigner');

package-lock.json

+5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,8 @@
2626
"babel-plugin-jest-hoist": "^23.0.1",
2727
"babel-preset-env": "^1.7.0",
2828
"jest": "^23.1.0"
29+
},
30+
"dependencies": {
31+
"typedarray": "0.0.6"
2932
}
3033
}

0 commit comments

Comments
 (0)