Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moar endpoints and types #27

Open
wants to merge 40 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
c34261a
moar typescript types - for watchAddress()
edmball May 20, 2020
d6ce7bf
add watchAddress options types
edmball May 22, 2020
14115a9
Merge pull request #21 from xsats/watchAddress-types
gabidi Jun 4, 2020
7c44678
Added getMemPool
gabidi Jul 23, 2020
6a65323
Merge branch 'dev' of github.com:gabidi/cyphernode-js-sdk into dev
gabidi Jul 23, 2020
39519ef
Fix btcClient types
edmball Aug 10, 2020
07cc119
Fix lncClient types
edmball Aug 10, 2020
91d9630
Fix otsClient types
edmball Aug 10, 2020
e737a14
Address/suppress typescript complaints for build
edmball Aug 10, 2020
3baa90f
Ignore suddenly appearing supposed superagent missing declaration file
edmball Aug 10, 2020
bb85982
Merge branch 'dev' into fix/types
xsats Aug 10, 2020
73a9a95
Add missing cyphernode spend() args
edmball Oct 5, 2020
626c8dc
Make additional spend args optional
edmball Oct 5, 2020
4b01615
Add details object type to cyphernode spend confirmation
edmball Oct 6, 2020
cbd59fa
Add cn spend parameters to js client (oops)
edmball Oct 8, 2020
7efee94
addToBatch method and types
edmball Nov 9, 2020
c8afec8
Fix typo - outputId
edmball Nov 9, 2020
8576d88
Add batchSpend method and types
edmball Nov 10, 2020
9ee0136
Fix batchSpend - get not post
edmball Nov 10, 2020
09e2e17
cn batchspend does need batcherId
edmball Nov 10, 2020
3559a34
Fix batchSpend response types
edmball Nov 10, 2020
2b44eea
Add getBatchDetails method and types
edmball Nov 10, 2020
ce73bd1
Add removeFromBatch method and types
edmball Nov 10, 2020
1752afb
Make addToBatch type naming consistent with the rest
edmball Nov 10, 2020
329e5e7
fix removeFromBatchName - oops
edmball Nov 10, 2020
9359bd6
fix outputId
edmball Nov 10, 2020
fe17f4d
Improved bumpfee types
edmball Nov 13, 2020
871d2a0
Add missing txid to spendconfirmation/response
edmball Nov 13, 2020
f77ded2
Delete unused bumfeeresp type
edmball Nov 13, 2020
f4c829f
Delete unused bumfeeresp type
edmball Nov 13, 2020
c806693
Merge branch 'master' of github.com:xsats/cyphernode-js-sdk into master
edmball Nov 13, 2020
130b829
Fix batchSpend response types
edmball Nov 24, 2020
3fda005
BatchSpendResult batcherId type should be number
edmball Nov 24, 2020
4cb6cc6
batchSpend optional confTarget param
edmball Dec 7, 2020
85fd11d
Make LnPayBolt11Payload match cyphernode response
edmball Jan 26, 2021
24d331c
Add error response params to LnPayBolt11Payload
edmball Jan 26, 2021
59b77bb
getbalances method
xsats May 4, 2022
92ed460
getbalances method
xsats May 4, 2022
a1bc78f
Merge branch 'master' of github.com:xsats/cyphernode-js-sdk
xsats May 4, 2022
f50f2b8
fix getBalances method (.mine)
xsats May 4, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ scripts/
.swp
*.swp
*.pem
yarn.lock
33 changes: 32 additions & 1 deletion package-lock.json

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

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cyphernode-js-sdk",
"author": "@gabidi",
"version": "0.3.2",
"version": "0.3.4",
"keywords": [
"cyphernode",
"bitcoin",
Expand Down Expand Up @@ -35,8 +35,11 @@
},
"devDependencies": {
"@types/async": "^3.0.1",
"@types/crypto-js": "^3.1.47",
"@types/debug": "^4.1.5",
"@types/sinon": "^7.0.13",
"@types/superagent": "^4.1.9",
"@types/superagent-proxy": "^2.0.0",
"@types/uuid": "^3.4.5",
"@typescript-eslint/eslint-plugin": "^2.4.0",
"@typescript-eslint/parser": "^2.4.0",
Expand Down
Loading