-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Manifest schema [LIVE-9719] #334
Conversation
🦋 Changeset detectedLatest commit: 8f7f78b The changes in this PR will be included in the next version bump. This PR includes changesets to release 9 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
ajv checks urls, simplifies regex schema update import ts schema in validator
6ec98b2
to
286f827
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM I think we just miss the provider
field
dapp: { | ||
type: "object", | ||
properties: { | ||
nanoApp: { | ||
minLength: 1, | ||
maxLength: 50, | ||
type: "string", | ||
}, | ||
networks, | ||
}, | ||
required: ["nanoApp", "networks"], | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are missing the provider
field here I think, like provider: "evm"
https://gist.github.com/Wozacosta/c0960fcbc624db81929509ff9282ff10
changelog
@ledgerhq/cryptoassets
instead of the seemingly random mix of currencies we had before there..params
field check is cleaned up, only checkingparams
field ifurl: { pattern: ".*dapp-browser.apps.ledger.com.*" } },
"pattern": "^.*$",
)checks are removed.type
field removed.platform
field fixed (https://gist.github.com/Wozacosta/c0960fcbc624db81929509ff9282ff10#platforms)version
field tomanifestVersion
field (which seems to be standard in the doc and usage)next steps
use validator as github action in https://github.com/LedgerHQ/manifest-api
use regex pattern to validate semver here (https://gist.github.com/Wozacosta/c0960fcbc624db81929509ff9282ff10#apiversion)
update manifest documentation with following points :
remove mention of
type
field"platform": ["ios","android","desktop"]
-> (should beplatforms
)update doc with regex / min characters / max characters for string fields.
document content's
cta
andhighlight
fieldsis the domains field actually used ? doc is missing cta
udpate doc for
visibility
(https://gist.github.com/Wozacosta/c0960fcbc624db81929509ff9282ff10#visibility) - remove deep option