@vibes.diy/call-ai-v2 3.0.2 → 3.0.3

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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +2 -3
package/README.md CHANGED
@@ -100,11 +100,11 @@ import {
100
100
  isCodeLine,
101
101
  isBlockImage,
102
102
  } from "call-ai/v2";
103
- import { ensureSuperThis } from "@fireproof/core-runtime";
103
+ import { ensureRuntimeContext } from "@vibes.diy/identity";
104
104
 
105
- const sthis = ensureSuperThis();
106
- const streamId = sthis.nextId().str;
107
- const createId = () => sthis.nextId().str;
105
+ const rt = ensureRuntimeContext();
106
+ const streamId = rt.nextId().str;
107
+ const createId = () => rt.nextId().str;
108
108
 
109
109
  const pipeline = response.body
110
110
  .pipeThrough(createStatsCollector(streamId, 1000))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibes.diy/call-ai-v2",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -15,8 +15,7 @@
15
15
  "license": "Apache-2.0",
16
16
  "dependencies": {
17
17
  "@adviser/cement": "~0.5.34",
18
- "@fireproof/core-runtime": "~0.24.19",
19
- "@vibes.diy/identity": "^3.0.2",
18
+ "@vibes.diy/identity": "^3.0.3",
20
19
  "arktype": "~2.2.1",
21
20
  "cmd-ts": "~0.15.0",
22
21
  "mime": "~4.1.0",