mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-28 17:21:52 +00:00
perf(test): lazy-load bundled channel secrets
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -6,4 +6,8 @@ export default defineBundledChannelSetupEntry({
|
||||
specifier: "./channel-plugin-api.js",
|
||||
exportName: "matrixPlugin",
|
||||
},
|
||||
secrets: {
|
||||
specifier: "./src/secret-contract.js",
|
||||
exportName: "channelSecrets",
|
||||
},
|
||||
});
|
||||
|
||||
@@ -167,3 +167,8 @@ export function collectRuntimeConfigAssignments(params: {
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
export const channelSecrets = {
|
||||
secretTargetRegistryEntries,
|
||||
collectRuntimeConfigAssignments,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user