Commit Graph

48 Commits

Author SHA1 Message Date
dependabot[bot]
48ac61f1e7
Bump minimist from 1.2.5 to 1.2.6 (#70)
Some checks failed
Run Tests / run-test (push) Has been cancelled
Run Tests / coverage-check (push) Has been cancelled
Run Tests / lint-check (push) Has been cancelled
Run Tests / format-check (push) Has been cancelled
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-03 11:45:24 +00:00
Nicolas Dorier
7ee35f911e
Update README.md 2022-02-08 12:42:06 +09:00
Tim Akinbo
92cfe4342c
bump version to v0.2.5 (#63)
Some checks failed
Run Tests / run-test (push) Has been cancelled
Run Tests / coverage-check (push) Has been cancelled
Run Tests / lint-check (push) Has been cancelled
Run Tests / format-check (push) Has been cancelled
2021-05-11 15:34:54 +00:00
Andrew Camilleri
18f99d0958
Bump packages and run formatter (#62) 2021-05-11 15:03:09 +00:00
dependabot[bot]
1a505e4bd1
Bump hosted-git-info from 2.8.8 to 2.8.9 (#61) 2021-05-11 14:32:57 +00:00
dependabot[bot]
8e31ca5376
Bump lodash from 4.17.20 to 4.17.21 (#60) 2021-05-11 14:32:20 +00:00
dependabot[bot]
b586ac5c1e
Bump underscore from 1.12.0 to 1.12.1 (#59) 2021-05-11 14:29:12 +00:00
dependabot[bot]
8c88098652
Bump elliptic from 6.5.3 to 6.5.4 (#57) 2021-03-08 23:19:57 +00:00
Jonathan Underwood
60ef5b938a
100% Coverage (#56) 2021-02-08 01:40:17 +00:00
Aryan J
f8abf8d9a1
Fix Invoice.exceptionStatus type (#50) 2021-02-07 08:33:53 +00:00
Aryan J
67ea5e6236
Narrow set for Invoice.status type (#41) 2021-02-06 22:09:34 +00:00
Jonathan Underwood
d09292a7e9
Add Github Actions CI (#55) 2021-02-04 09:53:34 +00:00
Tim Akinbo
65618dc27e
update dependencies to resolve vulnerable packages (#54) 2021-02-03 11:03:47 +00:00
Jonathan Underwood
b99ba5409b
Docker for testing (#42) 2021-02-02 16:20:50 +00:00
pixelcookie11
76eeaff72a
Fixed typo (#53) 2021-02-02 07:02:39 +00:00
Tim Akinbo
53b02890a6
updated documentation on private key generation (#46) 2020-06-18 20:59:18 +00:00
dependabot[bot]
99d5fd4b35
Bump https-proxy-agent from 2.2.1 to 2.2.4 (#40)
Bumps [https-proxy-agent](https://github.com/TooTallNate/node-https-proxy-agent) from 2.2.1 to 2.2.4.
- [Release notes](https://github.com/TooTallNate/node-https-proxy-agent/releases)
- [Commits](https://github.com/TooTallNate/node-https-proxy-agent/compare/2.2.1...2.2.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-05-01 04:57:45 +00:00
dependabot[bot]
0a0038c040
Bump acorn from 5.7.3 to 5.7.4 (#39)
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-05-01 04:57:31 +00:00
Tim Akinbo
67cb31d832
use correct type assertions for invoice price (#31)
* do not dedupe packages

* assert price as any as it could realisitically be either a float or string
2019-09-27 22:37:49 +00:00
Tim Akinbo
7f18735ee1
dedupe and bump version to 0.2.4 (#30) 2019-09-27 22:05:00 +00:00
Jonathan Underwood
0170ccc774 Match Create Invoice args to BTCPayServer source code (#29) 2019-09-27 11:48:46 +00:00
Nicolas Dorier
65d503a3b5
Merge pull request #26 from junderw/fixPackages
Fix package.json
2019-08-31 00:01:05 +09:00
junderw
5f1b9357d5
Fix package.json 2019-08-30 23:39:10 +09:00
Nicolas Dorier
db7c5fe825
Merge pull request #25 from btcpayserver/dependabot/npm_and_yarn/mixin-deep-1.3.2
Bump mixin-deep from 1.3.1 to 1.3.2
2019-08-30 23:18:42 +09:00
dependabot[bot]
d94d8ce89f
Bump mixin-deep from 1.3.1 to 1.3.2
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases)
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2019-08-30 14:18:27 +00:00
nicolas.dorier
d2020e83b8
Update ESLint 2019-08-30 23:12:18 +09:00
Nicolas Dorier
9df008114d
Merge pull request #24 from PatrickLemke/bugfix-documentation
get_rates fix error in documentation
2019-08-12 13:29:23 +09:00
Patrick Lemke
f7f552f663 fix error documentation 2019-08-10 22:22:34 +02:00
Tim Akinbo
564385d1ba
bump to v0.2.3 after fixing CVE-2019-10744 (#22) 2019-07-14 10:39:10 +00:00
dependabot[bot]
d6d04e660f Bump lodash from 4.17.11 to 4.17.14 (#21)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-14 10:33:06 +00:00
Nicolas Dorier
f3ea5077a7
Merge pull request #19 from junderw/fixSyntax
Add tests, fix bugs (broken), fix syntax
2019-05-21 17:41:16 +09:00
junderw
85cf06876d
Allow for ignoring sandbox 2019-05-21 10:19:19 +09:00
junderw
f7b7e9795b
remove sleep 2019-05-21 09:57:26 +09:00
junderw
8accbffb4f
Make sure it doesn't automatically delete our key :-P 2019-05-21 09:57:26 +09:00
junderw
6c370218c2
Add browser scraping to get pairing code 2019-05-21 09:57:25 +09:00
junderw
c506084a41
Add tests (Need pairingcode fix) 2019-05-21 09:57:25 +09:00
junderw
b9429cb1ee
Fix some syntax 2019-05-21 09:57:15 +09:00
Jonathan Underwood
095114ede8 Add git repo (#18)
* Add Github link to package.json

* 0.2.2
2019-05-20 15:01:50 +00:00
Tim Akinbo
7b7d81f7e9
fix documentation (#17)
* fix installation instructions

* bump version to 0.2.1
2019-05-17 03:45:42 +00:00
Jonathan Underwood
69dc50dfdc Fix TS (#15)
* Fix TS stuff

* single quote + trailing commas for tests folder

* Specific for includes... allow for ts testing later

* Export Invoice and Rate interfaces to library user

* Use prepare

* test checks format and lint
2019-05-17 02:59:33 +00:00
Christoph Ott
b102037cf8 Typescript (#13)
* Keymanagment: new Buffer() is deprecated, use new Buffer.from() instead

Also, you only generate your initial keypair once, so every time you use the key in your app, it is not derived, from the previously keypair var, but e.g. from environment variables

* Docs: Make easier to understand, use ES6 Javascript

* added invoices api

* added semicolon and replaced lets to const

* updated only slightly for still using javascript but linted with eslint

* reworked code to typescript with async await support

* going on with ts refactoring

* going on with ts refactoring

* going on with ts refactoring

* adde sample code

* fix for typescript

* using request-promise again

* Fix: removed not needed interface
2019-05-16 00:13:24 +00:00
Christoph Ott
0124a0c059 added invoices api (#10) 2019-04-18 19:39:30 +00:00
Nadav Ivgi
100d28dfbe Update README (#7)
- Update installation instructions to use `btcpayserver/node-btcpay`

- Provide simpler copy-and-paste commands for generating private key and pairing it
2019-01-01 01:31:28 +04:00
Daniel Lutz
84832111cb Fix duplicated code in docs, fix get_rates, update .gitignore, use native Promises, remove unused bn.js node module (#6)
* Docs: Fix duplicated code

Make use of keypair variable

* Update .gitignore to include packag-lock.json

This file should be commited:
https://docs.npmjs.com/files/package-lock.json

Also added some general gitignores

* Docs: Log the keypair after generating

* Remove unused bn.js node module

* Use native Javascript Promises instead of bluebird

* Fix get_rates method by applying store_id to the requests params

This basically reverts commit 0aae9b69bd

* Add newline char to gitignore
2018-10-31 13:05:07 +00:00
Daniel Lutz
9a9f108cd2 Make documenation more easier to understand (#5)
* Keymanagment: new Buffer() is deprecated, use new Buffer.from() instead

Also, you only generate your initial keypair once, so every time you use the key in your app, it is not derived, from the previously keypair var, but e.g. from environment variables

* Docs: Make easier to understand, use ES6 Javascript
2018-10-18 14:09:36 +00:00
nicolas.dorier
0aae9b69bd fix get_rates (passing the store_id should not be needed as the call is authenticated via bitid) 2018-05-06 22:42:37 +09:00
nicolas.dorier
cb185ac901 Remove superflous / when creating invoice or asking rates. Change the API to reflect new version of rates 2018-05-06 21:35:54 +09:00
Tim Akinbo
a854f3a096
initial version 2018-04-16 18:05:21 +00:00