@velocitycareerlabs/vc-renderer-sample 1.25.0-dev-build.19b953994 → 1.25.0-dev-build.176972225

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/App.tsx +11 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velocitycareerlabs/vc-renderer-sample",
3
- "version": "1.25.0-dev-build.19b953994",
3
+ "version": "1.25.0-dev-build.176972225",
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.4",
22
22
  "@types/react-dom": "18.3.0",
23
- "@velocitycareerlabs/vc-renderer": "1.25.0-dev-build.19b953994",
23
+ "@velocitycareerlabs/vc-renderer": "1.25.0-dev-build.176972225",
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": "70c50ceb4c67c3800fd4e8d36c08be12a76ba9bd"
61
+ "gitHead": "b55cd12d8b451a373d59cd1a3239d0b69377bece"
62
62
  }
package/src/App.tsx CHANGED
@@ -2,6 +2,7 @@ import { useCallback, useState } from 'react';
2
2
  import {
3
3
  VcsSummaryRenderer,
4
4
  VcDetailsRenderer,
5
+ VcStatusEnum,
5
6
  } from '@velocitycareerlabs/vc-renderer';
6
7
  import { Typography, Box } from '@mui/material';
7
8
  import { Sidebar } from './components/Sidebar';
@@ -120,6 +121,7 @@ const App = () => {
120
121
  <VcDetailsRenderer
121
122
  categoryTitle="Assessments"
122
123
  vcData={{ vcPrepared: CREDENTIALS_MAPPED[0] }}
124
+ vcStatus={VcStatusEnum.VERIFIED}
123
125
  />
124
126
 
125
127
  <Typography variant="h6" pt={8}>
@@ -133,6 +135,7 @@ const App = () => {
133
135
  issuer:
134
136
  ISSUERS['did:ion:EiBMsw27IKRYIdwUOfDeBd0LnWVeG2fPxxJi9L1fvjM20g'],
135
137
  }}
138
+ vcStatus={VcStatusEnum.VERIFIED}
136
139
  />
137
140
 
138
141
  <Typography variant="h6" pt={8}>
@@ -147,6 +150,7 @@ const App = () => {
147
150
  issuer:
148
151
  ISSUERS['did:ion:EiBMsw27IKRYIdwUOfDeBd0LnWVeG2fPxxJi9L1fvjM20g'],
149
152
  }}
153
+ vcStatus={VcStatusEnum.VERIFIED}
150
154
  />
151
155
 
152
156
  <Typography variant="h6" pt={8}>
@@ -156,6 +160,7 @@ const App = () => {
156
160
  categoryTitle="Badges & Achievements"
157
161
  vcData={{ vcPrepared: CREDENTIALS_MAPPED[2] }}
158
162
  Footer={VcDetailsFooter}
163
+ vcStatus={VcStatusEnum.VERIFIED}
159
164
  />
160
165
 
161
166
  <Typography variant="h6" pt={8}>
@@ -164,6 +169,7 @@ const App = () => {
164
169
  <VcDetailsRenderer
165
170
  categoryTitle="Contacts"
166
171
  vcData={{ vcPrepared: CREDENTIALS_MAPPED[1] }}
172
+ vcStatus={VcStatusEnum.VERIFIED}
167
173
  />
168
174
 
169
175
  <Typography variant="h6" pt={8}>
@@ -173,6 +179,7 @@ const App = () => {
173
179
  categoryTitle="Contacts"
174
180
  vcData={{ vcPrepared: CREDENTIALS_MAPPED[1] }}
175
181
  Footer={VcDetailsFooter}
182
+ vcStatus={VcStatusEnum.VERIFIED}
176
183
  />
177
184
 
178
185
  <Typography variant="h6" pt={8}>
@@ -187,6 +194,7 @@ const App = () => {
187
194
  ISSUERS['did:ion:EiAehWmpX5mHBuc93SIhPXF8bsEx68G6mPcdIaLNGbozPA'],
188
195
  }}
189
196
  Footer={VcDetailsFooter}
197
+ vcStatus={VcStatusEnum.VERIFIED}
190
198
  />
191
199
 
192
200
  <Typography variant="h6" pt={8}>
@@ -201,6 +209,7 @@ const App = () => {
201
209
  ISSUERS['did:ion:EiAehWmpX5mHBuc93SIhPXF8bsEx68G6mPcdIaLNGbozPA'],
202
210
  }}
203
211
  style={styles.overriddenStyle2}
212
+ vcStatus={VcStatusEnum.VERIFIED}
204
213
  />
205
214
 
206
215
  <Typography variant="h6" pt={8}>
@@ -215,6 +224,7 @@ const App = () => {
215
224
  ISSUERS['did:ion:EiBMsw27IKRYIdwUOfDeBd0LnWVeG2fPxxJi9L1fvjM20g'],
216
225
  }}
217
226
  Footer={VcDetailsFooter}
227
+ vcStatus={VcStatusEnum.VERIFIED}
218
228
  />
219
229
 
220
230
  <Typography variant="h6" pt={8}>
@@ -229,6 +239,7 @@ const App = () => {
229
239
  ISSUERS['did:ion:EiBMsw27IKRYIdwUOfDeBd0LnWVeG2fPxxJi9L1fvjM20g'],
230
240
  }}
231
241
  Sidebar={Sidebar}
242
+ vcStatus={VcStatusEnum.VERIFIED}
232
243
  />
233
244
 
234
245
  <Typography variant="h6" pt={8} color="red">