Skip to content

Commit 94e8cf4

Browse files
chore: cleanup (#35)
Signed-off-by: Wouter Termont <wouter.termont@ugent.be>
1 parent 7e7a6c7 commit 94e8cf4

File tree

5 files changed

+4
-175
lines changed

5 files changed

+4
-175
lines changed

packages/css/src/identity/configuration/InMemoryJwksKeyHolder.ts

Lines changed: 0 additions & 140 deletions
This file was deleted.

packages/css/src/identity/configuration/JwksKeyHolder.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.

packages/css/src/uma/UmaClient.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import type { KeyValueStorage, Representation, ResourceIdentifier } from "@solid
22
import { AccessMap, getLoggerFor, InternalServerError, JwkGenerator, NotFoundHttpError } from "@solid/community-server";
33
import { JWTPayload, decodeJwt, createRemoteJWKSet, jwtVerify, JWTVerifyOptions } from "jose";
44
import { httpbis, type SigningKey, type Request as SignRequest } from 'http-message-signatures';
5-
import { isString } from '../util/StringGuard';
65
import fetch from 'cross-fetch';
76
import type { Fetcher } from "../util/fetch/Fetcher";
87
import crypto from 'node:crypto';
@@ -338,3 +337,7 @@ export class UmaClient {
338337
});
339338
}
340339
}
340+
341+
function isString(value: any): value is string {
342+
return typeof value === 'string' || value instanceof String;
343+
}

packages/css/src/util/StringGuard.test.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

packages/css/src/util/StringGuard.ts

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)