@nextclaw/ncp-react 0.3.6 → 0.4.0
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/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -305,7 +305,7 @@ function buildNcpRequestEnvelope(params) {
|
|
|
305
305
|
type: "file",
|
|
306
306
|
name: attachment.name,
|
|
307
307
|
mimeType: attachment.mimeType,
|
|
308
|
-
...attachment.
|
|
308
|
+
...attachment.assetUri?.trim() ? { assetUri: attachment.assetUri.trim() } : {},
|
|
309
309
|
...attachment.url?.trim() ? { url: attachment.url.trim() } : {},
|
|
310
310
|
...attachment.contentBase64?.trim() ? { contentBase64: attachment.contentBase64.trim() } : {},
|
|
311
311
|
sizeBytes: attachment.sizeBytes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nextclaw/ncp-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "React bindings for building NCP-based agent applications.",
|
|
6
6
|
"type": "module",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"dist"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@nextclaw/ncp-toolkit": "0.4.
|
|
19
|
-
"@nextclaw/ncp": "0.
|
|
18
|
+
"@nextclaw/ncp-toolkit": "0.4.4",
|
|
19
|
+
"@nextclaw/ncp": "0.4.0"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"react": "^18.0.0 || ^19.0.0"
|