@webority/support-react 0.37.0 → 0.39.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/README.md +3 -0
- package/dist/support-react.js +1 -1335
- package/dist/types/SupportProvider.d.ts +3 -1
- package/dist/types/context.d.ts +8 -1
- package/dist/types/lib/format.d.ts +12 -3
- package/package.json +7 -9
package/README.md
CHANGED
|
@@ -37,6 +37,9 @@ export function App() {
|
|
|
37
37
|
}
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
+
`SupportProvider` also takes `timeZone`, the IANA zone every ticket and message time is shown
|
|
41
|
+
in. It defaults to `Asia/Kolkata`; times read `06-Oct-2026, 1:10 PM`.
|
|
42
|
+
|
|
40
43
|
`createSupportClient(http, basePath = "/api/support")` accepts any axios-like instance with
|
|
41
44
|
`get(url, config)` and `post(url, data, config)` that resolve to `{ data }`. The second argument
|
|
42
45
|
is the base path as a string, or as `{ base }` the way `createChatClient(http, { base })` takes
|