@exodus/analytics-validation 2.18.0 → 2.18.2
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 +12 -0
- package/package.json +2 -2
- package/schemasafe.config.js +1 -1
- package/src/common-properties.schemasafe.json +2 -2
- package/src/main.schemasafe.json +6 -6
- package/src/performance/{app-startup.schemasafe.json → performance-app-startup.schemasafe.json} +1 -1
- package/src/performance/{view-render-performance.schemasafe.json → performance-view-render.schemasafe.json} +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.18.2](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.18.1...@exodus/analytics-validation@2.18.2) (2024-04-09)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- allow more complex locale strings ([#6397](https://github.com/ExodusMovement/exodus-hydra/issues/6397)) ([74271f0](https://github.com/ExodusMovement/exodus-hydra/commit/74271f07ad0c8339602454c3ddf75944d452c929))
|
|
11
|
+
|
|
12
|
+
## [2.18.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.18.0...@exodus/analytics-validation@2.18.1) (2024-04-09)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- **analytics-validation:** rename to Performance{ViewRender,AppStartup} ([#6421](https://github.com/ExodusMovement/exodus-hydra/issues/6421)) ([64483ad](https://github.com/ExodusMovement/exodus-hydra/commit/64483ad141a42ab0232af52694d08eae3aadaa72))
|
|
17
|
+
|
|
6
18
|
## [2.18.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.17.0...@exodus/analytics-validation@2.18.0) (2024-04-04)
|
|
7
19
|
|
|
8
20
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/analytics-validation",
|
|
3
|
-
"version": "2.18.
|
|
3
|
+
"version": "2.18.2",
|
|
4
4
|
"description": "JSON schemas for analytics events, to prevent sensitive data from being sent up to the infamous cloud",
|
|
5
5
|
"author": "Exodus Movement Inc.",
|
|
6
6
|
"repository": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "cafbd7844c1e7c57cc75ad53185651029905fefa"
|
|
44
44
|
}
|
package/schemasafe.config.js
CHANGED
|
@@ -28,7 +28,7 @@ getSchemas({ schemaDir, schemaNames })
|
|
|
28
28
|
// Source: https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string
|
|
29
29
|
const semVerRegEx =
|
|
30
30
|
/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[A-Za-z-][\dA-Za-z-]*)(?:\.(?:0|[1-9]\d*|\d*[A-Za-z-][\dA-Za-z-]*))*))?(?:\+([\dA-Za-z-]+(?:\.[\dA-Za-z-]+)*))?$/
|
|
31
|
-
const localeRegEx = /^[A-Za-z]{2,
|
|
31
|
+
const localeRegEx = /^[A-Za-z]{2,8}([_-][\dA-Za-z]{1,8}){0,2}$/
|
|
32
32
|
// NOTE: this is exported so consumers can use the same settings at runtime
|
|
33
33
|
// as were used to compile schemas at build time
|
|
34
34
|
module.exports = {
|
|
@@ -105,14 +105,14 @@
|
|
|
105
105
|
"items": {
|
|
106
106
|
"type": "string",
|
|
107
107
|
"format": "locale",
|
|
108
|
-
"maxLength":
|
|
108
|
+
"maxLength": 30,
|
|
109
109
|
"$comment": "Max length is arbitrary"
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
113
|
"type": "string",
|
|
114
114
|
"format": "locale",
|
|
115
|
-
"maxLength":
|
|
115
|
+
"maxLength": 30,
|
|
116
116
|
"$comment": "Max length is arbitrary"
|
|
117
117
|
},
|
|
118
118
|
{
|
package/src/main.schemasafe.json
CHANGED
|
@@ -20,9 +20,6 @@
|
|
|
20
20
|
{
|
|
21
21
|
"$ref": "android-install-referrer-attribution#"
|
|
22
22
|
},
|
|
23
|
-
{
|
|
24
|
-
"$ref": "app-startup#"
|
|
25
|
-
},
|
|
26
23
|
{
|
|
27
24
|
"$ref": "asset-network-manual-refresh#"
|
|
28
25
|
},
|
|
@@ -245,6 +242,12 @@
|
|
|
245
242
|
{
|
|
246
243
|
"$ref": "onboarding-page-view#"
|
|
247
244
|
},
|
|
245
|
+
{
|
|
246
|
+
"$ref": "performance-app-startup#"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"$ref": "performance-view-render#"
|
|
250
|
+
},
|
|
248
251
|
{
|
|
249
252
|
"$ref": "profile-features-order-change#"
|
|
250
253
|
},
|
|
@@ -371,9 +374,6 @@
|
|
|
371
374
|
{
|
|
372
375
|
"$ref": "telemetry-collection-decision#"
|
|
373
376
|
},
|
|
374
|
-
{
|
|
375
|
-
"$ref": "view-render-performance#"
|
|
376
|
-
},
|
|
377
377
|
{
|
|
378
378
|
"$ref": "wallet-asset-advanced-options-view#"
|
|
379
379
|
},
|