@stamhoofd/models 2.95.0 → 2.95.1
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.
|
@@ -129,8 +129,8 @@ class PayconiqPayment extends sql_1.QueryableModel {
|
|
|
129
129
|
static request(method, path, data = {}, auth = null, testMode) {
|
|
130
130
|
return new Promise((resolve, reject) => {
|
|
131
131
|
const jsonData = JSON.stringify(data);
|
|
132
|
-
// Payconiq switches to Wero on 2025-
|
|
133
|
-
const isWero = Date.now() > new Date('2025-
|
|
132
|
+
// Payconiq switches to Wero on 2025-10-19
|
|
133
|
+
const isWero = Date.now() > new Date('2025-10-19T02:00:00+02:00').getTime();
|
|
134
134
|
let hostname = !testMode ? 'api.payconiq.com' : 'api.ext.payconiq.com';
|
|
135
135
|
if (isWero) {
|
|
136
136
|
hostname = !testMode ? 'merchant.api.bancontact.net' : 'merchant.api.preprod.bancontact.net';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stamhoofd/models",
|
|
3
|
-
"version": "2.95.
|
|
3
|
+
"version": "2.95.1",
|
|
4
4
|
"main": "./dist/src/index.js",
|
|
5
5
|
"types": "./dist/src/index.d.ts",
|
|
6
6
|
"license": "UNLICENCED",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "3b189532ead46117b36ae6cd67b7fea5ee86ef7d"
|
|
34
34
|
}
|
|
@@ -162,8 +162,8 @@ export class PayconiqPayment extends QueryableModel {
|
|
|
162
162
|
return new Promise((resolve, reject) => {
|
|
163
163
|
const jsonData = JSON.stringify(data);
|
|
164
164
|
|
|
165
|
-
// Payconiq switches to Wero on 2025-
|
|
166
|
-
const isWero = Date.now() > new Date('2025-
|
|
165
|
+
// Payconiq switches to Wero on 2025-10-19
|
|
166
|
+
const isWero = Date.now() > new Date('2025-10-19T02:00:00+02:00').getTime();
|
|
167
167
|
let hostname = !testMode ? 'api.payconiq.com' : 'api.ext.payconiq.com';
|
|
168
168
|
if (isWero) {
|
|
169
169
|
hostname = !testMode ? 'merchant.api.bancontact.net' : 'merchant.api.preprod.bancontact.net';
|