@atlaskit/insm 0.2.1 → 0.2.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/CHANGELOG.md
CHANGED
package/dist/cjs/insm-session.js
CHANGED
|
@@ -187,6 +187,7 @@ var INSMSession = exports.INSMSession = /*#__PURE__*/function () {
|
|
|
187
187
|
actionSubject: 'insm',
|
|
188
188
|
action: 'measured',
|
|
189
189
|
attributes: _objectSpread(_objectSpread(_objectSpread({}, evaluatedAddedProperties), {}, {
|
|
190
|
+
'event:population': this.insm.options.population,
|
|
190
191
|
experienceKey: this.experienceKey,
|
|
191
192
|
initial: this.experienceProperties.initial,
|
|
192
193
|
contentId: this.experienceProperties.contentId,
|
|
@@ -150,6 +150,7 @@ export class INSMSession {
|
|
|
150
150
|
attributes: {
|
|
151
151
|
// Added first to ensure these don't overwrite any insm properties
|
|
152
152
|
...evaluatedAddedProperties,
|
|
153
|
+
'event:population': this.insm.options.population,
|
|
153
154
|
experienceKey: this.experienceKey,
|
|
154
155
|
initial: this.experienceProperties.initial,
|
|
155
156
|
contentId: this.experienceProperties.contentId,
|
package/dist/esm/insm-session.js
CHANGED
|
@@ -181,6 +181,7 @@ export var INSMSession = /*#__PURE__*/function () {
|
|
|
181
181
|
actionSubject: 'insm',
|
|
182
182
|
action: 'measured',
|
|
183
183
|
attributes: _objectSpread(_objectSpread(_objectSpread({}, evaluatedAddedProperties), {}, {
|
|
184
|
+
'event:population': this.insm.options.population,
|
|
184
185
|
experienceKey: this.experienceKey,
|
|
185
186
|
initial: this.experienceProperties.initial,
|
|
186
187
|
contentId: this.experienceProperties.contentId,
|
package/dist/types/types.d.ts
CHANGED
|
@@ -9,6 +9,15 @@ export type INSMOptions = {
|
|
|
9
9
|
} | undefined;
|
|
10
10
|
};
|
|
11
11
|
getAnalyticsWebClient: Promise<AnalyticsWebClient>;
|
|
12
|
+
/**
|
|
13
|
+
* The Event Population is intended for segmenting traffic based on
|
|
14
|
+
* overrides/segments used in Statsig for targeting.
|
|
15
|
+
* ie. "customer-test", "internal-test", "release-tracks", "experiment-population"
|
|
16
|
+
*
|
|
17
|
+
* See https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/dynamic_configs/cc_ufo_group
|
|
18
|
+
* for an example dynamic config powering the Confluence population.
|
|
19
|
+
*/
|
|
20
|
+
population?: string;
|
|
12
21
|
};
|
|
13
22
|
export type ExperienceProperties = {
|
|
14
23
|
/**
|
|
@@ -9,6 +9,15 @@ export type INSMOptions = {
|
|
|
9
9
|
} | undefined;
|
|
10
10
|
};
|
|
11
11
|
getAnalyticsWebClient: Promise<AnalyticsWebClient>;
|
|
12
|
+
/**
|
|
13
|
+
* The Event Population is intended for segmenting traffic based on
|
|
14
|
+
* overrides/segments used in Statsig for targeting.
|
|
15
|
+
* ie. "customer-test", "internal-test", "release-tracks", "experiment-population"
|
|
16
|
+
*
|
|
17
|
+
* See https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/dynamic_configs/cc_ufo_group
|
|
18
|
+
* for an example dynamic config powering the Confluence population.
|
|
19
|
+
*/
|
|
20
|
+
population?: string;
|
|
12
21
|
};
|
|
13
22
|
export type ExperienceProperties = {
|
|
14
23
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/insm",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "INSM tooling measures user-perceived interactivity of a page",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"atlassian": {
|
|
11
11
|
"team": "Editor: Lego"
|
|
12
12
|
},
|
|
13
|
-
"repository": "https://
|
|
13
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-monorepo",
|
|
14
14
|
"main": "dist/cjs/index.js",
|
|
15
15
|
"module": "dist/esm/index.js",
|
|
16
16
|
"module:es2019": "dist/es2019/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@atlaskit/analytics-listeners": "^9.1.0",
|
|
29
29
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
30
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
30
|
+
"@atlaskit/tmp-editor-statsig": "^16.0.0",
|
|
31
31
|
"@babel/runtime": "^7.0.0",
|
|
32
32
|
"bowser-ultralight": "^1.0.6"
|
|
33
33
|
},
|