@blockchyp/blockchyp-ts 2.18.6 → 2.18.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_bundles/blockchyp.js +11546 -9746
- package/_bundles/blockchyp.js.map +1 -1
- package/_bundles/blockchyp.min.js +1 -1
- package/_bundles/blockchyp.min.js.map +1 -1
- package/lib/src/models.d.ts +6 -1
- package/lib/src/models.js +2 -1
- package/lib/src/models.js.map +1 -1
- package/package.json +3 -3
- package/src/models.ts +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blockchyp/blockchyp-ts",
|
|
3
|
-
"version": "2.18.
|
|
3
|
+
"version": "2.18.8",
|
|
4
4
|
"description": "BlockChyp Typescript Client",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"aes-js": "^3.1.1",
|
|
72
|
-
"axios": "^
|
|
72
|
+
"axios": "^1.7.7",
|
|
73
73
|
"base32": "^0.0.7",
|
|
74
74
|
"bn.js": "^4.11.8",
|
|
75
75
|
"buffer": "^6.0.3",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"crypto-browserify": "^3.12.0",
|
|
79
79
|
"elliptic": "^6.5.5",
|
|
80
80
|
"moment": "^2.22.2",
|
|
81
|
-
"npm": "^
|
|
81
|
+
"npm": "^10.8.3",
|
|
82
82
|
"randombytes": "^2.0.6",
|
|
83
83
|
"sha.js": "^2.4.11",
|
|
84
84
|
"stream-browserify": "^3.0.0",
|
package/src/models.ts
CHANGED
|
@@ -2359,6 +2359,12 @@ export class AuthorizationRequest {
|
|
|
2359
2359
|
*/
|
|
2360
2360
|
asyncReversals?: boolean;
|
|
2361
2361
|
|
|
2362
|
+
/**
|
|
2363
|
+
* A passthrough surcharge amount. This surcharge amount will be passed directly to the
|
|
2364
|
+
* gateway and is not directly calculated.
|
|
2365
|
+
*/
|
|
2366
|
+
passthroughSurcharge?: string;
|
|
2367
|
+
|
|
2362
2368
|
// Constructor with default values for optional fields
|
|
2363
2369
|
constructor(
|
|
2364
2370
|
timeout: number | null = null,
|
|
@@ -2428,6 +2434,7 @@ export class AuthorizationRequest {
|
|
|
2428
2434
|
simulateChipRejection: boolean = false,
|
|
2429
2435
|
simulateOutOfOrderReversal: boolean = false,
|
|
2430
2436
|
asyncReversals: boolean = false,
|
|
2437
|
+
passthroughSurcharge: string | undefined = undefined,
|
|
2431
2438
|
) {
|
|
2432
2439
|
this.timeout = timeout;
|
|
2433
2440
|
this.test = test;
|
|
@@ -2496,6 +2503,7 @@ export class AuthorizationRequest {
|
|
|
2496
2503
|
this.simulateChipRejection = simulateChipRejection;
|
|
2497
2504
|
this.simulateOutOfOrderReversal = simulateOutOfOrderReversal;
|
|
2498
2505
|
this.asyncReversals = asyncReversals;
|
|
2506
|
+
this.passthroughSurcharge = passthroughSurcharge;
|
|
2499
2507
|
}
|
|
2500
2508
|
}
|
|
2501
2509
|
|