@exodus/analytics-validation 1.0.1-alpha.4 → 1.0.1-alpha.6
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 +14 -0
- package/package.json +2 -2
- package/schemasafe.config.js +1 -0
- package/src/app-session.schemasafe.json +2 -1
- package/src/asset-network-manual-refresh.schemasafe.json +12 -13
- package/src/backup-prompt-view.schemasafe.json +10 -11
- package/src/balance-fetch-network-error-notice.schemasafe.json +19 -20
- package/src/client-migration-run.schemasafe.json +19 -20
- package/src/common-properties.schemasafe.json +17 -22
- package/src/compound-finance-view.schemasafe.json +2 -1
- package/src/contact-support-email-send.schemasafe.json +2 -1
- package/src/contact-support-view.schemasafe.json +2 -1
- package/src/d-app-auto-approve-set.schemasafe.json +5 -1
- package/src/d-app-auto-approve-unset.schemasafe.json +5 -1
- package/src/d-app-connection-delete.schemasafe.json +5 -1
- package/src/d-app-connection-request.schemasafe.json +25 -23
- package/src/d-app-evm-chain-set.schemasafe.json +41 -0
- package/src/d-app-favorite-set.schemasafe.json +5 -1
- package/src/d-app-launch.schemasafe.json +5 -1
- package/src/d-app-network-switch-request.schemasafe.json +10 -8
- package/src/d-app-sign-message-request.schemasafe.json +21 -19
- package/src/d-app-sign-transaction-request.schemasafe.json +21 -19
- package/src/d-app-wallet-watch-asset.schemasafe.json +52 -0
- package/src/exchange-asset-swap.schemasafe.json +26 -27
- package/src/exchange-configure-asset-swap.schemasafe.json +20 -21
- package/src/exchange-order-create.schemasafe.json +119 -120
- package/src/exchange-order-flag.schemasafe.json +116 -117
- package/src/exchange-order-status-change.schemasafe.json +112 -113
- package/src/exchange-prompt-be-click.schemasafe.json +2 -1
- package/src/exchange-prompt-be-show.schemasafe.json +2 -1
- package/src/exchange-view.schemasafe.json +22 -23
- package/src/exodus-shares-view.schemasafe.json +2 -1
- package/src/exodus-transaction-broadcast-error.schemasafe.json +28 -29
- package/src/exodus-transaction-broadcast.schemasafe.json +28 -29
- package/src/fiat-view.schemasafe.json +22 -23
- package/src/fusion-profile-create.schemasafe.json +10 -11
- package/src/fusion-profile-read.schemasafe.json +10 -11
- package/src/fusion-profile-update.schemasafe.json +10 -11
- package/src/history-view.schemasafe.json +2 -1
- package/src/home-news-tap.schemasafe.json +20 -21
- package/src/home-portfolio-select.schemasafe.json +2 -1
- package/src/home-portfolio-swipe.schemasafe.json +2 -1
- package/src/home-portfolio-time-frame-select.schemasafe.json +10 -11
- package/src/home-suggestion-skip.schemasafe.json +35 -36
- package/src/home-suggestion-view.schemasafe.json +35 -36
- package/src/home-top-mover-tap.schemasafe.json +9 -10
- package/src/home-view.schemasafe.json +2 -1
- package/src/home-widget-rerank.schemasafe.json +22 -23
- package/src/home-widget-toggle.schemasafe.json +22 -23
- package/src/install-referrer-attribution.schemasafe.json +21 -22
- package/src/invite-friends-view.schemasafe.json +10 -11
- package/src/lightning-deposit-view.schemasafe.json +2 -1
- package/src/lightning-deposit.schemasafe.json +9 -10
- package/src/lightning-history-view.schemasafe.json +2 -1
- package/src/lightning-invoice-generated.schemasafe.json +9 -10
- package/src/lightning-lnur-view.schemasafe.json +2 -1
- package/src/lightning-onboarding-view.schemasafe.json +10 -11
- package/src/lightning-receive-funds.schemasafe.json +10 -11
- package/src/lightning-receive-view.schemasafe.json +10 -11
- package/src/lightning-send-view.schemasafe.json +10 -11
- package/src/lightning-send.schemasafe.json +9 -10
- package/src/lightning-terms-and-conditions.schemasafe.json +9 -10
- package/src/lightning-view.schemasafe.json +10 -11
- package/src/lightning-withdraw-view.schemasafe.json +2 -1
- package/src/lightning-withdraw.schemasafe.json +9 -10
- package/src/main.schemasafe.json +2 -2
- package/src/menu-view.schemasafe.json +2 -1
- package/src/network-easter-egg-activate.schemasafe.json +10 -11
- package/src/news-article-tap.schemasafe.json +20 -21
- package/src/news-view.schemasafe.json +2 -1
- package/src/nft-gallery-asset-receive-address-copy.schemasafe.json +2 -1
- package/src/nft-gallery-asset-receive-view.schemasafe.json +2 -1
- package/src/nft-gallery-asset-send-view.schemasafe.json +2 -1
- package/src/nft-gallery-asset-send.schemasafe.json +2 -1
- package/src/nft-gallery-asset-view.schemasafe.json +2 -1
- package/src/nft-gallery-view.schemasafe.json +2 -1
- package/src/nfts-proxy-server-get-image.schemasafe.json +16 -17
- package/src/notifications-system-permission-modal-enable-tap.schemasafe.json +9 -10
- package/src/notifications-system-permission-modal-view.schemasafe.json +2 -1
- package/src/off-ramp-configure-asset-sale.schemasafe.json +20 -21
- package/src/off-ramp-configure-asset-sell.schemasafe.json +10 -11
- package/src/off-ramp-continue-tap.schemasafe.json +31 -32
- package/src/off-ramp-provider-status-change.schemasafe.json +67 -68
- package/src/off-ramp-sale-confirm-view.schemasafe.json +10 -11
- package/src/off-ramp-sale-confirm.schemasafe.json +12 -13
- package/src/off-ramp-send-to-browser.schemasafe.json +10 -11
- package/src/off-ramp-view.schemasafe.json +10 -11
- package/src/on-ramp-configure-asset-purchase.schemasafe.json +10 -11
- package/src/on-ramp-continue-tap.schemasafe.json +21 -22
- package/src/on-ramp-disabled-view.schemasafe.json +10 -11
- package/src/on-ramp-payment-method-select.schemasafe.json +13 -14
- package/src/on-ramp-payment-method-view.schemasafe.json +10 -11
- package/src/on-ramp-provider-select.schemasafe.json +20 -21
- package/src/on-ramp-provider-status-change.schemasafe.json +73 -74
- package/src/on-ramp-provider-view.schemasafe.json +10 -11
- package/src/on-ramp-purchase-confirm.schemasafe.json +12 -13
- package/src/on-ramp-receive-from-browser.schemasafe.json +10 -11
- package/src/on-ramp-send-to-browser.schemasafe.json +10 -11
- package/src/on-ramp-view.schemasafe.json +10 -11
- package/src/onboarding-page-skipped.schemasafe.json +27 -28
- package/src/onboarding-page-view.schemasafe.json +27 -28
- package/src/onboarding-password-creation-confirm.schemasafe.json +2 -1
- package/src/onboarding-password-creation-initiate.schemasafe.json +2 -1
- package/src/onboarding-seed-create.schemasafe.json +2 -1
- package/src/onboarding-seed-input.schemasafe.json +2 -1
- package/src/portfolio-view.schemasafe.json +2 -1
- package/src/profile-edit-change-avatar.schemasafe.json +2 -1
- package/src/profile-edit-change-name.schemasafe.json +2 -1
- package/src/profile-edit-view.schemasafe.json +2 -1
- package/src/receive-select-asset-view.schemasafe.json +10 -11
- package/src/referral-code-input.schemasafe.json +9 -10
- package/src/referral-opt-in.schemasafe.json +10 -11
- package/src/referral-program-banner-view.schemasafe.json +10 -11
- package/src/referral-program-kyc-completion.schemasafe.json +12 -13
- package/src/referral-program-kyc-page-view.schemasafe.json +10 -11
- package/src/referral-program-partner-assignment.schemasafe.json +12 -13
- package/src/referral-program-referral-activation.schemasafe.json +13 -14
- package/src/referral-program-referral-code-page-view.schemasafe.json +10 -11
- package/src/referral-program-revenue-share-activity.schemasafe.json +23 -24
- package/src/referral-program-send-to-kyc.schemasafe.json +13 -14
- package/src/restore-wallet-seed-input.schemasafe.json +16 -17
- package/src/rewards-view.schemasafe.json +2 -1
- package/src/securitize-account-link.schemasafe.json +2 -1
- package/src/security-auto-lock-time-set.schemasafe.json +9 -10
- package/src/security-backup-created.schemasafe.json +2 -1
- package/src/security-backup-creation-initiated.schemasafe.json +2 -1
- package/src/security-backup-vault-view.schemasafe.json +19 -20
- package/src/security-backups-screen-view.schemasafe.json +10 -11
- package/src/security-private-key-view.schemasafe.json +2 -1
- package/src/security-secret-phrase-screen-view.schemasafe.json +19 -20
- package/src/send-select-asset-view.schemasafe.json +2 -1
- package/src/settings-advanced-mode-toggle.schemasafe.json +9 -10
- package/src/settings-auto-connect-toggle.schemasafe.json +9 -10
- package/src/settings-default-wallet-toggle.schemasafe.json +9 -10
- package/src/settings-lightning-higher-limits-toggle.schemasafe.json +9 -10
- package/src/settings-notifications-activity-product-toggle.schemasafe.json +9 -10
- package/src/settings-notifications-allow-toggle.schemasafe.json +9 -10
- package/src/settings-notifications-special-offers-toggle.schemasafe.json +9 -10
- package/src/settings-notifications-view.schemasafe.json +2 -1
- package/src/settings-preferred-currency-set.schemasafe.json +10 -11
- package/src/settings-restore-from-backup-view.schemasafe.json +10 -11
- package/src/settings-restore-wallet-screen-view.schemasafe.json +2 -1
- package/src/solana-mobile-adapter-enable.schemasafe.json +9 -10
- package/src/solana-pay-qr-code-reader-view.schemasafe.json +28 -29
- package/src/solana-pay-transaction-confirm.schemasafe.json +28 -29
- package/src/solana-pay-transaction-confirmation-view.schemasafe.json +28 -29
- package/src/support-knowledge-base-send-to-browser.schemasafe.json +2 -1
- package/src/support-status-send-to-browser.schemasafe.json +2 -1
- package/src/support-view.schemasafe.json +2 -1
- package/src/telemetry-collection-decision.schemasafe.json +9 -10
- package/src/unknown-event.schemasafe.json +2 -1
- package/src/wallet-asset-copy-receive-address.schemasafe.json +2 -1
- package/src/wallet-asset-manager-toggle.schemasafe.json +9 -10
- package/src/wallet-asset-manager-view.schemasafe.json +2 -1
- package/src/wallet-asset-network-manual-refresh.schemasafe.json +12 -13
- package/src/wallet-asset-receive-view.schemasafe.json +10 -11
- package/src/wallet-asset-send-view.schemasafe.json +2 -1
- package/src/wallet-asset-send.schemasafe.json +9 -10
- package/src/wallet-asset-view.schemasafe.json +2 -1
- package/src/wallet-connect-activity-detail-view.schemasafe.json +2 -1
- package/src/wallet-connect-activity-view.schemasafe.json +2 -1
- package/src/wallet-connect-connection-added.schemasafe.json +10 -11
- package/src/wallet-connect-connection-deleted.schemasafe.json +10 -11
- package/src/wallet-connect-disconnect-all.schemasafe.json +12 -13
- package/src/wallet-connect-edit-connection-update.schemasafe.json +10 -11
- package/src/wallet-connect-edit-connection-view.schemasafe.json +10 -11
- package/src/wallet-connect-fiat-on-ramp-cta-tap.schemasafe.json +10 -11
- package/src/wallet-connect-initiate-connection.schemasafe.json +10 -11
- package/src/wallet-connect-view.schemasafe.json +2 -1
- package/src/wallet-custom-token-add.schemasafe.json +2 -1
- package/src/wallet-exchange-detail-view.schemasafe.json +2 -1
- package/src/wallet-portfolio-create.schemasafe.json +2 -1
- package/src/wallet-portfolio-select.schemasafe.json +2 -1
- package/src/wallet-receive-assets-view.schemasafe.json +10 -11
- package/src/wallet-staking-claim.schemasafe.json +9 -10
- package/src/wallet-staking-stake.schemasafe.json +9 -10
- package/src/wallet-staking-unstake.schemasafe.json +9 -10
- package/src/wallet-staking-view.schemasafe.json +12 -13
- package/src/wallet-transaction-detail-view.schemasafe.json +2 -1
- package/src/wallet-view.schemasafe.json +2 -1
- package/src/web3-browser-home-tap.schemasafe.json +2 -1
- package/src/web3-browser-launch-dapp.schemasafe.json +13 -14
- package/src/web3-browser-view.schemasafe.json +2 -1
- package/src/web3-explore-view.schemasafe.json +2 -1
- package/src/web3-favorites-view.schemasafe.json +2 -1
- package/src/web3-view.schemasafe.json +2 -1
- package/src/dapp-evm-chain-set.schemasafe.json +0 -39
- package/src/dapp-wallet-watch-asset.schemasafe.json +0 -50
- package/src/primitive-type.schemasafe.json +0 -35
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
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.0.1-alpha.6](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.0.1-alpha.5...@exodus/analytics-validation@1.0.1-alpha.6) (2023-04-20)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- `experiments` enum ([#1294](https://github.com/ExodusMovement/exodus-hydra/issues/1294)) ([433acd4](https://github.com/ExodusMovement/exodus-hydra/commit/433acd441040c5b51a2bde0c1fc6212ac518e302))
|
|
11
|
+
- `unevaluatedProperties: false` for events with only common properties ([#1303](https://github.com/ExodusMovement/exodus-hydra/issues/1303)) ([a91795d](https://github.com/ExodusMovement/exodus-hydra/commit/a91795dbfbb8198803b686ea71102f918abd6dec))
|
|
12
|
+
- add missing `dapp_origin` property in web3 events ([#1311](https://github.com/ExodusMovement/exodus-hydra/issues/1311)) ([123f7ec](https://github.com/ExodusMovement/exodus-hydra/commit/123f7ec475dfafc81f2d91ec89ae9b36d4be08c4))
|
|
13
|
+
|
|
14
|
+
## [1.0.1-alpha.5](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.0.1-alpha.4...@exodus/analytics-validation@1.0.1-alpha.5) (2023-04-18)
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
- `allOf` usage with common properties ([#1284](https://github.com/ExodusMovement/exodus-hydra/issues/1284)) ([839c5cf](https://github.com/ExodusMovement/exodus-hydra/commit/839c5cf8f9b2e00abce504a0b55cf07a539d0576))
|
|
19
|
+
|
|
6
20
|
## [1.0.1-alpha.4](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/analytics-validation@1.0.1-alpha.3...@exodus/analytics-validation@1.0.1-alpha.4) (2023-04-16)
|
|
7
21
|
|
|
8
22
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/analytics-validation",
|
|
3
|
-
"version": "1.0.1-alpha.
|
|
3
|
+
"version": "1.0.1-alpha.6",
|
|
4
4
|
"description": "The analytics-validation library",
|
|
5
5
|
"author": "Exodus Movement Inc",
|
|
6
6
|
"repository": {
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"eslint": "^8.33.0",
|
|
33
33
|
"jest": "^29.1.2"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "59213e7cc307d258a9615887c385d80b396fdcb6"
|
|
36
36
|
}
|
package/schemasafe.config.js
CHANGED
|
@@ -9,21 +9,20 @@
|
|
|
9
9
|
"allOf": [
|
|
10
10
|
{
|
|
11
11
|
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"balance_changed": {
|
|
18
|
+
"type": "boolean"
|
|
12
19
|
},
|
|
13
|
-
{
|
|
14
|
-
"type": "
|
|
15
|
-
"
|
|
16
|
-
"properties": {
|
|
17
|
-
"balance_changed": {
|
|
18
|
-
"type": "boolean"
|
|
19
|
-
},
|
|
20
|
-
"category": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"enum": ["BITCOIN_LIKE", "ETHEREUM_LIKE", "OTHER"]
|
|
23
|
-
}
|
|
24
|
-
}
|
|
20
|
+
"category": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"enum": ["BITCOIN_LIKE", "ETHEREUM_LIKE", "OTHER"]
|
|
25
23
|
}
|
|
26
|
-
|
|
24
|
+
},
|
|
25
|
+
"unevaluatedProperties": false
|
|
27
26
|
}
|
|
28
27
|
},
|
|
29
28
|
"unevaluatedProperties": false,
|
|
@@ -9,18 +9,17 @@
|
|
|
9
9
|
"allOf": [
|
|
10
10
|
{
|
|
11
11
|
"$ref": "common-properties#"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"type": "object",
|
|
15
|
-
"required": [],
|
|
16
|
-
"properties": {
|
|
17
|
-
"origin": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"enum": ["enabling-passcode", "newly-funded-wallet"]
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
12
|
}
|
|
23
|
-
]
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"origin": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": ["enabling-passcode", "newly-funded-wallet"]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"unevaluatedProperties": false
|
|
24
23
|
}
|
|
25
24
|
},
|
|
26
25
|
"unevaluatedProperties": false,
|
|
@@ -9,27 +9,26 @@
|
|
|
9
9
|
"allOf": [
|
|
10
10
|
{
|
|
11
11
|
"$ref": "common-properties#"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"type": "object",
|
|
15
|
-
"required": [],
|
|
16
|
-
"properties": {
|
|
17
|
-
"network": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"enum": [
|
|
20
|
-
"avalanchec",
|
|
21
|
-
"bsc",
|
|
22
|
-
"ethereum",
|
|
23
|
-
"ethereumarbone",
|
|
24
|
-
"fantommainnet",
|
|
25
|
-
"matic",
|
|
26
|
-
"rootstock",
|
|
27
|
-
"solana"
|
|
28
|
-
]
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
12
|
}
|
|
32
|
-
]
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"network": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": [
|
|
20
|
+
"avalanchec",
|
|
21
|
+
"bsc",
|
|
22
|
+
"ethereum",
|
|
23
|
+
"ethereumarbone",
|
|
24
|
+
"fantommainnet",
|
|
25
|
+
"matic",
|
|
26
|
+
"rootstock",
|
|
27
|
+
"solana"
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"unevaluatedProperties": false
|
|
33
32
|
}
|
|
34
33
|
},
|
|
35
34
|
"unevaluatedProperties": false,
|
|
@@ -9,28 +9,27 @@
|
|
|
9
9
|
"allOf": [
|
|
10
10
|
{
|
|
11
11
|
"$ref": "common-properties#"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"type": "object",
|
|
15
|
+
"required": [],
|
|
16
|
+
"properties": {
|
|
17
|
+
"migration_id": {
|
|
18
|
+
"type": "string",
|
|
19
|
+
"enum": [
|
|
20
|
+
"encrypt-fusion-storage",
|
|
21
|
+
"encrypt-orders-storage",
|
|
22
|
+
"encrypt-synced-balances-storage",
|
|
23
|
+
"encrypt-wallet-accounts-storage",
|
|
24
|
+
"nfts-hidden-config",
|
|
25
|
+
"revoke-connections"
|
|
26
|
+
]
|
|
12
27
|
},
|
|
13
|
-
{
|
|
14
|
-
"type": "
|
|
15
|
-
"required": [],
|
|
16
|
-
"properties": {
|
|
17
|
-
"migration_id": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"enum": [
|
|
20
|
-
"encrypt-fusion-storage",
|
|
21
|
-
"encrypt-orders-storage",
|
|
22
|
-
"encrypt-synced-balances-storage",
|
|
23
|
-
"encrypt-wallet-accounts-storage",
|
|
24
|
-
"nfts-hidden-config",
|
|
25
|
-
"revoke-connections"
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"success": {
|
|
29
|
-
"type": "boolean"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
28
|
+
"success": {
|
|
29
|
+
"type": "boolean"
|
|
32
30
|
}
|
|
33
|
-
|
|
31
|
+
},
|
|
32
|
+
"unevaluatedProperties": false
|
|
34
33
|
}
|
|
35
34
|
},
|
|
36
35
|
"unevaluatedProperties": false,
|
|
@@ -1,29 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"description": "Common properties used by most of the events.",
|
|
3
|
+
"description": "Common properties used by most of the events. It explicitly omits the 'unevaluatedProperties' keyword to make it usable with 'allOf' syntax.",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"required": [],
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"type": "boolean"
|
|
6
|
+
"definitions": {
|
|
7
|
+
"web3Properties": {
|
|
8
|
+
"description": "Common web3 events properties.",
|
|
9
|
+
"type": "object",
|
|
10
|
+
"required": [],
|
|
11
|
+
"properties": {
|
|
12
|
+
"dapp_domain": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"format": "uri-template"
|
|
15
|
+
}
|
|
19
16
|
},
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
"propertyNames": {
|
|
26
|
-
"pattern": "^\\w*$"
|
|
17
|
+
"$comment": "It explicitly omits the 'unevaluatedProperties' keyword to make it usable with 'allOf' syntax."
|
|
18
|
+
}
|
|
27
19
|
},
|
|
28
20
|
"properties": {
|
|
29
21
|
"time": {
|
|
@@ -102,7 +94,10 @@
|
|
|
102
94
|
"wallet-connect-dapps:enabled",
|
|
103
95
|
"seedless:disabled",
|
|
104
96
|
"seedless:enabled",
|
|
105
|
-
"support-chat:on"
|
|
97
|
+
"support-chat:on",
|
|
98
|
+
"wallet-connect-dapps:enabled",
|
|
99
|
+
"wallet-connect:enabled",
|
|
100
|
+
"exchange-v2-21.8.12:v1"
|
|
106
101
|
]
|
|
107
102
|
}
|
|
108
103
|
},
|
|
@@ -11,30 +11,32 @@
|
|
|
11
11
|
"$ref": "common-properties#"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
|
-
"
|
|
15
|
-
"required": [],
|
|
16
|
-
"properties": {
|
|
17
|
-
"approved": {
|
|
18
|
-
"type": "boolean"
|
|
19
|
-
},
|
|
20
|
-
"connection_origin": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"enum": ["banner", "default", "lucky-cat___en"]
|
|
23
|
-
},
|
|
24
|
-
"connection_protocol": {
|
|
25
|
-
"type": "string",
|
|
26
|
-
"enum": [
|
|
27
|
-
"wallet-connect",
|
|
28
|
-
"solana-adapter",
|
|
29
|
-
"Solana Mobile Wallet Adapter",
|
|
30
|
-
"dApp Browser",
|
|
31
|
-
"Wallet Connect",
|
|
32
|
-
"WalletConnect"
|
|
33
|
-
]
|
|
34
|
-
}
|
|
35
|
-
}
|
|
14
|
+
"$ref": "common-properties#/definitions/web3Properties"
|
|
36
15
|
}
|
|
37
|
-
]
|
|
16
|
+
],
|
|
17
|
+
"type": "object",
|
|
18
|
+
"required": [],
|
|
19
|
+
"properties": {
|
|
20
|
+
"approved": {
|
|
21
|
+
"type": "boolean"
|
|
22
|
+
},
|
|
23
|
+
"connection_origin": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"enum": ["banner", "default", "lucky-cat___en"]
|
|
26
|
+
},
|
|
27
|
+
"connection_protocol": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"enum": [
|
|
30
|
+
"wallet-connect",
|
|
31
|
+
"solana-adapter",
|
|
32
|
+
"Solana Mobile Wallet Adapter",
|
|
33
|
+
"dApp Browser",
|
|
34
|
+
"Wallet Connect",
|
|
35
|
+
"WalletConnect"
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"unevaluatedProperties": false
|
|
38
40
|
}
|
|
39
41
|
},
|
|
40
42
|
"unevaluatedProperties": false,
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "DappEvmChainSet"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"$ref": "common-properties#/definitions/web3Properties"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"type": "object",
|
|
18
|
+
"required": [],
|
|
19
|
+
"properties": {
|
|
20
|
+
"chain_id": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"enum": [
|
|
23
|
+
"0x1",
|
|
24
|
+
"0x1e",
|
|
25
|
+
"0x1E",
|
|
26
|
+
"0x38",
|
|
27
|
+
"0x89",
|
|
28
|
+
"0xa",
|
|
29
|
+
"0xa4b1",
|
|
30
|
+
"0xa4ba",
|
|
31
|
+
"0xa86a",
|
|
32
|
+
"0xfa"
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"unevaluatedProperties": false
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"unevaluatedProperties": false,
|
|
40
|
+
"required": ["event", "properties"]
|
|
41
|
+
}
|
|
@@ -11,15 +11,17 @@
|
|
|
11
11
|
"$ref": "common-properties#"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
|
-
"
|
|
15
|
-
"required": [],
|
|
16
|
-
"properties": {
|
|
17
|
-
"approved": {
|
|
18
|
-
"type": "boolean"
|
|
19
|
-
}
|
|
20
|
-
}
|
|
14
|
+
"$ref": "common-properties#/definitions/web3Properties"
|
|
21
15
|
}
|
|
22
|
-
]
|
|
16
|
+
],
|
|
17
|
+
"type": "object",
|
|
18
|
+
"required": [],
|
|
19
|
+
"properties": {
|
|
20
|
+
"approved": {
|
|
21
|
+
"type": "boolean"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"unevaluatedProperties": false
|
|
23
25
|
}
|
|
24
26
|
},
|
|
25
27
|
"unevaluatedProperties": false,
|
|
@@ -11,26 +11,28 @@
|
|
|
11
11
|
"$ref": "common-properties#"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
|
-
"
|
|
15
|
-
"required": [],
|
|
16
|
-
"properties": {
|
|
17
|
-
"approved": {
|
|
18
|
-
"type": "boolean"
|
|
19
|
-
},
|
|
20
|
-
"connection_protocol": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"enum": [
|
|
23
|
-
"wallet-connect",
|
|
24
|
-
"solana-adapter",
|
|
25
|
-
"Solana Mobile Wallet Adapter",
|
|
26
|
-
"dApp Browser",
|
|
27
|
-
"Wallet Connect",
|
|
28
|
-
"WalletConnect"
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
}
|
|
14
|
+
"$ref": "common-properties#/definitions/web3Properties"
|
|
32
15
|
}
|
|
33
|
-
]
|
|
16
|
+
],
|
|
17
|
+
"type": "object",
|
|
18
|
+
"required": [],
|
|
19
|
+
"properties": {
|
|
20
|
+
"approved": {
|
|
21
|
+
"type": "boolean"
|
|
22
|
+
},
|
|
23
|
+
"connection_protocol": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"enum": [
|
|
26
|
+
"wallet-connect",
|
|
27
|
+
"solana-adapter",
|
|
28
|
+
"Solana Mobile Wallet Adapter",
|
|
29
|
+
"dApp Browser",
|
|
30
|
+
"Wallet Connect",
|
|
31
|
+
"WalletConnect"
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"unevaluatedProperties": false
|
|
34
36
|
}
|
|
35
37
|
},
|
|
36
38
|
"unevaluatedProperties": false,
|
|
@@ -11,26 +11,28 @@
|
|
|
11
11
|
"$ref": "common-properties#"
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
|
-
"
|
|
15
|
-
"required": [],
|
|
16
|
-
"properties": {
|
|
17
|
-
"approved": {
|
|
18
|
-
"type": "boolean"
|
|
19
|
-
},
|
|
20
|
-
"connection_protocol": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"enum": [
|
|
23
|
-
"wallet-connect",
|
|
24
|
-
"solana-adapter",
|
|
25
|
-
"Solana Mobile Wallet Adapter",
|
|
26
|
-
"dApp Browser",
|
|
27
|
-
"Wallet Connect",
|
|
28
|
-
"WalletConnect"
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
}
|
|
14
|
+
"$ref": "common-properties#/definitions/web3Properties"
|
|
32
15
|
}
|
|
33
|
-
]
|
|
16
|
+
],
|
|
17
|
+
"type": "object",
|
|
18
|
+
"required": [],
|
|
19
|
+
"properties": {
|
|
20
|
+
"approved": {
|
|
21
|
+
"type": "boolean"
|
|
22
|
+
},
|
|
23
|
+
"connection_protocol": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"enum": [
|
|
26
|
+
"wallet-connect",
|
|
27
|
+
"solana-adapter",
|
|
28
|
+
"Solana Mobile Wallet Adapter",
|
|
29
|
+
"dApp Browser",
|
|
30
|
+
"Wallet Connect",
|
|
31
|
+
"WalletConnect"
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"unevaluatedProperties": false
|
|
34
36
|
}
|
|
35
37
|
},
|
|
36
38
|
"unevaluatedProperties": false,
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"type": "object",
|
|
4
|
+
"properties": {
|
|
5
|
+
"event": {
|
|
6
|
+
"const": "DappWalletWatchAsset"
|
|
7
|
+
},
|
|
8
|
+
"properties": {
|
|
9
|
+
"allOf": [
|
|
10
|
+
{
|
|
11
|
+
"$ref": "common-properties#"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"$ref": "common-properties#/definitions/web3Properties"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"type": "object",
|
|
18
|
+
"required": [],
|
|
19
|
+
"properties": {
|
|
20
|
+
"options": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"required": [],
|
|
23
|
+
"properties": {
|
|
24
|
+
"address": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"format": "any-string"
|
|
27
|
+
},
|
|
28
|
+
"decimals": {
|
|
29
|
+
"type": "number"
|
|
30
|
+
},
|
|
31
|
+
"image": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"format": "any-string"
|
|
34
|
+
},
|
|
35
|
+
"symbol": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"format": "any-string"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"unevaluatedProperties": false
|
|
41
|
+
},
|
|
42
|
+
"type": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"format": "any-string"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"unevaluatedProperties": false
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"unevaluatedProperties": false,
|
|
51
|
+
"required": ["event", "properties"]
|
|
52
|
+
}
|