@midsummer-ai/sdk 0.1.0-staging.4627 → 0.1.0-staging.4630

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/calls/index.mjs CHANGED
@@ -1391,6 +1391,7 @@ var LiveCall = class {
1391
1391
  const room = await session.media.publish(fresh);
1392
1392
  if (room) this.apply(session, room);
1393
1393
  } catch (error) {
1394
+ if (!session.alive && !this.left && this.state !== "failed" && this.state !== "ended") return this.showLocal();
1394
1395
  for (const { name, track, owned } of fresh) {
1395
1396
  this.sending.delete(name);
1396
1397
  if (owned) track.stop();
package/here-C2jhTheQ.mjs CHANGED
@@ -12,7 +12,7 @@ function processEnv() {
12
12
  * This package's version: `0.0.0-dev` here, and in a published package the version it was published at, which the
13
13
  * release writes in its place as it stages the package (`stampSdk` in `scripts/release/packages.ts`).
14
14
  */
15
- const SDK_VERSION = "0.1.0-staging.4627";
15
+ const SDK_VERSION = "0.1.0-staging.4630";
16
16
  /**
17
17
  * The header that tells Midsummer which client made each of this package's calls: `Midsummer-Client: sdk/<version>
18
18
  * <part>`, `part` the product whose client it is (`database`, `storage`, `queues`, ...), so the platform counts which
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midsummer-ai/sdk",
3
- "version": "0.1.0-staging.4627",
3
+ "version": "0.1.0-staging.4630",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "description": "Midsummer's handles for an app's code: its Database, Storage, Queues, Vector DB, AI, Email and Agents, with stand-ins for tests.",