@amplitude/experiment-tag 0.4.1 → 0.5.0

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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  ## Overview
4
4
 
5
- This is the Web Experimentation SDK for Amplitude Experiment. Currently, only split-URL experiments are supported.
5
+ This is the Web Experimentation SDK for Amplitude Experiment.
6
6
 
7
7
  ## Generate example
8
8
 
9
9
  To generate an example snippet with custom flag configurations:
10
- 1. Set `apiKey` (your Amplitude Project API key) and `initialFlags` in `example/build_example.js`
10
+ 1. Set `apiKey` (your Amplitude Project API key), `initialFlags` and `serverZone` in `example/build_example.js`
11
11
  2. Run `yarn build` to build minified UMD `experiment-tag.umd.js` and example `script.js`
12
12
 
13
13
  To test the snippet's behavior on web pages relevant to your experiment, the pages should:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amplitude/experiment-tag",
3
- "version": "0.4.1",
3
+ "version": "0.5.0",
4
4
  "description": "Amplitude Experiment Javascript Snippet",
5
5
  "author": "Amplitude",
6
6
  "homepage": "https://github.com/amplitude/experiment-js-client",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@amplitude/experiment-core": "^0.11.0",
30
- "@amplitude/experiment-js-client": "^1.15.1",
30
+ "@amplitude/experiment-js-client": "^1.15.2",
31
31
  "dom-mutator": "git+ssh://git@github.com:amplitude/dom-mutator#nested-html-fix"
32
32
  },
33
33
  "devDependencies": {
@@ -36,5 +36,5 @@
36
36
  "files": [
37
37
  "dist"
38
38
  ],
39
- "gitHead": "ccdcdca446bab61bf2fc615751e0933653c12307"
39
+ "gitHead": "bfa4f9919035ec5ccaa0010971b2b53f46a6f05c"
40
40
  }