@innovastudio/contentbuilder 1.5.94 → 1.5.96

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.
@@ -566,4 +566,8 @@ _txt["Value"] = "Value";
566
566
  _txt["Time"] = "Time";
567
567
  _txt["Datetime"] = "Datetime";
568
568
  _txt["Date & Time"] = "Date & Time";
569
- // _txt["Color"] = "Color";
569
+ // _txt["Color"] = "Color";
570
+ _txt["Submission Type:"] = "Submission Type:";
571
+ _txt["JSON Submission"] = "JSON Submission";
572
+ _txt["Standard Form Submission"] = "Standard Form Submission";
573
+ _txt["reCAPTCHA Site Key (v2):"] = "reCAPTCHA Site Key (v2):";
@@ -566,4 +566,8 @@ _txt["Value"] = "Value";
566
566
  _txt["Time"] = "Time";
567
567
  _txt["Datetime"] = "Datetime";
568
568
  _txt["Date & Time"] = "Date & Time";
569
- // _txt["Color"] = "Color";
569
+ // _txt["Color"] = "Color";
570
+ _txt["Submission Type:"] = "Submission Type:";
571
+ _txt["JSON Submission"] = "JSON Submission";
572
+ _txt["Standard Form Submission"] = "Standard Form Submission";
573
+ _txt["reCAPTCHA Site Key (v2):"] = "reCAPTCHA Site Key (v2):";
package/readme.txt CHANGED
@@ -1,4 +1,4 @@
1
- ContentBuilder.js 5.5.26
1
+ ContentBuilder.js 5.5.29
2
2
 
3
3
  Note: If you have Source Code package (Super license), please refer to:
4
4
 
@@ -35,7 +35,7 @@ A. To try the HTML example:
35
35
 
36
36
  > node server.js
37
37
 
38
- 3. Open from your browser:
38
+ 4. Open from your browser:
39
39
 
40
40
  http://localhost:8081/example1.html (Default example)
41
41
 
@@ -81,6 +81,28 @@ NOTE:
81
81
 
82
82
  $OPENAI_API_KEY = 'YOUR_API_KEY';
83
83
 
84
+ 3. Ensure that the sendCommandUrl parameter is set with the API endpoint for using the OpenAI API:
85
+
86
+ const builder = new ContentBuilder({
87
+ // ...
88
+ sendCommandUrl: '/sendcommand',
89
+ });
90
+
91
+ If you're using PHP:
92
+
93
+ const builder = new ContentBuilder({
94
+ // ...
95
+ sendCommandUrl: 'api/sendcommand.php',
96
+ });
97
+
98
+ Most examples in the package have this parameter configured, so you can run and test them.
99
+ Examples in React/Next.js and Laravel are also provided.
100
+
101
+ The JavaScript project example in this package uses Node.js for the API endpoint /sendcommand.
102
+ Please refer to the Node.js file:
103
+
104
+ server.js
105
+
84
106
  - For speech recognition (if dictation is enabled), the browser's built-in
85
107
  speech recognition is used. However, certain browsers may not support this feature.
86
108
  We recommend using Deepgram for browser compatibility and accuracy.