@velocitycareerlabs/vc-renderer-sample 1.25.0-dev-build.1f8e7f8db → 1.25.0-dev-build.145fb336f

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velocitycareerlabs/vc-renderer-sample",
3
- "version": "1.25.0-dev-build.1f8e7f8db",
3
+ "version": "1.25.0-dev-build.145fb336f",
4
4
  "description": "VC Renderer Sample",
5
5
  "repository": "https://github.com/velocitycareerlabs/packages",
6
6
  "publishConfig": {
@@ -20,7 +20,7 @@
20
20
  "@types/node": "^16.18.119",
21
21
  "@types/react": "18.3.20",
22
22
  "@types/react-dom": "18.3.5",
23
- "@velocitycareerlabs/vc-renderer": "1.25.0-dev-build.1f8e7f8db",
23
+ "@velocitycareerlabs/vc-renderer": "1.25.0-dev-build.145fb336f",
24
24
  "react": "18.3.1",
25
25
  "react-dom": "^18.3.1",
26
26
  "react-scripts": "5.0.1",
@@ -58,5 +58,5 @@
58
58
  "last 1 safari version"
59
59
  ]
60
60
  },
61
- "gitHead": "18247bf5f75c7b222ee92ba9dac455d0bc6bc358"
61
+ "gitHead": "de48227859ddcb06dbe0cd6b3ad3db52fe39eb90"
62
62
  }
package/src/App.tsx CHANGED
@@ -155,7 +155,7 @@ const App = () => {
155
155
  <CredentialDetailsRenderer
156
156
  categoryTitle="Assessments"
157
157
  credentialData={{
158
- vc: CREDENTIALS[7],
158
+ vc: CREDENTIALS[1],
159
159
  descriptor: DESCRIPTORS['AssessmentV1.1'],
160
160
  issuer:
161
161
  ISSUERS['did:ion:EiBMsw27IKRYIdwUOfDeBd0LnWVeG2fPxxJi9L1fvjM20g'],
@@ -199,7 +199,7 @@ const App = () => {
199
199
  <CredentialDetailsRenderer
200
200
  categoryTitle="Contacts"
201
201
  credentialData={{
202
- vc: CREDENTIALS[1],
202
+ vc: CREDENTIALS[8],
203
203
  descriptor: DESCRIPTORS['EmailV1.0'],
204
204
  issuer:
205
205
  ISSUERS['did:ion:EiAehWmpX5mHBuc93SIhPXF8bsEx68G6mPcdIaLNGbozPA'],
@@ -214,7 +214,7 @@ const App = () => {
214
214
  <CredentialDetailsRenderer
215
215
  categoryTitle="Contacts"
216
216
  credentialData={{
217
- vc: CREDENTIALS[1],
217
+ vc: CREDENTIALS[8],
218
218
  descriptor: DESCRIPTORS['EmailV1.0'],
219
219
  issuer:
220
220
  ISSUERS['did:ion:EiAehWmpX5mHBuc93SIhPXF8bsEx68G6mPcdIaLNGbozPA'],
@@ -229,7 +229,7 @@ const App = () => {
229
229
  <CredentialDetailsRenderer
230
230
  categoryTitle="Badges & Achievements"
231
231
  credentialData={{
232
- vc: CREDENTIALS[2],
232
+ vc: CREDENTIALS[3],
233
233
  descriptor: DESCRIPTORS.OpenBadgeCredential,
234
234
  issuer:
235
235
  ISSUERS['did:ion:EiBMsw27IKRYIdwUOfDeBd0LnWVeG2fPxxJi9L1fvjM20g'],
@@ -239,13 +239,13 @@ const App = () => {
239
239
  />
240
240
 
241
241
  <Typography variant="h6" pt={8}>
242
- Credential Details: Employment History. Using Raw Data + Sidebar{' '}
242
+ Credential Details: Badge. Using Raw Data + Sidebar{' '}
243
243
  </Typography>
244
244
  <CredentialDetailsRenderer
245
- categoryTitle="Employment History"
245
+ categoryTitle="Badges & Achievements"
246
246
  credentialData={{
247
247
  vc: CREDENTIALS[3],
248
- descriptor: DESCRIPTORS['EmploymentPastV1.1'],
248
+ descriptor: DESCRIPTORS.OpenBadgeCredential,
249
249
  issuer:
250
250
  ISSUERS['did:ion:EiBMsw27IKRYIdwUOfDeBd0LnWVeG2fPxxJi9L1fvjM20g'],
251
251
  }}
@@ -254,11 +254,10 @@ const App = () => {
254
254
  />
255
255
 
256
256
  <Typography variant="h6" pt={8} color="red">
257
- Credential Details: Employment History. Using Raw Data. Missing
258
- Descriptor{' '}
257
+ Credential Details: Badge. Using Raw Data. Missing Descriptor{' '}
259
258
  </Typography>
260
259
  <CredentialDetailsRenderer
261
- categoryTitle="Employment History"
260
+ categoryTitle="Badges & Achievements"
262
261
  credentialData={{
263
262
  vc: CREDENTIALS[3],
264
263
  descriptor: {},
@@ -268,13 +267,13 @@ const App = () => {
268
267
  />
269
268
 
270
269
  <Typography variant="h6" pt={8} color="red">
271
- Credential Details: Employment History. Using Raw Data. Missing Issuer{' '}
270
+ Credential Details: Badge. Using Raw Data. Missing Issuer{' '}
272
271
  </Typography>
273
272
  <CredentialDetailsRenderer
274
- categoryTitle="Employment History"
273
+ categoryTitle="Badges & Achievements"
275
274
  credentialData={{
276
275
  vc: CREDENTIALS[3],
277
- descriptor: DESCRIPTORS['EmploymentPastV1.1'],
276
+ descriptor: DESCRIPTORS.OpenBadgeCredential,
278
277
  issuer:
279
278
  ISSUERS['did:ion:EiAehWmpX5mHBuc93SIhPXF8bsEx68G6mPcdIaLNGbozPA'],
280
279
  }}