@nyte-ai/sdk 0.0.21 → 0.0.23
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/chunks/{capability-agj3gwwv.js → capability-gc5bfr6a.js} +1 -1
- package/dist/chunks/{capability-ec663cyt.js → capability-ht2xg669.js} +2 -1
- package/dist/src/client.js +1 -1
- package/dist/src/connect.js +2 -2
- package/dist/src/index.client.js +2 -2
- package/dist/src/index.js +2 -2
- package/dist/src/index.web.js +2 -2
- package/package.json +5 -5
|
@@ -30,6 +30,7 @@ import {
|
|
|
30
30
|
// src/client.ts
|
|
31
31
|
import { asId, isJson, SdkError } from "@nyte-ai/schema";
|
|
32
32
|
import { dev, followTrace, traced, watchStore } from "@nyte-ai/core";
|
|
33
|
+
import { sessionLists } from "@nyte-ai/protocol";
|
|
33
34
|
var MAIN = asId("main");
|
|
34
35
|
function createClient2(transport, context) {
|
|
35
36
|
const link = createLink2();
|
|
@@ -50,7 +51,7 @@ function createClient2(transport, context) {
|
|
|
50
51
|
principal: context.principal,
|
|
51
52
|
credential: context.credential,
|
|
52
53
|
sessions: {
|
|
53
|
-
watch: (input) => rows.watch("sessions.watch", input ?? {}),
|
|
54
|
+
watch: (input) => sessionLists(rows.watch("sessions.watch", input ?? {})),
|
|
54
55
|
async start(input) {
|
|
55
56
|
const id = input.id ?? asId(crypto.randomUUID());
|
|
56
57
|
followTrace(id, id);
|
package/dist/src/client.js
CHANGED
package/dist/src/connect.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
connect2
|
|
3
|
-
} from "../chunks/capability-
|
|
4
|
-
import"../chunks/capability-
|
|
3
|
+
} from "../chunks/capability-gc5bfr6a.js";
|
|
4
|
+
import"../chunks/capability-ht2xg669.js";
|
|
5
5
|
import"../chunks/capability-9747w1b1.js";
|
|
6
6
|
import"../chunks/capability-xavf3m2f.js";
|
|
7
7
|
import"../chunks/capability-nh422cp0.js";
|
package/dist/src/index.client.js
CHANGED
|
@@ -8,10 +8,10 @@ import"../chunks/capability-2q3s96kg.js";
|
|
|
8
8
|
import"../chunks/capability-nh422cp0.js";
|
|
9
9
|
import"../chunks/capability-mr5m2wn2.js";
|
|
10
10
|
import"../chunks/capability-xavf3m2f.js";
|
|
11
|
-
import"../chunks/capability-
|
|
11
|
+
import"../chunks/capability-ht2xg669.js";
|
|
12
12
|
import {
|
|
13
13
|
connect2
|
|
14
|
-
} from "../chunks/capability-
|
|
14
|
+
} from "../chunks/capability-gc5bfr6a.js";
|
|
15
15
|
import {
|
|
16
16
|
pagedViews2
|
|
17
17
|
} from "../chunks/capability-t9k5jy3d.js";
|
package/dist/src/index.js
CHANGED
|
@@ -8,10 +8,10 @@ import"../chunks/capability-2q3s96kg.js";
|
|
|
8
8
|
import"../chunks/capability-nh422cp0.js";
|
|
9
9
|
import"../chunks/capability-mr5m2wn2.js";
|
|
10
10
|
import"../chunks/capability-xavf3m2f.js";
|
|
11
|
-
import"../chunks/capability-
|
|
11
|
+
import"../chunks/capability-ht2xg669.js";
|
|
12
12
|
import {
|
|
13
13
|
connect2
|
|
14
|
-
} from "../chunks/capability-
|
|
14
|
+
} from "../chunks/capability-gc5bfr6a.js";
|
|
15
15
|
import {
|
|
16
16
|
pagedViews2
|
|
17
17
|
} from "../chunks/capability-t9k5jy3d.js";
|
package/dist/src/index.web.js
CHANGED
|
@@ -8,10 +8,10 @@ import"../chunks/capability-2q3s96kg.js";
|
|
|
8
8
|
import"../chunks/capability-nh422cp0.js";
|
|
9
9
|
import"../chunks/capability-mr5m2wn2.js";
|
|
10
10
|
import"../chunks/capability-xavf3m2f.js";
|
|
11
|
-
import"../chunks/capability-
|
|
11
|
+
import"../chunks/capability-ht2xg669.js";
|
|
12
12
|
import {
|
|
13
13
|
connect2
|
|
14
|
-
} from "../chunks/capability-
|
|
14
|
+
} from "../chunks/capability-gc5bfr6a.js";
|
|
15
15
|
import {
|
|
16
16
|
pagedViews2
|
|
17
17
|
} from "../chunks/capability-t9k5jy3d.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nyte-ai/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"provenance": true
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@nyte-ai/core": "0.0.
|
|
43
|
-
"@nyte-ai/host": "0.0.
|
|
44
|
-
"@nyte-ai/protocol": "0.0.
|
|
45
|
-
"@nyte-ai/schema": "0.0.
|
|
42
|
+
"@nyte-ai/core": "0.0.23",
|
|
43
|
+
"@nyte-ai/host": "0.0.23",
|
|
44
|
+
"@nyte-ai/protocol": "0.0.23",
|
|
45
|
+
"@nyte-ai/schema": "0.0.23"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@nyte-ai/bench": "0.0.0",
|