@enhance-eng/sdk 0.1.161 → 0.1.165
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 +5 -2
- package/dist/browser/kernel.iife.js +1719 -399
- package/dist/{capture-client.client-BM_NxOqy.mjs → capture-client.client-C_8yINru.mjs} +3 -3
- package/dist/{capture-context.lib-LXUORfkL.mjs → capture-context.lib-D4OEonRp.mjs} +2 -2
- package/dist/client.mjs +1 -1
- package/dist/environment.config-Ctm1VHM9.mjs +83 -0
- package/dist/index.mjs +2 -2
- package/dist/{package-BFIjCgBc.mjs → package-C-PfWfSh.mjs} +1 -1
- package/dist/playwright/index.mjs +175 -70
- package/dist/playwright/reporter.mjs +4 -4
- package/dist/{stall-watch.lib-DgIzqC3b.mjs → stall-watch.lib-JRTp4jPK.mjs} +468 -58
- package/package.json +3 -3
- package/dist/environment.config-BlBA4N5X.mjs +0 -34
package/README.md
CHANGED
|
@@ -35,8 +35,11 @@ set +a
|
|
|
35
35
|
|
|
36
36
|
Its values are `ENHANCE_ENVIRONMENT=local`, `ENHANCE_API_URL=http://localhost:3000` (or the
|
|
37
37
|
worktree API port), and `ENHANCE_TOKEN` from that local instance. In CI, set the environment
|
|
38
|
-
name and its token as job configuration and a secret respectively.
|
|
39
|
-
|
|
38
|
+
name and its token as job configuration and a secret respectively. On your own machine you can
|
|
39
|
+
skip the token: when neither `token` nor `ENHANCE_TOKEN` is given, the SDK uses the sign-in the
|
|
40
|
+
Enhance CLI saved for the same environment (`enhance-dev auth login` for development, `enhance auth
|
|
41
|
+
login` for production). It never uses a token from another environment, and never for `local` or a
|
|
42
|
+
custom API URL.
|
|
40
43
|
|
|
41
44
|
Integrations that already own destination and credential selection, such as the Enhance CLI,
|
|
42
45
|
import `createEnhance` from `@enhance-eng/sdk/client` and pass both `apiUrl` and `token`.
|