@wix/monitoring-types 0.5.0 → 0.7.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/build/index.d.mts +3 -7
- package/build/index.d.ts +3 -7
- package/package.json +2 -2
package/build/index.d.mts
CHANGED
|
@@ -36,14 +36,9 @@ interface HostMonitoringContext {
|
|
|
36
36
|
*/
|
|
37
37
|
extensionData?: Record<string, unknown>;
|
|
38
38
|
/**
|
|
39
|
-
* The type of the
|
|
40
|
-
* Can be 'USER', 'MEMBER', or 'VISITOR'.
|
|
39
|
+
* The type of the platform the extension is running on.
|
|
41
40
|
*/
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* The unique identifier for the subject.
|
|
45
|
-
*/
|
|
46
|
-
subjectId?: string;
|
|
41
|
+
platform?: 'BACKEND' | 'DASHBOARD' | 'SITE_VIEWER' | 'SITE_EDITOR';
|
|
47
42
|
/**
|
|
48
43
|
* The type of the tenant.
|
|
49
44
|
* Can be 'ACCOUNT' or 'SITE'.
|
|
@@ -120,6 +115,7 @@ interface EventTags extends Tags {
|
|
|
120
115
|
'extension.id'?: string;
|
|
121
116
|
'extension.name'?: string;
|
|
122
117
|
'extension.type'?: string;
|
|
118
|
+
platform?: string;
|
|
123
119
|
}
|
|
124
120
|
interface EventContexts extends Contexts {
|
|
125
121
|
extension?: {
|
package/build/index.d.ts
CHANGED
|
@@ -36,14 +36,9 @@ interface HostMonitoringContext {
|
|
|
36
36
|
*/
|
|
37
37
|
extensionData?: Record<string, unknown>;
|
|
38
38
|
/**
|
|
39
|
-
* The type of the
|
|
40
|
-
* Can be 'USER', 'MEMBER', or 'VISITOR'.
|
|
39
|
+
* The type of the platform the extension is running on.
|
|
41
40
|
*/
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* The unique identifier for the subject.
|
|
45
|
-
*/
|
|
46
|
-
subjectId?: string;
|
|
41
|
+
platform?: 'BACKEND' | 'DASHBOARD' | 'SITE_VIEWER' | 'SITE_EDITOR';
|
|
47
42
|
/**
|
|
48
43
|
* The type of the tenant.
|
|
49
44
|
* Can be 'ACCOUNT' or 'SITE'.
|
|
@@ -120,6 +115,7 @@ interface EventTags extends Tags {
|
|
|
120
115
|
'extension.id'?: string;
|
|
121
116
|
'extension.name'?: string;
|
|
122
117
|
'extension.type'?: string;
|
|
118
|
+
platform?: string;
|
|
123
119
|
}
|
|
124
120
|
interface EventContexts extends Contexts {
|
|
125
121
|
extension?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/monitoring-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Gili Shohat",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
]
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
|
-
"falconPackageHash": "
|
|
56
|
+
"falconPackageHash": "922d82fb14a8fbee0a2288f4f3079125eb88750ca491fab69a4ffa6f"
|
|
57
57
|
}
|