@blinq_ai/widget 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.
package/README.md CHANGED
@@ -15,8 +15,8 @@ npm install @blinq_ai/widget
15
15
  ```html
16
16
  <blinq-widget
17
17
  public-token="bq_pk_..."
18
- api-base-url="https://api.blinq.kz"
19
- mcp-endpoint="https://mcp.blinq.kz"
18
+ api-base-url="https://app.blinq.kz"
19
+ mcp-endpoint="https://app.blinq.kz/mcp"
20
20
  ></blinq-widget>
21
21
  <script type="module">
22
22
  import "@blinq_ai/widget/browser"
@@ -30,8 +30,8 @@ import { init } from "@blinq_ai/widget"
30
30
 
31
31
  await init({
32
32
  publicToken: "bq_pk_...",
33
- apiBaseUrl: "https://api.blinq.kz",
34
- mcpEndpoint: "https://mcp.blinq.kz",
33
+ apiBaseUrl: "https://app.blinq.kz",
34
+ mcpEndpoint: "https://app.blinq.kz/mcp",
35
35
  })
36
36
  ```
37
37
 
@@ -51,6 +51,14 @@ npx @blinq_ai/widget login
51
51
  npx @blinq_ai/widget init
52
52
  ```
53
53
 
54
+ For self-hosted installs or DNS-restricted shells:
55
+
56
+ ```bash
57
+ npx @blinq_ai/widget login --api-base-url https://app.blinq.kz
58
+ # or
59
+ BLINQ_API_BASE_URL=https://app.blinq.kz npx @blinq_ai/widget login
60
+ ```
61
+
54
62
  ## Updates
55
63
 
56
64
  - Publish a new version to npm when the package changes.