Skip to content

Commit fae0f03

Browse files
committedFeb 16, 2025
fix: demo
1 parent f105bff commit fae0f03

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed
 

‎demo.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
const binance = require( './node-binance-api.js' );
1+
const Binance = require( './node-binance-api.js' );
22

33
async function run() {
4-
const res = await binance.futuresTime();
4+
const exchange = new Binance();
5+
const res = await exchange.futuresTime();
56
console.log( res );
67
}
78

89

9-
run();
10+
run();

0 commit comments

Comments
 (0)
Please sign in to comment.