Skip to content

Commit 821bded

Browse files
Merge branch 'master' into SIW-1149-wallet-attestation
2 parents 70c9511 + b1fad9b commit 821bded

13 files changed

+9
-725
lines changed

example/src/App.tsx

+3-5
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,16 @@ export default function App() {
1616
<ScrollView>
1717
<TestScenario
1818
title="Prepare Integrity Context"
19-
scenario={scenarios.prod.prepareIntegrityContext(
20-
setIntegrityContext
21-
)}
19+
scenario={scenarios.prepareIntegrityContext(setIntegrityContext)}
2220
/>
2321
<TestScenario
2422
title="Create Wallet Instance"
25-
scenario={scenarios.prod.createWalletInstance(integrityContext)}
23+
scenario={scenarios.createWalletInstance(integrityContext)}
2624
disabled={!integrityContext}
2725
/>
2826
<TestScenario
2927
title="Obtain Wallet Attestation"
30-
scenario={scenarios.prod.getAttestation(integrityContext)}
28+
scenario={scenarios.getAttestation(integrityContext)}
3129
disabled={!integrityContext}
3230
/>
3331
</ScrollView>

example/src/scenarios/index.ts

+6-31
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,12 @@
1-
import getEntityStatement from "./poc/get-entity-statement";
2-
import getPid from "./poc/get-pid";
3-
import getAttestation from "./production/get-attestation";
4-
import verifyPid from "./poc/verify-pid";
5-
import decodePid from "./poc/decode-pid";
6-
import decodeCredentialSdJwt from "./poc/decode-credential-sdjwt";
7-
import verifyCredentialSdJwt from "./poc/verify-credential-sdjwt";
8-
import decodeQR from "./poc/decode-qr-from-rp";
9-
import authenticationToRP from "./poc/cross-device-flow-with-rp";
10-
import getCredential from "./poc/get-credential";
11-
import getMultipleCredential from "./poc/get-credential-multiple";
12-
import createWalletInstance from "./production/create-wallet-instance";
1+
import createWalletInstance from "./create-wallet-instance";
132
import TestScenario from "./TestScenario";
14-
import prepareIntegrityContext from "./production/prepare-integrity-context";
3+
import prepareIntegrityContext from "./prepare-integrity-context";
4+
import getAttestation from "./production/get-attestation";
155

166
const scenarios = {
17-
poc: {
18-
getPid,
19-
getAttestation,
20-
getCredential,
21-
getMultipleCredential,
22-
verifyPid,
23-
decodePid,
24-
decodeQR,
25-
authenticationToRP,
26-
getEntityStatement,
27-
decodeCredentialSdJwt,
28-
verifyCredentialSdJwt,
29-
},
30-
prod: {
31-
prepareIntegrityContext,
32-
createWalletInstance,
33-
getAttestation,
34-
},
7+
prepareIntegrityContext,
8+
createWalletInstance,
9+
getAttestation,
3510
};
3611

3712
export default scenarios;

example/src/scenarios/poc/cross-device-flow-with-rp.ts

-77
This file was deleted.

example/src/scenarios/poc/decode-credential-sdjwt.ts

-20
This file was deleted.

example/src/scenarios/poc/decode-pid.ts

-14
This file was deleted.

example/src/scenarios/poc/decode-qr-from-rp.ts

-21
This file was deleted.

example/src/scenarios/poc/get-attestation.ts

-36
This file was deleted.

0 commit comments

Comments
 (0)