mioki 0.12.0 → 0.12.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/dist/{chunk-DYZpOiH0.mjs → chunk-BiucMVzj.mjs} +2 -2
- package/dist/cli.cjs +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/dist/{package-sXGZ2LTr.cjs → package-BQBq2Zmr.cjs} +5 -5
- package/dist/package-BQBq2Zmr.cjs.map +1 -0
- package/dist/package-DhsQExzV.mjs +6 -0
- package/dist/package-DhsQExzV.mjs.map +1 -0
- package/package.json +5 -5
- package/dist/package-COIUmOsl.mjs +0 -6
- package/dist/package-COIUmOsl.mjs.map +0 -1
- package/dist/package-sXGZ2LTr.cjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region rolldown:runtime
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
-
var
|
|
3
|
+
var __exportAll = (all, symbols) => {
|
|
4
4
|
let target = {};
|
|
5
5
|
for (var name in all) {
|
|
6
6
|
__defProp(target, name, {
|
|
@@ -15,4 +15,4 @@ var __export = (all, symbols) => {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
//#endregion
|
|
18
|
-
export {
|
|
18
|
+
export { __exportAll as t };
|
package/dist/cli.cjs
CHANGED
package/dist/cli.mjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_package = require('./package-
|
|
1
|
+
const require_package = require('./package-BQBq2Zmr.cjs');
|
|
2
2
|
let node_fs = require("node:fs");
|
|
3
3
|
node_fs = require_package.__toESM(node_fs);
|
|
4
4
|
let node_util = require("node:util");
|
|
@@ -35,7 +35,7 @@ let node_cron = require("node-cron");
|
|
|
35
35
|
node_cron = require_package.__toESM(node_cron);
|
|
36
36
|
|
|
37
37
|
//#region src/utils.ts
|
|
38
|
-
var utils_exports = /* @__PURE__ */ require_package.
|
|
38
|
+
var utils_exports = /* @__PURE__ */ require_package.__exportAll({
|
|
39
39
|
ChromeUA: () => ChromeUA,
|
|
40
40
|
START_TIME: () => START_TIME,
|
|
41
41
|
base64Decode: () => base64Decode,
|
|
@@ -782,7 +782,7 @@ function getGTk(pskey) {
|
|
|
782
782
|
|
|
783
783
|
//#endregion
|
|
784
784
|
//#region src/config.ts
|
|
785
|
-
var config_exports = /* @__PURE__ */ require_package.
|
|
785
|
+
var config_exports = /* @__PURE__ */ require_package.__exportAll({
|
|
786
786
|
BOT_CWD: () => BOT_CWD,
|
|
787
787
|
botConfig: () => botConfig,
|
|
788
788
|
hasRight: () => hasRight,
|
|
@@ -938,7 +938,7 @@ function getMiokiLogger(level) {
|
|
|
938
938
|
|
|
939
939
|
//#endregion
|
|
940
940
|
//#region src/actions.ts
|
|
941
|
-
var actions_exports = /* @__PURE__ */ require_package.
|
|
941
|
+
var actions_exports = /* @__PURE__ */ require_package.__exportAll({
|
|
942
942
|
createForwardMsg: () => createForwardMsg,
|
|
943
943
|
getViolationRecords: () => getViolationRecords,
|
|
944
944
|
noticeAdmins: () => noticeAdmins,
|
|
@@ -1251,7 +1251,7 @@ async function enablePlugin(bot, plugin, type = "external") {
|
|
|
1251
1251
|
const context = {
|
|
1252
1252
|
bot,
|
|
1253
1253
|
segment: bot.segment,
|
|
1254
|
-
getCookie: bot.getCookie,
|
|
1254
|
+
getCookie: bot.getCookie.bind(bot),
|
|
1255
1255
|
...utils_exports,
|
|
1256
1256
|
...config_exports,
|
|
1257
1257
|
...buildRemovedActions(bot),
|