@sphereon/ssi-sdk.credential-vcdm-jsonld-provider 0.34.1-fix.80 → 0.34.1-next.278

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/dist/index.js CHANGED
@@ -787,7 +787,7 @@ import Debug2 from "debug";
787
787
  // src/ld-document-loader.ts
788
788
  import sigpkg from "@digitalcredentials/jsonld-signatures";
789
789
  import * as vc from "@digitalcredentials/vc";
790
- import { fetch } from "cross-fetch";
790
+ import fetch from "cross-fetch";
791
791
  import Debug from "debug";
792
792
  import { getAgentResolver } from "@sphereon/ssi-sdk-ext.did-utils";
793
793
  var debug = Debug("sphereon:ssi-sdk:credential-jsonld");
@@ -914,21 +914,21 @@ var ProofPurpose = sigpkg2.purposes.ProofPurpose;
914
914
  var ControllerProofPurpose = sigpkg2.purposes.ControllerProofPurpose;
915
915
  var AssertionProofPurpose = sigpkg2.purposes.AssertionProofPurpose;
916
916
  var AuthenticationProofPurpose = sigpkg2.purposes.AuthenticationProofPurpose;
917
- var MethodNames = /* @__PURE__ */ function(MethodNames2) {
917
+ var MethodNames = /* @__PURE__ */ (function(MethodNames2) {
918
918
  MethodNames2["createVerifiableCredential"] = "createVerifiableCredential";
919
919
  MethodNames2["createVerifiablePresentation"] = "createVerifiablePresentation";
920
920
  MethodNames2["verifyCredential"] = "verifyCredential";
921
921
  MethodNames2["verifyPresentation"] = "verifyPresentation";
922
922
  return MethodNames2;
923
- }({});
924
- var events = /* @__PURE__ */ function(events2) {
923
+ })({});
924
+ var events = /* @__PURE__ */ (function(events2) {
925
925
  events2["CREDENTIAL_ISSUED"] = "credentialIssued";
926
926
  events2["CREDENTIAL_VERIFIED"] = "credentialVerified";
927
927
  events2["PRESENTATION_VERIFIED"] = "presentationVerified";
928
928
  events2["PRESENTATION_VERIFY_FAILED"] = "presentationVerificationFailed";
929
929
  events2["CREDENTIAL_VERIFY_FAILED"] = "credentialVerificationFailed";
930
930
  return events2;
931
- }({});
931
+ })({});
932
932
 
933
933
  // src/ld-credential-module.ts
934
934
  var { purposes } = sigpkg3;
@@ -1302,77 +1302,409 @@ var bbs_bls_signature_2020_v1_default = {
1302
1302
  }
1303
1303
  };
1304
1304
 
