@blockcerts/blockcerts-verifier 1.70.0 → 1.71.0

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 (64) hide show
  1. package/__mocks__/@polymer/lit-element.ts +1 -1
  2. package/bundle-stats.html +13 -13
  3. package/dist/DataIntegrityProof-elCNKq16-DBDuaDNt.js +7 -0
  4. package/dist/EcdsaSd2023-B0XPAIp6-K61axvBA.js +30 -0
  5. package/dist/EcdsaSecp256k1Signature2019-BHgoxmKI-DT2qHZod.js +1 -0
  6. package/dist/Ed25519Signature2020-BQsESRnS-TKZI_1AX.js +34 -0
  7. package/dist/EddsaRdfc2022-DQKzWHK4-BILzDBp-.js +14 -0
  8. package/dist/HashlinkVerifier-BsVlaml5-B4Niv2-b.js +8 -0
  9. package/dist/{MerkleProof2017-DqA3Y12J-D6qS7nCf.js → MerkleProof2017-CYM8CJHB-FYpMvld0.js} +1 -1
  10. package/dist/{MerkleProof2017-MZJbBTpc-CeZmtqCh.js → MerkleProof2017-MZJbBTpc-Cwfnte6F.js} +6 -6
  11. package/dist/MerkleProof2019-BLrywo8h-Bo9rH2Eq.js +13 -0
  12. package/dist/checkCredentialSchemaConformity-CKNtOu_t-B9iaCRUE.js +1 -0
  13. package/dist/{checkRevocationStatusList2021-CPFaTtUR-XCu3zkCJ.js → checkRevocationStatusList2021-CMAVXAVE-BEBD8TO8.js} +1 -1
  14. package/dist/{controlVerificationMethod-qY02GU_H-B-4U8WJQ.js → controlVerificationMethod-B4TgLED0-BGpxLjMq.js} +1 -1
  15. package/dist/{did-key-common.esm-nDfdwcKN-BTWid9-w.js → did-key-common.esm-BIftA62j-hVrUMxjy.js} +3 -3
  16. package/dist/{did-key-ed25519.esm-DNra0jwE-CTwAEzy6.js → did-key-ed25519.esm-Drn3Y7PF-CqD0ifNk.js} +1 -1
  17. package/dist/did-key-secp256k1.esm-DH-f3o5q-C66E7IxB.js +1 -0
  18. package/dist/{downloadPDF-DQVfeIBI.js → downloadPDF-eGAsbwF0.js} +19 -19
  19. package/dist/ed25519-key-pair.esm-DPOFpdJ2-BrwuS0Ia.js +25 -0
  20. package/dist/elliptic-4aZS_cwf-BpaNaVm0.js +1 -0
  21. package/dist/elliptic-BYqApR8Y-CKp7atgR.js +1 -0
  22. package/dist/{ensureNotRevoked-gui-UMnE-DnVNmhNy.js → ensureNotRevoked-gui-UMnE-o08xNOvL.js} +1 -1
  23. package/dist/{ensureValidIssuingKey-Cz0isOdi-wu9SdYxL.js → ensureValidIssuingKey-BMVCi2T2-BdV46XBb.js} +1 -1
  24. package/dist/{index-Bi-O7G4n-Bgz40JYf.js → index-BgTFEYQ4-DMaz98iZ.js} +7 -7
  25. package/dist/index-CEj3k9G6.js +2 -0
  26. package/dist/index-DZLKRa_V-D_IQzjvG.js +5 -0
  27. package/dist/index-lyuTDW_o-nyi7dklX.js +1 -0
  28. package/dist/index.es-B7xY76Pb.js +56 -0
  29. package/dist/{jsonld-CQCA9cVk-CQeQQNYP.js → jsonld-B_Q2jvnp-BJ5uVeOU.js} +3 -3
  30. package/dist/{index-BM3knvQR-D4vxi3Vi.js → jsonld-signatures-BbILf-Q7-DTp6__ud.js} +16 -20
  31. package/dist/keyUtils-ExMI0fmg-NVOmd8LH.js +1 -0
  32. package/dist/main.js +128 -128
  33. package/dist/pako.esm-BGRKTPxS-UdHShO7y.js +2 -0
  34. package/dist/purify.es-CkKsfeyH.js +2 -0
  35. package/dist/{retrieveVerificationMethodPublicKey-6-rH9LB2-DvFOhdlW.js → retrieveVerificationMethodPublicKey-C5Gafl1E-Lv4waRy7.js} +1 -1
  36. package/dist/verifyIssuerProfile-DCJyz3ho-BwuCK9F3.js +1 -0
  37. package/dist/webcrypto.es-DpqeDikX-BnVhHKeM.js +40 -0
  38. package/dist/{x25519-CEFq6uo8-NSl6svWQ.js → x25519-Kp6t9B5a-Dh8L0KYb.js} +1 -1
  39. package/eslint.config.mjs +21 -0
  40. package/package.json +35 -46
  41. package/vitest.config.ts +11 -0
  42. package/web-test-runner.config.mjs +7 -0
  43. package/.eslintrc.js +0 -29
  44. package/dist/EcdsaSd2023-DcsELLJj-DreWzXlX.js +0 -36
  45. package/dist/EcdsaSecp256k1Signature2019-Cy1mIkjt-DJmj4ZAc.js +0 -1
  46. package/dist/Ed25519Signature2020-B-CFC9WC-DJkVVmwk.js +0 -52
  47. package/dist/HashlinkVerifier-hQgVXluZ-dg5WNZnc.js +0 -11
  48. package/dist/MerkleProof2019-B4HSvmJo-Cwc-hu-Y.js +0 -3
  49. package/dist/checkCredentialSchemaConformity-ChaCRIqw-7U54o8BA.js +0 -1
  50. package/dist/did-key-secp256k1.esm-Dv1NXpDw-_M-qRy-N.js +0 -1
  51. package/dist/elliptic-D-ZnlFdt-DQmYEk-8.js +0 -1
  52. package/dist/index-ButIU7pZ-Djl5IfSw.js +0 -1
  53. package/dist/index-C-APorIs.js +0 -2
  54. package/dist/index.es-BqQdvz5C.js +0 -56
  55. package/dist/pako.esm-DnD5dZGi-Bw1vqMku.js +0 -2
  56. package/dist/purify.es-DJj7iNgQ.js +0 -2
  57. package/dist/verifyIssuerProfile-DnjbDuXe-BVFzyjSL.js +0 -1
  58. package/dist/webcrypto.es-BxABHF-B-TCzLuarM.js +0 -40
  59. package/karma.conf.js +0 -27
  60. /package/dist/{Suite-B7Vy9AuU-D1ucdMDB.js → Suite-BmP2Qu19-D1ucdMDB.js} +0 -0
  61. /package/dist/{ensureNotRevoked-D9FFjDJd-DvMIgM4L.js → ensureNotRevoked-hGps0prO-DvMIgM4L.js} +0 -0
  62. /package/dist/{index-ZJb8DPW9-Dgus2xdV.js → index-BS134367-Dgus2xdV.js} +0 -0
  63. /package/dist/{index-0q2-1l6i-C0eXpZGn.js → index-CQYVZlSE-C0eXpZGn.js} +0 -0
  64. /package/dist/{sha256-BIUNvBZY-C1PUWFZm.js → sha256-u2xsd4MQ-C1PUWFZm.js} +0 -0
