@helia/dag-json 5.0.7 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { CID } from 'multiformats/cid';
2
- import type { AddOptions, DAGJSONComponents, DAGJSON as DAGJSONInterface, GetOptions } from './index.js';
2
+ import type { AddOptions, DAGJSONComponents, DAGJSON as DAGJSONInterface, GetOptions } from './index.ts';
3
3
  export declare class DAGJSON implements DAGJSONInterface {
4
4
  private readonly components;
5
5
  constructor(components: DAGJSONComponents);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@helia/dag-json",
3
- "version": "5.0.7",
3
+ "version": "5.1.0",
4
4
  "description": "Add/get IPLD blocks containing dag-json with your Helia node",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "homepage": "https://github.com/ipfs/helia/tree/main/packages/dag-json#readme",
@@ -47,9 +47,9 @@
47
47
  "test:electron-main": "aegir test -t electron-main"
48
48
  },
49
49
  "dependencies": {
50
- "@helia/interface": "^6.1.1",
50
+ "@helia/interface": "^6.2.0",
51
51
  "@ipld/dag-json": "^10.2.5",
52
- "@libp2p/interface": "^3.1.0",
52
+ "@libp2p/interface": "^3.2.0",
53
53
  "interface-blockstore": "^6.0.1",
54
54
  "it-to-buffer": "^4.0.10",
55
55
  "multiformats": "^13.4.1",
package/src/dag-json.ts CHANGED
@@ -3,7 +3,7 @@ import * as codec from '@ipld/dag-json'
3
3
  import toBuffer from 'it-to-buffer'
4
4
  import { CID } from 'multiformats/cid'
5
5
  import { sha256 } from 'multiformats/hashes/sha2'
6
- import type { AddOptions, DAGJSONComponents, DAGJSON as DAGJSONInterface, GetOptions } from './index.js'
6
+ import type { AddOptions, DAGJSONComponents, DAGJSON as DAGJSONInterface, GetOptions } from './index.ts'
7
7
 
8
8
  export class DAGJSON implements DAGJSONInterface {
9
9
  private readonly components: DAGJSONComponents