@puckeditor/cloud-client 0.2.0-canary.e1b96606 → 0.2.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.js +3 -1
- package/dist/index.mjs +3 -1
- package/package.json +4 -1
package/dist/index.js
CHANGED
|
@@ -19655,7 +19655,9 @@ function chat({ chatId, messages: initialMessages, config: config2, pageData },
|
|
|
19655
19655
|
}) {
|
|
19656
19656
|
if (!apiKey) {
|
|
19657
19657
|
throw new Error(
|
|
19658
|
-
|
|
19658
|
+
`No Puck API key specified. Set the PUCK_API_KEY environment variable, or provide one to the function.
|
|
19659
|
+
|
|
19660
|
+
Visit https://cloud.puckeditor.com/sign-up to register for an account and generate a key.`
|
|
19659
19661
|
);
|
|
19660
19662
|
}
|
|
19661
19663
|
const { context, tools = {} } = ai;
|
package/dist/index.mjs
CHANGED
|
@@ -19622,7 +19622,9 @@ function chat({ chatId, messages: initialMessages, config: config2, pageData },
|
|
|
19622
19622
|
}) {
|
|
19623
19623
|
if (!apiKey) {
|
|
19624
19624
|
throw new Error(
|
|
19625
|
-
|
|
19625
|
+
`No Puck API key specified. Set the PUCK_API_KEY environment variable, or provide one to the function.
|
|
19626
|
+
|
|
19627
|
+
Visit https://cloud.puckeditor.com/sign-up to register for an account and generate a key.`
|
|
19626
19628
|
);
|
|
19627
19629
|
}
|
|
19628
19630
|
const { context, tools = {} } = ai;
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@puckeditor/cloud-client",
|
|
3
|
-
"version": "0.2.0
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"author": "Chris Villa <chris@puckeditor.com>",
|
|
5
5
|
"repository": "puckeditor/puck",
|
|
6
6
|
"bugs": "https://github.com/puckeditor/puck/issues",
|
|
7
7
|
"homepage": "https://puckeditor.com",
|
|
8
|
+
"keywords": [
|
|
9
|
+
"puck-ecosystem"
|
|
10
|
+
],
|
|
8
11
|
"main": "./dist/index.js",
|
|
9
12
|
"types": "./dist/index.d.ts",
|
|
10
13
|
"exports": {
|