@sphereon/ssi-sdk.credential-vcdm-jsonld-provider 0.34.1-feature.SSISDK.57.uni.client.206 → 0.34.1-feature.SSISDK.58.host.nonce.endpoint.194

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.cjs CHANGED
@@ -1350,395 +1350,63 @@ var bbs_bls_signature_2020_v1_default = {
1350
1350
  }
1351
1351
  };
1352
1352
 
1353
- // src/contexts/citizenship-v1.json
1354
- var citizenship_v1_default = {
1353
+ // src/contexts/www.w3.org_ns_did_v1.json
1354
+ var www_w3_org_ns_did_v1_default = {
1355
1355
  "@context": {
1356
- "@version": 1.1,
1357
1356
  "@protected": true,
1358
- name: "http://schema.org/name",
1359
- description: "http://schema.org/description",
1360
- identifier: "http://schema.org/identifier",
1361
- image: { "@id": "http://schema.org/image", "@type": "@id" },
1362
- PermanentResidentCard: {
1363
- "@id": "https://w3id.org/citizenship#PermanentResidentCard",
1364
- "@context": {
1365
- "@version": 1.1,
1366
- "@protected": true,
1367
- id: "@id",
1368
- type: "@type",
1369
- description: "http://schema.org/description",
1370
- name: "http://schema.org/name",
1371
- identifier: "http://schema.org/identifier",
1372
- image: { "@id": "http://schema.org/image", "@type": "@id" }
1373
- }
1374
- },
1375
- PermanentResident: {
1376
- "@id": "https://w3id.org/citizenship#PermanentResident",
1377
- "@context": {
1378
- "@version": 1.1,
1379
- "@protected": true,
1380
- id: "@id",
1381
- type: "@type",
1382
- ctzn: "https://w3id.org/citizenship#",
1383
- schema: "http://schema.org/",
1384
- xsd: "http://www.w3.org/2001/XMLSchema#",
1385
- birthCountry: "ctzn:birthCountry",
1386
- birthDate: { "@id": "schema:birthDate", "@type": "xsd:dateTime" },
1387
- commuterClassification: "ctzn:commuterClassification",
1388
- familyName: "schema:familyName",
1389
- gender: "schema:gender",
1390
- givenName: "schema:givenName",
1391
- lprCategory: "ctzn:lprCategory",
1392
- lprNumber: "ctzn:lprNumber",
1393
- residentSince: { "@id": "ctzn:residentSince", "@type": "xsd:dateTime" }
1394
- }
1395
- },
1396
- Person: "http://schema.org/Person"
1397
- }
1398
- };
1399
-
1400
- // src/contexts/ed25519-signature-2020-v1.json
1401
- var ed25519_signature_2020_v1_default = {
1402
- "@context": {
1403
1357
  id: "@id",
1404
1358
  type: "@type",
1405
- "@protected": true,
1406
- proof: {
1407
- "@id": "https://w3id.org/security#proof",
1359
+ alsoKnownAs: {
1360
+ "@id": "https://www.w3.org/ns/activitystreams#alsoKnownAs",
1361
+ "@type": "@id"
1362
+ },
1363
+ assertionMethod: {
1364
+ "@id": "https://w3id.org/security#assertionMethod",
1408
1365
  "@type": "@id",
1409
- "@container": "@graph"
1366
+ "@container": "@set"
1410
1367
  },
1411
- Ed25519VerificationKey2020: {
1412
- "@id": "https://w3id.org/security#Ed25519VerificationKey2020"
1368
+ authentication: {
1369
+ "@id": "https://w3id.org/security#authenticationMethod",
1370
+ "@type": "@id",
1371
+ "@container": "@set"
1413
1372
  },
1414
- Ed25519Signature2020: {
1415
- "@id": "https://w3id.org/security#Ed25519Signature2020",
1416
- "@context": {
1417
- "@protected": true,
1418
- id: "@id",
1419
- type: "@type",
1420
- challenge: "https://w3id.org/security#challenge",
1421
- created: {
1422
- "@id": "http://purl.org/dc/terms/created",
1423
- "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
1424
- },
1425
- domain: "https://w3id.org/security#domain",
1426
- expires: {
1427
- "@id": "https://w3id.org/security#expiration",
1428
- "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
1429
- },
1430
- nonce: "https://w3id.org/security#nonce",
1431
- proofPurpose: {
1432
- "@id": "https://w3id.org/security#proofPurpose",
1433
- "@type": "@vocab",
1434
- "@context": {
1435
- "@version": 1.1,
1436
- "@protected": true,
1437
- id: "@id",
1438
- type: "@type",
1439
- assertionMethod: {
1440
- "@id": "https://w3id.org/security#assertionMethod",
1441
- "@type": "@id",
1442
- "@container": "@set"
1443
- },
1444
- authentication: {
1445
- "@id": "https://w3id.org/security#authenticationMethod",
1446
- "@type": "@id",
1447
- "@container": "@set"
1448
- },
1449
- capabilityInvocation: {
1450
- "@id": "https://w3id.org/security#capabilityInvocationMethod",
1451
- "@type": "@id",
1452
- "@container": "@set"
1453
- },
1454
- capabilityDelegation: {
1455
- "@id": "https://w3id.org/security#capabilityDelegationMethod",
1456
- "@type": "@id",
1457
- "@container": "@set"
1458
- },
1459
- keyAgreement: {
1460
- "@id": "https://w3id.org/security#keyAgreementMethod",
1461
- "@type": "@id",
1462
- "@container": "@set"
1463
- }
1464
- }
1465
- },
1466
- proofValue: {
1467
- "@id": "https://w3id.org/security#proofValue",
1468
- "@type": "https://w3id.org/security#multibase"
1469
- },
1470
- verificationMethod: {
1471
- "@id": "https://w3id.org/security#verificationMethod",
1472
- "@type": "@id"
1473
- }
1474
- }
1475
- }
1476
- }
1477
- };
1478
-
1479
- // src/contexts/eip712.json
1480
- var eip712_default = {
1481
- "@context": {
1482
- "@version": 1.1,
1483
- "@protected": true,
1484
- Eip712SchemaValidator2021: "https://w3id.org/security#Eip712SchemaValidator2021",
1485
- EthereumEip712Signature2021: {
1486
- "@id": "https://w3id.org/security#EthereumEip712Signature2021",
1487
- "@context": {
1488
- "@version": 1.1,
1489
- "@protected": true,
1490
- id: "@id",
1491
- type: "@type",
1492
- created: {
1493
- "@id": "http://purl.org/dc/terms/created",
1494
- "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
1495
- },
1496
- domain: "https://w3id.org/security#domain",
1497
- proofPurpose: {
1498
- "@id": "https://w3id.org/security#proofPurpose",
1499
- "@type": "@vocab",
1500
- "@context": {
1501
- "@version": 1.1,
1502
- "@protected": true,
1503
- id: "@id",
1504
- type: "@type",
1505
- assertionMethod: {
1506
- "@id": "https://w3id.org/security#assertionMethod",
1507
- "@type": "@id",
1508
- "@container": "@set"
1509
- },
1510
- authentication: {
1511
- "@id": "https://w3id.org/security#authenticationMethod",
1512
- "@type": "@id",
1513
- "@container": "@set"
1514
- },
1515
- capabilityInvocation: {
1516
- "@id": "https://w3id.org/security#capabilityInvocationMethod",
1517
- "@type": "@id",
1518
- "@container": "@set"
1519
- },
1520
- capabilityDelegation: {
1521
- "@id": "https://w3id.org/security#capabilityDelegationMethod",
1522
- "@type": "@id",
1523
- "@container": "@set"
1524
- }
1525
- }
1526
- },
1527
- eip712Domain: {
1528
- "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#eip712-domain",
1529
- "@context": {
1530
- "@version": 1.1,
1531
- "@protected": true,
1532
- id: "@id",
1533
- type: "@type",
1534
- messageSchema: {
1535
- "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#message-schema",
1536
- "@type": "@json"
1537
- },
1538
- primaryType: "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#primary-type",
1539
- domain: {
1540
- "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#domain",
1541
- "@type": "@json"
1542
- }
1543
- }
1544
- },
1545
- eip712: {
1546
- "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#eip712-domain",
1547
- "@context": {
1548
- "@version": 1.1,
1549
- "@protected": true,
1550
- id: "@id",
1551
- type: "@type",
1552
- types: {
1553
- "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#message-schema",
1554
- "@type": "@json"
1555
- },
1556
- primaryType: "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#primary-type",
1557
- domain: {
1558
- "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#domain",
1559
- "@type": "@json"
1560
- }
1561
- }
1562
- },
1563
- proofValue: "https://w3id.org/security#proofValue",
1564
- verificationMethod: {
1565
- "@id": "https://w3id.org/security#verificationMethod",
1566
- "@type": "@id"
1567
- },
1568
- canonicalizationHash: "https://w3id.org/security/suites/eip712sig-2021#canonicalizationHash"
1569
- }
1570
- }
1571
- }
1572
- };
1573
-
1574
- // src/contexts/json-web-signature-2020-v1.json
1575
- var json_web_signature_2020_v1_default = {
1576
- "@context": {
1577
- "@version": 1.1,
1578
- id: "@id",
1579
- type: "@type",
1580
- "@protected": true,
1581
- JsonWebKey2020: {
1582
- "@id": "https://w3id.org/security#JsonWebKey2020"
1373
+ capabilityDelegation: {
1374
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
1375
+ "@type": "@id",
1376
+ "@container": "@set"
1583
1377
  },
1584
- JsonWebSignature2020: {
1585
- "@id": "https://w3id.org/security#JsonWebSignature2020",
1378
+ capabilityInvocation: {
1379
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
1380
+ "@type": "@id",
1381
+ "@container": "@set"
1382
+ },
1383
+ controller: {
1384
+ "@id": "https://w3id.org/security#controller",
1385
+ "@type": "@id"
1386
+ },
1387
+ keyAgreement: {
1388
+ "@id": "https://w3id.org/security#keyAgreementMethod",
1389
+ "@type": "@id",
1390
+ "@container": "@set"
1391
+ },
1392
+ service: {
1393
+ "@id": "https://www.w3.org/ns/did#service",
1394
+ "@type": "@id",
1586
1395
  "@context": {
1587
- "@version": 1.1,
1396
+ "@protected": true,
1588
1397
  id: "@id",
1589
1398
  type: "@type",
1590
- "@protected": true,
1591
- challenge: "https://w3id.org/security#challenge",
1592
- created: {
1593
- "@id": "http://purl.org/dc/terms/created",
1594
- "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
1595
- },
1596
- domain: "https://w3id.org/security#domain",
1597
- expires: {
1598
- "@id": "https://w3id.org/security#expiration",
1599
- "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
1600
- },
1601
- jws: "https://w3id.org/security#jws",
1602
- nonce: "https://w3id.org/security#nonce",
1603
- proofPurpose: {
1604
- "@id": "https://w3id.org/security#proofPurpose",
1605
- "@type": "@vocab",
1606
- "@context": {
1607
- "@version": 1.1,
1608
- "@protected": true,
1609
- id: "@id",
1610
- type: "@type",
1611
- assertionMethod: {
1612
- "@id": "https://w3id.org/security#assertionMethod",
1613
- "@type": "@id",
1614
- "@container": "@set"
1615
- },
1616
- authentication: {
1617
- "@id": "https://w3id.org/security#authenticationMethod",
1618
- "@type": "@id",
1619
- "@container": "@set"
1620
- },
1621
- capabilityInvocation: {
1622
- "@id": "https://w3id.org/security#capabilityInvocationMethod",
1623
- "@type": "@id",
1624
- "@container": "@set"
1625
- },
1626
- capabilityDelegation: {
1627
- "@id": "https://w3id.org/security#capabilityDelegationMethod",
1628
- "@type": "@id",
1629
- "@container": "@set"
1630
- },
1631
- keyAgreement: {
1632
- "@id": "https://w3id.org/security#keyAgreementMethod",
1633
- "@type": "@id",
1634
- "@container": "@set"
1635
- }
1636
- }
1637
- },
1638
- verificationMethod: {
1639
- "@id": "https://w3id.org/security#verificationMethod",
1399
+ serviceEndpoint: {
1400
+ "@id": "https://www.w3.org/ns/did#serviceEndpoint",
1640
1401
  "@type": "@id"
1641
1402
  }
1642
1403
  }
1643
- }
1644
- }
1645
- };
1646
-
1647
- // src/contexts/lds-ecdsa-secp256k1-recovery2020-0.0.json
1648
- var lds_ecdsa_secp256k1_recovery2020_0_0_default = {
1649
- "@context": {
1650
- "@version": 1.1,
1651
- id: "@id",
1652
- type: "@type",
1653
- esrs2020: "https://identity.foundation/EcdsaSecp256k1RecoverySignature2020#",
1654
- EcdsaSecp256k1RecoverySignature2020: "esrs2020:EcdsaSecp256k1RecoverySignature2020",
1655
- EcdsaSecp256k1RecoveryMethod2020: "esrs2020:EcdsaSecp256k1RecoveryMethod2020",
1656
- publicKeyJwk: {
1657
- "@id": "esrs2020:publicKeyJwk",
1658
- "@type": "@json"
1659
- },
1660
- privateKeyJwk: {
1661
- "@id": "esrs2020:privateKeyJwk",
1662
- "@type": "@json"
1663
- },
1664
- publicKeyHex: "esrs2020:publicKeyHex",
1665
- privateKeyHex: "esrs2020:privateKeyHex",
1666
- ethereumAddress: "esrs2020:ethereumAddress"
1667
- }
1668
- };
1669
-
1670
- // src/contexts/veramo.io_contexts_profile_v1.json
1671
- var veramo_io_contexts_profile_v1_default = {
1672
- "@context": {
1673
- "@version": 1.1,
1674
- "@protected": true,
1675
- Profile: "https://veramo.io/contexts/profile#Profile",
1676
- name: "https://schema.org/name"
1677
- }
1678
- };
1679
-
1680
- // src/contexts/w3id.org_security_suites_ed25519-2018_v1.json
1681
- var w3id_org_security_suites_ed25519_2018_v1_default = {
1682
- "@context": [
1683
- {
1684
- "@version": 1.1
1685
1404
  },
1686
- "https://w3id.org/security/v1",
1687
- {
1688
- AesKeyWrappingKey2019: "sec:AesKeyWrappingKey2019",
1689
- DeleteKeyOperation: "sec:DeleteKeyOperation",
1690
- DeriveSecretOperation: "sec:DeriveSecretOperation",
1691
- EcdsaSecp256k1Signature2019: "sec:EcdsaSecp256k1Signature2019",
1692
- EcdsaSecp256r1Signature2019: "sec:EcdsaSecp256r1Signature2019",
1693
- EcdsaSecp256k1VerificationKey2019: "sec:EcdsaSecp256k1VerificationKey2019",
1694
- EcdsaSecp256r1VerificationKey2019: "sec:EcdsaSecp256r1VerificationKey2019",
1695
- Ed25519Signature2018: "sec:Ed25519Signature2018",
1696
- Ed25519VerificationKey2018: "sec:Ed25519VerificationKey2018",
1697
- EquihashProof2018: "sec:EquihashProof2018",
1698
- ExportKeyOperation: "sec:ExportKeyOperation",
1699
- GenerateKeyOperation: "sec:GenerateKeyOperation",
1700
- KmsOperation: "sec:KmsOperation",
1701
- RevokeKeyOperation: "sec:RevokeKeyOperation",
1702
- RsaSignature2018: "sec:RsaSignature2018",
1703
- RsaVerificationKey2018: "sec:RsaVerificationKey2018",
1704
- Sha256HmacKey2019: "sec:Sha256HmacKey2019",
1705
- SignOperation: "sec:SignOperation",
1706
- UnwrapKeyOperation: "sec:UnwrapKeyOperation",
1707
- VerifyOperation: "sec:VerifyOperation",
1708
- WrapKeyOperation: "sec:WrapKeyOperation",
1709
- X25519KeyAgreementKey2019: "sec:X25519KeyAgreementKey2019",
1710
- allowedAction: "sec:allowedAction",
1711
- assertionMethod: { "@id": "sec:assertionMethod", "@type": "@id", "@container": "@set" },
1712
- authentication: { "@id": "sec:authenticationMethod", "@type": "@id", "@container": "@set" },
1713
- capability: { "@id": "sec:capability", "@type": "@id" },
1714
- capabilityAction: "sec:capabilityAction",
1715
- capabilityChain: { "@id": "sec:capabilityChain", "@type": "@id", "@container": "@list" },
1716
- capabilityDelegation: { "@id": "sec:capabilityDelegationMethod", "@type": "@id", "@container": "@set" },
1717
- capabilityInvocation: { "@id": "sec:capabilityInvocationMethod", "@type": "@id", "@container": "@set" },
1718
- caveat: { "@id": "sec:caveat", "@type": "@id", "@container": "@set" },
1719
- challenge: "sec:challenge",
1720
- ciphertext: "sec:ciphertext",
1721
- controller: { "@id": "sec:controller", "@type": "@id" },
1722
- delegator: { "@id": "sec:delegator", "@type": "@id" },
1723
- equihashParameterK: { "@id": "sec:equihashParameterK", "@type": "xsd:integer" },
1724
- equihashParameterN: { "@id": "sec:equihashParameterN", "@type": "xsd:integer" },
1725
- invocationTarget: { "@id": "sec:invocationTarget", "@type": "@id" },
1726
- invoker: { "@id": "sec:invoker", "@type": "@id" },
1727
- jws: "sec:jws",
1728
- keyAgreement: { "@id": "sec:keyAgreementMethod", "@type": "@id", "@container": "@set" },
1729
- kmsModule: { "@id": "sec:kmsModule" },
1730
- parentCapability: { "@id": "sec:parentCapability", "@type": "@id" },
1731
- plaintext: "sec:plaintext",
1732
- proof: { "@id": "sec:proof", "@type": "@id", "@container": "@graph" },
1733
- proofPurpose: { "@id": "sec:proofPurpose", "@type": "@vocab" },
1734
- proofValue: "sec:proofValue",
1735
- referenceId: "sec:referenceId",
1736
- unwrappedKey: "sec:unwrappedKey",
1737
- verificationMethod: { "@id": "sec:verificationMethod", "@type": "@id" },
1738
- verifyData: "sec:verifyData",
1739
- wrappedKey: "sec:wrappedKey"
1405
+ verificationMethod: {
1406
+ "@id": "https://w3id.org/security#verificationMethod",
1407
+ "@type": "@id"
1740
1408
  }
1741
- ]
1409
+ }
1742
1410
  };
1743
1411
 
1744
1412
  // src/contexts/w3id.org_security_v1.json
@@ -2568,6 +2236,70 @@ var w3id_org_security_v3_unstable_default = {
2568
2236
  ]
2569
2237
  };
2570
2238
 
2239
+ // src/contexts/w3id.org_security_suites_ed25519-2018_v1.json
2240
+ var w3id_org_security_suites_ed25519_2018_v1_default = {
2241
+ "@context": [
2242
+ {
2243
+ "@version": 1.1
2244
+ },
2245
+ "https://w3id.org/security/v1",
2246
+ {
2247
+ AesKeyWrappingKey2019: "sec:AesKeyWrappingKey2019",
2248
+ DeleteKeyOperation: "sec:DeleteKeyOperation",
2249
+ DeriveSecretOperation: "sec:DeriveSecretOperation",
2250
+ EcdsaSecp256k1Signature2019: "sec:EcdsaSecp256k1Signature2019",
2251
+ EcdsaSecp256r1Signature2019: "sec:EcdsaSecp256r1Signature2019",
2252
+ EcdsaSecp256k1VerificationKey2019: "sec:EcdsaSecp256k1VerificationKey2019",
2253
+ EcdsaSecp256r1VerificationKey2019: "sec:EcdsaSecp256r1VerificationKey2019",
2254
+ Ed25519Signature2018: "sec:Ed25519Signature2018",
2255
+ Ed25519VerificationKey2018: "sec:Ed25519VerificationKey2018",
2256
+ EquihashProof2018: "sec:EquihashProof2018",
2257
+ ExportKeyOperation: "sec:ExportKeyOperation",
2258
+ GenerateKeyOperation: "sec:GenerateKeyOperation",
2259
+ KmsOperation: "sec:KmsOperation",
2260
+ RevokeKeyOperation: "sec:RevokeKeyOperation",
2261
+ RsaSignature2018: "sec:RsaSignature2018",
2262
+ RsaVerificationKey2018: "sec:RsaVerificationKey2018",
2263
+ Sha256HmacKey2019: "sec:Sha256HmacKey2019",
2264
+ SignOperation: "sec:SignOperation",
2265
+ UnwrapKeyOperation: "sec:UnwrapKeyOperation",
2266
+ VerifyOperation: "sec:VerifyOperation",
2267
+ WrapKeyOperation: "sec:WrapKeyOperation",
2268
+ X25519KeyAgreementKey2019: "sec:X25519KeyAgreementKey2019",
2269
+ allowedAction: "sec:allowedAction",
2270
+ assertionMethod: { "@id": "sec:assertionMethod", "@type": "@id", "@container": "@set" },
2271
+ authentication: { "@id": "sec:authenticationMethod", "@type": "@id", "@container": "@set" },
2272
+ capability: { "@id": "sec:capability", "@type": "@id" },
2273
+ capabilityAction: "sec:capabilityAction",
2274
+ capabilityChain: { "@id": "sec:capabilityChain", "@type": "@id", "@container": "@list" },
2275
+ capabilityDelegation: { "@id": "sec:capabilityDelegationMethod", "@type": "@id", "@container": "@set" },
2276
+ capabilityInvocation: { "@id": "sec:capabilityInvocationMethod", "@type": "@id", "@container": "@set" },
2277
+ caveat: { "@id": "sec:caveat", "@type": "@id", "@container": "@set" },
2278
+ challenge: "sec:challenge",
2279
+ ciphertext: "sec:ciphertext",
2280
+ controller: { "@id": "sec:controller", "@type": "@id" },
2281
+ delegator: { "@id": "sec:delegator", "@type": "@id" },
2282
+ equihashParameterK: { "@id": "sec:equihashParameterK", "@type": "xsd:integer" },
2283
+ equihashParameterN: { "@id": "sec:equihashParameterN", "@type": "xsd:integer" },
2284
+ invocationTarget: { "@id": "sec:invocationTarget", "@type": "@id" },
2285
+ invoker: { "@id": "sec:invoker", "@type": "@id" },
2286
+ jws: "sec:jws",
2287
+ keyAgreement: { "@id": "sec:keyAgreementMethod", "@type": "@id", "@container": "@set" },
2288
+ kmsModule: { "@id": "sec:kmsModule" },
2289
+ parentCapability: { "@id": "sec:parentCapability", "@type": "@id" },
2290
+ plaintext: "sec:plaintext",
2291
+ proof: { "@id": "sec:proof", "@type": "@id", "@container": "@graph" },
2292
+ proofPurpose: { "@id": "sec:proofPurpose", "@type": "@vocab" },
2293
+ proofValue: "sec:proofValue",
2294
+ referenceId: "sec:referenceId",
2295
+ unwrappedKey: "sec:unwrappedKey",
2296
+ verificationMethod: { "@id": "sec:verificationMethod", "@type": "@id" },
2297
+ verifyData: "sec:verifyData",
2298
+ wrappedKey: "sec:wrappedKey"
2299
+ }
2300
+ ]
2301
+ };
2302
+
2571
2303
  // src/contexts/w3id.org_security_suites_x25519-2019_v1.json
2572
2304
  var w3id_org_security_suites_x25519_2019_v1_default = {
2573
2305
  "@context": {
@@ -2584,52 +2316,236 @@ var w3id_org_security_suites_x25519_2019_v1_default = {
2584
2316
  "@id": "https://w3id.org/security#controller",
2585
2317
  "@type": "@id"
2586
2318
  },
2587
- revoked: {
2588
- "@id": "https://w3id.org/security#revoked",
2589
- "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
2319
+ revoked: {
2320
+ "@id": "https://w3id.org/security#revoked",
2321
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
2322
+ },
2323
+ publicKeyBase58: {
2324
+ "@id": "https://w3id.org/security#publicKeyBase58"
2325
+ }
2326
+ }
2327
+ }
2328
+ }
2329
+ };
2330
+
2331
+ // src/contexts/veramo.io_contexts_profile_v1.json
2332
+ var veramo_io_contexts_profile_v1_default = {
2333
+ "@context": {
2334
+ "@version": 1.1,
2335
+ "@protected": true,
2336
+ Profile: "https://veramo.io/contexts/profile#Profile",
2337
+ name: "https://schema.org/name"
2338
+ }
2339
+ };
2340
+
2341
+ // src/contexts/lds-ecdsa-secp256k1-recovery2020-0.0.json
2342
+ var lds_ecdsa_secp256k1_recovery2020_0_0_default = {
2343
+ "@context": {
2344
+ "@version": 1.1,
2345
+ id: "@id",
2346
+ type: "@type",
2347
+ esrs2020: "https://identity.foundation/EcdsaSecp256k1RecoverySignature2020#",
2348
+ EcdsaSecp256k1RecoverySignature2020: "esrs2020:EcdsaSecp256k1RecoverySignature2020",
2349
+ EcdsaSecp256k1RecoveryMethod2020: "esrs2020:EcdsaSecp256k1RecoveryMethod2020",
2350
+ publicKeyJwk: {
2351
+ "@id": "esrs2020:publicKeyJwk",
2352
+ "@type": "@json"
2353
+ },
2354
+ privateKeyJwk: {
2355
+ "@id": "esrs2020:privateKeyJwk",
2356
+ "@type": "@json"
2357
+ },
2358
+ publicKeyHex: "esrs2020:publicKeyHex",
2359
+ privateKeyHex: "esrs2020:privateKeyHex",
2360
+ ethereumAddress: "esrs2020:ethereumAddress"
2361
+ }
2362
+ };
2363
+
2364
+ // src/contexts/w3id.org_security_suites_secp256k1recovery-2020_v2.json
2365
+ var w3id_org_security_suites_secp256k1recovery_2020_v2_default = {
2366
+ "@context": {
2367
+ id: "@id",
2368
+ type: "@type",
2369
+ "@protected": true,
2370
+ proof: {
2371
+ "@id": "https://w3id.org/security#proof",
2372
+ "@type": "@id",
2373
+ "@container": "@graph"
2374
+ },
2375
+ EcdsaSecp256k1RecoveryMethod2020: {
2376
+ "@id": "https://identity.foundation/EcdsaSecp256k1RecoverySignature2020#EcdsaSecp256k1RecoveryMethod2020",
2377
+ "@context": {
2378
+ "@protected": true,
2379
+ id: "@id",
2380
+ type: "@type",
2381
+ controller: {
2382
+ "@id": "https://w3id.org/security#controller",
2383
+ "@type": "@id"
2384
+ },
2385
+ blockchainAccountId: "https://w3id.org/security#blockchainAccountId",
2386
+ publicKeyJwk: {
2387
+ "@id": "https://w3id.org/security#publicKeyJwk",
2388
+ "@type": "@json"
2389
+ }
2390
+ }
2391
+ },
2392
+ EcdsaSecp256k1RecoverySignature2020: {
2393
+ "@id": "https://identity.foundation/EcdsaSecp256k1RecoverySignature2020#EcdsaSecp256k1RecoverySignature2020",
2394
+ "@context": {
2395
+ "@protected": true,
2396
+ id: "@id",
2397
+ type: "@type",
2398
+ challenge: "https://w3id.org/security#challenge",
2399
+ created: {
2400
+ "@id": "http://purl.org/dc/terms/created",
2401
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
2402
+ },
2403
+ domain: "https://w3id.org/security#domain",
2404
+ expires: {
2405
+ "@id": "https://w3id.org/security#expiration",
2406
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
2407
+ },
2408
+ jws: "https://w3id.org/security#jws",
2409
+ nonce: "https://w3id.org/security#nonce",
2410
+ proofPurpose: {
2411
+ "@id": "https://w3id.org/security#proofPurpose",
2412
+ "@type": "@vocab",
2413
+ "@context": {
2414
+ "@protected": true,
2415
+ id: "@id",
2416
+ type: "@type",
2417
+ assertionMethod: {
2418
+ "@id": "https://w3id.org/security#assertionMethod",
2419
+ "@type": "@id",
2420
+ "@container": "@set"
2421
+ },
2422
+ authentication: {
2423
+ "@id": "https://w3id.org/security#authenticationMethod",
2424
+ "@type": "@id",
2425
+ "@container": "@set"
2426
+ },
2427
+ capabilityInvocation: {
2428
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
2429
+ "@type": "@id",
2430
+ "@container": "@set"
2431
+ },
2432
+ capabilityDelegation: {
2433
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
2434
+ "@type": "@id",
2435
+ "@container": "@set"
2436
+ },
2437
+ keyAgreement: {
2438
+ "@id": "https://w3id.org/security#keyAgreementMethod",
2439
+ "@type": "@id",
2440
+ "@container": "@set"
2441
+ }
2442
+ }
2443
+ },
2444
+ verificationMethod: {
2445
+ "@id": "https://w3id.org/security#verificationMethod",
2446
+ "@type": "@id"
2447
+ }
2448
+ }
2449
+ }
2450
+ }
2451
+ };
2452
+
2453
+ // src/contexts/ed25519-signature-2020-v1.json
2454
+ var ed25519_signature_2020_v1_default = {
2455
+ "@context": {
2456
+ id: "@id",
2457
+ type: "@type",
2458
+ "@protected": true,
2459
+ proof: {
2460
+ "@id": "https://w3id.org/security#proof",
2461
+ "@type": "@id",
2462
+ "@container": "@graph"
2463
+ },
2464
+ Ed25519VerificationKey2020: {
2465
+ "@id": "https://w3id.org/security#Ed25519VerificationKey2020"
2466
+ },
2467
+ Ed25519Signature2020: {
2468
+ "@id": "https://w3id.org/security#Ed25519Signature2020",
2469
+ "@context": {
2470
+ "@protected": true,
2471
+ id: "@id",
2472
+ type: "@type",
2473
+ challenge: "https://w3id.org/security#challenge",
2474
+ created: {
2475
+ "@id": "http://purl.org/dc/terms/created",
2476
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
2477
+ },
2478
+ domain: "https://w3id.org/security#domain",
2479
+ expires: {
2480
+ "@id": "https://w3id.org/security#expiration",
2481
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
2482
+ },
2483
+ nonce: "https://w3id.org/security#nonce",
2484
+ proofPurpose: {
2485
+ "@id": "https://w3id.org/security#proofPurpose",
2486
+ "@type": "@vocab",
2487
+ "@context": {
2488
+ "@version": 1.1,
2489
+ "@protected": true,
2490
+ id: "@id",
2491
+ type: "@type",
2492
+ assertionMethod: {
2493
+ "@id": "https://w3id.org/security#assertionMethod",
2494
+ "@type": "@id",
2495
+ "@container": "@set"
2496
+ },
2497
+ authentication: {
2498
+ "@id": "https://w3id.org/security#authenticationMethod",
2499
+ "@type": "@id",
2500
+ "@container": "@set"
2501
+ },
2502
+ capabilityInvocation: {
2503
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
2504
+ "@type": "@id",
2505
+ "@container": "@set"
2506
+ },
2507
+ capabilityDelegation: {
2508
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
2509
+ "@type": "@id",
2510
+ "@container": "@set"
2511
+ },
2512
+ keyAgreement: {
2513
+ "@id": "https://w3id.org/security#keyAgreementMethod",
2514
+ "@type": "@id",
2515
+ "@container": "@set"
2516
+ }
2517
+ }
2518
+ },
2519
+ proofValue: {
2520
+ "@id": "https://w3id.org/security#proofValue",
2521
+ "@type": "https://w3id.org/security#multibase"
2590
2522
  },
2591
- publicKeyBase58: {
2592
- "@id": "https://w3id.org/security#publicKeyBase58"
2523
+ verificationMethod: {
2524
+ "@id": "https://w3id.org/security#verificationMethod",
2525
+ "@type": "@id"
2593
2526
  }
2594
2527
  }
2595
2528
  }
2596
2529
  }
2597
2530
  };
2598
2531
 
2599
- // src/contexts/w3id.org_security_suites_secp256k1recovery-2020_v2.json
2600
- var w3id_org_security_suites_secp256k1recovery_2020_v2_default = {
2532
+ // src/contexts/json-web-signature-2020-v1.json
2533
+ var json_web_signature_2020_v1_default = {
2601
2534
  "@context": {
2535
+ "@version": 1.1,
2602
2536
  id: "@id",
2603
2537
  type: "@type",
2604
2538
  "@protected": true,
2605
- proof: {
2606
- "@id": "https://w3id.org/security#proof",
2607
- "@type": "@id",
2608
- "@container": "@graph"
2539
+ JsonWebKey2020: {
2540
+ "@id": "https://w3id.org/security#JsonWebKey2020"
2609
2541
  },
2610
- EcdsaSecp256k1RecoveryMethod2020: {
2611
- "@id": "https://identity.foundation/EcdsaSecp256k1RecoverySignature2020#EcdsaSecp256k1RecoveryMethod2020",
2542
+ JsonWebSignature2020: {
2543
+ "@id": "https://w3id.org/security#JsonWebSignature2020",
2612
2544
  "@context": {
2613
- "@protected": true,
2545
+ "@version": 1.1,
2614
2546
  id: "@id",
2615
2547
  type: "@type",
2616
- controller: {
2617
- "@id": "https://w3id.org/security#controller",
2618
- "@type": "@id"
2619
- },
2620
- blockchainAccountId: "https://w3id.org/security#blockchainAccountId",
2621
- publicKeyJwk: {
2622
- "@id": "https://w3id.org/security#publicKeyJwk",
2623
- "@type": "@json"
2624
- }
2625
- }
2626
- },
2627
- EcdsaSecp256k1RecoverySignature2020: {
2628
- "@id": "https://identity.foundation/EcdsaSecp256k1RecoverySignature2020#EcdsaSecp256k1RecoverySignature2020",
2629
- "@context": {
2630
2548
  "@protected": true,
2631
- id: "@id",
2632
- type: "@type",
2633
2549
  challenge: "https://w3id.org/security#challenge",
2634
2550
  created: {
2635
2551
  "@id": "http://purl.org/dc/terms/created",
@@ -2646,6 +2562,7 @@ var w3id_org_security_suites_secp256k1recovery_2020_v2_default = {
2646
2562
  "@id": "https://w3id.org/security#proofPurpose",
2647
2563
  "@type": "@vocab",
2648
2564
  "@context": {
2565
+ "@version": 1.1,
2649
2566
  "@protected": true,
2650
2567
  id: "@id",
2651
2568
  type: "@type",
@@ -2685,6 +2602,148 @@ var w3id_org_security_suites_secp256k1recovery_2020_v2_default = {
2685
2602
  }
2686
2603
  };
2687
2604
 
2605
+ // src/contexts/eip712.json
2606
+ var eip712_default = {
2607
+ "@context": {
2608
+ "@version": 1.1,
2609
+ "@protected": true,
2610
+ Eip712SchemaValidator2021: "https://w3id.org/security#Eip712SchemaValidator2021",
2611
+ EthereumEip712Signature2021: {
2612
+ "@id": "https://w3id.org/security#EthereumEip712Signature2021",
2613
+ "@context": {
2614
+ "@version": 1.1,
2615
+ "@protected": true,
2616
+ id: "@id",
2617
+ type: "@type",
2618
+ created: {
2619
+ "@id": "http://purl.org/dc/terms/created",
2620
+ "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
2621
+ },
2622
+ domain: "https://w3id.org/security#domain",
2623
+ proofPurpose: {
2624
+ "@id": "https://w3id.org/security#proofPurpose",
2625
+ "@type": "@vocab",
2626
+ "@context": {
2627
+ "@version": 1.1,
2628
+ "@protected": true,
2629
+ id: "@id",
2630
+ type: "@type",
2631
+ assertionMethod: {
2632
+ "@id": "https://w3id.org/security#assertionMethod",
2633
+ "@type": "@id",
2634
+ "@container": "@set"
2635
+ },
2636
+ authentication: {
2637
+ "@id": "https://w3id.org/security#authenticationMethod",
2638
+ "@type": "@id",
2639
+ "@container": "@set"
2640
+ },
2641
+ capabilityInvocation: {
2642
+ "@id": "https://w3id.org/security#capabilityInvocationMethod",
2643
+ "@type": "@id",
2644
+ "@container": "@set"
2645
+ },
2646
+ capabilityDelegation: {
2647
+ "@id": "https://w3id.org/security#capabilityDelegationMethod",
2648
+ "@type": "@id",
2649
+ "@container": "@set"
2650
+ }
2651
+ }
2652
+ },
2653
+ eip712Domain: {
2654
+ "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#eip712-domain",
2655
+ "@context": {
2656
+ "@version": 1.1,
2657
+ "@protected": true,
2658
+ id: "@id",
2659
+ type: "@type",
2660
+ messageSchema: {
2661
+ "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#message-schema",
2662
+ "@type": "@json"
2663
+ },
2664
+ primaryType: "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#primary-type",
2665
+ domain: {
2666
+ "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#domain",
2667
+ "@type": "@json"
2668
+ }
2669
+ }
2670
+ },
2671
+ eip712: {
2672
+ "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#eip712-domain",
2673
+ "@context": {
2674
+ "@version": 1.1,
2675
+ "@protected": true,
2676
+ id: "@id",
2677
+ type: "@type",
2678
+ types: {
2679
+ "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#message-schema",
2680
+ "@type": "@json"
2681
+ },
2682
+ primaryType: "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#primary-type",
2683
+ domain: {
2684
+ "@id": "https://w3c-ccg.github.io/ethereum-eip712-signature-2021-spec/#domain",
2685
+ "@type": "@json"
2686
+ }
2687
+ }
2688
+ },
2689
+ proofValue: "https://w3id.org/security#proofValue",
2690
+ verificationMethod: {
2691
+ "@id": "https://w3id.org/security#verificationMethod",
2692
+ "@type": "@id"
2693
+ },
2694
+ canonicalizationHash: "https://w3id.org/security/suites/eip712sig-2021#canonicalizationHash"
2695
+ }
2696
+ }
2697
+ }
2698
+ };
2699
+
2700
+ // src/contexts/citizenship-v1.json
2701
+ var citizenship_v1_default = {
2702
+ "@context": {
2703
+ "@version": 1.1,
2704
+ "@protected": true,
2705
+ name: "http://schema.org/name",
2706
+ description: "http://schema.org/description",
2707
+ identifier: "http://schema.org/identifier",
2708
+ image: { "@id": "http://schema.org/image", "@type": "@id" },
2709
+ PermanentResidentCard: {
2710
+ "@id": "https://w3id.org/citizenship#PermanentResidentCard",
2711
+ "@context": {
2712
+ "@version": 1.1,
2713
+ "@protected": true,
2714
+ id: "@id",
2715
+ type: "@type",
2716
+ description: "http://schema.org/description",
2717
+ name: "http://schema.org/name",
2718
+ identifier: "http://schema.org/identifier",
2719
+ image: { "@id": "http://schema.org/image", "@type": "@id" }
2720
+ }
2721
+ },
2722
+ PermanentResident: {
2723
+ "@id": "https://w3id.org/citizenship#PermanentResident",
2724
+ "@context": {
2725
+ "@version": 1.1,
2726
+ "@protected": true,
2727
+ id: "@id",
2728
+ type: "@type",
2729
+ ctzn: "https://w3id.org/citizenship#",
2730
+ schema: "http://schema.org/",
2731
+ xsd: "http://www.w3.org/2001/XMLSchema#",
2732
+ birthCountry: "ctzn:birthCountry",
2733
+ birthDate: { "@id": "schema:birthDate", "@type": "xsd:dateTime" },
2734
+ commuterClassification: "ctzn:commuterClassification",
2735
+ familyName: "schema:familyName",
2736
+ gender: "schema:gender",
2737
+ givenName: "schema:givenName",
2738
+ lprCategory: "ctzn:lprCategory",
2739
+ lprNumber: "ctzn:lprNumber",
2740
+ residentSince: { "@id": "ctzn:residentSince", "@type": "xsd:dateTime" }
2741
+ }
2742
+ },
2743
+ Person: "http://schema.org/Person"
2744
+ }
2745
+ };
2746
+
2688
2747
  // src/contexts/vc-revocation-list-2020-v1.json
2689
2748
  var vc_revocation_list_2020_v1_default = {
2690
2749
  "@context": {
@@ -2765,65 +2824,6 @@ var vc_status_list_2021_v1_default = {
2765
2824
  }
2766
2825
  };
2767
2826
 
2768
- // src/contexts/www.w3.org_ns_did_v1.json
2769
- var www_w3_org_ns_did_v1_default = {
2770
- "@context": {
2771
- "@protected": true,
2772
- id: "@id",
2773
- type: "@type",
2774
- alsoKnownAs: {
2775
- "@id": "https://www.w3.org/ns/activitystreams#alsoKnownAs",
2776
- "@type": "@id"
2777
- },
2778
- assertionMethod: {
2779
- "@id": "https://w3id.org/security#assertionMethod",
2780
- "@type": "@id",
2781
- "@container": "@set"
2782
- },
2783
- authentication: {
2784
- "@id": "https://w3id.org/security#authenticationMethod",
2785
- "@type": "@id",
2786
- "@container": "@set"
2787
- },
2788
- capabilityDelegation: {
2789
- "@id": "https://w3id.org/security#capabilityDelegationMethod",
2790
- "@type": "@id",
2791
- "@container": "@set"
2792
- },
2793
- capabilityInvocation: {
2794
- "@id": "https://w3id.org/security#capabilityInvocationMethod",
2795
- "@type": "@id",
2796
- "@container": "@set"
2797
- },
2798
- controller: {
2799
- "@id": "https://w3id.org/security#controller",
2800
- "@type": "@id"
2801
- },
2802
- keyAgreement: {
2803
- "@id": "https://w3id.org/security#keyAgreementMethod",
2804
- "@type": "@id",
2805
- "@container": "@set"
2806
- },
2807
- service: {
2808
- "@id": "https://www.w3.org/ns/did#service",
2809
- "@type": "@id",
2810
- "@context": {
2811
- "@protected": true,
2812
- id: "@id",
2813
- type: "@type",
2814
- serviceEndpoint: {
2815
- "@id": "https://www.w3.org/ns/did#serviceEndpoint",
2816
- "@type": "@id"
2817
- }
2818
- }
2819
- },
2820
- verificationMethod: {
2821
- "@id": "https://w3id.org/security#verificationMethod",
2822
- "@type": "@id"
2823
- }
2824
- }
2825
- };
2826
-
2827
2827
  // src/ld-default-contexts.ts
2828
2828
  var contextCredentialV1 = require_www_w3_org_2018_credentials_v1();
2829
2829
  var contextCredentialV2 = require_www_w3_org_ns_credentials_v2();