@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 +12 -4
- package/dist/blinq-widget.iife.global.js +1923 -997
- package/dist/blinq-widget.iife.global.js.map +1 -1
- package/dist/browser.cjs +1580 -796
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +3 -2
- package/dist/browser.d.ts +3 -2
- package/dist/browser.js +168 -1114
- package/dist/browser.js.map +1 -1
- package/dist/{chunk-2BSH3PRA.js → chunk-DQF42RXH.js} +1884 -145
- package/dist/chunk-DQF42RXH.js.map +1 -0
- package/dist/cli.js +122 -14
- package/dist/index.cjs +1886 -142
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +96 -108
- package/dist/index.d.ts +96 -108
- package/dist/index.js +11 -1
- package/dist/widget-core-D0ZdQY2E.d.cts +253 -0
- package/dist/widget-core-D0ZdQY2E.d.ts +253 -0
- package/package.json +3 -2
- package/dist/chunk-2BSH3PRA.js.map +0 -1
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://
|
|
19
|
-
mcp-endpoint="https://
|
|
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://
|
|
34
|
-
mcpEndpoint: "https://
|
|
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.
|