woodenfish-bot 4.7.0 → 4.7.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.
package/es/index.js CHANGED
@@ -300,7 +300,7 @@ var Guild = /*#__PURE__*/function () {
300
300
  }]);
301
301
  }();
302
302
 
303
- var version = "4.7.0";
303
+ var version = "4.7.1";
304
304
 
305
305
  function getDefaultExportFromCjs (x) {
306
306
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -986,8 +986,7 @@ var addAuthorization = /*#__PURE__*/function () {
986
986
  // 组装完整Url
987
987
  var buildUrl = function buildUrl() {
988
988
  var path = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
989
- var isSandbox = arguments.length > 1 ? arguments[1] : undefined;
990
- return "".concat(isSandbox ? 'https://sandbox.api.sgroup.qq.com' : 'https://api.sgroup.qq.com').concat(path);
989
+ return "https://api.bot.qq.com".concat(path);
991
990
  };
992
991
 
993
992
  var Channel = /*#__PURE__*/function () {
package/lib/index.js CHANGED
@@ -302,7 +302,7 @@ var Guild = /*#__PURE__*/function () {
302
302
  }]);
303
303
  }();
304
304
 
305
- var version = "4.7.0";
305
+ var version = "4.7.1";
306
306
 
307
307
  function getDefaultExportFromCjs (x) {
308
308
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -988,8 +988,7 @@ var addAuthorization = /*#__PURE__*/function () {
988
988
  // 组装完整Url
989
989
  var buildUrl = function buildUrl() {
990
990
  var path = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
991
- var isSandbox = arguments.length > 1 ? arguments[1] : undefined;
992
- return "".concat(isSandbox ? 'https://sandbox.api.sgroup.qq.com' : 'https://api.sgroup.qq.com').concat(path);
991
+ return "https://api.bot.qq.com".concat(path);
993
992
  };
994
993
 
995
994
  var Channel = /*#__PURE__*/function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "woodenfish-bot",
3
- "version": "4.7.0",
3
+ "version": "4.7.1",
4
4
  "description": "woodenfish-bot",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -51,8 +51,8 @@
51
51
  "@types/lodash.assignin": "^4.2.9",
52
52
  "@types/node": "^22.19.7",
53
53
  "@types/ws": "^8.18.1",
54
- "@typescript-eslint/eslint-plugin": "8.65.0",
55
- "@typescript-eslint/parser": "8.65.0",
54
+ "@typescript-eslint/eslint-plugin": "8.67.0",
55
+ "@typescript-eslint/parser": "8.67.0",
56
56
  "chalk": "^5.6.2",
57
57
  "commitizen": "^4.3.2",
58
58
  "cross-env": "^10.1.0",
@@ -72,16 +72,16 @@
72
72
  "release-please": "^17.11.1",
73
73
  "rimraf": "^6.1.3",
74
74
  "rollup": "^4.62.4",
75
- "rollup-plugin-dts": "^6.4.1",
75
+ "rollup-plugin-dts": "^6.5.1",
76
76
  "rollup-plugin-typescript-paths": "^1.5.0",
77
- "typescript": "^5.9.3"
77
+ "typescript": "^5.9.3"
78
78
  },
79
79
  "dependencies": {
80
80
  "@babel/runtime": "^7.29.2",
81
81
  "loglevel": "^1.9.2",
82
82
  "minimist": "^1.2.8",
83
83
  "resty-client": "^0.0.5",
84
- "ws": "^8.21.1"
84
+ "ws": "^8.21.3"
85
85
  },
86
86
  "resolutions": {
87
87
  "minimist": "^1.2.6",