@vtecx/vtecxnext 2.2.17 → 2.2.18
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 +4 -0
- package/package.json +9 -10
package/dist/vtecxnext.js
CHANGED
|
@@ -426,6 +426,8 @@ class VtecxNext {
|
|
|
426
426
|
}
|
|
427
427
|
// vte.cxからのset-cookieを転記
|
|
428
428
|
this.setCookie(response);
|
|
429
|
+
// 引き続きAPIで処理を行う場合のため、set-cookie情報を保持しておく
|
|
430
|
+
this.setLoginCookie(response);
|
|
429
431
|
const data = await response.json();
|
|
430
432
|
return { status: response.status, message: data.feed.title };
|
|
431
433
|
};
|
|
@@ -457,6 +459,8 @@ class VtecxNext {
|
|
|
457
459
|
}
|
|
458
460
|
// vte.cxからのset-cookieを転記
|
|
459
461
|
this.setCookie(response);
|
|
462
|
+
// 引き続きAPIで処理を行う場合のため、set-cookie情報を保持しておく
|
|
463
|
+
this.setLoginCookie(response);
|
|
460
464
|
const data = await response.json();
|
|
461
465
|
return { status: response.status, message: data.feed.title };
|
|
462
466
|
};
|
package/package.json
CHANGED
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vtecx/vtecxnext",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.18",
|
|
4
4
|
"description": "vte.cx Next.js api",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
9
|
-
"scripts": {
|
|
10
|
-
"build": "tsc",
|
|
11
|
-
"prepublishOnly": "npm run build"
|
|
12
|
-
},
|
|
13
9
|
"repository": {
|
|
14
10
|
"type": "git",
|
|
15
11
|
"url": "git+https://github.com/reflexworks/vtecxnext.git"
|
|
@@ -22,13 +18,16 @@
|
|
|
22
18
|
},
|
|
23
19
|
"homepage": "https://github.com/reflexworks/vtecxnext#readme",
|
|
24
20
|
"devDependencies": {
|
|
25
|
-
"@types/node": "^22.10.
|
|
21
|
+
"@types/node": "^22.10.5",
|
|
26
22
|
"@types/sqlstring": "^2.3.2",
|
|
27
23
|
"ts-node": "^10.9.2",
|
|
28
|
-
"typescript": "^5.7.
|
|
24
|
+
"typescript": "^5.7.3"
|
|
29
25
|
},
|
|
30
26
|
"dependencies": {
|
|
31
|
-
"next": "^15.
|
|
32
|
-
"sqlstring": "^2.3.
|
|
27
|
+
"next": "^15.1.4",
|
|
28
|
+
"sqlstring": "^2.3.3"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "tsc"
|
|
33
32
|
}
|
|
34
|
-
}
|
|
33
|
+
}
|