@upstep/js 0.7.1 → 0.7.2
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/README.md +4 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -100,7 +100,7 @@ Every entry point (`Upstep.init`, `<UpstepProvider>`, and the script tag's `data
|
|
|
100
100
|
|
|
101
101
|
### AI and live chat in the existing widget
|
|
102
102
|
|
|
103
|
-
Version 0.7.
|
|
103
|
+
Version 0.7.2 includes a **Support** tab to the same widget that handles feedback and
|
|
104
104
|
voting. Enable customer support for your paid project in the UpStep dashboard,
|
|
105
105
|
learn the business website, and confirm the business details and contact email.
|
|
106
106
|
The project must be enabled on the server; `chat: true` never bypasses plan access.
|
|
@@ -121,7 +121,7 @@ import { UpstepProvider, FeedbackWidget } from '@upstep/js/react';
|
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
```html
|
|
124
|
-
<script defer src="https://unpkg.com/@upstep/js@0.7.
|
|
124
|
+
<script defer src="https://unpkg.com/@upstep/js@0.7.2/dist/upstep.global.js"
|
|
125
125
|
data-api-key="YOUR_PROJECT_KEY" data-chat="true"></script>
|
|
126
126
|
```
|
|
127
127
|
|
|
@@ -140,3 +140,5 @@ The website launcher and its opened chat/feedback panel stay in the bottom-right
|
|
|
140
140
|
Support can show quick replies, issue details, resolution confirmations, and a contact card. The team action appears only after AI discusses the issue and tries to help, or establishes that a human must perform the action. Asking for an agent alone never opens a contact form. Active cards stay near the composer, contact details use two short steps, and optional issue fields expand only when needed. The server requires a name and valid email before queueing a private ticket. AI replies stay short, with separate paragraphs and no em dashes.
|
|
141
141
|
|
|
142
142
|
A DOM-free client is available from `@upstep/js/support` for custom native integrations. The React Native SDK uses this same client inside its existing feedback sheet.
|
|
143
|
+
|
|
144
|
+
Business branding comes from Customer support → Settings in UpStep. Website learning detects a business icon for review; you can replace it with an upload or public image URL. The approved icon is shared by the web and native chat widgets. Setup questions offer suggested choices when appropriate, with a custom answer field.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@upstep/js",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"description": "UpStep feedback, voting and AI support widgets for web apps",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://upstep.dev",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"dist"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@upstep/types": "0.7.
|
|
45
|
+
"@upstep/types": "0.7.2"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"react": ">=18",
|