perf(test): lazy-load bundled channel secrets

This commit is contained in:
Vincent Koc
2026-04-06 16:40:30 +01:00
parent 349a1c58f9
commit c3b19d204a
41 changed files with 282 additions and 14 deletions

View File

@@ -10,6 +10,10 @@ export default defineBundledChannelEntry({
specifier: "./channel-plugin-api.js",
exportName: "matrixPlugin",
},
secrets: {
specifier: "./src/secret-contract.js",
exportName: "channelSecrets",
},
runtime: {
specifier: "./runtime-api.js",
exportName: "setMatrixRuntime",

View File

@@ -6,4 +6,8 @@ export default defineBundledChannelSetupEntry({
specifier: "./channel-plugin-api.js",
exportName: "matrixPlugin",
},
secrets: {
specifier: "./src/secret-contract.js",
exportName: "channelSecrets",
},
});

View File

@@ -167,3 +167,8 @@ export function collectRuntimeConfigAssignments(params: {
});
}
}
export const channelSecrets = {
secretTargetRegistryEntries,
collectRuntimeConfigAssignments,
};