@floegence/redevplugin-ui 3.0.11 → 3.0.13
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/openapi.gen.d.ts +1 -0
- package/dist/surface.js +0 -24
- package/package.json +2 -2
package/dist/openapi.gen.d.ts
CHANGED
|
@@ -2095,6 +2095,7 @@ export interface components {
|
|
|
2095
2095
|
StartReleaseInstallExecutionRequest: {
|
|
2096
2096
|
request_id: string;
|
|
2097
2097
|
plugin_instance_id: string;
|
|
2098
|
+
/** @description SHA-256 of the canonical JSON encoding of release_ref. The Host recomputes and verifies this digest before accepting the install task. */
|
|
2098
2099
|
release_identity_digest: string;
|
|
2099
2100
|
manifest_sha256: string;
|
|
2100
2101
|
contract_set_sha256: string;
|
package/dist/surface.js
CHANGED
|
@@ -1902,29 +1902,6 @@ export function createOpaquePluginBootstrapHTML(options = {}) {
|
|
|
1902
1902
|
' close();',
|
|
1903
1903
|
' return;',
|
|
1904
1904
|
'}',
|
|
1905
|
-
'const __rpVerifyDynamicImportBlocked = () => new Promise((resolve, reject) => {',
|
|
1906
|
-
' const specifier = "data:text/javascript,export default 1";',
|
|
1907
|
-
' let settled = false;',
|
|
1908
|
-
' let timeout;',
|
|
1909
|
-
' const cleanup = () => { __rpRemoveEventListener("securitypolicyviolation", onViolation, true); if (timeout !== undefined) __rpClearTimeout(timeout); };',
|
|
1910
|
-
' const finishBlocked = () => { if (settled) return; settled = true; cleanup(); resolve(true); };',
|
|
1911
|
-
' const finishEscaped = () => {',
|
|
1912
|
-
' if (settled) { __rpReportFailure(new TypeError("Dynamic import escaped the ReDevPlugin worker sandbox")); return; }',
|
|
1913
|
-
' settled = true; cleanup(); resolve(false);',
|
|
1914
|
-
' };',
|
|
1915
|
-
' const onViolation = (event) => {',
|
|
1916
|
-
' const directive = String(event && (event.effectiveDirective || event.violatedDirective) || "");',
|
|
1917
|
-
' const blockedURI = String(event && event.blockedURI || "");',
|
|
1918
|
-
' if ((directive === "script-src" || directive === "script-src-elem") && (blockedURI === "data" || blockedURI.startsWith("data:"))) finishBlocked();',
|
|
1919
|
-
' };',
|
|
1920
|
-
' __rpAddEventListener("securitypolicyviolation", onViolation, true);',
|
|
1921
|
-
' timeout = __rpSetTimeout(() => { if (settled) return; settled = true; cleanup(); reject(new TypeError("Dynamic import sandbox verification timed out")); }, 1000);',
|
|
1922
|
-
' try {',
|
|
1923
|
-
' import(specifier).then(finishEscaped, finishBlocked);',
|
|
1924
|
-
' } catch {',
|
|
1925
|
-
' finishBlocked();',
|
|
1926
|
-
' }',
|
|
1927
|
-
'});',
|
|
1928
1905
|
'let __rpClaimed = false;',
|
|
1929
1906
|
'const __rpBridge = Object.freeze({ claim() { if (__rpClaimed) return undefined; __rpClaimed = true; return Object.freeze({ surfaceHandle: __rpSurfaceHandle, port: __rpPort }); } });',
|
|
1930
1907
|
'Object.defineProperty(globalThis, ' + JSON.stringify(workerGlobalKey) + ', { configurable: false, enumerable: false, writable: false, value: __rpBridge });',
|
|
@@ -1944,7 +1921,6 @@ export function createOpaquePluginBootstrapHTML(options = {}) {
|
|
|
1944
1921
|
'addEventListener("unhandledrejection", (event) => __rpReportFailure(event.reason || "plugin worker rejected"), { capture: true });',
|
|
1945
1922
|
'void (async () => {',
|
|
1946
1923
|
' try {',
|
|
1947
|
-
' if (!await __rpVerifyDynamicImportBlocked()) throw new TypeError("Dynamic import escaped the ReDevPlugin worker sandbox");',
|
|
1948
1924
|
' __redevpluginPluginMain();',
|
|
1949
1925
|
' setTimeout(() => { if (!__rpFailed) __rpControlPost({ type: "redevplugin.worker.ready" }); }, 0);',
|
|
1950
1926
|
' } catch (error) {',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@floegence/redevplugin-ui",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.13",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dist"
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@floegence/redevplugin-contracts": "3.0.
|
|
43
|
+
"@floegence/redevplugin-contracts": "3.0.13"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|