Skip to content

Commit db4f571

Browse files
authored
Merge pull request #126 from dmatuszczak/SP-1109
SP-1109 Custom npx command to generate token
2 parents 37b8428 + f1974f8 commit db4f571

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

bin/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env node
2+
3+
// eslint-disable-next-line @typescript-eslint/no-require-imports
4+
require('../dist/setup/BitPaySetup');

package-lock.json

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
22
"name": "bitpay-sdk",
3-
"version": "6.2.2",
3+
"version": "6.3.0",
44
"description": "Complete version of the NodeJS library for the new cryptographically secure BitPay API",
55
"engines": {
66
"node": ">=18.0.0 <23.0.0"
77
},
88
"main": "dist/index",
99
"typings": "dist/index",
10+
"bin": "./bin/index.js",
1011
"files": [
1112
"dist/**/*.js",
1213
"dist/**/*.d.ts"

src/Env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export const Prod = 'PROD';
33
export const TestUrl = 'https://test.bitpay.com/';
44
export const ProdUrl = 'https://bitpay.com/';
55
export const BitpayApiVersion = '2.0.0';
6-
export const BitpayPluginInfo = 'BitPay_NodeJs_Client_v6.2.2';
6+
export const BitpayPluginInfo = 'BitPay_NodeJs_Client_v6.3.0';
77
export const BitpayApiFrame = 'std';
88
export const BitpayApiFrameVersion = '1.0.0';
99

0 commit comments

Comments
 (0)