@pipelab/plugin-discord 1.0.0-beta.19 → 1.0.0-beta.20
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/index.cjs +344 -341
- package/dist/index.mjs +13 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -2108,8 +2108,7 @@ const defaultAppSettings = settingsMigratorInternal.createDefault({
|
|
|
2108
2108
|
completed: false
|
|
2109
2109
|
}
|
|
2110
2110
|
},
|
|
2111
|
-
plugins: DEFAULT_PLUGINS
|
|
2112
|
-
isInternalMigrationBannerClosed: false
|
|
2111
|
+
plugins: DEFAULT_PLUGINS
|
|
2113
2112
|
});
|
|
2114
2113
|
settingsMigratorInternal.createMigrations({
|
|
2115
2114
|
defaultValue: defaultAppSettings,
|
|
@@ -2160,12 +2159,12 @@ settingsMigratorInternal.createMigrations({
|
|
|
2160
2159
|
createMigration({
|
|
2161
2160
|
version: "6.0.0",
|
|
2162
2161
|
up: (state) => {
|
|
2163
|
-
const { cacheFolder
|
|
2162
|
+
const { cacheFolder, clearTemporaryFoldersOnPipelineEnd: __, ...rest } = state;
|
|
2164
2163
|
return {
|
|
2165
2164
|
...rest,
|
|
2165
|
+
cacheFolder,
|
|
2166
2166
|
agents: [],
|
|
2167
|
-
plugins: DEFAULT_PLUGINS
|
|
2168
|
-
isInternalMigrationBannerClosed: false
|
|
2167
|
+
plugins: DEFAULT_PLUGINS
|
|
2169
2168
|
};
|
|
2170
2169
|
}
|
|
2171
2170
|
}),
|
|
@@ -2518,7 +2517,8 @@ object({
|
|
|
2518
2517
|
enabled: boolean(),
|
|
2519
2518
|
description: string()
|
|
2520
2519
|
})),
|
|
2521
|
-
|
|
2520
|
+
cacheFolder: optional(string()),
|
|
2521
|
+
tempFolder: optional(string())
|
|
2522
2522
|
});
|
|
2523
2523
|
const ConnectionValidator = looseObject({
|
|
2524
2524
|
id: string(),
|
|
@@ -150598,7 +150598,9 @@ var require_error = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
150598
150598
|
}
|
|
150599
150599
|
})();
|
|
150600
150600
|
}));
|
|
150601
|
-
|
|
150601
|
+
//#endregion
|
|
150602
|
+
//#region ../../node_modules/serve-handler/src/index.js
|
|
150603
|
+
var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
150602
150604
|
const { promisify: promisify$1 } = __require("util");
|
|
150603
150605
|
const path = __require("path");
|
|
150604
150606
|
const { createHash } = __require("crypto");
|
|
@@ -151050,11 +151052,12 @@ var require_error = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
151050
151052
|
response.writeHead(response.statusCode || 200, headers);
|
|
151051
151053
|
stream.pipe(response);
|
|
151052
151054
|
};
|
|
151053
|
-
}))
|
|
151054
|
-
var import_semver = /* @__PURE__ */ __toESM(require_semver(), 1);
|
|
151055
|
-
var import_lib = /* @__PURE__ */ __toESM(require_lib(), 1);
|
|
151055
|
+
}));
|
|
151056
151056
|
//#endregion
|
|
151057
151057
|
//#region ../../packages/core-node/src/server.ts
|
|
151058
|
+
var import_semver = /* @__PURE__ */ __toESM(require_semver(), 1);
|
|
151059
|
+
var import_lib = /* @__PURE__ */ __toESM(require_lib(), 1);
|
|
151060
|
+
require_src();
|
|
151058
151061
|
const sendStartupProgress = (message) => {
|
|
151059
151062
|
console.log(`[Startup Progress] ${message}`);
|
|
151060
151063
|
webSocketServer.broadcast("startup:progress", {
|