Skip to content

Commit

Permalink
feat: rollback version
Browse files Browse the repository at this point in the history
  • Loading branch information
vafanassieff committed Jun 28, 2023
1 parent 67d4aa6 commit 1668ca6
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist
4 changes: 4 additions & 0 deletions example/websocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ const channels = await client.publicChannels()
console.log(channels)

await client.publicSubscribe(['futures:btc_usd:last-price'])

client.ws.on('message', (data) => {
console.log(data.toString())
})
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "@ln-markets/api",
"version": "2.0.1-0",
"version": "2.0.1",
"description": "A set of wrappers to easily communicate with LN Markets API !",
"author": "Victor Afanassieff <[email protected]>",
"license": "MIT",
"keywords": [
"ln-markets",
Expand Down Expand Up @@ -39,7 +40,9 @@
"format": "prettier --write './**/*.{ts,js}'",
"build": "tsc --build",
"type-check": "tsc --noEmit",
"test": "exit 0"
"test": "exit 0",
"prepublishOnly": "tsc",
"release": "np --no-cleanup --no-tests --no-yarn"
},
"dependencies": {
"ws": "8.13.0"
Expand All @@ -57,7 +60,7 @@
"eslint-plugin-import": "2.27.5",
"eslint-plugin-promise": "6.1.1",
"husky": "8.0.3",
"lint-staged": "13.2.2",
"lint-staged": "13.2.3",
"prettier": "2.8.8",
"typescript": "5.0.4",
"vitest": "0.32.2"
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1668ca6

Please sign in to comment.