@nistrix/chat 0.1.2 → 0.1.3

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/chat.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * browsers are recognized by their origin, native apps by `appId` (their bundle id or package
5
5
  * name). The key is not a secret and can do nothing else.
6
6
  */
7
- export declare const DEFAULT_API_URL = "https://api.nistrix.com.br";
7
+ export declare const DEFAULT_API_URL = "https://api.nistrix.com";
8
8
  export interface ChatAttachment {
9
9
  /** Opens the file for a few minutes; a new link comes with every refresh. */
10
10
  url: string;
package/dist/chat.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * browsers are recognized by their origin, native apps by `appId` (their bundle id or package
5
5
  * name). The key is not a secret and can do nothing else.
6
6
  */
7
- export const DEFAULT_API_URL = "https://api.nistrix.com.br";
7
+ export const DEFAULT_API_URL = "https://api.nistrix.com";
8
8
  const APP_HEADER = "X-Nistrix-App";
9
9
  const FIRST_RETRY_MS = 1000;
10
10
  const MAX_RETRY_MS = 30_000;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nistrix/chat",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Nistrix chat for customers' sites and apps: visitors talk to the organization's agents and team with a publishable key (nx_pk_). Runs in browsers and React Native.",
5
5
  "license": "MIT",
6
6
  "author": "Nistrix <dev@nistrix.com>",