@originator-profile/verify 0.5.0-beta.2 → 0.5.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.
- package/dist/index.d.cts +4 -3
- package/dist/index.d.mts +4 -3
- package/package.json +18 -18
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ContentAttestation, Image, Target, ContentAttestationSet, OpVc, Jwk,
|
|
2
|
-
import { JwtVcDecodingResult,
|
|
1
|
+
import { ContentAttestation, Image, Target, ContentAttestationSet, OpVc, Jwk, ArticleCA, Certificate as Certificate$1, CoreProfile, WebMediaProfile, WebsiteProfile, JapaneseExistenceCertificate, OriginatorProfileSet, Jwks, SiteProfile, AllowedOrigin } from '@originator-profile/model';
|
|
2
|
+
import { JwtVcDecodingResult, UnverifiedJwtVc, JwtVcVerificationResult, VerifiedJwtVc, VcValidator } from '@originator-profile/securing-mechanism';
|
|
3
3
|
import { Keys } from '@originator-profile/cryptography';
|
|
4
4
|
import { DigestSriResult, ContentFetcher, ElementSelector } from '@originator-profile/sign';
|
|
5
5
|
|
|
@@ -467,4 +467,5 @@ declare function SpVerifier(sp: SiteProfile, keys: Keys, issuer: string | string
|
|
|
467
467
|
*/
|
|
468
468
|
declare function verifyAllowedOrigin(origin: URL["origin"], allowedOrigins: AllowedOrigin): boolean;
|
|
469
469
|
|
|
470
|
-
export {
|
|
470
|
+
export { CaInvalid, CaVerifier, CaVerifyFailed, CasVerifyFailed, CertificateExpired, CoreProfileNotFound, IntegrityFetchFailed, IntegrityVerificationFailed, OpInvalid, OpVerifyFailed, OpsInvalid, OpsVerifier, OpsVerifyFailed, SiteProfileInvalid, SiteProfileVerifyFailed, SpVerifier, TargetIntegrityAlgorithm, VerifyResultFactory, article, caId, caUrl, certificate, cp, decodeOps, getMappedKeys, getTupledKeys, normalizeCasItem, opId, patch, verifyAllowedOrigin, verifyCas, verifyDigestSri, verifyImageDigestSri, verifyIntegrity, wmp, wsp };
|
|
471
|
+
export type { CaDecodingFailure, CaDecodingResult, CaVerificationFailure, CaVerificationResult, CasItem, CasVerificationFailure, CasVerificationResult, Certificate, DecodedCa, DecodedOp, DecodedOps, FetchIntegrityResult, IntegrityVerifyResult, MappedKeys, OpDecodingFailure, OpDecodingResult, OpVerificationFailure, OpVerificationResult, OpsDecodingFailure, OpsDecodingResult, OpsVerificationFailure, OpsVerificationResult, SpVerificationFailure, SpVerificationResult, TupledKeys, VerifiedCa, VerifiedCas, VerifiedOp, VerifiedOps, VerifiedSp, VerifyIntegrity };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ContentAttestation, Image, Target, ContentAttestationSet, OpVc, Jwk,
|
|
2
|
-
import { JwtVcDecodingResult,
|
|
1
|
+
import { ContentAttestation, Image, Target, ContentAttestationSet, OpVc, Jwk, ArticleCA, Certificate as Certificate$1, CoreProfile, WebMediaProfile, WebsiteProfile, JapaneseExistenceCertificate, OriginatorProfileSet, Jwks, SiteProfile, AllowedOrigin } from '@originator-profile/model';
|
|
2
|
+
import { JwtVcDecodingResult, UnverifiedJwtVc, JwtVcVerificationResult, VerifiedJwtVc, VcValidator } from '@originator-profile/securing-mechanism';
|
|
3
3
|
import { Keys } from '@originator-profile/cryptography';
|
|
4
4
|
import { DigestSriResult, ContentFetcher, ElementSelector } from '@originator-profile/sign';
|
|
5
5
|
|
|
@@ -467,4 +467,5 @@ declare function SpVerifier(sp: SiteProfile, keys: Keys, issuer: string | string
|
|
|
467
467
|
*/
|
|
468
468
|
declare function verifyAllowedOrigin(origin: URL["origin"], allowedOrigins: AllowedOrigin): boolean;
|
|
469
469
|
|
|
470
|
-
export {
|
|
470
|
+
export { CaInvalid, CaVerifier, CaVerifyFailed, CasVerifyFailed, CertificateExpired, CoreProfileNotFound, IntegrityFetchFailed, IntegrityVerificationFailed, OpInvalid, OpVerifyFailed, OpsInvalid, OpsVerifier, OpsVerifyFailed, SiteProfileInvalid, SiteProfileVerifyFailed, SpVerifier, TargetIntegrityAlgorithm, VerifyResultFactory, article, caId, caUrl, certificate, cp, decodeOps, getMappedKeys, getTupledKeys, normalizeCasItem, opId, patch, verifyAllowedOrigin, verifyCas, verifyDigestSri, verifyImageDigestSri, verifyIntegrity, wmp, wsp };
|
|
471
|
+
export type { CaDecodingFailure, CaDecodingResult, CaVerificationFailure, CaVerificationResult, CasItem, CasVerificationFailure, CasVerificationResult, Certificate, DecodedCa, DecodedOp, DecodedOps, FetchIntegrityResult, IntegrityVerifyResult, MappedKeys, OpDecodingFailure, OpDecodingResult, OpVerificationFailure, OpVerificationResult, OpsDecodingFailure, OpsDecodingResult, OpsVerificationFailure, OpsVerificationResult, SpVerificationFailure, SpVerificationResult, TupledKeys, VerifiedCa, VerifiedCas, VerifiedOp, VerifiedOps, VerifiedSp, VerifyIntegrity };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@originator-profile/verify",
|
|
3
|
-
"version": "0.5.0
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"homepage": "https://docs.originator-profile.org",
|
|
6
6
|
"repository": {
|
|
@@ -30,31 +30,31 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@types/jsonld": "^1.5.15",
|
|
33
|
-
"jose": "^6.
|
|
33
|
+
"jose": "^6.2.2",
|
|
34
34
|
"jsonld": "^9.0.0",
|
|
35
35
|
"zod": "^4.3.6",
|
|
36
|
-
"@originator-profile/
|
|
37
|
-
"@originator-profile/cryptography": "0.5.0
|
|
38
|
-
"@originator-profile/
|
|
39
|
-
"@originator-profile/
|
|
40
|
-
"@originator-profile/
|
|
36
|
+
"@originator-profile/core": "0.5.0",
|
|
37
|
+
"@originator-profile/cryptography": "0.5.0",
|
|
38
|
+
"@originator-profile/securing-mechanism": "0.5.0",
|
|
39
|
+
"@originator-profile/model": "0.5.0",
|
|
40
|
+
"@originator-profile/sign": "0.5.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@playwright/test": "^1.
|
|
43
|
+
"@playwright/test": "^1.59.1",
|
|
44
44
|
"date-fns": "^4.1.0",
|
|
45
|
-
"eslint": "^
|
|
46
|
-
"happy-dom": "^20.
|
|
45
|
+
"eslint": "^10.1.0",
|
|
46
|
+
"happy-dom": "^20.8.9",
|
|
47
47
|
"just-diff-apply": "^5.5.0",
|
|
48
48
|
"just-typeof": "^3.2.0",
|
|
49
|
-
"pkgroll": "^2.
|
|
50
|
-
"playwright": "^1.
|
|
51
|
-
"typescript": "^
|
|
52
|
-
"urlpattern-polyfill": "^10.
|
|
53
|
-
"vite": "^
|
|
54
|
-
"vitest": "^4.
|
|
49
|
+
"pkgroll": "^2.27.0",
|
|
50
|
+
"playwright": "^1.59.1",
|
|
51
|
+
"typescript": "^6.0.2",
|
|
52
|
+
"urlpattern-polyfill": "^10.1.0",
|
|
53
|
+
"vite": "^8.0.3",
|
|
54
|
+
"vitest": "^4.1.2",
|
|
55
55
|
"websri": "^1.0.1",
|
|
56
|
-
"
|
|
57
|
-
"
|
|
56
|
+
"@originator-profile/tsconfig": "0.5.0",
|
|
57
|
+
"eslint-config-originator-profile": "0.5.0"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build": "pkgroll --clean-dist --target=node20",
|