@bootpay/backend-js
Advanced tools
@@ -24,2 +24,3 @@ import { AxiosInstance, AxiosRequestConfig } from 'axios'; | ||
| apiVersion: string; | ||
| sdkVersion: string; | ||
| constructor(); | ||
@@ -26,0 +27,0 @@ /** |
+3
-3
@@ -17,6 +17,6 @@ "use strict"; | ||
| const axios_1 = __importDefault(require("axios")); | ||
| const Package = require('../../package.json'); | ||
| class BootpayBackendNodejsResource { | ||
| constructor() { | ||
| this.apiVersion = '4.2.0'; | ||
| this.apiVersion = '4.2.2'; | ||
| this.sdkVersion = '2.0.4'; | ||
| this.mode = 'production'; | ||
@@ -63,3 +63,3 @@ this.$http = axios_1.default.create({ | ||
| config.headers['Accept'] = 'application/json'; | ||
| config.headers['BOOTPAY-SDK-VERSION'] = Package.version; | ||
| config.headers['BOOTPAY-SDK-VERSION'] = this.sdkVersion; | ||
| config.headers['BOOTPAY-API-VERSION'] = this.apiVersion; | ||
@@ -66,0 +66,0 @@ config.headers['BOOTPAY-SDK-TYPE'] = 301; |
+1
-1
| { | ||
| "name": "@bootpay/backend-js", | ||
| "version": "2.0.3", | ||
| "version": "2.0.4", | ||
| "description": "Bootpay Server Side Package for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "dist/bootpay.js", |
44278
0.03%876
0.11%