Skip to content

Commit

Permalink
chore: update sample for encrypt decrypt (#48)
Browse files Browse the repository at this point in the history
* chore: update sample doc

* chore: lint
  • Loading branch information
zixiang2018 authored Oct 10, 2023
1 parent aae9fb5 commit ac38d80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ jobs:
run: npm run test
- name: Build
run: npm run build

4 changes: 2 additions & 2 deletions src/views/encrypt-decrypt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ const SAMPLE = {
q: {
type: "DOCUMENT",
payload: {
uri: "https://api-vaccine.storage.staging.notarise.io/document/6cfbbcbf-85a1-4644-b61a-952c12376502",
uri: "https://api-vaccine.storage.staging.notarise.io/document/c716022a-f3d0-43b5-bd53-bdd3aefe82c7",
permittedActions: ["VIEW", "STORE"],
redirect: "https://www.verify.gov.sg/verify",
},
},
anchor: { key: "2b1236683c3a842ed4a0bb032c1cf668e24bcaf8ce599aeef502c93cb628152c" },
anchor: { key: "af52904a968adfa2a66d2cb5f2bd076e1b395247c297d06bdc7760d48b0d3160" },
};

const action = stringifyAndEncode(SAMPLE.q);
Expand Down

0 comments on commit ac38d80

Please sign in to comment.