woodenfish-bot 2.9.1 → 2.9.2
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 +2 -2
- package/lib/index.js +2 -2
- package/package.json +5 -5
package/es/index.js
CHANGED
|
@@ -716,7 +716,7 @@ try {
|
|
|
716
716
|
|
|
717
717
|
var _regeneratorRuntime = /*@__PURE__*/getDefaultExportFromCjs(regenerator);
|
|
718
718
|
|
|
719
|
-
var version = "2.9.
|
|
719
|
+
var version = "2.9.2";
|
|
720
720
|
|
|
721
721
|
var loglevel = {exports: {}};
|
|
722
722
|
|
|
@@ -1164,7 +1164,7 @@ function getAccessToken(access_token_file, url, data, appID) {
|
|
|
1164
1164
|
|
|
1165
1165
|
// 添加 User-Agent
|
|
1166
1166
|
var addAuthorization = /*#__PURE__*/function () {
|
|
1167
|
-
var _ref = _asyncToGenerator(
|
|
1167
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(header, appID, token, clientSecret, apiVersion) {
|
|
1168
1168
|
var now_time, url, data, access_token_file, default_token_json, access_token, expires_in, access_token_json;
|
|
1169
1169
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
1170
1170
|
while (1) switch (_context.prev = _context.next) {
|
package/lib/index.js
CHANGED
|
@@ -718,7 +718,7 @@ try {
|
|
|
718
718
|
|
|
719
719
|
var _regeneratorRuntime = /*@__PURE__*/getDefaultExportFromCjs(regenerator);
|
|
720
720
|
|
|
721
|
-
var version = "2.9.
|
|
721
|
+
var version = "2.9.2";
|
|
722
722
|
|
|
723
723
|
var loglevel = {exports: {}};
|
|
724
724
|
|
|
@@ -1166,7 +1166,7 @@ function getAccessToken(access_token_file, url, data, appID) {
|
|
|
1166
1166
|
|
|
1167
1167
|
// 添加 User-Agent
|
|
1168
1168
|
var addAuthorization = /*#__PURE__*/function () {
|
|
1169
|
-
var _ref = _asyncToGenerator(
|
|
1169
|
+
var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(header, appID, token, clientSecret, apiVersion) {
|
|
1170
1170
|
var now_time, url, data, access_token_file, default_token_json, access_token, expires_in, access_token_json;
|
|
1171
1171
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
1172
1172
|
while (1) switch (_context.prev = _context.next) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "woodenfish-bot",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.2",
|
|
4
4
|
"description": "woodenfish-bot",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@babel/core": "^7.25.2",
|
|
34
|
-
"@babel/generator": "^7.25.
|
|
35
|
-
"@babel/parser": "^7.25.
|
|
34
|
+
"@babel/generator": "^7.25.6",
|
|
35
|
+
"@babel/parser": "^7.25.6",
|
|
36
36
|
"@babel/plugin-transform-class-properties": "^7.25.4",
|
|
37
37
|
"@babel/plugin-transform-runtime": "^7.25.4",
|
|
38
38
|
"@babel/preset-env": "^7.25.4",
|
|
39
39
|
"@babel/preset-typescript": "^7.24.7",
|
|
40
|
-
"@babel/traverse": "^7.25.
|
|
41
|
-
"@babel/types": "^7.25.
|
|
40
|
+
"@babel/traverse": "^7.25.6",
|
|
41
|
+
"@babel/types": "^7.25.6",
|
|
42
42
|
"@commitlint/cli": "^18.6.1",
|
|
43
43
|
"@commitlint/config-conventional": "^18.6.3",
|
|
44
44
|
"@rollup/plugin-babel": "^6.0.4",
|