@opencloud-eu/extension-sdk 8.2.1 → 8.2.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/extension-sdk.js +5 -10
- package/dist/vitest.setup.js +1 -2
- package/package.json +1 -1
package/dist/extension-sdk.js
CHANGED
|
@@ -9,7 +9,7 @@ import d from "@vitejs/plugin-vue";
|
|
|
9
9
|
import { federation as f } from "@module-federation/vite";
|
|
10
10
|
import p from "https";
|
|
11
11
|
import m from "http";
|
|
12
|
-
|
|
12
|
+
// src/externalModules.ts
|
|
13
13
|
var h = [
|
|
14
14
|
"vue",
|
|
15
15
|
"luxon",
|
|
@@ -27,8 +27,7 @@ var h = [
|
|
|
27
27
|
"yjs",
|
|
28
28
|
"y-protocols/awareness"
|
|
29
29
|
];
|
|
30
|
-
|
|
31
|
-
//#region src/plugins/federationRegistrationClient.ts
|
|
30
|
+
// src/plugins/federationRegistrationClient.ts
|
|
32
31
|
function g(e, { method: t = "GET", body: n } = {}) {
|
|
33
32
|
return new Promise((r, i) => {
|
|
34
33
|
let a = (new URL(e).protocol === "https:" ? p : m).request(e, {
|
|
@@ -83,8 +82,7 @@ function _({ hostUrl: e, name: t, entryPoint: n, getMetadata: r, interval: i = 5
|
|
|
83
82
|
}
|
|
84
83
|
};
|
|
85
84
|
}
|
|
86
|
-
|
|
87
|
-
//#region src/plugins/manifest.ts
|
|
85
|
+
// src/plugins/manifest.ts
|
|
88
86
|
var v = "manifest.json", y = n("./src/", v);
|
|
89
87
|
function b(e, t) {
|
|
90
88
|
let r = "";
|
|
@@ -127,8 +125,7 @@ function b(e, t) {
|
|
|
127
125
|
}
|
|
128
126
|
};
|
|
129
127
|
}
|
|
130
|
-
|
|
131
|
-
//#region src/utils.ts
|
|
128
|
+
// src/utils.ts
|
|
132
129
|
function x(e, t) {
|
|
133
130
|
let n = { ...e };
|
|
134
131
|
for (let r of Object.keys(t)) {
|
|
@@ -137,8 +134,7 @@ function x(e, t) {
|
|
|
137
134
|
}
|
|
138
135
|
return n;
|
|
139
136
|
}
|
|
140
|
-
|
|
141
|
-
//#region src/index.ts
|
|
137
|
+
// src/index.ts
|
|
142
138
|
var S = process.env.OPENCLOUD_EXTENSION_DIST_DIR || "dist", C = process.env.OPENCLOUD_CERTS_DIR, w = C ? {
|
|
143
139
|
key: s(n(C, "server.key")),
|
|
144
140
|
cert: s(n(C, "server.crt"))
|
|
@@ -240,5 +236,4 @@ function O(c = {}) {
|
|
|
240
236
|
}, c);
|
|
241
237
|
};
|
|
242
238
|
}
|
|
243
|
-
//#endregion
|
|
244
239
|
export { O as defineConfig };
|
package/dist/vitest.setup.js
CHANGED