gemini-api
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "gemini-api", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Node.js client for the Gemini cryptocurrency exchange API.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -31,5 +31,7 @@ # gemini-api | ||
websocketClient.addMarketMessageListener(data => | ||
doSomethingCool(data) | ||
); | ||
websocketClient.openMarketSocket('btcusd', () => { | ||
websocketClient.addMarketMessageListener(data => | ||
doSomethingCool(data) | ||
); | ||
}); | ||
@@ -36,0 +38,0 @@ // The methods are bound properly, so feel free to destructure them: |
27459
82