Skip to content

Commit 238e6c6

Browse files
committed
apply patch in docker
Signed-off-by: Timo Glastra <timo@animo.id>
1 parent 3052a69 commit 238e6c6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

agent/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,15 @@ WORKDIR /app
1111
FROM base AS prod-deps
1212
COPY dependencies /app/dependencies
1313
COPY tsconfig.json /app/tsconfig.json
14+
COPY patches patches
15+
1416
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod
1517

1618
FROM base AS build
1719
COPY dependencies /app/dependencies
1820
COPY tsconfig.json /app/tsconfig.json
21+
COPY patches patches
22+
1923
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install
2024
COPY src src
2125
RUN pnpm run build

agent/src/issuer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ export const credentialRequestToCredentialMapper: CredentialRequestToCredentialM
116116
]
117117
: ["https://www.w3.org/2018/credentials/v1"],
118118
// TODO: should 'VerifiableCredential' be in the issuer metadata type?
119+
// FIXME: jwt verification did not fail when this was array within array
120+
// W3cCredential is not validated in AFJ???
119121
type: ["VerifiableCredential", ...credentialSupported.types],
120122
issuanceDate: new Date().toISOString(),
121123
issuer: issuerDid,

0 commit comments

Comments
 (0)