diff --git a/src/ancillary/anchor-request-params-parser.ts b/src/ancillary/anchor-request-params-parser.ts index 59a65557..0af02bca 100644 --- a/src/ancillary/anchor-request-params-parser.ts +++ b/src/ancillary/anchor-request-params-parser.ts @@ -1,11 +1,8 @@ import type { Request as ExpReq } from 'express' -import { CID as CIDObj } from 'multiformats/cid' -import { CARFactory, type CAR } from 'cartonne' +import { CARFactory } from 'cartonne' import { ServiceMetrics as Metrics } from '@ceramicnetwork/observability' -import { base64urlToJSON } from '@ceramicnetwork/common' import { METRIC_NAMES } from '../settings.js' import * as DAG_JOSE from 'dag-jose' -import { logger } from '../logger/index.js' import { uint8array, cid, @@ -55,7 +52,6 @@ export const RequestAnchorParamsV2 = sparse({ streamId: streamIdAsString, timestamp: date, cid: cidAsString, - cacaoDomain: optional(string) }) export type RequestAnchorParamsV2 = TypeOf @@ -80,13 +76,11 @@ export class AnchorRequestCarFileDecoder implements Decoder