Skip to content

feat: allow insecure urls using config #42

feat: allow insecure urls using config

feat: allow insecure urls using config #42

Triggered via push November 7, 2024 12:18
Status Failure
Total duration 30s
Artifacts

ci.yml

on: push
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 2 warnings
Validate: packages/utils/src/index.ts#L36
Module '"./config"' has no exported member 'setGlobalConfig'.
Validate: packages/utils/src/index.ts#L36
Module '"./config"' has no exported member 'Oid4vcTsConfig'.
Validate: packages/utils/src/index.ts#L36
Module '"./config"' has no exported member 'getGlobalConfig'.
Validate: packages/utils/src/validation.ts#L2
Module '"./config"' has no exported member 'getGlobalConfig'.
Validate
Process completed with exit code 2.
packages/oid4vci/tests/full-flow.test.ts: packages/utils/src/validation.ts#L8
TypeError: getGlobalConfig is not a function ❯ Object.requirement packages/utils/src/validation.ts:8:35 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:336:34 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:2797:50 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Module.safeParse node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5572:26 ❯ Module.parseWithErrorHandling packages/utils/src/parse.ts:26:25 ❯ Oauth2AuthorizationServer.createAuthorizationServerMetadata packages/oauth2/src/Oauth2AuthorizationServer.ts:31:12 ❯ packages/oid4vci/tests/full-flow.test.ts:71:57
packages/oauth2/src/__tests__/Oauth2AuthorizationServer.test.ts > Oauth2AuthorizationServer > parse, verify and grant pre authorized code access token request: packages/utils/src/validation.ts#L8
TypeError: getGlobalConfig is not a function ❯ Object.requirement packages/utils/src/validation.ts:8:35 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:336:34 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:2797:50 ❯ Module.safeParse node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5572:26 ❯ Module.parseWithErrorHandling packages/utils/src/parse.ts:26:25 ❯ Module.createDpopJwt packages/oauth2/src/dpop/dpop.ts:89:19 ❯ packages/oauth2/src/__tests__/Oauth2AuthorizationServer.test.ts:36:28
packages/oauth2/src/__tests__/Oauth2AuthorizationServer.test.ts > Oauth2AuthorizationServer > parse, verify and grant authorization code access token request: packages/utils/src/validation.ts#L8
TypeError: getGlobalConfig is not a function ❯ Object.requirement packages/utils/src/validation.ts:8:35 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:336:34 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:2797:50 ❯ Module.safeParse node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5572:26 ❯ Module.parseWithErrorHandling packages/utils/src/parse.ts:26:25 ❯ Module.createDpopJwt packages/oauth2/src/dpop/dpop.ts:89:19 ❯ packages/oauth2/src/__tests__/Oauth2AuthorizationServer.test.ts:169:28
packages/oauth2/src/__tests__/Oauth2ResourceServer.test.ts > Oauth2ResourceServer > verifies resource request: packages/utils/src/validation.ts#L8
TypeError: getGlobalConfig is not a function ❯ Object.requirement packages/utils/src/validation.ts:8:35 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:336:34 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:2797:50 ❯ Module.safeParse node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5572:26 ❯ Module.parseWithErrorHandling packages/utils/src/parse.ts:26:25 ❯ Module.createDpopJwt packages/oauth2/src/dpop/dpop.ts:89:19 ❯ packages/oauth2/src/__tests__/Oauth2ResourceServer.test.ts:85:21
packages/oid4vci/src/__tests__/Oid4vciClient.test.ts > Oid4vciClient > receive a credential from Paradym using draft 13: packages/utils/src/validation.ts#L8
TypeError: getGlobalConfig is not a function ❯ Object.requirement packages/utils/src/validation.ts:8:35 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:336:34 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:2797:50 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5099:38 ❯ Module.safeParse node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5572:26 ❯ packages/utils/src/valibot-fetcher.ts:50:15 ❯ Module.resolveCredentialOffer packages/oid4vci/src/credential-offer/credential-offer.ts:55:34 ❯ packages/oid4vci/src/__tests__/Oid4vciClient.test.ts:70:29
packages/oid4vci/src/__tests__/Oid4vciClient.test.ts > Oid4vciClient > receive a credential from Paradym using draft 11: packages/utils/src/validation.ts#L8
TypeError: getGlobalConfig is not a function ❯ Object.requirement packages/utils/src/validation.ts:8:35 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:336:34 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:2797:50 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5099:38 ❯ Module.safeParse node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5572:26 ❯ packages/utils/src/valibot-fetcher.ts:50:15 ❯ Module.resolveCredentialOffer packages/oid4vci/src/credential-offer/credential-offer.ts:55:34 ❯ packages/oid4vci/src/__tests__/Oid4vciClient.test.ts:168:29
packages/oid4vci/src/__tests__/Oid4vciClient.test.ts > Oid4vciClient > receive a credential from bdr using draft 13: packages/utils/src/validation.ts#L8
TypeError: getGlobalConfig is not a function ❯ Object.requirement packages/utils/src/validation.ts:8:35 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:336:34 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:2797:50 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5099:38 ❯ Module.safeParse node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5572:26 ❯ Module.resolveCredentialOffer packages/oid4vci/src/credential-offer/credential-offer.ts:74:36 ❯ Oid4vciClient.resolveCredentialOffer packages/oid4vci/src/Oid4vciClient.ts:70:12 ❯ packages/oid4vci/src/__tests__/Oid4vciClient.test.ts:379:42
packages/oid4vci/src/__tests__/Oid4vciClient.test.ts > Oid4vciClient > receive a credential using presentation during issuance: packages/utils/src/validation.ts#L8
TypeError: getGlobalConfig is not a function ❯ Object.requirement packages/utils/src/validation.ts:8:35 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:336:34 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:2797:50 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5099:38 ❯ Module.safeParse node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5572:26 ❯ Module.resolveCredentialOffer packages/oid4vci/src/credential-offer/credential-offer.ts:74:36 ❯ Oid4vciClient.resolveCredentialOffer packages/oid4vci/src/Oid4vciClient.ts:70:12 ❯ packages/oid4vci/src/__tests__/Oid4vciClient.test.ts:551:42
packages/oid4vci/src/__tests__/Oid4vciIssuer.test.ts > Oid4vciIssuer > create issuer metadata, create a credential offer, parse a credential request, create a credential response: packages/utils/src/validation.ts#L8
TypeError: getGlobalConfig is not a function ❯ Object.requirement packages/utils/src/validation.ts:8:35 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:336:34 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:2797:50 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5099:38 ❯ Module.safeParse node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5572:26 ❯ Module.parseWithErrorHandling packages/utils/src/parse.ts:26:25 ❯ Oid4vciIssuer.createCredentialIssuerMetadata packages/oid4vci/src/Oid4vciIssuer.ts:55:12 ❯ packages/oid4vci/src/__tests__/Oid4vciIssuer.test.ts:28:45
packages/oauth2/src/access-token/__tests__/verify-access-token-request.test.ts > Verify Pre Auhthorized Code Access Token Request > handles valid pre-authorized code access token request: packages/utils/src/validation.ts#L8
TypeError: getGlobalConfig is not a function ❯ Object.requirement packages/utils/src/validation.ts:8:35 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:336:34 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:2797:50 ❯ Module.safeParse node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5572:26 ❯ Module.parseWithErrorHandling packages/utils/src/parse.ts:26:25 ❯ Module.createDpopJwt packages/oauth2/src/dpop/dpop.ts:89:19 ❯ packages/oauth2/src/access-token/__tests__/verify-access-token-request.test.ts:244:21
packages/oid4vci/tests/full-flow.test.ts: packages/utils/src/validation.ts#L8
TypeError: getGlobalConfig is not a function ❯ Object.requirement packages/utils/src/validation.ts:8:35 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:336:34 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:2797:50 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Module.safeParse node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5572:26 ❯ Module.parseWithErrorHandling packages/utils/src/parse.ts:26:25 ❯ Oauth2AuthorizationServer.createAuthorizationServerMetadata packages/oauth2/src/Oauth2AuthorizationServer.ts:31:12 ❯ packages/oid4vci/tests/full-flow.test.ts:71:57
packages/oauth2/src/__tests__/Oauth2AuthorizationServer.test.ts > Oauth2AuthorizationServer > parse, verify and grant pre authorized code access token request: packages/utils/src/validation.ts#L8
TypeError: getGlobalConfig is not a function ❯ Object.requirement packages/utils/src/validation.ts:8:35 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:336:34 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:2797:50 ❯ Module.safeParse node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5572:26 ❯ Module.parseWithErrorHandling packages/utils/src/parse.ts:26:25 ❯ Module.createDpopJwt packages/oauth2/src/dpop/dpop.ts:89:19 ❯ packages/oauth2/src/__tests__/Oauth2AuthorizationServer.test.ts:36:28
packages/oauth2/src/__tests__/Oauth2AuthorizationServer.test.ts > Oauth2AuthorizationServer > parse, verify and grant authorization code access token request: packages/utils/src/validation.ts#L8
TypeError: getGlobalConfig is not a function ❯ Object.requirement packages/utils/src/validation.ts:8:35 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:336:34 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:2797:50 ❯ Module.safeParse node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5572:26 ❯ Module.parseWithErrorHandling packages/utils/src/parse.ts:26:25 ❯ Module.createDpopJwt packages/oauth2/src/dpop/dpop.ts:89:19 ❯ packages/oauth2/src/__tests__/Oauth2AuthorizationServer.test.ts:169:28
packages/oauth2/src/__tests__/Oauth2ResourceServer.test.ts > Oauth2ResourceServer > verifies resource request: packages/utils/src/validation.ts#L8
TypeError: getGlobalConfig is not a function ❯ Object.requirement packages/utils/src/validation.ts:8:35 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:336:34 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:2797:50 ❯ Module.safeParse node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5572:26 ❯ Module.parseWithErrorHandling packages/utils/src/parse.ts:26:25 ❯ Module.createDpopJwt packages/oauth2/src/dpop/dpop.ts:89:19 ❯ packages/oauth2/src/__tests__/Oauth2ResourceServer.test.ts:85:21
packages/oid4vci/src/__tests__/Oid4vciClient.test.ts > Oid4vciClient > receive a credential from Paradym using draft 13: packages/utils/src/validation.ts#L8
TypeError: getGlobalConfig is not a function ❯ Object.requirement packages/utils/src/validation.ts:8:35 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:336:34 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:2797:50 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5099:38 ❯ Module.safeParse node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5572:26 ❯ packages/utils/src/valibot-fetcher.ts:50:15 ❯ Module.resolveCredentialOffer packages/oid4vci/src/credential-offer/credential-offer.ts:55:34 ❯ packages/oid4vci/src/__tests__/Oid4vciClient.test.ts:70:29
packages/oid4vci/src/__tests__/Oid4vciClient.test.ts > Oid4vciClient > receive a credential from Paradym using draft 11: packages/utils/src/validation.ts#L8
TypeError: getGlobalConfig is not a function ❯ Object.requirement packages/utils/src/validation.ts:8:35 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:336:34 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:2797:50 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5099:38 ❯ Module.safeParse node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5572:26 ❯ packages/utils/src/valibot-fetcher.ts:50:15 ❯ Module.resolveCredentialOffer packages/oid4vci/src/credential-offer/credential-offer.ts:55:34 ❯ packages/oid4vci/src/__tests__/Oid4vciClient.test.ts:168:29
packages/oid4vci/src/__tests__/Oid4vciClient.test.ts > Oid4vciClient > receive a credential from bdr using draft 13: packages/utils/src/validation.ts#L8
TypeError: getGlobalConfig is not a function ❯ Object.requirement packages/utils/src/validation.ts:8:35 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:336:34 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:2797:50 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5099:38 ❯ Module.safeParse node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5572:26 ❯ Module.resolveCredentialOffer packages/oid4vci/src/credential-offer/credential-offer.ts:74:36 ❯ Oid4vciClient.resolveCredentialOffer packages/oid4vci/src/Oid4vciClient.ts:70:12 ❯ packages/oid4vci/src/__tests__/Oid4vciClient.test.ts:379:42
packages/oid4vci/src/__tests__/Oid4vciClient.test.ts > Oid4vciClient > receive a credential using presentation during issuance: packages/utils/src/validation.ts#L8
TypeError: getGlobalConfig is not a function ❯ Object.requirement packages/utils/src/validation.ts:8:35 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:336:34 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:2797:50 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5099:38 ❯ Module.safeParse node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5572:26 ❯ Module.resolveCredentialOffer packages/oid4vci/src/credential-offer/credential-offer.ts:74:36 ❯ Oid4vciClient.resolveCredentialOffer packages/oid4vci/src/Oid4vciClient.ts:70:12 ❯ packages/oid4vci/src/__tests__/Oid4vciClient.test.ts:551:42
packages/oid4vci/src/__tests__/Oid4vciIssuer.test.ts > Oid4vciIssuer > create issuer metadata, create a credential offer, parse a credential request, create a credential response: packages/utils/src/validation.ts#L8
TypeError: getGlobalConfig is not a function ❯ Object.requirement packages/utils/src/validation.ts:8:35 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:336:34 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:2797:50 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5099:38 ❯ Module.safeParse node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5572:26 ❯ Module.parseWithErrorHandling packages/utils/src/parse.ts:26:25 ❯ Oid4vciIssuer.createCredentialIssuerMetadata packages/oid4vci/src/Oid4vciIssuer.ts:55:12 ❯ packages/oid4vci/src/__tests__/Oid4vciIssuer.test.ts:28:45
packages/oauth2/src/access-token/__tests__/verify-access-token-request.test.ts > Verify Pre Auhthorized Code Access Token Request > handles valid pre-authorized code access token request: packages/utils/src/validation.ts#L8
TypeError: getGlobalConfig is not a function ❯ Object.requirement packages/utils/src/validation.ts:8:35 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:336:34 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5516:28 ❯ Object._run node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:2797:50 ❯ Module.safeParse node_modules/.pnpm/[email protected][email protected]/node_modules/valibot/dist/index.js:5572:26 ❯ Module.parseWithErrorHandling packages/utils/src/parse.ts:26:25 ❯ Module.createDpopJwt packages/oauth2/src/dpop/dpop.ts:89:19 ❯ packages/oauth2/src/access-token/__tests__/verify-access-token-request.test.ts:244:21
Tests (20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Tests (18)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/