From 0596a47b652823f4507e316d78d9fd97b5a46712 Mon Sep 17 00:00:00 2001 From: Spencer T Brody Date: Thu, 18 Jan 2024 11:39:51 -0500 Subject: [PATCH] Fix codec import (#3100) (cherry picked from commit 765e89295ee94d745d52359022fbbe83fc77fc07) --- packages/cli/package.json | 1 + packages/cli/src/ceramic-daemon.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index b066009976..aebd04a311 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -45,6 +45,7 @@ "dependencies": { "@awaitjs/express": "^0.9.0", "@ceramicnetwork/3id-did-resolver": "^3.3.0-rc.0", + "@ceramicnetwork/codecs": "^2.3.0-rc.0", "@ceramicnetwork/common": "^3.3.0-rc.0", "@ceramicnetwork/core": "^3.3.0-rc.0", "@ceramicnetwork/http-client": "^3.3.0-rc.0", diff --git a/packages/cli/src/ceramic-daemon.ts b/packages/cli/src/ceramic-daemon.ts index a1d4d8d6fc..bc1c160858 100644 --- a/packages/cli/src/ceramic-daemon.ts +++ b/packages/cli/src/ceramic-daemon.ts @@ -43,7 +43,7 @@ import { S3Store } from './s3-store.js' import { commitHash } from './commitHash.js' import { parseQueryObject } from './daemon/parse-query-object.js' import { SseFeed } from './daemon/sse-feed.js' -import { JsonAsString, AggregationDocument } from '../../codecs/lib/feed.js' +import { JsonAsString, AggregationDocument } from '@ceramicnetwork/codecs' const DEFAULT_HOSTNAME = '0.0.0.0' const DEFAULT_PORT = 7007