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

Commit 49440cb

Browse files
committed
Buffer in AptosPriceServiceConnection
1 parent 0698f24 commit 49440cb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pyth-aptos-js/src/AptosPriceServiceConnection.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { PriceServiceConnection, HexString } from "@pythnetwork/pyth-common-js";
22
import { BCS } from "aptos";
3+
import { Buffer } from "buffer";
34

45
export class AptosPriceServiceConnection extends PriceServiceConnection {
56
/**

pyth-aptos-js/src/examples/AptosRelay.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import yargs from "yargs";
22
import { hideBin } from "yargs/helpers";
3-
43
import { AptosPriceServiceConnection } from "../index";
54
import { AptosAccount, AptosClient, TxnBuilderTypes } from "aptos";
6-
import { Buffer } from "buffer";
75

86
const APTOS_KEY = "APTOS_KEY";
97

0 commit comments

Comments
 (0)