@vtecx/vtecxnext 2.0.8 → 2.1.0
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/dist/vtecxnext.js +6 -3
- package/package.json +4 -4
package/dist/vtecxnext.js
CHANGED
|
@@ -3310,7 +3310,8 @@ class VtecxNext {
|
|
|
3310
3310
|
//const accesstokenBody = Buffer.from(accesstokenBodyStr, 'utf-8')
|
|
3311
3311
|
const requestInit = {
|
|
3312
3312
|
body: accesstokenBody,
|
|
3313
|
-
method: accesstokenMethod
|
|
3313
|
+
method: accesstokenMethod,
|
|
3314
|
+
cache: 'no-cache',
|
|
3314
3315
|
};
|
|
3315
3316
|
let accesstokenResponse;
|
|
3316
3317
|
try {
|
|
@@ -3352,7 +3353,8 @@ class VtecxNext {
|
|
|
3352
3353
|
//console.log(`[vtecxnext oauthGetUserinfoLine] url=${url}`)
|
|
3353
3354
|
const requestInit = {
|
|
3354
3355
|
headers: headers,
|
|
3355
|
-
method: method
|
|
3356
|
+
method: method,
|
|
3357
|
+
cache: 'no-cache',
|
|
3356
3358
|
};
|
|
3357
3359
|
let response;
|
|
3358
3360
|
try {
|
|
@@ -3521,7 +3523,8 @@ const fetchVtecx = async (method, url, headers, body, mode) => {
|
|
|
3521
3523
|
const requestInit = {
|
|
3522
3524
|
body: body,
|
|
3523
3525
|
method: method,
|
|
3524
|
-
headers: headers
|
|
3526
|
+
headers: headers,
|
|
3527
|
+
cache: 'no-cache',
|
|
3525
3528
|
};
|
|
3526
3529
|
if (mode) {
|
|
3527
3530
|
requestInit['mode'] = mode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vtecx/vtecxnext",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "vte.cx Next.js api",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
},
|
|
23
23
|
"homepage": "https://github.com/reflexworks/vtecxnext#readme",
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@types/node": "^20.12.
|
|
25
|
+
"@types/node": "^20.12.13",
|
|
26
26
|
"@types/sqlstring": "^2.3.2",
|
|
27
27
|
"ts-node": "^10.9.2",
|
|
28
|
-
"typescript": "^5.4.
|
|
28
|
+
"typescript": "^5.4.5"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"next": "^14.
|
|
31
|
+
"next": "^14.2.3",
|
|
32
32
|
"sqlstring": "^2.3.2"
|
|
33
33
|
}
|
|
34
34
|
}
|