saltfish 0.2.41 → 0.2.45

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.
@@ -9757,6 +9757,9 @@ class UIManager {
9757
9757
  var _a2;
9758
9758
  event.stopPropagation();
9759
9759
  const currentStore = useSaltfishStore.getState();
9760
+ if (currentStore.currentState === "playing") {
9761
+ currentStore.pause();
9762
+ }
9760
9763
  const token = (_a2 = currentStore.config) == null ? void 0 : _a2.token;
9761
9764
  if (token) {
9762
9765
  window.open(`https://www.saltfish.ai/demos?clientId=${token}`, "_blank");
@@ -10301,7 +10304,7 @@ const SaltfishPlayer$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
10301
10304
  __proto__: null,
10302
10305
  SaltfishPlayer
10303
10306
  }, Symbol.toStringTag, { value: "Module" }));
10304
- const version = "0.2.41";
10307
+ const version = "0.2.45";
10305
10308
  const packageJson = {
10306
10309
  version
10307
10310
  };