@helia/json 3.0.4 → 3.0.5-e567717

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.
package/README.md CHANGED
@@ -59,7 +59,7 @@ $ npm i @helia/json
59
59
 
60
60
  ## Browser `<script>` tag
61
61
 
62
- Loading this module through a script tag will make it's exports available as `HeliaJson` in the global namespace.
62
+ Loading this module through a script tag will make its exports available as `HeliaJson` in the global namespace.
63
63
 
64
64
  ```html
65
65
  <script src="https://unpkg.com/@helia/json/dist/index.min.js"></script>
@@ -24,7 +24,7 @@
24
24
  */
25
25
  import { CID } from 'multiformats/cid';
26
26
  import type { GetBlockProgressEvents, PutBlockProgressEvents } from '@helia/interface/blocks';
27
- import type { AbortOptions } from '@libp2p/interfaces';
27
+ import type { AbortOptions } from '@libp2p/interface';
28
28
  import type { Blockstore } from 'interface-blockstore';
29
29
  import type { BlockCodec } from 'multiformats/codecs/interface';
30
30
  import type { MultihashHasher } from 'multiformats/hashes/interface';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAGtC,OAAO,KAAK,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AAC7F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACtD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEtD,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,UAAU,CAAA;CACvB;AAED,MAAM,WAA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IAC7B,UAAU,EAAE,UAAU,CAAA;CACvB;AAED,MAAM,WAAW,UAAW,SAAQ,YAAY,EAAE,eAAe,CAAC,sBAAsB,CAAC;IACvF,MAAM,EAAE,eAAe,CAAA;CACxB;AAED,MAAM,WAAW,UAAW,SAAQ,YAAY,EAAE,eAAe,CAAC,sBAAsB,CAAC;IACvF,KAAK,EAAE,UAAU,CAAC,GAAG,EAAE,OAAO,CAAC,CAAA;CAChC;AAED;;;GAGG;AACH,MAAM,WAAW,IAAI;IACnB;;;;;;;;;;;;;;;OAeG;IACH,GAAG,CAAC,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,CAAA;IAE9D;;;;;;;;;;;;;;;;;OAiBG;IACH,GAAG,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;CAC5D;AA0BD;;GAEG;AACH,wBAAgB,IAAI,CAAE,KAAK,EAAE;IAAE,UAAU,EAAE,UAAU,CAAA;CAAE,GAAG,IAAI,CAE7D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@helia/json",
3
- "version": "3.0.4",
3
+ "version": "3.0.5-e567717",
4
4
  "description": "Add/get IPLD blocks containing json with your Helia node",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "homepage": "https://github.com/ipfs/helia/tree/main/packages/json#readme",
@@ -139,14 +139,14 @@
139
139
  "release": "aegir release"
140
140
  },
141
141
  "dependencies": {
142
- "@helia/interface": "^4.3.0",
143
- "@libp2p/interfaces": "^3.3.2",
142
+ "@helia/interface": "4.3.1-e567717",
143
+ "@libp2p/interface": "^1.1.4",
144
144
  "interface-blockstore": "^5.2.10",
145
145
  "multiformats": "^13.1.0",
146
146
  "progress-events": "^1.0.0"
147
147
  },
148
148
  "devDependencies": {
149
- "aegir": "^42.2.5",
149
+ "aegir": "^44.0.1",
150
150
  "blockstore-core": "^4.4.0"
151
151
  },
152
152
  "sideEffects": false
package/src/index.ts CHANGED
@@ -27,7 +27,7 @@ import { CID } from 'multiformats/cid'
27
27
  import * as jsonCodec from 'multiformats/codecs/json'
28
28
  import { sha256 } from 'multiformats/hashes/sha2'
29
29
  import type { GetBlockProgressEvents, PutBlockProgressEvents } from '@helia/interface/blocks'
30
- import type { AbortOptions } from '@libp2p/interfaces'
30
+ import type { AbortOptions } from '@libp2p/interface'
31
31
  import type { Blockstore } from 'interface-blockstore'
32
32
  import type { BlockCodec } from 'multiformats/codecs/interface'
33
33
  import type { MultihashHasher } from 'multiformats/hashes/interface'
@@ -1,12 +0,0 @@
1
- {
2
- "AddOptions": "https://ipfs.github.io/helia/interfaces/_helia_json.AddOptions.html",
3
- ".:AddOptions": "https://ipfs.github.io/helia/interfaces/_helia_json.AddOptions.html",
4
- "GetOptions": "https://ipfs.github.io/helia/interfaces/_helia_json.GetOptions.html",
5
- ".:GetOptions": "https://ipfs.github.io/helia/interfaces/_helia_json.GetOptions.html",
6
- "JSON": "https://ipfs.github.io/helia/interfaces/_helia_json.JSON.html",
7
- ".:JSON": "https://ipfs.github.io/helia/interfaces/_helia_json.JSON.html",
8
- "JSONComponents": "https://ipfs.github.io/helia/interfaces/_helia_json.JSONComponents.html",
9
- ".:JSONComponents": "https://ipfs.github.io/helia/interfaces/_helia_json.JSONComponents.html",
10
- "json": "https://ipfs.github.io/helia/functions/_helia_json.json-1.html",
11
- ".:json": "https://ipfs.github.io/helia/functions/_helia_json.json-1.html"
12
- }