@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/runtime.js CHANGED
@@ -28546,7 +28546,7 @@ var BotExecutionContextRegistry = class {
28546
28546
  activate = (command) => {
28547
28547
  let handle = this.#handlesBySession.get(command.sessionId);
28548
28548
  if (handle === void 0) {
28549
- handle = `ctx_${randomBytes(32).toString("base64url")}`;
28549
+ handle = `ctx_${Buffer.from(randomBytes(32)).toString("base64url")}`;
28550
28550
  this.#handlesBySession.set(command.sessionId, handle);
28551
28551
  }
28552
28552
  if (this.#activeByHandle.has(handle)) {