@nistrix/chat 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -4,6 +4,14 @@ The Nistrix chat for your own site or app: your visitors talk to your Nistrix ag
4
4
 
5
5
  It uses a **publishable key** (`nx_pk_live_...`, or `nx_pk_test_...` in your test environment). It is not a secret: it can only open visitor chats on one chat channel, from the sites and apps you listed on it. Never put a secret key (`nx_sk_`, `nx_rk_`) in a site or app.
6
6
 
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install @nistrix/chat
11
+ ```
12
+
13
+ The SDK and publishable keys are on every Nistrix plan, with no add-on.
14
+
7
15
  ## Get a key
8
16
 
9
17
  In Nistrix, **Integrations → API and MCP → Nistrix in your apps → Publishable keys**: choose the chat channel, list your sites (`https://shop.example`) and apps (`com.shop.app`), and copy the key.
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@nistrix/chat",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
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
+ "author": "Nistrix <dev@nistrix.com>",
6
7
  "repository": {
7
8
  "type": "git",
8
9
  "url": "https://github.com/nistrix-ltda/nistrix-chat-sdk.git"