Skip to content

Commit

Permalink
fix: update deps for kubo 18 (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-stickykeys authored Feb 24, 2023
1 parent dbc4576 commit 1a5138d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,18 @@
"@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",
"eslint-config-3box": "^0.4.1",
"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",
Expand Down
3 changes: 1 addition & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -143,7 +142,7 @@ export async function waitForAnchor(
export async function buildIpfs(configObj): Promise<any> {
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') {
Expand Down

0 comments on commit 1a5138d

Please sign in to comment.