@vtecx/vtecxnext 3.0.1 → 3.0.3

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.
@@ -750,9 +750,9 @@ export declare class VtecxNext {
750
750
  * leave group by admin
751
751
  * @param uids uid list
752
752
  * @param group group
753
- * @return feed
753
+ * @return feed of the group you left
754
754
  */
755
- leaveGroupByAdmin: (uids: string[], group: string) => Promise<Entry>;
755
+ leaveGroupByAdmin: (uids: string[], group: string) => Promise<Entry[]>;
756
756
  /**
757
757
  * Get entries that have entries in a group, but are not in the group.
758
758
  * (for entries with no signature or with an incorrect signature, if the user group requires a signature)
package/dist/vtecxnext.js CHANGED
@@ -461,7 +461,7 @@ class VtecxNext {
461
461
  logout = async () => {
462
462
  //console.log('[vtecxnext logout] start.')
463
463
  // vte.cxへリクエスト
464
- const method = 'GET';
464
+ const method = 'POST';
465
465
  const url = '/d/?_logout';
466
466
  let response;
467
467
  try {
@@ -2505,7 +2505,7 @@ class VtecxNext {
2505
2505
  * leave group by admin
2506
2506
  * @param uids uid list
2507
2507
  * @param group group
2508
- * @return feed
2508
+ * @return feed of the group you left
2509
2509
  */
2510
2510
  leaveGroupByAdmin = async (uids, group) => {
2511
2511
  //console.log(`[vtecxnext leaveGroupByAdmin] start. group=${group} uids=${uids}`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtecx/vtecxnext",
3
- "version": "3.0.1",
3
+ "version": "3.0.3",
4
4
  "description": "vte.cx Next.js api",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -18,13 +18,13 @@
18
18
  },
19
19
  "homepage": "https://github.com/reflexworks/vtecxnext#readme",
20
20
  "devDependencies": {
21
- "@types/node": "^25.0.10",
21
+ "@types/node": "^25.2.3",
22
22
  "@types/sqlstring": "^2.3.2",
23
23
  "ts-node": "^10.9.2",
24
24
  "typescript": "^5.9.3"
25
25
  },
26
26
  "dependencies": {
27
- "next": "^16.1.4",
27
+ "next": "^16.1.6",
28
28
  "sqlstring": "^2.3.3"
29
29
  },
30
30
  "scripts": {