@helia/json 0.0.0 → 1.0.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.
package/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
  [![codecov](https://img.shields.io/codecov/c/github/ipfs/helia-json.svg?style=flat-square)](https://codecov.io/gh/ipfs/helia-json)
12
12
  [![CI](https://img.shields.io/github/actions/workflow/status/ipfs/helia-json/js-test-and-release.yml?branch=main\&style=flat-square)](https://github.com/ipfs/helia-json/actions/workflows/js-test-and-release.yml?query=branch%3Amain)
13
13
 
14
- > Add/get IPLD blocks containing strings with your Helia node
14
+ > Add/get IPLD blocks containing json with your Helia node
15
15
 
16
16
  ## Table of contents <!-- omit in toc -->
17
17
 
@@ -29,7 +29,7 @@ $ npm i @helia/json
29
29
 
30
30
  ### Browser `<script>` tag
31
31
 
32
- Loading this module through a script tag will make it's exports available as `HeliaStrings` in the global namespace.
32
+ Loading this module through a script tag will make it's exports available as `HeliaJson` in the global namespace.
33
33
 
34
34
  ```html
35
35
  <script src="https://unpkg.com/@helia/json/dist/index.min.js"></script>
@@ -37,7 +37,7 @@ Loading this module through a script tag will make it's exports available as `He
37
37
 
38
38
  ## API Docs
39
39
 
40
- - <https://ipfs.github.io/helia-json/modules/_helia_strings.html>
40
+ - <https://ipfs.github.io/helia-json/modules/_helia_json.html>
41
41
 
42
42
  ## License
43
43
 
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * @packageDocumentation
3
3
  *
4
- * `@helia/json` makes working with strings {@link https://github.com/ipfs/helia Helia} simple & straightforward.
4
+ * `@helia/json` makes working with JSON in {@link https://github.com/ipfs/helia Helia} simple & straightforward.
5
5
  *
6
- * See the {@link Strings Strings interface} for all available operations.
6
+ * See the {@link JSON JSON interface} for all available operations.
7
7
  *
8
8
  * @example
9
9
  *
package/dist/src/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * @packageDocumentation
3
3
  *
4
- * `@helia/json` makes working with strings {@link https://github.com/ipfs/helia Helia} simple & straightforward.
4
+ * `@helia/json` makes working with JSON in {@link https://github.com/ipfs/helia Helia} simple & straightforward.
5
5
  *
6
- * See the {@link Strings Strings interface} for all available operations.
6
+ * See the {@link JSON JSON interface} for all available operations.
7
7
  *
8
8
  * @example
9
9
  *
@@ -0,0 +1,7 @@
1
+ {
2
+ "AddOptions": "https://ipfs.github.io/helia-json/interfaces/AddOptions.html",
3
+ "GetOptions": "https://ipfs.github.io/helia-json/interfaces/GetOptions.html",
4
+ "JSON": "https://ipfs.github.io/helia-json/interfaces/JSON.html",
5
+ "JSONComponents": "https://ipfs.github.io/helia-json/interfaces/JSONComponents.html",
6
+ "json": "https://ipfs.github.io/helia-json/functions/json-1.html"
7
+ }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@helia/json",
3
- "version": "0.0.0",
3
+ "version": "1.0.0",
4
4
  "description": "Add/get IPLD blocks containing json with your Helia node",
5
5
  "license": "Apache-2.0 OR MIT",
6
- "homepage": "https://github.com/ipfs/helia-json/tree/master/packages/strings#readme",
6
+ "homepage": "https://github.com/ipfs/helia-json/tree/master/packages/json#readme",
7
7
  "repository": {
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/ipfs/helia-json.git"
@@ -143,8 +143,7 @@
143
143
  "@libp2p/interfaces": "^3.3.1",
144
144
  "interface-blockstore": "^5.0.0",
145
145
  "multiformats": "^11.0.1",
146
- "progress-events": "^1.0.0",
147
- "uint8arrays": "^4.0.3"
146
+ "progress-events": "^1.0.0"
148
147
  },
149
148
  "devDependencies": {
150
149
  "aegir": "^39.0.3",
package/src/index.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * @packageDocumentation
3
3
  *
4
- * `@helia/json` makes working with strings {@link https://github.com/ipfs/helia Helia} simple & straightforward.
4
+ * `@helia/json` makes working with JSON in {@link https://github.com/ipfs/helia Helia} simple & straightforward.
5
5
  *
6
- * See the {@link Strings Strings interface} for all available operations.
6
+ * See the {@link JSON JSON interface} for all available operations.
7
7
  *
8
8
  * @example
9
9
  *