@safaricom-mxl/web-sdk 0.0.23 → 0.0.24
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 +16 -10
- package/dist/api-analytics/manager/types.d.cts +2 -2
- package/dist/api-analytics/manager/types.d.cts.map +1 -1
- package/dist/api-analytics/manager/types.d.ts +2 -2
- package/dist/api-analytics/manager/types.d.ts.map +1 -1
- package/dist/constants/attributes.cjs +6 -0
- package/dist/constants/attributes.cjs.map +1 -1
- package/dist/constants/attributes.d.cts +5 -1
- package/dist/constants/attributes.d.cts.map +1 -1
- package/dist/constants/attributes.d.ts +5 -1
- package/dist/constants/attributes.d.ts.map +1 -1
- package/dist/constants/attributes.js +5 -1
- package/dist/constants/attributes.js.map +1 -1
- package/dist/managers/MXLAnalyticsManager/MXLAnalyticsManager.cjs +6 -3
- package/dist/managers/MXLAnalyticsManager/MXLAnalyticsManager.cjs.map +1 -1
- package/dist/managers/MXLAnalyticsManager/MXLAnalyticsManager.d.cts.map +1 -1
- package/dist/managers/MXLAnalyticsManager/MXLAnalyticsManager.d.ts.map +1 -1
- package/dist/managers/MXLAnalyticsManager/MXLAnalyticsManager.js +7 -4
- package/dist/managers/MXLAnalyticsManager/MXLAnalyticsManager.js.map +1 -1
- package/dist/mxl-web-sdk.js +2 -2
- package/dist/mxl-web-sdk.js.map +1 -1
- package/dist/resources/sdkConstants.cjs +1 -1
- package/dist/resources/sdkConstants.cjs.map +1 -1
- package/dist/resources/sdkConstants.d.cts +1 -1
- package/dist/resources/sdkConstants.d.ts +1 -1
- package/dist/resources/sdkConstants.js +1 -1
- package/dist/resources/sdkConstants.js.map +1 -1
- package/package.json +8 -8
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
//#region src/resources/sdkConstants.ts
|
|
3
3
|
const TEMPLATE_APP_VERSION = "MXLAppVersionX.X.X ";
|
|
4
|
-
const SDK_VERSION = "0.0.
|
|
4
|
+
const SDK_VERSION = "0.0.24";
|
|
5
5
|
const MXL_SERVICE_NAME = "mxl-web-sdk";
|
|
6
6
|
const NATIVE_FRAMEWORK = 1;
|
|
7
7
|
const MXL_APP_INSTANCE_ID_STORAGE_KEY = "mxl_app_instance_id";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdkConstants.cjs","names":[],"sources":["../../src/resources/sdkConstants.ts"],"sourcesContent":["export const TEMPLATE_APP_VERSION = 'MXLAppVersionX.X.X ';\nexport const SDK_VERSION = '0.0.
|
|
1
|
+
{"version":3,"file":"sdkConstants.cjs","names":[],"sources":["../../src/resources/sdkConstants.ts"],"sourcesContent":["export const TEMPLATE_APP_VERSION = 'MXLAppVersionX.X.X ';\nexport const SDK_VERSION = '0.0.24';\nexport const MXL_SERVICE_NAME = 'mxl-web-sdk';\n// NATIVE_FRAMEWORK is the representation MXL BE uses to differentiate between\n// Sdks. It is an enum, so we just send a number here\nexport const NATIVE_FRAMEWORK = 1;\nexport const MXL_APP_INSTANCE_ID_STORAGE_KEY = 'mxl_app_instance_id';\n"],"mappings":";;AAAA,MAAa,uBAAuB;AACpC,MAAa,cAAc;AAC3B,MAAa,mBAAmB;AAGhC,MAAa,mBAAmB;AAChC,MAAa,kCAAkC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/resources/sdkConstants.d.ts
|
|
2
2
|
declare const TEMPLATE_APP_VERSION = "MXLAppVersionX.X.X ";
|
|
3
|
-
declare const SDK_VERSION = "0.0.
|
|
3
|
+
declare const SDK_VERSION = "0.0.24";
|
|
4
4
|
declare const MXL_SERVICE_NAME = "mxl-web-sdk";
|
|
5
5
|
declare const NATIVE_FRAMEWORK = 1;
|
|
6
6
|
declare const MXL_APP_INSTANCE_ID_STORAGE_KEY = "mxl_app_instance_id";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/resources/sdkConstants.d.ts
|
|
2
2
|
declare const TEMPLATE_APP_VERSION = "MXLAppVersionX.X.X ";
|
|
3
|
-
declare const SDK_VERSION = "0.0.
|
|
3
|
+
declare const SDK_VERSION = "0.0.24";
|
|
4
4
|
declare const MXL_SERVICE_NAME = "mxl-web-sdk";
|
|
5
5
|
declare const NATIVE_FRAMEWORK = 1;
|
|
6
6
|
declare const MXL_APP_INSTANCE_ID_STORAGE_KEY = "mxl_app_instance_id";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/resources/sdkConstants.ts
|
|
2
2
|
const TEMPLATE_APP_VERSION = "MXLAppVersionX.X.X ";
|
|
3
|
-
const SDK_VERSION = "0.0.
|
|
3
|
+
const SDK_VERSION = "0.0.24";
|
|
4
4
|
const MXL_SERVICE_NAME = "mxl-web-sdk";
|
|
5
5
|
const NATIVE_FRAMEWORK = 1;
|
|
6
6
|
const MXL_APP_INSTANCE_ID_STORAGE_KEY = "mxl_app_instance_id";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdkConstants.js","names":[],"sources":["../../src/resources/sdkConstants.ts"],"sourcesContent":["export const TEMPLATE_APP_VERSION = 'MXLAppVersionX.X.X ';\nexport const SDK_VERSION = '0.0.
|
|
1
|
+
{"version":3,"file":"sdkConstants.js","names":[],"sources":["../../src/resources/sdkConstants.ts"],"sourcesContent":["export const TEMPLATE_APP_VERSION = 'MXLAppVersionX.X.X ';\nexport const SDK_VERSION = '0.0.24';\nexport const MXL_SERVICE_NAME = 'mxl-web-sdk';\n// NATIVE_FRAMEWORK is the representation MXL BE uses to differentiate between\n// Sdks. It is an enum, so we just send a number here\nexport const NATIVE_FRAMEWORK = 1;\nexport const MXL_APP_INSTANCE_ID_STORAGE_KEY = 'mxl_app_instance_id';\n"],"mappings":";AAAA,MAAa,uBAAuB;AACpC,MAAa,cAAc;AAC3B,MAAa,mBAAmB;AAGhC,MAAa,mBAAmB;AAChC,MAAa,kCAAkC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@safaricom-mxl/web-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.24",
|
|
4
4
|
"description": "MXL Web SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"instrumentation",
|
|
@@ -116,6 +116,13 @@
|
|
|
116
116
|
"rrweb": "^2.1.1",
|
|
117
117
|
"web-vitals": "^6.0.0"
|
|
118
118
|
},
|
|
119
|
+
"devDependencies": {
|
|
120
|
+
"@opentelemetry/sdk-trace-base": "^2.10.0",
|
|
121
|
+
"@types/react-router-domv4v5": "npm:@types/react-router-dom@5.3.3",
|
|
122
|
+
"history": "^5.3.0",
|
|
123
|
+
"react-router-domv4v5": "npm:react-router-dom@^5.3.4",
|
|
124
|
+
"react-router-domv6plus": "npm:react-router-dom@^7.18.1"
|
|
125
|
+
},
|
|
119
126
|
"peerDependencies": {
|
|
120
127
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
121
128
|
},
|
|
@@ -124,13 +131,6 @@
|
|
|
124
131
|
"optional": true
|
|
125
132
|
}
|
|
126
133
|
},
|
|
127
|
-
"devDependencies": {
|
|
128
|
-
"@opentelemetry/sdk-trace-base": "^2.10.0",
|
|
129
|
-
"@types/react-router-domv4v5": "npm:@types/react-router-dom@5.3.3",
|
|
130
|
-
"history": "^5.3.0",
|
|
131
|
-
"react-router-domv4v5": "npm:react-router-dom@^5.3.4",
|
|
132
|
-
"react-router-domv6plus": "npm:react-router-dom@^7.18.1"
|
|
133
|
-
},
|
|
134
134
|
"scripts": {
|
|
135
135
|
"clean": "npx -y rimraf dist .sonda",
|
|
136
136
|
"build": "pnpm --dir packages/otlp-transformer run build && tsdown",
|