Skip to content

Commit

Permalink
Merge pull request #126 from dmatuszczak/SP-1109
Browse files Browse the repository at this point in the history
SP-1109 Custom npx command to generate token
  • Loading branch information
bobbrodie authored Dec 2, 2024
2 parents 37b8428 + f1974f8 commit db4f571
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions bin/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env node

// eslint-disable-next-line @typescript-eslint/no-require-imports
require('../dist/setup/BitPaySetup');
7 changes: 5 additions & 2 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"name": "bitpay-sdk",
"version": "6.2.2",
"version": "6.3.0",
"description": "Complete version of the NodeJS library for the new cryptographically secure BitPay API",
"engines": {
"node": ">=18.0.0 <23.0.0"
},
"main": "dist/index",
"typings": "dist/index",
"bin": "./bin/index.js",
"files": [
"dist/**/*.js",
"dist/**/*.d.ts"
Expand Down
2 changes: 1 addition & 1 deletion src/Env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export const Prod = 'PROD';
export const TestUrl = 'https://test.bitpay.com/';
export const ProdUrl = 'https://bitpay.com/';
export const BitpayApiVersion = '2.0.0';
export const BitpayPluginInfo = 'BitPay_NodeJs_Client_v6.2.2';
export const BitpayPluginInfo = 'BitPay_NodeJs_Client_v6.3.0';
export const BitpayApiFrame = 'std';
export const BitpayApiFrameVersion = '1.0.0';

Expand Down

0 comments on commit db4f571

Please sign in to comment.