@moxt-ai/mobius 0.0.32 → 0.0.33
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/bots/bot-execution-context.js +1 -1
- package/dist/bots/bot-execution-context.js.map +1 -1
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +2 -2
- package/dist/runtime.js +1 -1
- package/dist/runtime.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -25475,7 +25475,7 @@ var BotExecutionContextRegistry = class {
|
|
|
25475
25475
|
activate = (command) => {
|
|
25476
25476
|
let handle = this.#handlesBySession.get(command.sessionId);
|
|
25477
25477
|
if (handle === void 0) {
|
|
25478
|
-
handle = `ctx_${randomBytes(32).toString("base64url")}`;
|
|
25478
|
+
handle = `ctx_${Buffer.from(randomBytes(32)).toString("base64url")}`;
|
|
25479
25479
|
this.#handlesBySession.set(command.sessionId, handle);
|
|
25480
25480
|
}
|
|
25481
25481
|
if (this.#activeByHandle.has(handle)) {
|