@exodus/analytics-validation 1.1.0-alpha.3 → 1.1.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,12 @@
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
+ ## [1.1.0-alpha.4](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.1.0-alpha.3...@exodus/analytics-validation@1.1.0-alpha.4) (2023-05-18)
7
+
8
+ ### Features
9
+
10
+ - **analytics-validation:** add NoGas schemas ([#1653](https://github.com/ExodusMovement/exodus-hydra/issues/1653)) ([2b0f37f](https://github.com/ExodusMovement/exodus-hydra/commit/2b0f37f275348f2d1bc7b21f6bf9d3c45e1b0b6e))
11
+
6
12
  ## [1.1.0-alpha.3](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.1.0-alpha.2...@exodus/analytics-validation@1.1.0-alpha.3) (2023-05-17)
7
13
 
8
14
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/analytics-validation",
3
- "version": "1.1.0-alpha.3",
3
+ "version": "1.1.0",
4
4
  "description": "The analytics-validation library",
5
5
  "author": "Exodus Movement Inc",
6
6
  "repository": {
@@ -33,5 +33,5 @@
33
33
  "eslint": "^8.33.0",
34
34
  "jest": "^29.1.2"
35
35
  },
36
- "gitHead": "c13db02b8b961190205a0222657f0aa05e5e9461"
36
+ "gitHead": "84f8589306a0b31d43759d9bec138dc35bac9c00"
37
37
  }
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "DAppSignTransactionNoGas"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": ["is_zero_balance", "connection_protocol"],
16
+ "properties": {
17
+ "is_zero_balance": {
18
+ "type": "boolean"
19
+ },
20
+ "connection_protocol": {
21
+ "type": "string",
22
+ "enum": ["WalletConnect"]
23
+ }
24
+ },
25
+ "unevaluatedProperties": false
26
+ }
27
+ },
28
+ "unevaluatedProperties": false,
29
+ "required": ["event", "properties"]
30
+ }
@@ -30,10 +30,6 @@
30
30
  },
31
31
  "success": {
32
32
  "type": "boolean"
33
- },
34
- "error": {
35
- "type": "string",
36
- "format": "any-string"
37
33
  }
38
34
  },
39
35
  "unevaluatedProperties": false
@@ -0,0 +1,36 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "ExchangeNoGas"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": ["is_zero_balance", "coin_or_token", "is_all", "user_amount_from_usd"],
16
+ "properties": {
17
+ "is_zero_balance": {
18
+ "type": "boolean"
19
+ },
20
+ "coin_or_token": {
21
+ "type": "string",
22
+ "enum": ["coin", "token"]
23
+ },
24
+ "is_all": {
25
+ "type": "boolean"
26
+ },
27
+ "user_amount_from_usd": {
28
+ "type": "number"
29
+ }
30
+ },
31
+ "unevaluatedProperties": false
32
+ }
33
+ },
34
+ "unevaluatedProperties": false,
35
+ "required": ["event", "properties"]
36
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "OffRampNoGas"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": ["is_zero_balance", "coin_or_token"],
16
+ "properties": {
17
+ "is_zero_balance": {
18
+ "type": "boolean"
19
+ },
20
+ "coin_or_token": {
21
+ "type": "string",
22
+ "enum": ["coin", "token"]
23
+ }
24
+ },
25
+ "unevaluatedProperties": false
26
+ }
27
+ },
28
+ "unevaluatedProperties": false,
29
+ "required": ["event", "properties"]
30
+ }
@@ -54,6 +54,9 @@
54
54
  {
55
55
  "$ref": "d-app-sign-message-request#"
56
56
  },
57
+ {
58
+ "$ref": "d-app-sign-transaction-no-gas#"
59
+ },
57
60
  {
58
61
  "$ref": "d-app-sign-transaction-request#"
59
62
  },
@@ -69,6 +72,9 @@
69
72
  {
70
73
  "$ref": "exchange-configure-asset-swap#"
71
74
  },
75
+ {
76
+ "$ref": "exchange-no-gas#"
77
+ },
72
78
  {
73
79
  "$ref": "exchange-order-create#"
74
80
  },
@@ -183,6 +189,9 @@
183
189
  {
184
190
  "$ref": "off-ramp-continue-tap#"
185
191
  },
192
+ {
193
+ "$ref": "off-ramp-no-gas#"
194
+ },
186
195
  {
187
196
  "$ref": "off-ramp-provider-status-change#"
188
197
  },
@@ -339,6 +348,9 @@
339
348
  {
340
349
  "$ref": "wallet-asset-receive-view#"
341
350
  },
351
+ {
352
+ "$ref": "wallet-asset-send-no-gas#"
353
+ },
342
354
  {
343
355
  "$ref": "wallet-asset-send#"
344
356
  },
@@ -381,6 +393,9 @@
381
393
  {
382
394
  "$ref": "wallet-staking-claim#"
383
395
  },
396
+ {
397
+ "$ref": "wallet-staking-no-gas#"
398
+ },
384
399
  {
385
400
  "$ref": "wallet-staking-stake#"
386
401
  },
@@ -0,0 +1,30 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "WalletAssetSendNoGas"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": ["is_zero_balance", "coin_or_token"],
16
+ "properties": {
17
+ "is_zero_balance": {
18
+ "type": "boolean"
19
+ },
20
+ "coin_or_token": {
21
+ "type": "string",
22
+ "enum": ["coin", "token"]
23
+ }
24
+ },
25
+ "unevaluatedProperties": false
26
+ }
27
+ },
28
+ "unevaluatedProperties": false,
29
+ "required": ["event", "properties"]
30
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "type": "object",
4
+ "properties": {
5
+ "event": {
6
+ "const": "WalletStakingNoGas"
7
+ },
8
+ "properties": {
9
+ "allOf": [
10
+ {
11
+ "$ref": "common-properties#"
12
+ }
13
+ ],
14
+ "type": "object",
15
+ "required": ["is_zero_balance"],
16
+ "properties": {
17
+ "is_zero_balance": {
18
+ "type": "boolean"
19
+ }
20
+ },
21
+ "unevaluatedProperties": false
22
+ }
23
+ },
24
+ "unevaluatedProperties": false,
25
+ "required": ["event", "properties"]
26
+ }