@usesequential/browser 1.0.0 → 1.0.1
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/CHANGELOG.md +4 -0
- package/README.md +14 -1
- package/dist/index.cjs +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.1
|
|
4
|
+
|
|
5
|
+
- README only: where the key comes from when there is no account yet (a trial that a coding agent creates with one call). No code change.
|
|
6
|
+
|
|
3
7
|
## 1.0.0
|
|
4
8
|
|
|
5
9
|
- First release: `init(options)` and `VERSION`. The SDK code is `sequential.js`, the file the script tag loads, with
|
package/README.md
CHANGED
|
@@ -15,7 +15,20 @@ from one call. The code is `sequential.js`, the file that the Sequential script
|
|
|
15
15
|
npm install @usesequential/browser
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
You need the project's **sequential** key (`sq_sequential_…`) and the API host, `https://api.usesequential.com`:
|
|
19
|
+
|
|
20
|
+
- **You have a Sequential project:** copy them from **Setup** in Sequential.
|
|
21
|
+
- **No account yet (for example, a coding agent installing this for someone):** create a trial with one call. No
|
|
22
|
+
account is needed. The answer's `ingest_key` is the key; the person claims the trial from an email within 72 hours.
|
|
23
|
+
Until then, the trial accepts events only from `localhost`.
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
curl -X POST https://api.usesequential.com/api/agent/provision \
|
|
27
|
+
-H 'content-type: application/json' \
|
|
28
|
+
-d '{"owner_email": "person@example.com", "platform": "web"}'
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Details: [Let your agent set up a trial](https://www.usesequential.com/docs/agent-trial).
|
|
19
32
|
|
|
20
33
|
## Start it
|
|
21
34
|
|
package/dist/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @usesequential/browser 1.0.
|
|
1
|
+
/* @usesequential/browser 1.0.1: the Sequential browser SDK. MIT. https://www.usesequential.com/docs/browser-npm
|
|
2
2
|
* `boot` below is sequential.js, the file the script tag loads, unchanged. */
|
|
3
3
|
'use strict';
|
|
4
4
|
var boot = (function (injectedTag) {
|
|
@@ -1878,7 +1878,7 @@ var boot = (function (injectedTag) {
|
|
|
1878
1878
|
}
|
|
1879
1879
|
});
|
|
1880
1880
|
|
|
1881
|
-
var VERSION = '1.0.
|
|
1881
|
+
var VERSION = '1.0.1';
|
|
1882
1882
|
var running = null;
|
|
1883
1883
|
|
|
1884
1884
|
function logLine(level, message) {
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @usesequential/browser 1.0.
|
|
1
|
+
/* @usesequential/browser 1.0.1: the Sequential browser SDK. MIT. https://www.usesequential.com/docs/browser-npm
|
|
2
2
|
* `boot` below is sequential.js, the file the script tag loads, unchanged. */
|
|
3
3
|
var boot = (function (injectedTag) {
|
|
4
4
|
'use strict';
|
|
@@ -1877,7 +1877,7 @@ var boot = (function (injectedTag) {
|
|
|
1877
1877
|
}
|
|
1878
1878
|
});
|
|
1879
1879
|
|
|
1880
|
-
var VERSION = '1.0.
|
|
1880
|
+
var VERSION = '1.0.1';
|
|
1881
1881
|
var running = null;
|
|
1882
1882
|
|
|
1883
1883
|
function logLine(level, message) {
|
package/package.json
CHANGED