@invergent/website-widget 2.18.0 → 2.18.1
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/surogates-widget.global.js +1 -1
- package/dist/surogates-widget.global.js.map +1 -1
- package/dist/ui.cjs +6 -0
- package/dist/ui.cjs.map +1 -1
- package/dist/ui.js +6 -0
- package/dist/ui.js.map +1 -1
- package/package.json +1 -1
package/dist/ui.cjs
CHANGED
|
@@ -1104,6 +1104,12 @@ function paywallCopy(code) {
|
|
|
1104
1104
|
if (code === "subscription_required") {
|
|
1105
1105
|
return "This assistant requires an active subscription.";
|
|
1106
1106
|
}
|
|
1107
|
+
if (code === "free_plan_available") {
|
|
1108
|
+
return "This assistant needs a plan, and there is a free one.";
|
|
1109
|
+
}
|
|
1110
|
+
if (code === "upgrade_required") {
|
|
1111
|
+
return "You have used this month\u2019s free allowance. Upgrade to keep chatting.";
|
|
1112
|
+
}
|
|
1107
1113
|
if (code === "insufficient_tokens") {
|
|
1108
1114
|
return "You\u2019re out of tokens for this assistant.";
|
|
1109
1115
|
}
|