1305
- // src/contexts/www.w3.org_ns_did_v1.json
1306
- var www_w3_org_ns_did_v1_default = {
1305
+ // src/contexts/citizenship-v1.json
1306
+ var citizenship_v1_default = {
1307
1307
  "@context": {
1308
+ "@version": 1.1,
1308
1309
  "@protected": true,
1309
- id: "@id",
1310
- type: "@type",
1311
- alsoKnownAs: {
1312
- "@id": "https://www.w3.org/ns/activitystreams#alsoKnownAs",
1313
- "@type": "@id"
1314
- },
1315
- assertionMethod: {
1316
- "@id": "https://w3id.org/security#assertionMethod",
1317
- "@type": "@id",
1318
- "@container": "@set"
1319
- },
1320
- authentication: {
1321
- "@id": "https://w3id.org/security#authenticationMethod",
1322
- "@type": "@id",
1323
- "@container": "@set"
1310
+ name: "http://schema.org/name",
1311
+ description: "http://schema.org/description",
1312
+ identifier: "http://schema.org/identifier",
1313
+ image: { "@id": "http://schema.org/image", "@type": "@id" },
1314
+ PermanentResidentCard: {
1315
+ "@id": "https://w3id.org/citizenship#PermanentResidentCard",
1316
+ "@context": {
1317
+ "@version": 1.1,
1318
+ "@protected": true,
1319
+ id: "@id",
1320
+ type: "@type",
1321
+ description: "http://schema.org/description",
1322
+ name: "http://schema.org/name",
1323
+ identifier: "http://schema.org/identifier",
1324
+ image: { "@id": "http://schema.org/image", "@type": "@id" }
1325
+ }
1324
1326
  },
1325
- capabilityDelegation: {
1326
- "@id": "https://w3id.org/security#capabilityDelegationMethod",
1327
- "@type": "@id",
1328
- "@container": "@set"
1327
+ PermanentResident: {
1328
+ "@id": "https://w3id.org/citizenship#PermanentResident",
1329
+ "@context": {
1330
+ "@version": 1.1,
1331
+ "@protected": true,
1332
+ id: "@id",
1333
+ type: "@type",
1334
+ ctzn: "https://w3id.org/citizenship#",
1335
+ schema: "http://schema.org/",
1336
+ xsd: "http://www.w3.org/2001/XMLSchema#",
1337
+ birthCountry: "ctzn:birthCountry",
1338
+ birthDate: { "@id": "schema:birthDate", "@type": "xsd:dateTime" },
1339
+ commuterClassification: "ctzn:commuterClassification",
1340
+ familyName: "schema:familyName",
1341
+ gender: "schema:gender",
1342
+ givenName: "schema:givenName",
1343
+ lprCategory: "ctzn:lprCategory",
1344
+ lprNumber: "ctzn:lprNumber",
1345
+ residentSince: { "@id": "ctzn:residentSince", "@type": "xsd:dateTime" }
1346
+ }
1329
1347
  },
1330
- capabilityInvocation: {
1331
- "@id": "https://w3id.org/security#capabilityInvocationMethod",
1348
+ Person: "http://schema.org/Person"
1349
+ }
1350
+ };
1351
+
1352
+ // src/contexts/ed25519-signature-2020-v1.json
1353
+ var ed25519_signature_2020_v1_default = {
1354
+ "@context": {
1355
+ id: "@id",
1356
+ type: "@type",
1357
+ "@protected": true,
1358
+ proof: {
1359
+ "@id": "https://w3id.org/security#proof",
1332
1360
  "@type": "@id",
1333
- "@container": "@set"
1334
- },
1335
- controller: {
1336
- "@id": "https://w3id.org/security#controller",
1337
- "@type": "@id"
1361
+ "@container": "@graph"
1338
1362
  },
1339
- keyAgreement: {
1340
- "@id": "https://w3id.org/security#keyAgreementMethod",
1341
- "@type": "@id",
1342
- "@container": "@set"
1363
+ Ed25519VerificationKey2020: {
1364
+ "@id": "https://w3id.org/security#Ed25519VerificationKey2020"
1343
1365
  },
1344
- service: {
1345
- "@id": "https://www.w3.org/ns/did#service",
1346
- "@type": "@id",
1366
+ Ed25519Signature2020: {
1367
+ "@id": "https://w3id.org/security#Ed25519Signature2020",
1347
1368
  "@context": {
1348
1369
  "@protected": true,
1349
1370
  id: "@id",
1350
1371
  type: "@type",
1351
- serviceEndpoint: {
1352
- "@id": "https://www.w3.org/ns/did#serviceEndpoint",
1372
+ challenge: "https://w3id.org/security#challenge",
1373
+ created: {
1374
+ "@id": "http://purl.org/dc/terms/created",
1375
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
1376
+ },
1377
+ domain: "https://w3id.org/security#domain",
1378
+ expires: {
1379
+ "@id": "https://w3id.org/security#expiration",
1380
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
1381
+ },
1382
+ nonce: "https://w3id.org/security#nonce",
1383
+ proofPurpose: {
1384
+ "@id": "https://w3id.org/security#proofPurpose",
1385
+ "@type": "@vocab",
1386
+ "@context": {
1387
+ "@version": 1.1,
1388
+ "@protected": true,
1389
+ id: "@id",
1390
+ type: "@type",
1391
+ assertionMethod: {
1392
+ "@id": "https://w3id.org/security#assertionMethod",
1393
+ "@type": "@id",
1394
+ "@container": "@set"
1395
+ },
1396
+ authentication: {
1397
+ "@id": "https://w3id.org/security#authenticationMethod",
1398
+ "@type": "@id",
1399
+ "@container": "@set"
1400
+ },
1401
+ capabilityInvocation: {
1402
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
1403
+ "@type": "@id",
1404
+ "@container": "@set"
1405
+ },
1406
+ capabilityDelegation: {
1407
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
1408
+ "@type": "@id",
1409
+ "@container": "@set"
1410
+ },
1411
+ keyAgreement: {
1412
+ "@id": "https://w3id.org/security#keyAgreementMethod",
1413
+ "@type": "@id",
1414
+ "@container": "@set"
1415
+ }
1416
+ }
1417
+ },
1418
+ proofValue: {
1419
+ "@id": "https://w3id.org/security#proofValue",
1420
+ "@type": "https://w3id.org/security#multibase"
1421
+ },
1422
+ verificationMethod: {
1423
+ "@id": "https://w3id.org/security#verificationMethod",
1353
1424
  "@type": "@id"
1354
1425
  }
1355
1426
  }
1356
- },
1357
- verificationMethod: {
1358
- "@id": "https://w3id.org/security#verificationMethod",
1359
- "@type": "@id"
1360
1427
  }
1361
1428
  }
1362
1429
  };
1363
1430
 
1364
- // src/contexts/w3id.org_security_v1.json
1365
- var w3id_org_security_v1_default = {
1431
+ // src/contexts/eip712.json
1432
+ var eip712_default = {
1433
+ "@context": {
1434
+ "@version": 1.1,
1435
+ "@protected": true,
1436
+ Eip712SchemaValidator2021: "https://w3id.org/security#Eip712SchemaValidator2021",
1437
+ EthereumEip712Signature2021: {
1438
+ "@id": "https://w3id.org/security#EthereumEip712Signature2021",
1439
+ "@context": {
1440
+ "@version": 1.1,
1441
+ "@protected": true,
1442
+ id: "@id",
1443
+ type: "@type",
1444
+ created: {
1445
+ "@id": "http://purl.org/dc/terms/created",
1446
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
1447
+ },
1448
+ domain: "https://w3id.org/security#domain",
1449
+ proofPurpose: {
1450
+ "@id": "https://w3id.org/security#proofPurpose",
1451
+ "@type": "@vocab",
1452
+ "@context": {
1453
+ "@version": 1.1,
1454
+ "@protected": true,
1455
+ id: "@id",
1456
+ type: "@type",
1457
+ assertionMethod: {
1458
+ "@id": "https://w3id.org/security#assertionMethod",
1459
+ "@type": "@id",
1460
+ "@container": "@set"
1461
+ },
1462
+ authentication: {
1463
+ "@id": "https://w3id.org/security#authenticationMethod",
1464
+ "@type": "@id",
1465
+ "@container": "@set"
1466
+ },
1467
+ capabilityInvocation: {
1468
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
1469
+ "@type": "@id",
1470
+ "@container": "@set"
1471
+ },
1472
+ capabilityDelegation: {
1473
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
1474
+ "@type": "@id",
1475
+ "@container": "@set"
1476
+ }
1477
+ }
1478
+ },
1479
+ eip712Domain: {
1480
+ "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#eip712-domain",
1481
+ "@context": {
1482
+ "@version": 1.1,
1483
+ "@protected": true,
1484
+ id: "@id",
1485
+ type: "@type",
1486
+ messageSchema: {
1487
+ "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#message-schema",
1488
+ "@type": "@json"
1489
+ },
1490
+ primaryType: "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#primary-type",
1491
+ domain: {
1492
+ "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#domain",
1493
+ "@type": "@json"
1494
+ }
1495
+ }
1496
+ },
1497
+ eip712: {
1498
+ "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#eip712-domain",
1499
+ "@context": {
1500
+ "@version": 1.1,
1501
+ "@protected": true,
1502
+ id: "@id",
1503
+ type: "@type",
1504
+ types: {
1505
+ "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#message-schema",
1506
+ "@type": "@json"
1507
+ },
1508
+ primaryType: "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#primary-type",
1509
+ domain: {
1510
+ "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#domain",
1511
+ "@type": "@json"
1512
+ }
1513
+ }
1514
+ },
1515
+ proofValue: "https://w3id.org/security#proofValue",
1516
+ verificationMethod: {
1517
+ "@id": "https://w3id.org/security#verificationMethod",
1518
+ "@type": "@id"
1519
+ },
1520
+ canonicalizationHash: "https://w3id.org/security/suites/eip712sig-2021#canonicalizationHash"
1521
+ }
1522
+ }
1523
+ }
1524
+ };
1525
+
1526
+ // src/contexts/json-web-signature-2020-v1.json
1527
+ var json_web_signature_2020_v1_default = {
1366
1528
  "@context": {
1529
+ "@version": 1.1,
1367
1530
  id: "@id",
1368
1531
  type: "@type",
1369
- dc: "http://purl.org/dc/terms/",
1370
- sec: "https://w3id.org/security#",
1371
- xsd: "http://www.w3.org/2001/XMLSchema#",
1372
- EcdsaKoblitzSignature2016: "sec:EcdsaKoblitzSignature2016",
1373
- Ed25519Signature2018: "sec:Ed25519Signature2018",
1374
- EncryptedMessage: "sec:EncryptedMessage",
1375
- GraphSignature2012: "sec:GraphSignature2012",
1532
+ "@protected": true,
1533
+ JsonWebKey2020: {
1534
+ "@id": "https://w3id.org/security#JsonWebKey2020"
1535
+ },
1536
+ JsonWebSignature2020: {
1537
+ "@id": "https://w3id.org/security#JsonWebSignature2020",
1538
+ "@context": {
1539
+ "@version": 1.1,
1540
+ id: "@id",
1541
+ type: "@type",
1542
+ "@protected": true,
1543
+ challenge: "https://w3id.org/security#challenge",
1544
+ created: {
1545
+ "@id": "http://purl.org/dc/terms/created",
1546
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
1547
+ },
1548
+ domain: "https://w3id.org/security#domain",
1549
+ expires: {
1550
+ "@id": "https://w3id.org/security#expiration",
1551
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
1552
+ },
1553
+ jws: "https://w3id.org/security#jws",
1554
+ nonce: "https://w3id.org/security#nonce",
1555
+ proofPurpose: {
1556
+ "@id": "https://w3id.org/security#proofPurpose",
1557
+ "@type": "@vocab",
1558
+ "@context": {
1559
+ "@version": 1.1,
1560
+ "@protected": true,
1561
+ id: "@id",
1562
+ type: "@type",
1563
+ assertionMethod: {
1564
+ "@id": "https://w3id.org/security#assertionMethod",
1565
+ "@type": "@id",
1566
+ "@container": "@set"
1567
+ },
1568
+ authentication: {
1569
+ "@id": "https://w3id.org/security#authenticationMethod",
1570
+ "@type": "@id",
1571
+ "@container": "@set"
1572
+ },
1573
+ capabilityInvocation: {
1574
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
1575
+ "@type": "@id",
1576
+ "@container": "@set"
1577
+ },
1578
+ capabilityDelegation: {
1579
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
1580
+ "@type": "@id",
1581
+ "@container": "@set"
1582
+ },
1583
+ keyAgreement: {
1584
+ "@id": "https://w3id.org/security#keyAgreementMethod",
1585
+ "@type": "@id",
1586
+ "@container": "@set"
1587
+ }
1588
+ }
1589
+ },
1590
+ verificationMethod: {
1591
+ "@id": "https://w3id.org/security#verificationMethod",
1592
+ "@type": "@id"
1593
+ }
1594
+ }
1595
+ }
1596
+ }
1597
+ };
1598
+
1599
+ // src/contexts/lds-ecdsa-secp256k1-recovery2020-0.0.json
1600
+ var lds_ecdsa_secp256k1_recovery2020_0_0_default = {
1601
+ "@context": {
1602
+ "@version": 1.1,
1603
+ id: "@id",
1604
+ type: "@type",
1605
+ esrs2020: "https://identity.foundation/EcdsaSecp256k1RecoverySignature2020#",
1606
+ EcdsaSecp256k1RecoverySignature2020: "esrs2020:EcdsaSecp256k1RecoverySignature2020",
1607
+ EcdsaSecp256k1RecoveryMethod2020: "esrs2020:EcdsaSecp256k1RecoveryMethod2020",
1608
+ publicKeyJwk: {
1609
+ "@id": "esrs2020:publicKeyJwk",
1610
+ "@type": "@json"
1611
+ },
1612
+ privateKeyJwk: {
1613
+ "@id": "esrs2020:privateKeyJwk",
1614
+ "@type": "@json"
1615
+ },
1616
+ publicKeyHex: "esrs2020:publicKeyHex",
1617
+ privateKeyHex: "esrs2020:privateKeyHex",
1618
+ ethereumAddress: "esrs2020:ethereumAddress"
1619
+ }
1620
+ };
1621
+
1622
+ // src/contexts/veramo.io_contexts_profile_v1.json
1623
+ var veramo_io_contexts_profile_v1_default = {
1624
+ "@context": {
1625
+ "@version": 1.1,
1626
+ "@protected": true,
1627
+ Profile: "https://veramo.io/contexts/profile#Profile",
1628
+ name: "https://schema.org/name"
1629
+ }
1630
+ };
1631
+
1632
+ // src/contexts/w3id.org_security_suites_ed25519-2018_v1.json
1633
+ var w3id_org_security_suites_ed25519_2018_v1_default = {
1634
+ "@context": [
1635
+ {
1636
+ "@version": 1.1
1637
+ },
1638
+ "https://w3id.org/security/v1",
1639
+ {
1640
+ AesKeyWrappingKey2019: "sec:AesKeyWrappingKey2019",
1641
+ DeleteKeyOperation: "sec:DeleteKeyOperation",
1642
+ DeriveSecretOperation: "sec:DeriveSecretOperation",
1643
+ EcdsaSecp256k1Signature2019: "sec:EcdsaSecp256k1Signature2019",
1644
+ EcdsaSecp256r1Signature2019: "sec:EcdsaSecp256r1Signature2019",
1645
+ EcdsaSecp256k1VerificationKey2019: "sec:EcdsaSecp256k1VerificationKey2019",
1646
+ EcdsaSecp256r1VerificationKey2019: "sec:EcdsaSecp256r1VerificationKey2019",
1647
+ Ed25519Signature2018: "sec:Ed25519Signature2018",
1648
+ Ed25519VerificationKey2018: "sec:Ed25519VerificationKey2018",
1649
+ EquihashProof2018: "sec:EquihashProof2018",
1650
+ ExportKeyOperation: "sec:ExportKeyOperation",
1651
+ GenerateKeyOperation: "sec:GenerateKeyOperation",
1652
+ KmsOperation: "sec:KmsOperation",
1653
+ RevokeKeyOperation: "sec:RevokeKeyOperation",
1654
+ RsaSignature2018: "sec:RsaSignature2018",
1655
+ RsaVerificationKey2018: "sec:RsaVerificationKey2018",
1656
+ Sha256HmacKey2019: "sec:Sha256HmacKey2019",
1657
+ SignOperation: "sec:SignOperation",
1658
+ UnwrapKeyOperation: "sec:UnwrapKeyOperation",
1659
+ VerifyOperation: "sec:VerifyOperation",
1660
+ WrapKeyOperation: "sec:WrapKeyOperation",
1661
+ X25519KeyAgreementKey2019: "sec:X25519KeyAgreementKey2019",
1662
+ allowedAction: "sec:allowedAction",
1663
+ assertionMethod: { "@id": "sec:assertionMethod", "@type": "@id", "@container": "@set" },
1664
+ authentication: { "@id": "sec:authenticationMethod", "@type": "@id", "@container": "@set" },
1665
+ capability: { "@id": "sec:capability", "@type": "@id" },
1666
+ capabilityAction: "sec:capabilityAction",
1667
+ capabilityChain: { "@id": "sec:capabilityChain", "@type": "@id", "@container": "@list" },
1668
+ capabilityDelegation: { "@id": "sec:capabilityDelegationMethod", "@type": "@id", "@container": "@set" },
1669
+ capabilityInvocation: { "@id": "sec:capabilityInvocationMethod", "@type": "@id", "@container": "@set" },
1670
+ caveat: { "@id": "sec:caveat", "@type": "@id", "@container": "@set" },
1671
+ challenge: "sec:challenge",
1672
+ ciphertext: "sec:ciphertext",
1673
+ controller: { "@id": "sec:controller", "@type": "@id" },
1674
+ delegator: { "@id": "sec:delegator", "@type": "@id" },
1675
+ equihashParameterK: { "@id": "sec:equihashParameterK", "@type": "xsd:integer" },
1676
+ equihashParameterN: { "@id": "sec:equihashParameterN", "@type": "xsd:integer" },
1677
+ invocationTarget: { "@id": "sec:invocationTarget", "@type": "@id" },
1678
+ invoker: { "@id": "sec:invoker", "@type": "@id" },
1679
+ jws: "sec:jws",
1680
+ keyAgreement: { "@id": "sec:keyAgreementMethod", "@type": "@id", "@container": "@set" },
1681
+ kmsModule: { "@id": "sec:kmsModule" },
1682
+ parentCapability: { "@id": "sec:parentCapability", "@type": "@id" },
1683
+ plaintext: "sec:plaintext",
1684
+ proof: { "@id": "sec:proof", "@type": "@id", "@container": "@graph" },
1685
+ proofPurpose: { "@id": "sec:proofPurpose", "@type": "@vocab" },
1686
+ proofValue: "sec:proofValue",
1687
+ referenceId: "sec:referenceId",
1688
+ unwrappedKey: "sec:unwrappedKey",
1689
+ verificationMethod: { "@id": "sec:verificationMethod", "@type": "@id" },
1690
+ verifyData: "sec:verifyData",
1691
+ wrappedKey: "sec:wrappedKey"
1692
+ }
1693
+ ]
1694
+ };
1695
+
1696
+ // src/contexts/w3id.org_security_v1.json
1697
+ var w3id_org_security_v1_default = {
1698
+ "@context": {
1699
+ id: "@id",
1700
+ type: "@type",
1701
+ dc: "http://purl.org/dc/terms/",
1702
+ sec: "https://w3id.org/security#",
1703
+ xsd: "http://www.w3.org/2001/XMLSchema#",
1704
+ EcdsaKoblitzSignature2016: "sec:EcdsaKoblitzSignature2016",
1705
+ Ed25519Signature2018: "sec:Ed25519Signature2018",
1706
+ EncryptedMessage: "sec:EncryptedMessage",
1707
+ GraphSignature2012: "sec:GraphSignature2012",
1376
1708
  LinkedDataSignature2015: "sec:LinkedDataSignature2015",
1377
1709
  LinkedDataSignature2016: "sec:LinkedDataSignature2016",
1378
1710
  CryptographicKey: "sec:Key",
@@ -2188,316 +2520,68 @@ var w3id_org_security_v3_unstable_default = {
2188
2520
  ]
2189
2521
  };
2190
2522
 
2191
- // src/contexts/w3id.org_security_suites_ed25519-2018_v1.json
2192
- var w3id_org_security_suites_ed25519_2018_v1_default = {
2193
- "@context": [
2194
- {
2195
- "@version": 1.1
2196
- },
2197
- "https://w3id.org/security/v1",
2198
- {
2199
- AesKeyWrappingKey2019: "sec:AesKeyWrappingKey2019",
2200
- DeleteKeyOperation: "sec:DeleteKeyOperation",
2201
- DeriveSecretOperation: "sec:DeriveSecretOperation",
2202
- EcdsaSecp256k1Signature2019: "sec:EcdsaSecp256k1Signature2019",
2203
- EcdsaSecp256r1Signature2019: "sec:EcdsaSecp256r1Signature2019",
2204
- EcdsaSecp256k1VerificationKey2019: "sec:EcdsaSecp256k1VerificationKey2019",
2205
- EcdsaSecp256r1VerificationKey2019: "sec:EcdsaSecp256r1VerificationKey2019",
2206
- Ed25519Signature2018: "sec:Ed25519Signature2018",
2207
- Ed25519VerificationKey2018: "sec:Ed25519VerificationKey2018",
2208
- EquihashProof2018: "sec:EquihashProof2018",
2209
- ExportKeyOperation: "sec:ExportKeyOperation",
2210
- GenerateKeyOperation: "sec:GenerateKeyOperation",
2211
- KmsOperation: "sec:KmsOperation",
2212
- RevokeKeyOperation: "sec:RevokeKeyOperation",
2213
- RsaSignature2018: "sec:RsaSignature2018",
2214
- RsaVerificationKey2018: "sec:RsaVerificationKey2018",
2215
- Sha256HmacKey2019: "sec:Sha256HmacKey2019",
2216
- SignOperation: "sec:SignOperation",
2217
- UnwrapKeyOperation: "sec:UnwrapKeyOperation",
2218
- VerifyOperation: "sec:VerifyOperation",
2219
- WrapKeyOperation: "sec:WrapKeyOperation",
2220
- X25519KeyAgreementKey2019: "sec:X25519KeyAgreementKey2019",
2221
- allowedAction: "sec:allowedAction",
2222
- assertionMethod: { "@id": "sec:assertionMethod", "@type": "@id", "@container": "@set" },
2223
- authentication: { "@id": "sec:authenticationMethod", "@type": "@id", "@container": "@set" },
2224
- capability: { "@id": "sec:capability", "@type": "@id" },
2225
- capabilityAction: "sec:capabilityAction",
2226
- capabilityChain: { "@id": "sec:capabilityChain", "@type": "@id", "@container": "@list" },
2227
- capabilityDelegation: { "@id": "sec:capabilityDelegationMethod", "@type": "@id", "@container": "@set" },
2228
- capabilityInvocation: { "@id": "sec:capabilityInvocationMethod", "@type": "@id", "@container": "@set" },
2229
- caveat: { "@id": "sec:caveat", "@type": "@id", "@container": "@set" },
2230
- challenge: "sec:challenge",
2231
- ciphertext: "sec:ciphertext",
2232
- controller: { "@id": "sec:controller", "@type": "@id" },
2233
- delegator: { "@id": "sec:delegator", "@type": "@id" },
2234
- equihashParameterK: { "@id": "sec:equihashParameterK", "@type": "xsd:integer" },
2235
- equihashParameterN: { "@id": "sec:equihashParameterN", "@type": "xsd:integer" },
2236
- invocationTarget: { "@id": "sec:invocationTarget", "@type": "@id" },
2237
- invoker: { "@id": "sec:invoker", "@type": "@id" },
2238
- jws: "sec:jws",
2239
- keyAgreement: { "@id": "sec:keyAgreementMethod", "@type": "@id", "@container": "@set" },
2240
- kmsModule: { "@id": "sec:kmsModule" },
2241
- parentCapability: { "@id": "sec:parentCapability", "@type": "@id" },
2242
- plaintext: "sec:plaintext",
2243
- proof: { "@id": "sec:proof", "@type": "@id", "@container": "@graph" },
2244
- proofPurpose: { "@id": "sec:proofPurpose", "@type": "@vocab" },
2245
- proofValue: "sec:proofValue",
2246
- referenceId: "sec:referenceId",
2247
- unwrappedKey: "sec:unwrappedKey",
2248
- verificationMethod: { "@id": "sec:verificationMethod", "@type": "@id" },
2249
- verifyData: "sec:verifyData",
2250
- wrappedKey: "sec:wrappedKey"
2251
- }
2252
- ]
2253
- };
2254
-
2255
2523
  // src/contexts/w3id.org_security_suites_x25519-2019_v1.json
2256
2524
  var w3id_org_security_suites_x25519_2019_v1_default = {
2257
2525
  "@context": {
2258
2526
  id: "@id",
2259
2527
  type: "@type",
2260
- "@protected": true,
2261
- X25519KeyAgreementKey2019: {
2262
- "@id": "https://w3id.org/security#X25519KeyAgreementKey2019",
2263
- "@context": {
2264
- "@protected": true,
2265
- id: "@id",
2266
- type: "@type",
2267
- controller: {
2268
- "@id": "https://w3id.org/security#controller",
2269
- "@type": "@id"
2270
- },
2271
- revoked: {
2272
- "@id": "https://w3id.org/security#revoked",
2273
- "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
2274
- },
2275
- publicKeyBase58: {
2276
- "@id": "https://w3id.org/security#publicKeyBase58"
2277
- }
2278
- }
2279
- }
2280
- }
2281
- };
2282
-
2283
- // src/contexts/veramo.io_contexts_profile_v1.json
2284
- var veramo_io_contexts_profile_v1_default = {
2285
- "@context": {
2286
- "@version": 1.1,
2287
- "@protected": true,
2288
- Profile: "https://veramo.io/contexts/profile#Profile",
2289
- name: "https://schema.org/name"
2290
- }
2291
- };
2292
-
2293
- // src/contexts/lds-ecdsa-secp256k1-recovery2020-0.0.json
2294
- var lds_ecdsa_secp256k1_recovery2020_0_0_default = {
2295
- "@context": {
2296
- "@version": 1.1,
2297
- id: "@id",
2298
- type: "@type",
2299
- esrs2020: "https://identity.foundation/EcdsaSecp256k1RecoverySignature2020#",
2300
- EcdsaSecp256k1RecoverySignature2020: "esrs2020:EcdsaSecp256k1RecoverySignature2020",
2301
- EcdsaSecp256k1RecoveryMethod2020: "esrs2020:EcdsaSecp256k1RecoveryMethod2020",
2302
- publicKeyJwk: {
2303
- "@id": "esrs2020:publicKeyJwk",
2304
- "@type": "@json"
2305
- },
2306
- privateKeyJwk: {
2307
- "@id": "esrs2020:privateKeyJwk",
2308
- "@type": "@json"
2309
- },
2310
- publicKeyHex: "esrs2020:publicKeyHex",
2311
- privateKeyHex: "esrs2020:privateKeyHex",
2312
- ethereumAddress: "esrs2020:ethereumAddress"
2313
- }
2314
- };
2315
-
2316
- // src/contexts/w3id.org_security_suites_secp256k1recovery-2020_v2.json
2317
- var w3id_org_security_suites_secp256k1recovery_2020_v2_default = {
2318
- "@context": {
2319
- id: "@id",
2320
- type: "@type",
2321
- "@protected": true,
2322
- proof: {
2323
- "@id": "https://w3id.org/security#proof",
2324
- "@type": "@id",
2325
- "@container": "@graph"
2326
- },
2327
- EcdsaSecp256k1RecoveryMethod2020: {
2328
- "@id": "https://identity.foundation/EcdsaSecp256k1RecoverySignature2020#EcdsaSecp256k1RecoveryMethod2020",
2329
- "@context": {
2330
- "@protected": true,
2331
- id: "@id",
2332
- type: "@type",
2333
- controller: {
2334
- "@id": "https://w3id.org/security#controller",
2335
- "@type": "@id"
2336
- },
2337
- blockchainAccountId: "https://w3id.org/security#blockchainAccountId",
2338
- publicKeyJwk: {
2339
- "@id": "https://w3id.org/security#publicKeyJwk",
2340
- "@type": "@json"
2341
- }
2342
- }
2343
- },
2344
- EcdsaSecp256k1RecoverySignature2020: {
2345
- "@id": "https://identity.foundation/EcdsaSecp256k1RecoverySignature2020#EcdsaSecp256k1RecoverySignature2020",
2346
- "@context": {
2347
- "@protected": true,
2348
- id: "@id",
2349
- type: "@type",
2350
- challenge: "https://w3id.org/security#challenge",
2351
- created: {
2352
- "@id": "http://purl.org/dc/terms/created",
2353
- "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
2354
- },
2355
- domain: "https://w3id.org/security#domain",
2356
- expires: {
2357
- "@id": "https://w3id.org/security#expiration",
2358
- "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
2359
- },
2360
- jws: "https://w3id.org/security#jws",
2361
- nonce: "https://w3id.org/security#nonce",
2362
- proofPurpose: {
2363
- "@id": "https://w3id.org/security#proofPurpose",
2364
- "@type": "@vocab",
2365
- "@context": {
2366
- "@protected": true,
2367
- id: "@id",
2368
- type: "@type",
2369
- assertionMethod: {
2370
- "@id": "https://w3id.org/security#assertionMethod",
2371
- "@type": "@id",
2372
- "@container": "@set"
2373
- },
2374
- authentication: {
2375
- "@id": "https://w3id.org/security#authenticationMethod",
2376
- "@type": "@id",
2377
- "@container": "@set"
2378
- },
2379
- capabilityInvocation: {
2380
- "@id": "https://w3id.org/security#capabilityInvocationMethod",
2381
- "@type": "@id",
2382
- "@container": "@set"
2383
- },
2384
- capabilityDelegation: {
2385
- "@id": "https://w3id.org/security#capabilityDelegationMethod",
2386
- "@type": "@id",
2387
- "@container": "@set"
2388
- },
2389
- keyAgreement: {
2390
- "@id": "https://w3id.org/security#keyAgreementMethod",
2391
- "@type": "@id",
2392
- "@container": "@set"
2393
- }
2394
- }
2395
- },
2396
- verificationMethod: {
2397
- "@id": "https://w3id.org/security#verificationMethod",
2398
- "@type": "@id"
2399
- }
2400
- }
2401
- }
2402
- }
2403
- };
2404
-
2405
- // src/contexts/ed25519-signature-2020-v1.json
2406
- var ed25519_signature_2020_v1_default = {
2407
- "@context": {
2408
- id: "@id",
2409
- type: "@type",
2410
- "@protected": true,
2411
- proof: {
2412
- "@id": "https://w3id.org/security#proof",
2413
- "@type": "@id",
2414
- "@container": "@graph"
2415
- },
2416
- Ed25519VerificationKey2020: {
2417
- "@id": "https://w3id.org/security#Ed25519VerificationKey2020"
2418
- },
2419
- Ed25519Signature2020: {
2420
- "@id": "https://w3id.org/security#Ed25519Signature2020",
2421
- "@context": {
2422
- "@protected": true,
2423
- id: "@id",
2424
- type: "@type",
2425
- challenge: "https://w3id.org/security#challenge",
2426
- created: {
2427
- "@id": "http://purl.org/dc/terms/created",
2428
- "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
2429
- },
2430
- domain: "https://w3id.org/security#domain",
2431
- expires: {
2432
- "@id": "https://w3id.org/security#expiration",
2433
- "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
2434
- },
2435
- nonce: "https://w3id.org/security#nonce",
2436
- proofPurpose: {
2437
- "@id": "https://w3id.org/security#proofPurpose",
2438
- "@type": "@vocab",
2439
- "@context": {
2440
- "@version": 1.1,
2441
- "@protected": true,
2442
- id: "@id",
2443
- type: "@type",
2444
- assertionMethod: {
2445
- "@id": "https://w3id.org/security#assertionMethod",
2446
- "@type": "@id",
2447
- "@container": "@set"
2448
- },
2449
- authentication: {
2450
- "@id": "https://w3id.org/security#authenticationMethod",
2451
- "@type": "@id",
2452
- "@container": "@set"
2453
- },
2454
- capabilityInvocation: {
2455
- "@id": "https://w3id.org/security#capabilityInvocationMethod",
2456
- "@type": "@id",
2457
- "@container": "@set"
2458
- },
2459
- capabilityDelegation: {
2460
- "@id": "https://w3id.org/security#capabilityDelegationMethod",
2461
- "@type": "@id",
2462
- "@container": "@set"
2463
- },
2464
- keyAgreement: {
2465
- "@id": "https://w3id.org/security#keyAgreementMethod",
2466
- "@type": "@id",
2467
- "@container": "@set"
2468
- }
2469
- }
2528
+ "@protected": true,
2529
+ X25519KeyAgreementKey2019: {
2530
+ "@id": "https://w3id.org/security#X25519KeyAgreementKey2019",
2531
+ "@context": {
2532
+ "@protected": true,
2533
+ id: "@id",
2534
+ type: "@type",
2535
+ controller: {
2536
+ "@id": "https://w3id.org/security#controller",
2537
+ "@type": "@id"
2470
2538
  },
2471
- proofValue: {
2472
- "@id": "https://w3id.org/security#proofValue",
2473
- "@type": "https://w3id.org/security#multibase"
2539
+ revoked: {
2540
+ "@id": "https://w3id.org/security#revoked",
2541
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
2474
2542
  },
2475
- verificationMethod: {
2476
- "@id": "https://w3id.org/security#verificationMethod",
2477
- "@type": "@id"
2543
+ publicKeyBase58: {
2544
+ "@id": "https://w3id.org/security#publicKeyBase58"
2478
2545
  }
2479
2546
  }
2480
2547
  }
2481
2548
  }
2482
2549
  };
2483
2550
 
2484
- // src/contexts/json-web-signature-2020-v1.json
2485
- var json_web_signature_2020_v1_default = {
2551
+ // src/contexts/w3id.org_security_suites_secp256k1recovery-2020_v2.json
2552
+ var w3id_org_security_suites_secp256k1recovery_2020_v2_default = {
2486
2553
  "@context": {
2487
- "@version": 1.1,
2488
2554
  id: "@id",
2489
2555
  type: "@type",
2490
2556
  "@protected": true,
2491
- JsonWebKey2020: {
2492
- "@id": "https://w3id.org/security#JsonWebKey2020"
2557
+ proof: {
2558
+ "@id": "https://w3id.org/security#proof",
2559
+ "@type": "@id",
2560
+ "@container": "@graph"
2493
2561
  },
2494
- JsonWebSignature2020: {
2495
- "@id": "https://w3id.org/security#JsonWebSignature2020",
2562
+ EcdsaSecp256k1RecoveryMethod2020: {
2563
+ "@id": "https://identity.foundation/EcdsaSecp256k1RecoverySignature2020#EcdsaSecp256k1RecoveryMethod2020",
2496
2564
  "@context": {
2497
- "@version": 1.1,
2565
+ "@protected": true,
2498
2566
  id: "@id",
2499
2567
  type: "@type",
2568
+ controller: {
2569
+ "@id": "https://w3id.org/security#controller",
2570
+ "@type": "@id"
2571
+ },
2572
+ blockchainAccountId: "https://w3id.org/security#blockchainAccountId",
2573
+ publicKeyJwk: {
2574
+ "@id": "https://w3id.org/security#publicKeyJwk",
2575
+ "@type": "@json"
2576
+ }
2577
+ }
2578
+ },
2579
+ EcdsaSecp256k1RecoverySignature2020: {
2580
+ "@id": "https://identity.foundation/EcdsaSecp256k1RecoverySignature2020#EcdsaSecp256k1RecoverySignature2020",
2581
+ "@context": {
2500
2582
  "@protected": true,
2583
+ id: "@id",
2584
+ type: "@type",
2501
2585
  challenge: "https://w3id.org/security#challenge",
2502
2586
  created: {
2503
2587
  "@id": "http://purl.org/dc/terms/created",
@@ -2514,7 +2598,6 @@ var json_web_signature_2020_v1_default = {
2514
2598
  "@id": "https://w3id.org/security#proofPurpose",
2515
2599
  "@type": "@vocab",
2516
2600
  "@context": {
2517
- "@version": 1.1,
2518
2601
  "@protected": true,
2519
2602
  id: "@id",
2520
2603
  type: "@type",
@@ -2554,148 +2637,6 @@ var json_web_signature_2020_v1_default = {
2554
2637
  }
2555
2638
  };
2556
2639
 
2557
- // src/contexts/eip712.json
2558
- var eip712_default = {
2559
- "@context": {
2560
- "@version": 1.1,
2561
- "@protected": true,
2562
- Eip712SchemaValidator2021: "https://w3id.org/security#Eip712SchemaValidator2021",
2563
- EthereumEip712Signature2021: {
2564
- "@id": "https://w3id.org/security#EthereumEip712Signature2021",
2565
- "@context": {
2566
- "@version": 1.1,
2567
- "@protected": true,
2568
- id: "@id",
2569
- type: "@type",
2570
- created: {
2571
- "@id": "http://purl.org/dc/terms/created",
2572
- "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
2573
- },
2574
- domain: "https://w3id.org/security#domain",
2575
- proofPurpose: {
2576
- "@id": "https://w3id.org/security#proofPurpose",
2577
- "@type": "@vocab",
2578
- "@context": {
2579
- "@version": 1.1,
2580
- "@protected": true,
2581
- id: "@id",
2582
- type: "@type",
2583
- assertionMethod: {
2584
- "@id": "https://w3id.org/security#assertionMethod",
2585
- "@type": "@id",
2586
- "@container": "@set"
2587
- },
2588
- authentication: {
2589
- "@id": "https://w3id.org/security#authenticationMethod",
2590
- "@type": "@id",
2591
- "@container": "@set"
2592
- },
2593
- capabilityInvocation: {
2594
- "@id": "https://w3id.org/security#capabilityInvocationMethod",
2595
- "@type": "@id",
2596
- "@container": "@set"
2597
- },
2598
- capabilityDelegation: {
2599
- "@id": "https://w3id.org/security#capabilityDelegationMethod",
2600
- "@type": "@id",
2601
- "@container": "@set"
2602
- }
2603
- }
2604
- },
2605
- eip712Domain: {
2606
- "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#eip712-domain",
2607
- "@context": {
2608
- "@version": 1.1,
2609
- "@protected": true,
2610
- id: "@id",
2611
- type: "@type",
2612
- messageSchema: {
2613
- "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#message-schema",
2614
- "@type": "@json"
2615
- },
2616
- primaryType: "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#primary-type",
2617
- domain: {
2618
- "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#domain",
2619
- "@type": "@json"
2620
- }
2621
- }
2622
- },
2623
- eip712: {
2624
- "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#eip712-domain",
2625
- "@context": {
2626
- "@version": 1.1,
2627
- "@protected": true,
2628
- id: "@id",
2629
- type: "@type",
2630
- types: {
2631
- "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#message-schema",
2632
- "@type": "@json"
2633
- },
2634
- primaryType: "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#primary-type",
2635
- domain: {
2636
- "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#domain",
2637
- "@type": "@json"
2638
- }
2639
- }
2640
- },
2641
- proofValue: "https://w3id.org/security#proofValue",
2642
- verificationMethod: {
2643
- "@id": "https://w3id.org/security#verificationMethod",
2644
- "@type": "@id"
2645
- },
2646
- canonicalizationHash: "https://w3id.org/security/suites/eip712sig-2021#canonicalizationHash"
2647
- }
2648
- }
2649
- }
2650
- };
2651
-
2652
- // src/contexts/citizenship-v1.json
2653
- var citizenship_v1_default = {
2654
- "@context": {
2655
- "@version": 1.1,
2656
- "@protected": true,
2657
- name: "http://schema.org/name",
2658
- description: "http://schema.org/description",
2659
- identifier: "http://schema.org/identifier",
2660
- image: { "@id": "http://schema.org/image", "@type": "@id" },
2661
- PermanentResidentCard: {
2662
- "@id": "https://w3id.org/citizenship#PermanentResidentCard",
2663
- "@context": {
2664
- "@version": 1.1,
2665
- "@protected": true,
2666
- id: "@id",
2667
- type: "@type",
2668
- description: "http://schema.org/description",
2669
- name: "http://schema.org/name",
2670
- identifier: "http://schema.org/identifier",
2671
- image: { "@id": "http://schema.org/image", "@type": "@id" }
2672
- }
2673
- },
2674
- PermanentResident: {
2675
- "@id": "https://w3id.org/citizenship#PermanentResident",
2676
- "@context": {
2677
- "@version": 1.1,
2678
- "@protected": true,
2679
- id: "@id",
2680
- type: "@type",
2681
- ctzn: "https://w3id.org/citizenship#",
2682
- schema: "http://schema.org/",
2683
- xsd: "http://www.w3.org/2001/XMLSchema#",
2684
- birthCountry: "ctzn:birthCountry",
2685
- birthDate: { "@id": "schema:birthDate", "@type": "xsd:dateTime" },
2686
- commuterClassification: "ctzn:commuterClassification",
2687
- familyName: "schema:familyName",
2688
- gender: "schema:gender",
2689
- givenName: "schema:givenName",
2690
- lprCategory: "ctzn:lprCategory",
2691
- lprNumber: "ctzn:lprNumber",
2692
- residentSince: { "@id": "ctzn:residentSince", "@type": "xsd:dateTime" }
2693
- }
2694
- },
2695
- Person: "http://schema.org/Person"
2696
- }
2697
- };
2698
-
2699
2640
  // src/contexts/vc-revocation-list-2020-v1.json
2700
2641
  var vc_revocation_list_2020_v1_default = {
2701
2642
  "@context": {
@@ -2776,6 +2717,65 @@ var vc_status_list_2021_v1_default = {
2776
2717
  }
2777
2718
  };
2778
2719
 
2720
+ // src/contexts/www.w3.org_ns_did_v1.json
2721
+ var www_w3_org_ns_did_v1_default = {
2722
+ "@context": {
2723
+ "@protected": true,
2724
+ id: "@id",
2725
+ type: "@type",
2726
+ alsoKnownAs: {
2727
+ "@id": "https://www.w3.org/ns/activitystreams#alsoKnownAs",
2728
+ "@type": "@id"
2729
+ },
2730
+ assertionMethod: {
2731
+ "@id": "https://w3id.org/security#assertionMethod",
2732
+ "@type": "@id",
2733
+ "@container": "@set"
2734
+ },
2735
+ authentication: {
2736
+ "@id": "https://w3id.org/security#authenticationMethod",
2737
+ "@type": "@id",
2738
+ "@container": "@set"
2739
+ },
2740
+ capabilityDelegation: {
2741
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
2742
+ "@type": "@id",
2743
+ "@container": "@set"
2744
+ },
2745
+ capabilityInvocation: {
2746
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
2747
+ "@type": "@id",
2748
+ "@container": "@set"
2749
+ },
2750
+ controller: {
2751
+ "@id": "https://w3id.org/security#controller",
2752
+ "@type": "@id"
2753
+ },
2754
+ keyAgreement: {
2755
+ "@id": "https://w3id.org/security#keyAgreementMethod",
2756
+ "@type": "@id",
2757
+ "@container": "@set"
2758
+ },
2759
+ service: {
2760
+ "@id": "https://www.w3.org/ns/did#service",
2761
+ "@type": "@id",
2762
+ "@context": {
2763
+ "@protected": true,
2764
+ id: "@id",
2765
+ type: "@type",
2766
+ serviceEndpoint: {
2767
+ "@id": "https://www.w3.org/ns/did#serviceEndpoint",
2768
+ "@type": "@id"
2769
+ }
2770
+ }
2771
+ },
2772
+ verificationMethod: {
2773
+ "@id": "https://w3id.org/security#verificationMethod",
2774
+ "@type": "@id"
2775
+ }
2776
+ }
2777
+ };
2778
+
2779
2779
  // src/ld-default-contexts.ts
2780
2780
  var contextCredentialV1 = require_www_w3_org_2018_credentials_v1();
2781
2781
  var contextCredentialV2 = require_www_w3_org_ns_credentials_v2();