mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
[FLASK] snaps@0.37.1-flask.1
(#20069)
* snaps@0.37.0-flask.1 * Update LavaMoat policies * Add support for disabling markdown * Update execution env URL * Bump patch version
This commit is contained in:
parent
5b6439350e
commit
56481dd875
@ -52,7 +52,7 @@ buildTypes:
|
|||||||
- SEGMENT_FLASK_WRITE_KEY
|
- SEGMENT_FLASK_WRITE_KEY
|
||||||
- ALLOW_LOCAL_SNAPS: true
|
- ALLOW_LOCAL_SNAPS: true
|
||||||
- REQUIRE_SNAPS_ALLOWLIST: false
|
- REQUIRE_SNAPS_ALLOWLIST: false
|
||||||
- IFRAME_EXECUTION_ENVIRONMENT_URL: https://execution.metamask.io/0.36.1-flask.1/index.html
|
- IFRAME_EXECUTION_ENVIRONMENT_URL: https://execution.metamask.io/0.37.1-flask.1/index.html
|
||||||
- SUPPORT_LINK: https://metamask-flask.zendesk.com/hc
|
- SUPPORT_LINK: https://metamask-flask.zendesk.com/hc
|
||||||
- SUPPORT_REQUEST_LINK: https://metamask-flask.zendesk.com/hc/en-us/requests/new
|
- SUPPORT_REQUEST_LINK: https://metamask-flask.zendesk.com/hc/en-us/requests/new
|
||||||
- INFURA_ENV_KEY_REF: INFURA_FLASK_PROJECT_ID
|
- INFURA_ENV_KEY_REF: INFURA_FLASK_PROJECT_ID
|
||||||
@ -71,7 +71,7 @@ buildTypes:
|
|||||||
- SEGMENT_FLASK_WRITE_KEY
|
- SEGMENT_FLASK_WRITE_KEY
|
||||||
- ALLOW_LOCAL_SNAPS: true
|
- ALLOW_LOCAL_SNAPS: true
|
||||||
- REQUIRE_SNAPS_ALLOWLIST: false
|
- REQUIRE_SNAPS_ALLOWLIST: false
|
||||||
- IFRAME_EXECUTION_ENVIRONMENT_URL: https://execution.metamask.io/0.36.1-flask.1/index.html
|
- IFRAME_EXECUTION_ENVIRONMENT_URL: https://execution.metamask.io/0.37.1-flask.1/index.html
|
||||||
- SUPPORT_LINK: https://metamask-flask.zendesk.com/hc
|
- SUPPORT_LINK: https://metamask-flask.zendesk.com/hc
|
||||||
- SUPPORT_REQUEST_LINK: https://metamask-flask.zendesk.com/hc/en-us/requests/new
|
- SUPPORT_REQUEST_LINK: https://metamask-flask.zendesk.com/hc/en-us/requests/new
|
||||||
- INFURA_ENV_KEY_REF: INFURA_FLASK_PROJECT_ID
|
- INFURA_ENV_KEY_REF: INFURA_FLASK_PROJECT_ID
|
||||||
|
@ -1519,29 +1519,6 @@
|
|||||||
"jest-canvas-mock>moo-color>color-name": true
|
"jest-canvas-mock>moo-color>color-name": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@metamask/key-tree": {
|
|
||||||
"packages": {
|
|
||||||
"@metamask/key-tree>@metamask/utils": true,
|
|
||||||
"@metamask/key-tree>@noble/ed25519": true,
|
|
||||||
"@metamask/key-tree>@noble/hashes": true,
|
|
||||||
"@metamask/key-tree>@noble/secp256k1": true,
|
|
||||||
"@metamask/key-tree>@scure/base": true,
|
|
||||||
"@metamask/scure-bip39": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@metamask/key-tree>@metamask/utils": {
|
|
||||||
"globals": {
|
|
||||||
"TextDecoder": true,
|
|
||||||
"TextEncoder": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"@metamask/key-tree>@noble/hashes": true,
|
|
||||||
"browserify>buffer": true,
|
|
||||||
"nock>debug": true,
|
|
||||||
"semver": true,
|
|
||||||
"superstruct": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@metamask/key-tree>@noble/ed25519": {
|
"@metamask/key-tree>@noble/ed25519": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"crypto": true
|
"crypto": true
|
||||||
@ -1756,9 +1733,9 @@
|
|||||||
"@metamask/rpc-methods": {
|
"@metamask/rpc-methods": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/browser-passworder": true,
|
"@metamask/browser-passworder": true,
|
||||||
"@metamask/key-tree": true,
|
|
||||||
"@metamask/key-tree>@noble/hashes": true,
|
"@metamask/key-tree>@noble/hashes": true,
|
||||||
"@metamask/permission-controller": true,
|
"@metamask/permission-controller": true,
|
||||||
|
"@metamask/rpc-methods>@metamask/key-tree": true,
|
||||||
"@metamask/rpc-methods>@metamask/utils": true,
|
"@metamask/rpc-methods>@metamask/utils": true,
|
||||||
"@metamask/rpc-methods>nanoid": true,
|
"@metamask/rpc-methods>nanoid": true,
|
||||||
"@metamask/snaps-ui": true,
|
"@metamask/snaps-ui": true,
|
||||||
@ -1772,6 +1749,16 @@
|
|||||||
"crypto.getRandomValues": true
|
"crypto.getRandomValues": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@metamask/rpc-methods>@metamask/key-tree": {
|
||||||
|
"packages": {
|
||||||
|
"@metamask/key-tree>@noble/ed25519": true,
|
||||||
|
"@metamask/key-tree>@noble/hashes": true,
|
||||||
|
"@metamask/key-tree>@noble/secp256k1": true,
|
||||||
|
"@metamask/key-tree>@scure/base": true,
|
||||||
|
"@metamask/rpc-methods>@metamask/utils": true,
|
||||||
|
"@metamask/scure-bip39": true
|
||||||
|
}
|
||||||
|
},
|
||||||
"@metamask/rpc-methods>@metamask/utils": {
|
"@metamask/rpc-methods>@metamask/utils": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"TextDecoder": true,
|
"TextDecoder": true,
|
||||||
@ -1899,9 +1886,9 @@
|
|||||||
"document.createElement": true
|
"document.createElement": true
|
||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/key-tree": true,
|
|
||||||
"@metamask/key-tree>@noble/hashes": true,
|
"@metamask/key-tree>@noble/hashes": true,
|
||||||
"@metamask/key-tree>@scure/base": true,
|
"@metamask/key-tree>@scure/base": true,
|
||||||
|
"@metamask/snaps-utils>@metamask/key-tree": true,
|
||||||
"@metamask/snaps-utils>@metamask/utils": true,
|
"@metamask/snaps-utils>@metamask/utils": true,
|
||||||
"@metamask/snaps-utils>cron-parser": true,
|
"@metamask/snaps-utils>cron-parser": true,
|
||||||
"@metamask/snaps-utils>fast-json-stable-stringify": true,
|
"@metamask/snaps-utils>fast-json-stable-stringify": true,
|
||||||
@ -1911,6 +1898,16 @@
|
|||||||
"superstruct": true
|
"superstruct": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@metamask/snaps-utils>@metamask/key-tree": {
|
||||||
|
"packages": {
|
||||||
|
"@metamask/key-tree>@noble/ed25519": true,
|
||||||
|
"@metamask/key-tree>@noble/hashes": true,
|
||||||
|
"@metamask/key-tree>@noble/secp256k1": true,
|
||||||
|
"@metamask/key-tree>@scure/base": true,
|
||||||
|
"@metamask/scure-bip39": true,
|
||||||
|
"@metamask/snaps-utils>@metamask/utils": true
|
||||||
|
}
|
||||||
|
},
|
||||||
"@metamask/snaps-utils>@metamask/utils": {
|
"@metamask/snaps-utils>@metamask/utils": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"TextDecoder": true,
|
"TextDecoder": true,
|
||||||
|
@ -1519,29 +1519,6 @@
|
|||||||
"jest-canvas-mock>moo-color>color-name": true
|
"jest-canvas-mock>moo-color>color-name": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@metamask/key-tree": {
|
|
||||||
"packages": {
|
|
||||||
"@metamask/key-tree>@metamask/utils": true,
|
|
||||||
"@metamask/key-tree>@noble/ed25519": true,
|
|
||||||
"@metamask/key-tree>@noble/hashes": true,
|
|
||||||
"@metamask/key-tree>@noble/secp256k1": true,
|
|
||||||
"@metamask/key-tree>@scure/base": true,
|
|
||||||
"@metamask/scure-bip39": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@metamask/key-tree>@metamask/utils": {
|
|
||||||
"globals": {
|
|
||||||
"TextDecoder": true,
|
|
||||||
"TextEncoder": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"@metamask/key-tree>@noble/hashes": true,
|
|
||||||
"browserify>buffer": true,
|
|
||||||
"nock>debug": true,
|
|
||||||
"semver": true,
|
|
||||||
"superstruct": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@metamask/key-tree>@noble/ed25519": {
|
"@metamask/key-tree>@noble/ed25519": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"crypto": true
|
"crypto": true
|
||||||
@ -1756,9 +1733,9 @@
|
|||||||
"@metamask/rpc-methods": {
|
"@metamask/rpc-methods": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/browser-passworder": true,
|
"@metamask/browser-passworder": true,
|
||||||
"@metamask/key-tree": true,
|
|
||||||
"@metamask/key-tree>@noble/hashes": true,
|
"@metamask/key-tree>@noble/hashes": true,
|
||||||
"@metamask/permission-controller": true,
|
"@metamask/permission-controller": true,
|
||||||
|
"@metamask/rpc-methods>@metamask/key-tree": true,
|
||||||
"@metamask/rpc-methods>@metamask/utils": true,
|
"@metamask/rpc-methods>@metamask/utils": true,
|
||||||
"@metamask/rpc-methods>nanoid": true,
|
"@metamask/rpc-methods>nanoid": true,
|
||||||
"@metamask/snaps-ui": true,
|
"@metamask/snaps-ui": true,
|
||||||
@ -1772,6 +1749,16 @@
|
|||||||
"crypto.getRandomValues": true
|
"crypto.getRandomValues": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@metamask/rpc-methods>@metamask/key-tree": {
|
||||||
|
"packages": {
|
||||||
|
"@metamask/key-tree>@noble/ed25519": true,
|
||||||
|
"@metamask/key-tree>@noble/hashes": true,
|
||||||
|
"@metamask/key-tree>@noble/secp256k1": true,
|
||||||
|
"@metamask/key-tree>@scure/base": true,
|
||||||
|
"@metamask/rpc-methods>@metamask/utils": true,
|
||||||
|
"@metamask/scure-bip39": true
|
||||||
|
}
|
||||||
|
},
|
||||||
"@metamask/rpc-methods>@metamask/utils": {
|
"@metamask/rpc-methods>@metamask/utils": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"TextDecoder": true,
|
"TextDecoder": true,
|
||||||
@ -1899,9 +1886,9 @@
|
|||||||
"document.createElement": true
|
"document.createElement": true
|
||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/key-tree": true,
|
|
||||||
"@metamask/key-tree>@noble/hashes": true,
|
"@metamask/key-tree>@noble/hashes": true,
|
||||||
"@metamask/key-tree>@scure/base": true,
|
"@metamask/key-tree>@scure/base": true,
|
||||||
|
"@metamask/snaps-utils>@metamask/key-tree": true,
|
||||||
"@metamask/snaps-utils>@metamask/utils": true,
|
"@metamask/snaps-utils>@metamask/utils": true,
|
||||||
"@metamask/snaps-utils>cron-parser": true,
|
"@metamask/snaps-utils>cron-parser": true,
|
||||||
"@metamask/snaps-utils>fast-json-stable-stringify": true,
|
"@metamask/snaps-utils>fast-json-stable-stringify": true,
|
||||||
@ -1911,6 +1898,16 @@
|
|||||||
"superstruct": true
|
"superstruct": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@metamask/snaps-utils>@metamask/key-tree": {
|
||||||
|
"packages": {
|
||||||
|
"@metamask/key-tree>@noble/ed25519": true,
|
||||||
|
"@metamask/key-tree>@noble/hashes": true,
|
||||||
|
"@metamask/key-tree>@noble/secp256k1": true,
|
||||||
|
"@metamask/key-tree>@scure/base": true,
|
||||||
|
"@metamask/scure-bip39": true,
|
||||||
|
"@metamask/snaps-utils>@metamask/utils": true
|
||||||
|
}
|
||||||
|
},
|
||||||
"@metamask/snaps-utils>@metamask/utils": {
|
"@metamask/snaps-utils>@metamask/utils": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"TextDecoder": true,
|
"TextDecoder": true,
|
||||||
|
@ -1747,29 +1747,6 @@
|
|||||||
"jest-canvas-mock>moo-color>color-name": true
|
"jest-canvas-mock>moo-color>color-name": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@metamask/key-tree": {
|
|
||||||
"packages": {
|
|
||||||
"@metamask/key-tree>@metamask/utils": true,
|
|
||||||
"@metamask/key-tree>@noble/ed25519": true,
|
|
||||||
"@metamask/key-tree>@noble/hashes": true,
|
|
||||||
"@metamask/key-tree>@noble/secp256k1": true,
|
|
||||||
"@metamask/key-tree>@scure/base": true,
|
|
||||||
"@metamask/scure-bip39": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@metamask/key-tree>@metamask/utils": {
|
|
||||||
"globals": {
|
|
||||||
"TextDecoder": true,
|
|
||||||
"TextEncoder": true
|
|
||||||
},
|
|
||||||
"packages": {
|
|
||||||
"@metamask/key-tree>@noble/hashes": true,
|
|
||||||
"browserify>buffer": true,
|
|
||||||
"nock>debug": true,
|
|
||||||
"semver": true,
|
|
||||||
"superstruct": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@metamask/key-tree>@noble/ed25519": {
|
"@metamask/key-tree>@noble/ed25519": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"crypto": true
|
"crypto": true
|
||||||
@ -1984,9 +1961,9 @@
|
|||||||
"@metamask/rpc-methods": {
|
"@metamask/rpc-methods": {
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/browser-passworder": true,
|
"@metamask/browser-passworder": true,
|
||||||
"@metamask/key-tree": true,
|
|
||||||
"@metamask/key-tree>@noble/hashes": true,
|
"@metamask/key-tree>@noble/hashes": true,
|
||||||
"@metamask/permission-controller": true,
|
"@metamask/permission-controller": true,
|
||||||
|
"@metamask/rpc-methods>@metamask/key-tree": true,
|
||||||
"@metamask/rpc-methods>@metamask/utils": true,
|
"@metamask/rpc-methods>@metamask/utils": true,
|
||||||
"@metamask/rpc-methods>nanoid": true,
|
"@metamask/rpc-methods>nanoid": true,
|
||||||
"@metamask/snaps-ui": true,
|
"@metamask/snaps-ui": true,
|
||||||
@ -2000,6 +1977,16 @@
|
|||||||
"crypto.getRandomValues": true
|
"crypto.getRandomValues": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@metamask/rpc-methods>@metamask/key-tree": {
|
||||||
|
"packages": {
|
||||||
|
"@metamask/key-tree>@noble/ed25519": true,
|
||||||
|
"@metamask/key-tree>@noble/hashes": true,
|
||||||
|
"@metamask/key-tree>@noble/secp256k1": true,
|
||||||
|
"@metamask/key-tree>@scure/base": true,
|
||||||
|
"@metamask/rpc-methods>@metamask/utils": true,
|
||||||
|
"@metamask/scure-bip39": true
|
||||||
|
}
|
||||||
|
},
|
||||||
"@metamask/rpc-methods>@metamask/utils": {
|
"@metamask/rpc-methods>@metamask/utils": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"TextDecoder": true,
|
"TextDecoder": true,
|
||||||
@ -2127,9 +2114,9 @@
|
|||||||
"document.createElement": true
|
"document.createElement": true
|
||||||
},
|
},
|
||||||
"packages": {
|
"packages": {
|
||||||
"@metamask/key-tree": true,
|
|
||||||
"@metamask/key-tree>@noble/hashes": true,
|
"@metamask/key-tree>@noble/hashes": true,
|
||||||
"@metamask/key-tree>@scure/base": true,
|
"@metamask/key-tree>@scure/base": true,
|
||||||
|
"@metamask/snaps-utils>@metamask/key-tree": true,
|
||||||
"@metamask/snaps-utils>@metamask/utils": true,
|
"@metamask/snaps-utils>@metamask/utils": true,
|
||||||
"@metamask/snaps-utils>cron-parser": true,
|
"@metamask/snaps-utils>cron-parser": true,
|
||||||
"@metamask/snaps-utils>fast-json-stable-stringify": true,
|
"@metamask/snaps-utils>fast-json-stable-stringify": true,
|
||||||
@ -2139,6 +2126,16 @@
|
|||||||
"superstruct": true
|
"superstruct": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@metamask/snaps-utils>@metamask/key-tree": {
|
||||||
|
"packages": {
|
||||||
|
"@metamask/key-tree>@noble/ed25519": true,
|
||||||
|
"@metamask/key-tree>@noble/hashes": true,
|
||||||
|
"@metamask/key-tree>@noble/secp256k1": true,
|
||||||
|
"@metamask/key-tree>@scure/base": true,
|
||||||
|
"@metamask/scure-bip39": true,
|
||||||
|
"@metamask/snaps-utils>@metamask/utils": true
|
||||||
|
}
|
||||||
|
},
|
||||||
"@metamask/snaps-utils>@metamask/utils": {
|
"@metamask/snaps-utils>@metamask/utils": {
|
||||||
"globals": {
|
"globals": {
|
||||||
"TextDecoder": true,
|
"TextDecoder": true,
|
||||||
|
10
package.json
10
package.json
@ -244,7 +244,7 @@
|
|||||||
"@metamask/etherscan-link": "^2.2.0",
|
"@metamask/etherscan-link": "^2.2.0",
|
||||||
"@metamask/gas-fee-controller": "^6.0.1",
|
"@metamask/gas-fee-controller": "^6.0.1",
|
||||||
"@metamask/jazzicon": "^2.0.0",
|
"@metamask/jazzicon": "^2.0.0",
|
||||||
"@metamask/key-tree": "^7.0.0",
|
"@metamask/key-tree": "^9.0.0",
|
||||||
"@metamask/logo": "^3.1.1",
|
"@metamask/logo": "^3.1.1",
|
||||||
"@metamask/message-manager": "^7.0.2",
|
"@metamask/message-manager": "^7.0.2",
|
||||||
"@metamask/metamask-eth-abis": "^3.0.0",
|
"@metamask/metamask-eth-abis": "^3.0.0",
|
||||||
@ -258,18 +258,18 @@
|
|||||||
"@metamask/providers": "^11.1.0",
|
"@metamask/providers": "^11.1.0",
|
||||||
"@metamask/rate-limit-controller": "^3.0.0",
|
"@metamask/rate-limit-controller": "^3.0.0",
|
||||||
"@metamask/rpc-methods": "^1.0.0-prerelease.1",
|
"@metamask/rpc-methods": "^1.0.0-prerelease.1",
|
||||||
"@metamask/rpc-methods-flask": "npm:@metamask/rpc-methods@0.36.1-flask.1",
|
"@metamask/rpc-methods-flask": "npm:@metamask/rpc-methods@0.37.1-flask.1",
|
||||||
"@metamask/safe-event-emitter": "^2.0.0",
|
"@metamask/safe-event-emitter": "^2.0.0",
|
||||||
"@metamask/scure-bip39": "^2.0.3",
|
"@metamask/scure-bip39": "^2.0.3",
|
||||||
"@metamask/signature-controller": "^4.0.1",
|
"@metamask/signature-controller": "^4.0.1",
|
||||||
"@metamask/slip44": "^3.0.0",
|
"@metamask/slip44": "^3.0.0",
|
||||||
"@metamask/smart-transactions-controller": "^4.0.0",
|
"@metamask/smart-transactions-controller": "^4.0.0",
|
||||||
"@metamask/snaps-controllers": "^1.0.0-prerelease.1",
|
"@metamask/snaps-controllers": "^1.0.0-prerelease.1",
|
||||||
"@metamask/snaps-controllers-flask": "npm:@metamask/snaps-controllers@0.36.1-flask.1",
|
"@metamask/snaps-controllers-flask": "npm:@metamask/snaps-controllers@0.37.1-flask.1",
|
||||||
"@metamask/snaps-ui": "^1.0.0-prerelease.1",
|
"@metamask/snaps-ui": "^1.0.0-prerelease.1",
|
||||||
"@metamask/snaps-ui-flask": "npm:@metamask/snaps-ui@0.36.1-flask.1",
|
"@metamask/snaps-ui-flask": "npm:@metamask/snaps-ui@0.37.1-flask.1",
|
||||||
"@metamask/snaps-utils": "^1.0.0-prerelease.1",
|
"@metamask/snaps-utils": "^1.0.0-prerelease.1",
|
||||||
"@metamask/snaps-utils-flask": "npm:@metamask/snaps-utils@0.36.1-flask.1",
|
"@metamask/snaps-utils-flask": "npm:@metamask/snaps-utils@0.37.1-flask.1",
|
||||||
"@metamask/subject-metadata-controller": "^2.0.0",
|
"@metamask/subject-metadata-controller": "^2.0.0",
|
||||||
"@metamask/utils": "^5.0.0",
|
"@metamask/utils": "^5.0.0",
|
||||||
"@ngraveio/bc-ur": "^1.1.6",
|
"@ngraveio/bc-ur": "^1.1.6",
|
||||||
|
@ -16,7 +16,11 @@ const Paragraph = (props) => (
|
|||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
||||||
export const SnapUIMarkdown = ({ children }) => {
|
export const SnapUIMarkdown = ({ children, markdown }) => {
|
||||||
|
if (markdown === false) {
|
||||||
|
return <Paragraph>{children}</Paragraph>;
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ReactMarkdown
|
<ReactMarkdown
|
||||||
allowedElements={['p', 'strong', 'em']}
|
allowedElements={['p', 'strong', 'em']}
|
||||||
@ -29,4 +33,5 @@ export const SnapUIMarkdown = ({ children }) => {
|
|||||||
|
|
||||||
SnapUIMarkdown.propTypes = {
|
SnapUIMarkdown.propTypes = {
|
||||||
children: PropTypes.string,
|
children: PropTypes.string,
|
||||||
|
markdown: PropTypes.bool,
|
||||||
};
|
};
|
||||||
|
@ -46,6 +46,9 @@ export const UI_MAPPING = {
|
|||||||
text: (props) => ({
|
text: (props) => ({
|
||||||
element: 'SnapUIMarkdown',
|
element: 'SnapUIMarkdown',
|
||||||
children: props.value,
|
children: props.value,
|
||||||
|
props: {
|
||||||
|
markdown: props.markdown,
|
||||||
|
},
|
||||||
}),
|
}),
|
||||||
spinner: () => ({
|
spinner: () => ({
|
||||||
element: 'Spinner',
|
element: 'Spinner',
|
||||||
|
86
yarn.lock
86
yarn.lock
@ -4278,7 +4278,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@metamask/key-tree@npm:^7.0.0, @metamask/key-tree@npm:^7.1.1":
|
"@metamask/key-tree@npm:^7.1.1":
|
||||||
version: 7.1.1
|
version: 7.1.1
|
||||||
resolution: "@metamask/key-tree@npm:7.1.1"
|
resolution: "@metamask/key-tree@npm:7.1.1"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -4292,6 +4292,20 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"@metamask/key-tree@npm:^9.0.0":
|
||||||
|
version: 9.0.0
|
||||||
|
resolution: "@metamask/key-tree@npm:9.0.0"
|
||||||
|
dependencies:
|
||||||
|
"@metamask/scure-bip39": ^2.1.0
|
||||||
|
"@metamask/utils": ^6.0.1
|
||||||
|
"@noble/ed25519": ^1.6.0
|
||||||
|
"@noble/hashes": ^1.0.0
|
||||||
|
"@noble/secp256k1": ^1.5.5
|
||||||
|
"@scure/base": ^1.0.0
|
||||||
|
checksum: 5c81f07351ca59b37570d52edcc80d60424630b2a8403ed7149c3343c264878ac5d3fc0584a61635ea7ddda4a789295ded1247846606dc529d8e2fd42f6fc61a
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"@metamask/keyring-api@npm:^0.1.3":
|
"@metamask/keyring-api@npm:^0.1.3":
|
||||||
version: 0.1.3
|
version: 0.1.3
|
||||||
resolution: "@metamask/keyring-api@npm:0.1.3"
|
resolution: "@metamask/keyring-api@npm:0.1.3"
|
||||||
@ -4579,20 +4593,20 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@metamask/rpc-methods-flask@npm:@metamask/rpc-methods@0.36.1-flask.1, @metamask/rpc-methods@npm:^0.36.1-flask.1":
|
"@metamask/rpc-methods-flask@npm:@metamask/rpc-methods@0.37.1-flask.1, @metamask/rpc-methods@npm:^0.37.1-flask.1":
|
||||||
version: 0.36.1-flask.1
|
version: 0.37.1-flask.1
|
||||||
resolution: "@metamask/rpc-methods@npm:0.36.1-flask.1"
|
resolution: "@metamask/rpc-methods@npm:0.37.1-flask.1"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@metamask/key-tree": ^7.1.1
|
"@metamask/key-tree": ^9.0.0
|
||||||
"@metamask/permission-controller": ^4.0.0
|
"@metamask/permission-controller": ^4.0.0
|
||||||
"@metamask/snaps-ui": ^0.36.1-flask.1
|
"@metamask/snaps-ui": ^0.37.1-flask.1
|
||||||
"@metamask/snaps-utils": ^0.36.1-flask.1
|
"@metamask/snaps-utils": ^0.37.1-flask.1
|
||||||
"@metamask/types": ^1.1.0
|
"@metamask/types": ^1.1.0
|
||||||
"@metamask/utils": ^6.0.1
|
"@metamask/utils": ^6.0.1
|
||||||
"@noble/hashes": ^1.3.1
|
"@noble/hashes": ^1.3.1
|
||||||
eth-rpc-errors: ^4.0.3
|
eth-rpc-errors: ^4.0.3
|
||||||
superstruct: ^1.0.3
|
superstruct: ^1.0.3
|
||||||
checksum: 1172d2783285656478ba14fc9dbebfd7ad4150826f5eddd737a6cae376cf0e1d69e7b53570c9be45d95a14cc0533269ab4f2c8c4f28e3d867cfd06d68b5a2aac
|
checksum: 75515666e9347d59f5c4658c85daec061839f80279164e05d1950d2c83e29e19a37230d03f6d373ad48eab271579a19e8b93fe89ff5f2068633496cf3169848b
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -4719,19 +4733,19 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@metamask/snaps-controllers-flask@npm:@metamask/snaps-controllers@0.36.1-flask.1":
|
"@metamask/snaps-controllers-flask@npm:@metamask/snaps-controllers@0.37.1-flask.1":
|
||||||
version: 0.36.1-flask.1
|
version: 0.37.1-flask.1
|
||||||
resolution: "@metamask/snaps-controllers@npm:0.36.1-flask.1"
|
resolution: "@metamask/snaps-controllers@npm:0.37.1-flask.1"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@metamask/approval-controller": ^3.0.0
|
"@metamask/approval-controller": ^3.0.0
|
||||||
"@metamask/base-controller": ^3.0.0
|
"@metamask/base-controller": ^3.0.0
|
||||||
"@metamask/object-multiplex": ^1.2.0
|
"@metamask/object-multiplex": ^1.2.0
|
||||||
"@metamask/permission-controller": ^4.0.0
|
"@metamask/permission-controller": ^4.0.0
|
||||||
"@metamask/post-message-stream": ^6.1.2
|
"@metamask/post-message-stream": ^6.1.2
|
||||||
"@metamask/rpc-methods": ^0.36.1-flask.1
|
"@metamask/rpc-methods": ^0.37.1-flask.1
|
||||||
"@metamask/snaps-execution-environments": ^0.36.1-flask.1
|
"@metamask/snaps-execution-environments": ^0.37.1-flask.1
|
||||||
"@metamask/snaps-registry": ^1.2.1
|
"@metamask/snaps-registry": ^1.2.1
|
||||||
"@metamask/snaps-utils": ^0.36.1-flask.1
|
"@metamask/snaps-utils": ^0.37.1-flask.1
|
||||||
"@metamask/utils": ^6.0.1
|
"@metamask/utils": ^6.0.1
|
||||||
"@xstate/fsm": ^2.0.0
|
"@xstate/fsm": ^2.0.0
|
||||||
concat-stream: ^2.0.0
|
concat-stream: ^2.0.0
|
||||||
@ -4745,7 +4759,7 @@ __metadata:
|
|||||||
pump: ^3.0.0
|
pump: ^3.0.0
|
||||||
readable-web-to-node-stream: ^3.0.2
|
readable-web-to-node-stream: ^3.0.2
|
||||||
tar-stream: ^2.2.0
|
tar-stream: ^2.2.0
|
||||||
checksum: 9e7f9fa7a5989d4afda7cb6c8c7071059c2b48a2f3c6548eba0aca4ccf0103c3aa59167b1a31f905b9e8cbf79f41b9344945dd35719934083a18a85225985766
|
checksum: f36e2cb69569d950b6da6f977be2dabe2cb28aa69a14d252834b5a6be3ce631337ca5ab9b997fb1cc56c1c070e595efebf9e525ce0a59b18b84fda9a0c8bb731
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -4830,15 +4844,15 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@metamask/snaps-execution-environments@npm:^0.36.1-flask.1":
|
"@metamask/snaps-execution-environments@npm:^0.37.1-flask.1":
|
||||||
version: 0.36.1-flask.1
|
version: 0.37.1-flask.1
|
||||||
resolution: "@metamask/snaps-execution-environments@npm:0.36.1-flask.1"
|
resolution: "@metamask/snaps-execution-environments@npm:0.37.1-flask.1"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@metamask/object-multiplex": ^1.2.0
|
"@metamask/object-multiplex": ^1.2.0
|
||||||
"@metamask/post-message-stream": ^6.1.2
|
"@metamask/post-message-stream": ^6.1.2
|
||||||
"@metamask/providers": ^11.0.0
|
"@metamask/providers": ^11.0.0
|
||||||
"@metamask/rpc-methods": ^0.36.1-flask.1
|
"@metamask/rpc-methods": ^0.37.1-flask.1
|
||||||
"@metamask/snaps-utils": ^0.36.1-flask.1
|
"@metamask/snaps-utils": ^0.37.1-flask.1
|
||||||
"@metamask/utils": ^6.0.1
|
"@metamask/utils": ^6.0.1
|
||||||
eth-rpc-errors: ^4.0.3
|
eth-rpc-errors: ^4.0.3
|
||||||
json-rpc-engine: ^6.1.0
|
json-rpc-engine: ^6.1.0
|
||||||
@ -4847,7 +4861,7 @@ __metadata:
|
|||||||
ses: ^0.18.1
|
ses: ^0.18.1
|
||||||
stream-browserify: ^3.0.0
|
stream-browserify: ^3.0.0
|
||||||
superstruct: ^1.0.3
|
superstruct: ^1.0.3
|
||||||
checksum: 1863a37df13f8c0684a5b5d281e53294869a75daa4c4b8429593aee29bff6bf4aad4365eee19a1a1e20cfa47557dc12c4e266dae74c5ab0e951a6917cf9af6e6
|
checksum: 4a02b82fd83e957029bbab0d96001221ae82e81c68f38394915946983f1a66f96faa2dc16946c01b962463ee202825529ff9d115836e56a99f658848e0367da8
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -4882,13 +4896,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@metamask/snaps-ui-flask@npm:@metamask/snaps-ui@0.36.1-flask.1, @metamask/snaps-ui@npm:^0.36.1-flask.1":
|
"@metamask/snaps-ui-flask@npm:@metamask/snaps-ui@0.37.1-flask.1, @metamask/snaps-ui@npm:^0.37.1-flask.1":
|
||||||
version: 0.36.1-flask.1
|
version: 0.37.1-flask.1
|
||||||
resolution: "@metamask/snaps-ui@npm:0.36.1-flask.1"
|
resolution: "@metamask/snaps-ui@npm:0.37.1-flask.1"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@metamask/utils": ^6.0.1
|
"@metamask/utils": ^6.0.1
|
||||||
superstruct: ^1.0.3
|
superstruct: ^1.0.3
|
||||||
checksum: 85c8426003008836e3461a6287e0199ccc083f9e84053862a2e12a7763141c1a71bfdf9c2b46607a0ae14fdcd93cff22cbee3adf5fcef9364413c91acbeb812d
|
checksum: d4f32e56fb5a2fcb1b45ff12fe995d4f3dd812520d397094f69a31087d0923c5111b8727bbec3d1ab93db911d23994b56f1f2a6136703208307b2bed440ef662
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -4912,18 +4926,18 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@metamask/snaps-utils-flask@npm:@metamask/snaps-utils@0.36.1-flask.1, @metamask/snaps-utils@npm:^0.36.1-flask.1":
|
"@metamask/snaps-utils-flask@npm:@metamask/snaps-utils@0.37.1-flask.1, @metamask/snaps-utils@npm:^0.37.1-flask.1":
|
||||||
version: 0.36.1-flask.1
|
version: 0.37.1-flask.1
|
||||||
resolution: "@metamask/snaps-utils@npm:0.36.1-flask.1"
|
resolution: "@metamask/snaps-utils@npm:0.37.1-flask.1"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@babel/core": ^7.20.12
|
"@babel/core": ^7.20.12
|
||||||
"@babel/types": ^7.18.7
|
"@babel/types": ^7.18.7
|
||||||
"@metamask/base-controller": ^3.0.0
|
"@metamask/base-controller": ^3.0.0
|
||||||
"@metamask/key-tree": ^7.1.1
|
"@metamask/key-tree": ^9.0.0
|
||||||
"@metamask/permission-controller": ^4.0.0
|
"@metamask/permission-controller": ^4.0.0
|
||||||
"@metamask/providers": ^11.0.0
|
"@metamask/providers": ^11.0.0
|
||||||
"@metamask/snaps-registry": ^1.2.1
|
"@metamask/snaps-registry": ^1.2.1
|
||||||
"@metamask/snaps-ui": ^0.36.1-flask.1
|
"@metamask/snaps-ui": ^0.37.1-flask.1
|
||||||
"@metamask/utils": ^6.0.1
|
"@metamask/utils": ^6.0.1
|
||||||
"@noble/hashes": ^1.3.1
|
"@noble/hashes": ^1.3.1
|
||||||
"@scure/base": ^1.1.1
|
"@scure/base": ^1.1.1
|
||||||
@ -4937,7 +4951,7 @@ __metadata:
|
|||||||
ses: ^0.18.1
|
ses: ^0.18.1
|
||||||
superstruct: ^1.0.3
|
superstruct: ^1.0.3
|
||||||
validate-npm-package-name: ^5.0.0
|
validate-npm-package-name: ^5.0.0
|
||||||
checksum: 9d7d1d77ac03c58c51221a551b4718add396e5591c33dcb0c6799d0ba69ae775bb8c2f55b2bb1642842d13fd7b979437f34d4cabf6ec69832bff050ee6bb46d3
|
checksum: 3c49e5ac9c01d2f3db497dc5e1c6557641dcc35d358b35f4a244235b7e0c855e8bb7e582cd28d33647295838e31cd679225c5496ca67060b7088c4644d9ba335
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -24213,7 +24227,7 @@ __metadata:
|
|||||||
"@metamask/forwarder": ^1.1.0
|
"@metamask/forwarder": ^1.1.0
|
||||||
"@metamask/gas-fee-controller": ^6.0.1
|
"@metamask/gas-fee-controller": ^6.0.1
|
||||||
"@metamask/jazzicon": ^2.0.0
|
"@metamask/jazzicon": ^2.0.0
|
||||||
"@metamask/key-tree": ^7.0.0
|
"@metamask/key-tree": ^9.0.0
|
||||||
"@metamask/logo": ^3.1.1
|
"@metamask/logo": ^3.1.1
|
||||||
"@metamask/message-manager": ^7.0.2
|
"@metamask/message-manager": ^7.0.2
|
||||||
"@metamask/metamask-eth-abis": ^3.0.0
|
"@metamask/metamask-eth-abis": ^3.0.0
|
||||||
@ -24228,18 +24242,18 @@ __metadata:
|
|||||||
"@metamask/providers": ^11.1.0
|
"@metamask/providers": ^11.1.0
|
||||||
"@metamask/rate-limit-controller": ^3.0.0
|
"@metamask/rate-limit-controller": ^3.0.0
|
||||||
"@metamask/rpc-methods": ^1.0.0-prerelease.1
|
"@metamask/rpc-methods": ^1.0.0-prerelease.1
|
||||||
"@metamask/rpc-methods-flask": "npm:@metamask/rpc-methods@0.36.1-flask.1"
|
"@metamask/rpc-methods-flask": "npm:@metamask/rpc-methods@0.37.1-flask.1"
|
||||||
"@metamask/safe-event-emitter": ^2.0.0
|
"@metamask/safe-event-emitter": ^2.0.0
|
||||||
"@metamask/scure-bip39": ^2.0.3
|
"@metamask/scure-bip39": ^2.0.3
|
||||||
"@metamask/signature-controller": ^4.0.1
|
"@metamask/signature-controller": ^4.0.1
|
||||||
"@metamask/slip44": ^3.0.0
|
"@metamask/slip44": ^3.0.0
|
||||||
"@metamask/smart-transactions-controller": ^4.0.0
|
"@metamask/smart-transactions-controller": ^4.0.0
|
||||||
"@metamask/snaps-controllers": ^1.0.0-prerelease.1
|
"@metamask/snaps-controllers": ^1.0.0-prerelease.1
|
||||||
"@metamask/snaps-controllers-flask": "npm:@metamask/snaps-controllers@0.36.1-flask.1"
|
"@metamask/snaps-controllers-flask": "npm:@metamask/snaps-controllers@0.37.1-flask.1"
|
||||||
"@metamask/snaps-ui": ^1.0.0-prerelease.1
|
"@metamask/snaps-ui": ^1.0.0-prerelease.1
|
||||||
"@metamask/snaps-ui-flask": "npm:@metamask/snaps-ui@0.36.1-flask.1"
|
"@metamask/snaps-ui-flask": "npm:@metamask/snaps-ui@0.37.1-flask.1"
|
||||||
"@metamask/snaps-utils": ^1.0.0-prerelease.1
|
"@metamask/snaps-utils": ^1.0.0-prerelease.1
|
||||||
"@metamask/snaps-utils-flask": "npm:@metamask/snaps-utils@0.36.1-flask.1"
|
"@metamask/snaps-utils-flask": "npm:@metamask/snaps-utils@0.37.1-flask.1"
|
||||||
"@metamask/subject-metadata-controller": ^2.0.0
|
"@metamask/subject-metadata-controller": ^2.0.0
|
||||||
"@metamask/test-dapp": ^7.0.1
|
"@metamask/test-dapp": ^7.0.1
|
||||||
"@metamask/utils": ^5.0.0
|
"@metamask/utils": ^5.0.0
|
||||||
|
Loading…
Reference in New Issue
Block a user