@exodus/analytics-validation 2.45.2 → 2.47.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/CHANGELOG.md CHANGED
@@ -3,6 +3,22 @@
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.47.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.46.0...@exodus/analytics-validation@2.47.0) (2024-12-04)
7
+
8
+ ### Features
9
+
10
+ - feat: add `SignerTransactionExpiry` schema (#10671)
11
+
12
+ ## [2.46.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.45.1...@exodus/analytics-validation@2.46.0) (2024-11-29)
13
+
14
+ ### Features
15
+
16
+ - feat: add various crypto balance props (#10419)
17
+
18
+ ### License
19
+
20
+ - license: re-license under MIT license (#10580)
21
+
6
22
  ## [2.45.2](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@2.45.1...@exodus/analytics-validation@2.45.2) (2024-11-25)
7
23
 
8
24
  ### License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "2.45.2",
3
+ "version": "2.47.0",
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": {
@@ -43,5 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "97156baad5ad86796c5eb3721264ba7b0ebb6332"
46
+ "gitHead": "42218ab8892d9300bab9f2b68fc0963cb5c4874b"
47
47
  }
@@ -267,6 +267,66 @@
267
267
  },
268
268
  "risk_metrics_loading": {
269
269
  "type": "boolean"
270
+ },
271
+ "total_balance_usd": {
272
+ "type": "number",
273
+ "minimum": 0
274
+ },
275
+ "btc_balance": {
276
+ "type": "number",
277
+ "minimum": 0
278
+ },
279
+ "btc_balance_usd": {
280
+ "type": "number",
281
+ "minimum": 0
282
+ },
283
+ "eth_balance": {
284
+ "type": "number",
285
+ "minimum": 0
286
+ },
287
+ "eth_balance_usd": {
288
+ "type": "number",
289
+ "minimum": 0
290
+ },
291
+ "sol_balance": {
292
+ "type": "number",
293
+ "minimum": 0
294
+ },
295
+ "sol_balance_usd": {
296
+ "type": "number",
297
+ "minimum": 0
298
+ },
299
+ "trx_balance": {
300
+ "type": "number",
301
+ "minimum": 0
302
+ },
303
+ "trx_balance_usd": {
304
+ "type": "number",
305
+ "minimum": 0
306
+ },
307
+ "usdt_balance": {
308
+ "type": "number",
309
+ "minimum": 0
310
+ },
311
+ "usdt_balance_usd": {
312
+ "type": "number",
313
+ "minimum": 0
314
+ },
315
+ "usdttrx_balance": {
316
+ "type": "number",
317
+ "minimum": 0
318
+ },
319
+ "usdttrx_balance_usd": {
320
+ "type": "number",
321
+ "minimum": 0
322
+ },
323
+ "lightning_btc_balance": {
324
+ "type": "number",
325
+ "minimum": 0
326
+ },
327
+ "lightning_btc_balance_usd": {
328
+ "type": "number",
329
+ "minimum": 0
270
330
  }
271
331
  }
272
332
  }
@@ -437,6 +437,9 @@
437
437
  {
438
438
  "$ref": "settings-sound-toggle#"
439
439
  },
440
+ {
441
+ "$ref": "signer-transaction-expiry#"
442
+ },
440
443
  {
441
444
  "$ref": "solana-mobile-adapter-enable#"
442
445
  },
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "SignerTransactionExpiry"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": ["baseAssetName"],
16
+ "properties": {
17
+ "baseAssetName": {
18
+ "type": "string"
19
+ }
20
+ },
21
+ "unevaluatedProperties": false
22
+ }
23
+ },
24
+ "unevaluatedProperties": false,
25
+ "required": ["event", "properties"]
26
+ }
@@ -49,7 +49,12 @@
49
49
  "type": "string"
50
50
  },
51
51
  "total_balance": {
52
- "type": "number"
52
+ "type": "number",
53
+ "minimum": 0
54
+ },
55
+ "total_balance_usd": {
56
+ "type": "number",
57
+ "minimum": 0
53
58
  },
54
59
  "spendable_balance": {
55
60
  "type": "number"
@@ -31,6 +31,14 @@
31
31
  },
32
32
  "spendable_balance": {
33
33
  "type": "number"
34
+ },
35
+ "balance": {
36
+ "type": "number",
37
+ "minimum": 0
38
+ },
39
+ "balance_usd": {
40
+ "type": "number",
41
+ "minimum": 0
34
42
  }
35
43
  },
36
44
  "unevaluatedProperties": false