@helia/dag-json 5.1.1 → 6.0.0-3a1dd561

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.
@@ -24,7 +24,7 @@
24
24
  * // { hello: 'world' }
25
25
  * ```
26
26
  */
27
- import type { GetBlockProgressEvents, ProviderOptions, PutBlockProgressEvents } from '@helia/interface/blocks';
27
+ import type { GetBlockProgressEvents, ProviderOptions, PutBlockProgressEvents } from '@helia/interface';
28
28
  import type { AbortOptions } from '@libp2p/interface';
29
29
  import type { Blockstore } from 'interface-blockstore';
30
30
  import type { CID } from 'multiformats/cid';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AAC9G,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAC3C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEtD,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,UAAU,CAAA;CACvB;AAED,MAAM,WAAW,UAAW,SAAQ,YAAY,EAAE,eAAe,CAAC,sBAAsB,CAAC;IACvF,MAAM,CAAC,EAAE,eAAe,CAAA;CACzB;AAED,MAAM,WAAW,UAAW,SAAQ,YAAY,EAAE,eAAe,CAAC,sBAAsB,CAAC,EAAE,eAAe;CAEzG;AAED;;;GAGG;AACH,MAAM,WAAW,OAAO;IACtB;;;;;;;;;;;;;;;;;;OAkBG;IACH,GAAG,CAAC,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AE,OAAO,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,CAAA;IAE9D;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;CAC5D;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAE,KAAK,EAAE;IAAE,UAAU,EAAE,UAAU,CAAA;CAAE,GAAG,OAAO,CAEnE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@helia/dag-json",
3
- "version": "5.1.1",
3
+ "version": "6.0.0-3a1dd561",
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",
@@ -48,17 +48,17 @@
48
48
  "test:electron-main": "aegir test -t electron-main"
49
49
  },
50
50
  "dependencies": {
51
- "@helia/interface": "^6.2.1",
52
- "@ipld/dag-json": "^10.2.7",
53
- "@libp2p/interface": "^3.2.0",
54
- "interface-blockstore": "^6.0.2",
55
- "it-to-buffer": "^4.0.12",
56
- "multiformats": "^13.4.2",
51
+ "@helia/interface": "7.0.0-3a1dd561",
52
+ "@ipld/dag-json": "^11.0.0",
53
+ "@libp2p/interface": "^3.2.3",
54
+ "interface-blockstore": "^7.0.1",
55
+ "it-to-buffer": "^5.0.0",
56
+ "multiformats": "^14.0.0",
57
57
  "progress-events": "^1.1.0"
58
58
  },
59
59
  "devDependencies": {
60
- "aegir": "^47.1.5",
61
- "blockstore-core": "^6.1.3"
60
+ "aegir": "^48.0.11",
61
+ "blockstore-core": "^7.0.1"
62
62
  },
63
63
  "sideEffects": false
64
64
  }
package/src/index.ts CHANGED
@@ -26,7 +26,7 @@
26
26
  */
27
27
 
28
28
  import { DAGJSON as DAGJSONClass } from './dag-json.ts'
29
- import type { GetBlockProgressEvents, ProviderOptions, PutBlockProgressEvents } from '@helia/interface/blocks'
29
+ import type { GetBlockProgressEvents, ProviderOptions, PutBlockProgressEvents } from '@helia/interface'
30
30
  import type { AbortOptions } from '@libp2p/interface'
31
31
  import type { Blockstore } from 'interface-blockstore'
32
32
  import type { CID } from 'multiformats/cid'
@@ -1,12 +0,0 @@
1
- {
2
- "AddOptions": "https://ipfs.github.io/helia/interfaces/_helia_dag-json.AddOptions.html",
3
- ".:AddOptions": "https://ipfs.github.io/helia/interfaces/_helia_dag-json.AddOptions.html",
4
- "DAGJSON": "https://ipfs.github.io/helia/interfaces/_helia_dag-json.DAGJSON.html",
5
- ".:DAGJSON": "https://ipfs.github.io/helia/interfaces/_helia_dag-json.DAGJSON.html",
6
- "DAGJSONComponents": "https://ipfs.github.io/helia/interfaces/_helia_dag-json.DAGJSONComponents.html",
7
- ".:DAGJSONComponents": "https://ipfs.github.io/helia/interfaces/_helia_dag-json.DAGJSONComponents.html",
8
- "GetOptions": "https://ipfs.github.io/helia/interfaces/_helia_dag-json.GetOptions.html",
9
- ".:GetOptions": "https://ipfs.github.io/helia/interfaces/_helia_dag-json.GetOptions.html",
10
- "dagJson": "https://ipfs.github.io/helia/functions/_helia_dag-json.dagJson.html",
11
- ".:dagJson": "https://ipfs.github.io/helia/functions/_helia_dag-json.dagJson.html"
12
- }