@mattrglobal/verifier-sdk-web 1.1.1-unstable.26 → 1.1.1-unstable.28
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/README.md
CHANGED
|
@@ -113,7 +113,7 @@ MATTRVerifierSDK.initialise({ apiBaseUrl, applicationId });
|
|
|
113
113
|
|
|
114
114
|
## Prepare a credential query
|
|
115
115
|
|
|
116
|
-
The following example credential query will request the `
|
|
116
|
+
The following example credential query will request the `given_name`, `family_name`, `birth_date` and `portrait` claims from a `mobile` credential profile with `org.iso.18013.5.1.mDL` as a docType:
|
|
117
117
|
|
|
118
118
|
```javascript
|
|
119
119
|
const credentialQuery = [
|
|
@@ -122,7 +122,13 @@ const credentialQuery = [
|
|
|
122
122
|
"docType": "org.iso.18013.5.1.mDL",
|
|
123
123
|
"nameSpaces": {
|
|
124
124
|
"org.iso.18013.5.1": {
|
|
125
|
-
"
|
|
125
|
+
"given_name": {
|
|
126
|
+
"intentToRetain": false
|
|
127
|
+
},
|
|
128
|
+
"family_name": {
|
|
129
|
+
"intentToRetain": false
|
|
130
|
+
},
|
|
131
|
+
"birth_date": {
|
|
126
132
|
"intentToRetain": false
|
|
127
133
|
},
|
|
128
134
|
"portrait": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mattrglobal/verifier-sdk-web",
|
|
3
|
-
"version": "1.1.1-unstable.
|
|
3
|
+
"version": "1.1.1-unstable.28+e3817b59",
|
|
4
4
|
"main": "dist/lib/verifier-js.cjs.js",
|
|
5
5
|
"types": "dist/typings/index.d.ts",
|
|
6
6
|
"module": "dist/verifier-js.production.esm.js",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"docs": "rm -rf generatedDoc/ && typedoc && cp CHANGELOG_PUBLIC.md generatedDoc/CHANGELOG.md",
|
|
31
31
|
"docs:html": "NAME=\"MATTR Verifier Web SDK\" ../../scripts/generateHtmlDocs.sh"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "e3817b5910cf058b158dd0fe07a51178843584b2"
|
|
34
34
|
}
|