@@ -0,0 +1 @@
1
+ import{r}from"./index-CQYVZlSE-C0eXpZGn.js";import{D as a,V as o,A as e,a as t}from"./main.js";var s=r();async function c(r,c){Array.isArray(c)||(c=[c]),Array.isArray(r)||(r=[r]);for(const i of c){const c=await a({url:i.id});let n;try{n=JSON.parse(c)}catch(r){throw console.error(r),new Error(`Specified schema at url: ${i.id} could not be parsed`)}const f=s.validator(n);for(const a of r){if(!f(a))throw new o(e.checkCredentialSchemaConformity,t("errors","checkCredentialSchemaConformity"))}}}export{c as default};
@@ -1,4 +1,4 @@
1
- import{V as t,A as e,d as n,C as i,D as o,E as s,F as r}from"./main.js";import{e as a,d as c}from"./base64url-Cy03LJLt-vkTPfQOh.js";import{g as u,u as d}from"./pako.esm-DnD5dZGi-Bw1vqMku.js";
1
+ import{V as t,A as e,d as n,C as i,D as o,E as s,F as r}from"./main.js";import{e as a,d as c}from"./base64url-Cy03LJLt-vkTPfQOh.js";import{g as u,u as d}from"./pako.esm-BGRKTPxS-UdHShO7y.js";
2
2
  /*!
3
3
  * Copyright (c) 2020 Digital Bazaar, Inc. All rights reserved.
4
4
  */function h(t,e){if("number"!=typeof t)throw new TypeError(`"${e}" must be number.`)}function f(t,e){if(!(Number.isInteger(t)&&t>0))throw new TypeError(`"${e}" must be a positive integer.`)}function g(t,e){if("boolean"!=typeof t)throw new TypeError(`"${e}" must be a boolean.`)}function l(t,e){if(!(t instanceof Uint8Array))throw new TypeError(`"${e}" must be a Uint8Array.`)}
@@ -1 +1 @@
1
- import{V as o,A as t,d as i}from"./main.js";import{b as r}from"./index-ZJb8DPW9-Dgus2xdV.js";function n(n,e=""){const s=function(o){return o.id}(n);if(s!==e.split("#")[0])throw new o(t.controlVerificationMethod,`${r} - ${i.i18n.getText("errors","controlVerificationMethod")}`)}export{n as default};
1
+ import{V as o,A as t,d as i}from"./main.js";import{b as r}from"./index-BS134367-Dgus2xdV.js";function n(n,e=""){const s=function(o){return o.id}(n);if(s!==e.split("#")[0])throw new o(t.controlVerificationMethod,`${r} - ${i.i18n.getText("errors","controlVerificationMethod")}`)}export{n as default};