Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Commit 2050df3

Browse files
committed
Add Buffer to evm
1 parent 49440cb commit 2050df3

File tree

3 files changed

+153
-18
lines changed

3 files changed

+153
-18
lines changed

pyth-evm-js/package-lock.json

Lines changed: 150 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyth-evm-js/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"yargs": "^17.4.1"
5050
},
5151
"dependencies": {
52-
"@pythnetwork/pyth-common-js": "^0.5.0"
52+
"@pythnetwork/pyth-common-js": "^0.5.0",
53+
"buffer": "^6.0.3"
5354
}
5455
}

pyth-evm-js/src/EvmPriceServiceConnection.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { PriceServiceConnection, HexString } from "@pythnetwork/pyth-common-js";
2+
import { Buffer } from "buffer";
23

34
export class EvmPriceServiceConnection extends PriceServiceConnection {
45
/**

0 commit comments

Comments
 (0)