mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-06 05:51:15 +08:00
perf(whatsapp): narrow runtime setter entry (#85589)
This commit is contained in:
@@ -10,7 +10,7 @@ export default defineBundledChannelEntry({
|
||||
exportName: "whatsappPlugin",
|
||||
},
|
||||
runtime: {
|
||||
specifier: "./runtime-api.js",
|
||||
specifier: "./runtime-setter-api.js",
|
||||
exportName: "setWhatsAppRuntime",
|
||||
},
|
||||
});
|
||||
|
||||
3
extensions/whatsapp/runtime-setter-api.ts
Normal file
3
extensions/whatsapp/runtime-setter-api.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
// Keep bundled registration fast: the runtime setter is needed during plugin
|
||||
// bootstrap, but the broad runtime-api barrel pulls in WhatsApp runtime modules.
|
||||
export { setWhatsAppRuntime } from "./src/runtime.js";
|
||||
Reference in New Issue
Block a user