@helia/dag-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 +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/index.ts +1 -1
- package/dist/typedoc-urls.json +0 -12
package/README.md
CHANGED
|
@@ -59,7 +59,7 @@ $ npm i @helia/dag-json
|
|
|
59
59
|
|
|
60
60
|
## Browser `<script>` tag
|
|
61
61
|
|
|
62
|
-
Loading this module through a script tag will make
|
|
62
|
+
Loading this module through a script tag will make its exports available as `HeliaDagJson` in the global namespace.
|
|
63
63
|
|
|
64
64
|
```html
|
|
65
65
|
<script src="https://unpkg.com/@helia/dag-json/dist/index.min.js"></script>
|
package/dist/src/index.d.ts
CHANGED
|
@@ -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/
|
|
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';
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAGH,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAEtC,OAAO,KAAK,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAA;AAC7F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sour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AE,GAAG,OAAO,CAEnE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@helia/dag-json",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5-e567717",
|
|
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",
|
|
@@ -139,15 +139,15 @@
|
|
|
139
139
|
"release": "aegir release"
|
|
140
140
|
},
|
|
141
141
|
"dependencies": {
|
|
142
|
-
"@helia/interface": "
|
|
142
|
+
"@helia/interface": "4.3.1-e567717",
|
|
143
143
|
"@ipld/dag-json": "^10.2.0",
|
|
144
|
-
"@libp2p/
|
|
144
|
+
"@libp2p/interface": "^1.1.4",
|
|
145
145
|
"interface-blockstore": "^5.2.10",
|
|
146
146
|
"multiformats": "^13.1.0",
|
|
147
147
|
"progress-events": "^1.0.0"
|
|
148
148
|
},
|
|
149
149
|
"devDependencies": {
|
|
150
|
-
"aegir": "^
|
|
150
|
+
"aegir": "^44.0.1",
|
|
151
151
|
"blockstore-core": "^4.4.0"
|
|
152
152
|
},
|
|
153
153
|
"sideEffects": false
|
package/src/index.ts
CHANGED
|
@@ -27,7 +27,7 @@ import * as codec from '@ipld/dag-json'
|
|
|
27
27
|
import { CID } from 'multiformats/cid'
|
|
28
28
|
import { sha256 } from 'multiformats/hashes/sha2'
|
|
29
29
|
import type { GetBlockProgressEvents, PutBlockProgressEvents } from '@helia/interface/blocks'
|
|
30
|
-
import type { AbortOptions } from '@libp2p/
|
|
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'
|
package/dist/typedoc-urls.json
DELETED
|
@@ -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-1.html",
|
|
11
|
-
".:dagJson": "https://ipfs.github.io/helia/functions/_helia_dag_json.dagJson-1.html"
|
|
12
|
-
}
|