@newskit-render/my-account 7.129.5 → 7.130.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.
- package/dist/cjs/helpers/featureFlagUtils.d.ts +2 -16
- package/dist/cjs/helpers/featureFlagUtils.js +11 -14
- package/dist/cjs/helpers/featureFlagUtils.js.map +1 -1
- package/dist/esm/helpers/featureFlagUtils.d.ts +2 -16
- package/dist/esm/helpers/featureFlagUtils.js +11 -14
- package/dist/esm/helpers/featureFlagUtils.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Subscriptions } from '../pages/types';
|
|
2
|
+
import { SDKConfig } from '@newskit-render/feature-flags';
|
|
2
3
|
export interface AttributesContext {
|
|
3
4
|
headers?: {
|
|
4
5
|
[x: string]: string | string[] | undefined;
|
|
@@ -12,22 +13,7 @@ export interface AttributesContext {
|
|
|
12
13
|
}
|
|
13
14
|
export declare const getUserAttributes: (context: AttributesContext, attributes?: {
|
|
14
15
|
[x: string]: string | boolean;
|
|
15
|
-
}) =>
|
|
16
|
-
userData: {
|
|
17
|
-
attributes: {
|
|
18
|
-
has_discount: string | boolean;
|
|
19
|
-
has_consent: string | boolean;
|
|
20
|
-
contract_phase?: string | true | undefined;
|
|
21
|
-
is_voucher?: string | true | undefined;
|
|
22
|
-
mp_code?: string | true | undefined;
|
|
23
|
-
is_qa_test: boolean;
|
|
24
|
-
is_automation_test: boolean;
|
|
25
|
-
in_embedded_mode: boolean;
|
|
26
|
-
in_cypress: boolean;
|
|
27
|
-
};
|
|
28
|
-
userId: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
16
|
+
}) => SDKConfig;
|
|
31
17
|
export declare const prepareOptimizelyData: (userData?: {
|
|
32
18
|
user?: {
|
|
33
19
|
subscriptions?: Subscriptions[];
|
|
@@ -52,16 +52,17 @@ var shared_components_1 = require("@newskit-render/shared-components");
|
|
|
52
52
|
var cookiesUtils_1 = require("./cookiesUtils");
|
|
53
53
|
var subscriptionsUtils_1 = require("./subscriptionsUtils");
|
|
54
54
|
var getUserAttributes = function (context, attributes) {
|
|
55
|
-
var _a, _b, _c;
|
|
55
|
+
var _a, _b, _c, _d;
|
|
56
56
|
var headers = context === null || context === void 0 ? void 0 : context.headers;
|
|
57
57
|
var cookies = context === null || context === void 0 ? void 0 : context.cookies;
|
|
58
58
|
return {
|
|
59
|
+
logLevel: 'debug',
|
|
59
60
|
userData: {
|
|
60
61
|
attributes: __assign(__assign(__assign(__assign({ is_qa_test: (cookies === null || cookies === void 0 ? void 0 : cookies.is_qa_test) === 'true' || false, is_automation_test: (cookies === null || cookies === void 0 ? void 0 : cookies.is_automation_test) === 'true' || false, in_embedded_mode: (headers === null || headers === void 0 ? void 0 : headers[shared_components_1.RequestHeadersKeys.userPlatform]) !== undefined, in_cypress: ((_a = context === null || context === void 0 ? void 0 : context.query) === null || _a === void 0 ? void 0 : _a.fromCypress) === 'true' }, ((attributes === null || attributes === void 0 ? void 0 : attributes.mp_code) ? { mp_code: attributes === null || attributes === void 0 ? void 0 : attributes.mp_code } : {})), ((attributes === null || attributes === void 0 ? void 0 : attributes.is_voucher)
|
|
61
62
|
? { is_voucher: attributes === null || attributes === void 0 ? void 0 : attributes.is_voucher }
|
|
62
63
|
: {})), ((attributes === null || attributes === void 0 ? void 0 : attributes.contract_phase)
|
|
63
64
|
? { contract_phase: attributes === null || attributes === void 0 ? void 0 : attributes.contract_phase }
|
|
64
|
-
: {})), { has_discount: (_b = attributes === null || attributes === void 0 ? void 0 : attributes.has_discount) !== null && _b !== void 0 ? _b : false, has_consent: (_c = attributes === null || attributes === void 0 ? void 0 : attributes.hasConsent) !== null && _c !== void 0 ? _c : false }),
|
|
65
|
+
: {})), { has_discount: (_b = attributes === null || attributes === void 0 ? void 0 : attributes.has_discount) !== null && _b !== void 0 ? _b : false, has_consent: (_c = attributes === null || attributes === void 0 ? void 0 : attributes.hasConsent) !== null && _c !== void 0 ? _c : false, unfilteredId: (_d = attributes === null || attributes === void 0 ? void 0 : attributes.userId) !== null && _d !== void 0 ? _d : '' }),
|
|
65
66
|
userId: (attributes === null || attributes === void 0 ? void 0 : attributes.userId) || '',
|
|
66
67
|
},
|
|
67
68
|
};
|
|
@@ -91,19 +92,15 @@ var prepareOptimizelyData = function (userData, context) {
|
|
|
91
92
|
};
|
|
92
93
|
exports.prepareOptimizelyData = prepareOptimizelyData;
|
|
93
94
|
// Client-side tracking, only if we have consent
|
|
95
|
+
// consent check moved to the SDK for better visibility
|
|
94
96
|
// istanbul ignore next
|
|
95
97
|
var trackEvent = function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
96
|
-
var
|
|
98
|
+
var error_1;
|
|
97
99
|
var eventName = _b.eventName, cpn = _b.cpn, mpcode = _b.mpcode, tags = _b.tags;
|
|
98
100
|
return __generator(this, function (_c) {
|
|
99
101
|
switch (_c.label) {
|
|
100
102
|
case 0:
|
|
101
|
-
|
|
102
|
-
if (!hasConsent)
|
|
103
|
-
return [2 /*return*/];
|
|
104
|
-
_c.label = 1;
|
|
105
|
-
case 1:
|
|
106
|
-
_c.trys.push([1, 3, , 4]);
|
|
103
|
+
_c.trys.push([0, 2, , 3]);
|
|
107
104
|
return [4 /*yield*/, fetch('/api/account/track-event', {
|
|
108
105
|
method: 'POST',
|
|
109
106
|
body: JSON.stringify({
|
|
@@ -113,14 +110,14 @@ var trackEvent = function (_a) { return __awaiter(void 0, [_a], void 0, function
|
|
|
113
110
|
mpcode: mpcode,
|
|
114
111
|
}),
|
|
115
112
|
})];
|
|
116
|
-
case
|
|
113
|
+
case 1:
|
|
117
114
|
_c.sent();
|
|
118
|
-
return [3 /*break*/,
|
|
119
|
-
case
|
|
115
|
+
return [3 /*break*/, 3];
|
|
116
|
+
case 2:
|
|
120
117
|
error_1 = _c.sent();
|
|
121
118
|
console.error('Error tracking optimizely event:', error_1);
|
|
122
|
-
return [3 /*break*/,
|
|
123
|
-
case
|
|
119
|
+
return [3 /*break*/, 3];
|
|
120
|
+
case 3: return [2 /*return*/];
|
|
124
121
|
}
|
|
125
122
|
});
|
|
126
123
|
}); };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"featureFlagUtils.js","sourceRoot":"","sources":["../../../src/helpers/featureFlagUtils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uEAAsE;AAEtE,+CAAmD;AACnD,2DAG6B;
|
|
1
|
+
{"version":3,"file":"featureFlagUtils.js","sourceRoot":"","sources":["../../../src/helpers/featureFlagUtils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uEAAsE;AAEtE,+CAAmD;AACnD,2DAG6B;AAUtB,IAAM,iBAAiB,GAAG,UAC/B,OAA0B,EAC1B,UAA8C;;IAE9C,IAAM,OAAO,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CAAA;IAChC,IAAM,OAAO,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CAAA;IAChC,OAAO;QACL,QAAQ,EAAE,OAAO;QACjB,QAAQ,EAAE;YACR,UAAU,wCACR,UAAU,EAAE,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,UAAU,MAAK,MAAM,IAAI,KAAK,EACnD,kBAAkB,EAAE,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,kBAAkB,MAAK,MAAM,IAAI,KAAK,EACnE,gBAAgB,EACd,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAG,sCAAkB,CAAC,YAAY,CAAC,MAAK,SAAS,EAC1D,UAAU,EAAE,CAAA,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,0CAAE,WAAW,MAAK,MAAM,IAE/C,CAAC,CAAA,UAAU,aAAV,UAAU,uBAAV,UAAU,CAAE,OAAO,EAAC,CAAC,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,CAAA;;;;;KAE3D,CAAA;AApBY,QAAA,UAAU,cAoBtB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Subscriptions } from '../pages/types';
|
|
2
|
+
import { SDKConfig } from '@newskit-render/feature-flags';
|
|
2
3
|
export interface AttributesContext {
|
|
3
4
|
headers?: {
|
|
4
5
|
[x: string]: string | string[] | undefined;
|
|
@@ -12,22 +13,7 @@ export interface AttributesContext {
|
|
|
12
13
|
}
|
|
13
14
|
export declare const getUserAttributes: (context: AttributesContext, attributes?: {
|
|
14
15
|
[x: string]: string | boolean;
|
|
15
|
-
}) =>
|
|
16
|
-
userData: {
|
|
17
|
-
attributes: {
|
|
18
|
-
has_discount: string | boolean;
|
|
19
|
-
has_consent: string | boolean;
|
|
20
|
-
contract_phase?: string | true | undefined;
|
|
21
|
-
is_voucher?: string | true | undefined;
|
|
22
|
-
mp_code?: string | true | undefined;
|
|
23
|
-
is_qa_test: boolean;
|
|
24
|
-
is_automation_test: boolean;
|
|
25
|
-
in_embedded_mode: boolean;
|
|
26
|
-
in_cypress: boolean;
|
|
27
|
-
};
|
|
28
|
-
userId: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
16
|
+
}) => SDKConfig;
|
|
31
17
|
export declare const prepareOptimizelyData: (userData?: {
|
|
32
18
|
user?: {
|
|
33
19
|
subscriptions?: Subscriptions[];
|
|
@@ -49,16 +49,17 @@ import { RequestHeadersKeys } from '@newskit-render/shared-components';
|
|
|
49
49
|
import { hasTrackingConsent } from './cookiesUtils';
|
|
50
50
|
import { findActiveContractPhase, hasActiveOrUpcomingDiscount, } from './subscriptionsUtils';
|
|
51
51
|
export var getUserAttributes = function (context, attributes) {
|
|
52
|
-
var _a, _b, _c;
|
|
52
|
+
var _a, _b, _c, _d;
|
|
53
53
|
var headers = context === null || context === void 0 ? void 0 : context.headers;
|
|
54
54
|
var cookies = context === null || context === void 0 ? void 0 : context.cookies;
|
|
55
55
|
return {
|
|
56
|
+
logLevel: 'debug',
|
|
56
57
|
userData: {
|
|
57
58
|
attributes: __assign(__assign(__assign(__assign({ is_qa_test: (cookies === null || cookies === void 0 ? void 0 : cookies.is_qa_test) === 'true' || false, is_automation_test: (cookies === null || cookies === void 0 ? void 0 : cookies.is_automation_test) === 'true' || false, in_embedded_mode: (headers === null || headers === void 0 ? void 0 : headers[RequestHeadersKeys.userPlatform]) !== undefined, in_cypress: ((_a = context === null || context === void 0 ? void 0 : context.query) === null || _a === void 0 ? void 0 : _a.fromCypress) === 'true' }, ((attributes === null || attributes === void 0 ? void 0 : attributes.mp_code) ? { mp_code: attributes === null || attributes === void 0 ? void 0 : attributes.mp_code } : {})), ((attributes === null || attributes === void 0 ? void 0 : attributes.is_voucher)
|
|
58
59
|
? { is_voucher: attributes === null || attributes === void 0 ? void 0 : attributes.is_voucher }
|
|
59
60
|
: {})), ((attributes === null || attributes === void 0 ? void 0 : attributes.contract_phase)
|
|
60
61
|
? { contract_phase: attributes === null || attributes === void 0 ? void 0 : attributes.contract_phase }
|
|
61
|
-
: {})), { has_discount: (_b = attributes === null || attributes === void 0 ? void 0 : attributes.has_discount) !== null && _b !== void 0 ? _b : false, has_consent: (_c = attributes === null || attributes === void 0 ? void 0 : attributes.hasConsent) !== null && _c !== void 0 ? _c : false }),
|
|
62
|
+
: {})), { has_discount: (_b = attributes === null || attributes === void 0 ? void 0 : attributes.has_discount) !== null && _b !== void 0 ? _b : false, has_consent: (_c = attributes === null || attributes === void 0 ? void 0 : attributes.hasConsent) !== null && _c !== void 0 ? _c : false, unfilteredId: (_d = attributes === null || attributes === void 0 ? void 0 : attributes.userId) !== null && _d !== void 0 ? _d : '' }),
|
|
62
63
|
userId: (attributes === null || attributes === void 0 ? void 0 : attributes.userId) || '',
|
|
63
64
|
},
|
|
64
65
|
};
|
|
@@ -86,19 +87,15 @@ export var prepareOptimizelyData = function (userData, context) {
|
|
|
86
87
|
};
|
|
87
88
|
};
|
|
88
89
|
// Client-side tracking, only if we have consent
|
|
90
|
+
// consent check moved to the SDK for better visibility
|
|
89
91
|
// istanbul ignore next
|
|
90
92
|
export var trackEvent = function (_a) { return __awaiter(void 0, [_a], void 0, function (_b) {
|
|
91
|
-
var
|
|
93
|
+
var error_1;
|
|
92
94
|
var eventName = _b.eventName, cpn = _b.cpn, mpcode = _b.mpcode, tags = _b.tags;
|
|
93
95
|
return __generator(this, function (_c) {
|
|
94
96
|
switch (_c.label) {
|
|
95
97
|
case 0:
|
|
96
|
-
|
|
97
|
-
if (!hasConsent)
|
|
98
|
-
return [2 /*return*/];
|
|
99
|
-
_c.label = 1;
|
|
100
|
-
case 1:
|
|
101
|
-
_c.trys.push([1, 3, , 4]);
|
|
98
|
+
_c.trys.push([0, 2, , 3]);
|
|
102
99
|
return [4 /*yield*/, fetch('/api/account/track-event', {
|
|
103
100
|
method: 'POST',
|
|
104
101
|
body: JSON.stringify({
|
|
@@ -108,14 +105,14 @@ export var trackEvent = function (_a) { return __awaiter(void 0, [_a], void 0, f
|
|
|
108
105
|
mpcode: mpcode,
|
|
109
106
|
}),
|
|
110
107
|
})];
|
|
111
|
-
case
|
|
108
|
+
case 1:
|
|
112
109
|
_c.sent();
|
|
113
|
-
return [3 /*break*/,
|
|
114
|
-
case
|
|
110
|
+
return [3 /*break*/, 3];
|
|
111
|
+
case 2:
|
|
115
112
|
error_1 = _c.sent();
|
|
116
113
|
console.error('Error tracking optimizely event:', error_1);
|
|
117
|
-
return [3 /*break*/,
|
|
118
|
-
case
|
|
114
|
+
return [3 /*break*/, 3];
|
|
115
|
+
case 3: return [2 /*return*/];
|
|
119
116
|
}
|
|
120
117
|
});
|
|
121
118
|
}); };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"featureFlagUtils.js","sourceRoot":"","sources":["../../../src/helpers/featureFlagUtils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAA;AA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@newskit-render/my-account",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.130.0",
|
|
4
4
|
"description": "Newskit Render",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@emotion/styled": "11.9.3",
|
|
36
36
|
"@hookform/resolvers": "2.9.10",
|
|
37
37
|
"@newskit-render/api": "^1.16.63",
|
|
38
|
-
"@newskit-render/feature-flags": "^1.
|
|
38
|
+
"@newskit-render/feature-flags": "^1.12.0",
|
|
39
39
|
"@newskit-render/shared-components": "^4.53.29",
|
|
40
40
|
"@newskit-render/validation": "^1.20.23",
|
|
41
41
|
"@stripe/react-stripe-js": "2.1.1",
|