@inkeep/agents-ui-js-cloud 0.0.0-dev-20260604233912 → 0.0.0-dev-20260611174737
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/embed.js +2 -2
- package/dist/types.d.ts +5 -1
- package/package.json +3 -3
package/dist/types.d.ts
CHANGED
|
@@ -476,8 +476,12 @@ declare interface CommonProperties {
|
|
|
476
476
|
}
|
|
477
477
|
|
|
478
478
|
export declare type ComponentsConfig<A extends Record<string, unknown>> = {
|
|
479
|
+
// The widget injects `messageId` (the rendered message's id) into every
|
|
480
|
+
// data-component's props so in-component handlers can attribute events to
|
|
481
|
+
// the message without a wrapping context provider. Additive/optional from
|
|
482
|
+
// the consumer's perspective.
|
|
479
483
|
[K in keyof A]: (
|
|
480
|
-
props: A[K],
|
|
484
|
+
props: A[K] & { messageId: string },
|
|
481
485
|
target: HTMLElement,
|
|
482
486
|
// TODO: add context
|
|
483
487
|
context: null,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-ui-js-cloud",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20260611174737",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Inkeep, Inc. Customer License (IICL) v1.1",
|
|
6
6
|
"homepage": "",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"react": "19.0.0",
|
|
39
39
|
"react-dom": "19.0.0",
|
|
40
40
|
"uuid": "^11.1.0",
|
|
41
|
-
"@inkeep/agents-ui-cloud": "0.0.0-dev-
|
|
41
|
+
"@inkeep/agents-ui-cloud": "0.0.0-dev-20260611174737"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@biomejs/biome": "1.9.4",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"vite": "5.4.11",
|
|
57
57
|
"vite-bundle-visualizer": "^1.2.1",
|
|
58
58
|
"vite-plugin-dts": "4.4.0",
|
|
59
|
-
"@inkeep/agents-ui": "0.0.0-dev-
|
|
59
|
+
"@inkeep/agents-ui": "0.0.0-dev-20260611174737"
|
|
60
60
|
},
|
|
61
61
|
"module": "./dist/embed.js",
|
|
62
62
|
"types": "./dist/types.d.ts",
|