diff --git a/package.json b/package.json index 9b436cb..8579ee6 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,6 @@ "@typescript-eslint/eslint-plugin": "^5.9.1", "@typescript-eslint/parser": "^5.9.1", "babel-jest": "^28.1.3", - "dag-jose": "^2.0.1", "did-jwt": "^6.9.0", "dids": "^4.0.0", "eslint": "^8.7.0", @@ -59,11 +58,11 @@ "eslint-import-resolver-typescript": "^3.4.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^25.7.0", - "ipfs-http-client": "^55.0.0", + "ipfs-http-client": "^60.0.0", "jest": "^28.1.3", "jest-resolver-enhanced": "^1.0.1", "key-did-provider-ed25519": "^2.0.1", - "key-did-resolver": "^2.1.3", + "key-did-resolver": "^3.0.0", "node-config-ts": "^3.1.0", "node-jq": "^2.3.3", "rxjs": "^7.8.0", diff --git a/src/utils.ts b/src/utils.ts index c9976b6..9bb3fd3 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -12,7 +12,6 @@ import { S3Store } from '@ceramicnetwork/cli' import { Ceramic, CeramicConfig } from '@ceramicnetwork/core' import { CeramicClient } from '@ceramicnetwork/http-client' -import * as dagJose from 'dag-jose' import { randomString } from '@stablelib/random' import { Ed25519Provider } from 'key-did-provider-ed25519' import KeyDidResolver from 'key-did-resolver' @@ -143,7 +142,7 @@ export async function waitForAnchor( export async function buildIpfs(configObj): Promise { if (configObj.mode == 'client') { console.log(`Creating IPFS via http client, connected to ${configObj.apiURL}`) - return ipfsClient.create({ url: configObj.apiURL, ipld: { codecs: [dagJose] } }) + return ipfsClient.create({ url: configObj.apiURL }) } else if (configObj.mode == 'node') { throw new Error('Creating in-process IPFS node is not currently supported') } else if (configObj.mode == 'none') {