@helia/strings 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
@@ -57,7 +57,7 @@ $ npm i @helia/strings
57
57
 
58
58
  ## Browser `<script>` tag
59
59
 
60
- Loading this module through a script tag will make it's exports available as `HeliaStrings` in the global namespace.
60
+ Loading this module through a script tag will make its exports available as `HeliaStrings` in the global namespace.
61
61
 
62
62
  ```html
63
63
  <script src="https://unpkg.com/@helia/strings/dist/index.min.js"></script>
@@ -22,7 +22,7 @@
22
22
  */
23
23
  import { CID } from 'multiformats/cid';
24
24
  import type { GetBlockProgressEvents, PutBlockProgressEvents } from '@helia/interface/blocks';
25
- import type { AbortOptions } from '@libp2p/interfaces';
25
+ import type { AbortOptions } from '@libp2p/interface';
26
26
  import type { Blockstore } from 'interface-blockstore';
27
27
  import type { BlockCodec } from 'multiformats/codecs/interface';
28
28
  import type { MultihashHasher } from 'multiformats/hashes/interface';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAKtC,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,iBAAiB;IAChC,UAAU,EAAE,UAAU,CAAA;CACvB;AAED,MAAM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AAE,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,EAAE,eAAe,CAAA;IACvB,KAAK,EAAE,UAAU,CAAC,GAAG,EAAE,OAAO,CAAC,CAAA;CAChC;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,OAAO;IACtB;;;;;;;;;;;;;;;OAeG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,CAAA;IAE7D;;;;;;;;;;;;;;;;;OAiBG;IACH,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;CAC9D;AA2BD;;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/strings",
3
- "version": "3.0.4",
3
+ "version": "3.0.5-e567717",
4
4
  "description": "Add/get IPLD blocks containing strings with your Helia node",
5
5
  "license": "Apache-2.0 OR MIT",
6
6
  "homepage": "https://github.com/ipfs/helia/tree/main/packages/strings#readme",
@@ -141,15 +141,15 @@
141
141
  "release": "aegir release"
142
142
  },
143
143
  "dependencies": {
144
- "@helia/interface": "^4.3.0",
145
- "@libp2p/interfaces": "^3.3.2",
144
+ "@helia/interface": "4.3.1-e567717",
145
+ "@libp2p/interface": "^1.1.4",
146
146
  "interface-blockstore": "^5.2.10",
147
147
  "multiformats": "^13.1.0",
148
148
  "progress-events": "^1.0.0",
149
149
  "uint8arrays": "^5.0.2"
150
150
  },
151
151
  "devDependencies": {
152
- "aegir": "^42.2.5",
152
+ "aegir": "^44.0.1",
153
153
  "blockstore-core": "^4.4.0"
154
154
  },
155
155
  "sideEffects": false
package/src/index.ts CHANGED
@@ -27,7 +27,7 @@ import { sha256 } from 'multiformats/hashes/sha2'
27
27
  import { fromString as uint8ArrayFromString } from 'uint8arrays/from-string'
28
28
  import { toString as uint8ArrayToString } from 'uint8arrays/to-string'
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_strings.AddOptions.html",
3
- ".:AddOptions": "https://ipfs.github.io/helia/interfaces/_helia_strings.AddOptions.html",
4
- "GetOptions": "https://ipfs.github.io/helia/interfaces/_helia_strings.GetOptions.html",
5
- ".:GetOptions": "https://ipfs.github.io/helia/interfaces/_helia_strings.GetOptions.html",
6
- "Strings": "https://ipfs.github.io/helia/interfaces/_helia_strings.Strings.html",
7
- ".:Strings": "https://ipfs.github.io/helia/interfaces/_helia_strings.Strings.html",
8
- "StringsComponents": "https://ipfs.github.io/helia/interfaces/_helia_strings.StringsComponents.html",
9
- ".:StringsComponents": "https://ipfs.github.io/helia/interfaces/_helia_strings.StringsComponents.html",
10
- "strings": "https://ipfs.github.io/helia/functions/_helia_strings.strings-1.html",
11
- ".:strings": "https://ipfs.github.io/helia/functions/_helia_strings.strings-1.html"
12
- }