@owlmeans/web-inquiry 0.1.18-rc.1 → 0.1.18-rc.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/README.md
CHANGED
|
@@ -8,7 +8,7 @@ menu entry or a floating button. Every dialog open is reported once as an analyt
|
|
|
8
8
|
## Installation
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
|
-
bun add @owlmeans/web-inquiry@^0.1.18-rc.
|
|
11
|
+
bun add @owlmeans/web-inquiry@^0.1.18-rc.3 @owlmeans/common-inquiry@^0.1.18-rc.3
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
## Usage
|
|
@@ -76,7 +76,7 @@ This package ships embedded agent skills under `agent-meta/`. After installing y
|
|
|
76
76
|
your project's skill store (`.agents/skills/`):
|
|
77
77
|
|
|
78
78
|
```sh
|
|
79
|
-
npx @owlmeans/agent-skills@^0.1.18-rc.
|
|
79
|
+
npx @owlmeans/agent-skills@^0.1.18-rc.57
|
|
80
80
|
```
|
|
81
81
|
|
|
82
82
|
The embedded files are version-matched to this package release. Do not edit them
|
package/agent-meta/manifest.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"schemaVersion":
|
|
2
|
+
"schemaVersion": 3,
|
|
3
3
|
"package": "@owlmeans/web-inquiry",
|
|
4
|
-
"version": "0.1.18-rc.
|
|
5
|
-
"generatedAt": "2026-10-
|
|
4
|
+
"version": "0.1.18-rc.3",
|
|
5
|
+
"generatedAt": "2026-10-20T23:19:58.625Z",
|
|
6
6
|
"canonicalRepo": "https://github.com/owlmeans/common",
|
|
7
7
|
"entries": [
|
|
8
8
|
{
|
|
@@ -8,7 +8,7 @@ user-invocable: false
|
|
|
8
8
|
# @owlmeans/web-inquiry
|
|
9
9
|
|
|
10
10
|
**Layer:** Web (depends on `@owlmeans/common-inquiry` and `@owlmeans/log`; no React, no widget code)
|
|
11
|
-
**Install:** `"@owlmeans/web-inquiry": "^0.1.18-rc.
|
|
11
|
+
**Install:** `"@owlmeans/web-inquiry": "^0.1.18-rc.3"` in `dependencies`
|
|
12
12
|
|
|
13
13
|
The host half of the inquiry widget. The dialog itself — React, styles, reCAPTCHA, the upload — is
|
|
14
14
|
a bundle the CRM serves; this package only loads it, opens it and reports the opens. A page pays
|
|
@@ -43,6 +43,11 @@ the opens of an unclaimed widget). The last client to act sets the runtime's lan
|
|
|
43
43
|
| `onOpen(event)` | called once per open, after the analytics event |
|
|
44
44
|
| `timeoutMs` | how long `load` waits; default `INQUIRY_LOAD_TIMEOUT` (10 000) |
|
|
45
45
|
|
|
46
|
+
A trigger can also prepare the message: `bind(element, config, { source, message: () => ({ subject,
|
|
47
|
+
body }) })` hands the provider to the runtime unread, so it is read at the click and a trigger that
|
|
48
|
+
keeps its text current (an estimate being adjusted) needs no re-binding (`InquiryOpenOptions.message`,
|
|
49
|
+
`common-inquiry`).
|
|
50
|
+
|
|
46
51
|
The client passes the email source to the widget; neither creating a client, binding triggers nor
|
|
47
52
|
`load()` invokes it. Supply `email` in `open`, `bind` or `button` options to override the client's
|
|
48
53
|
default. A floating button's handle carries the same default into its `open` unless overridden.
|
package/build/index.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ export type * from './types.js';
|
|
|
2
2
|
export * from './consts.js';
|
|
3
3
|
export * from './errors.js';
|
|
4
4
|
export * from './client.js';
|
|
5
|
-
export type { InquiryButtonOptions, InquiryEmailOptions, InquiryEmailPreset, InquiryEmailValue, InquiryHandle, InquiryOpenEvent, InquiryOpenOptions, InquiryRuntime, InquiryTab, InquiryWidgetConfig, LocalizedText, } from '@owlmeans/common-inquiry';
|
|
5
|
+
export type { InquiryButtonOptions, InquiryEmailOptions, InquiryEmailPreset, InquiryEmailValue, InquiryHandle, InquiryMessage, InquiryMessagePreset, InquiryOpenEvent, InquiryOpenOptions, InquiryRuntime, InquiryTab, InquiryWidgetConfig, LocalizedText, } from '@owlmeans/common-inquiry';
|
|
6
6
|
export { INQUIRY_OPEN_EVENT } from '@owlmeans/common-inquiry';
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,YAAY,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,YAAY,EACV,oBAAoB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,aAAa,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,YAAY,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,YAAY,EACV,oBAAoB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,aAAa,EAAE,cAAc,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,cAAc,EAC3L,UAAU,EACV,mBAAmB,EAAE,aAAa,GACnC,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA"}
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAM3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@owlmeans/web-inquiry",
|
|
3
|
-
"version": "0.1.18-rc.
|
|
3
|
+
"version": "0.1.18-rc.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Lightweight browser SDK of the OwlMeans customer inquiry widget — injects the widget runtime once, opens its dialog from any trigger and reports each open as an analytics event.",
|
|
6
6
|
"type": "module",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"agent-meta"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@owlmeans/common-inquiry": "^0.1.18-rc.
|
|
31
|
-
"@owlmeans/log": "^0.1.18-rc.
|
|
30
|
+
"@owlmeans/common-inquiry": "^0.1.18-rc.3",
|
|
31
|
+
"@owlmeans/log": "^0.1.18-rc.4"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@owlmeans/dep-config": "workspace:*",
|