@pkcprotocol/pkc-js 0.0.137 → 0.0.139

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.
Files changed (64) hide show
  1. package/README.md +1 -1
  2. package/dist/browser/generated-version.d.ts +1 -1
  3. package/dist/browser/generated-version.js +1 -1
  4. package/dist/browser/helia/dial-address-sorter.d.ts +2 -0
  5. package/dist/browser/helia/dial-address-sorter.js +52 -0
  6. package/dist/browser/helia/dial-address-sorter.js.map +1 -0
  7. package/dist/browser/helia/dial-transport-filter.d.ts +1 -1
  8. package/dist/browser/helia/dial-transport-filter.js +12 -11
  9. package/dist/browser/helia/dial-transport-filter.js.map +1 -1
  10. package/dist/browser/helia/helia-for-pkc.js +11 -3
  11. package/dist/browser/helia/helia-for-pkc.js.map +1 -1
  12. package/dist/browser/helia/util.d.ts +3 -0
  13. package/dist/browser/helia/util.js +169 -55
  14. package/dist/browser/helia/util.js.map +1 -1
  15. package/dist/browser/runtime/browser/libp2p-extra-transports.js +7 -1
  16. package/dist/browser/runtime/browser/libp2p-extra-transports.js.map +1 -1
  17. package/dist/browser/runtime/browser/webtransport-close-shim.d.ts +24 -0
  18. package/dist/browser/runtime/browser/webtransport-close-shim.js +65 -0
  19. package/dist/browser/runtime/browser/webtransport-close-shim.js.map +1 -0
  20. package/dist/browser/runtime/node/community/local-community/reprovide-on-address-change.d.ts +1 -1
  21. package/dist/browser/runtime/node/community/local-community/reprovide-on-address-change.js +5 -4
  22. package/dist/browser/runtime/node/community/local-community/reprovide-on-address-change.js.map +1 -1
  23. package/dist/browser/runtime/node/webtransport-close-shim.d.ts +4 -0
  24. package/dist/browser/runtime/node/webtransport-close-shim.js +7 -0
  25. package/dist/browser/runtime/node/webtransport-close-shim.js.map +1 -0
  26. package/dist/bundled/bundle-manifest.json +50 -46
  27. package/dist/bundled/challenges.js +1 -1
  28. package/dist/bundled/chunks/{helia-for-pkc-DrE9AZtp.js → helia-for-pkc-BMBtT7DB.js} +36 -7
  29. package/dist/bundled/chunks/{local-community-BhrCFCCl.js → local-community-CSWgaxEt.js} +5 -5
  30. package/dist/bundled/chunks/{local-community-D4m4-sUw.js → local-community-RIN0Z7q2.js} +1 -1
  31. package/dist/bundled/chunks/{node-CULFO_M2.js → node-CihSjqhR.js} +5 -5
  32. package/dist/bundled/chunks/{page-sort-scoring-CMIhwYqH.js → page-sort-scoring-Bucpz9yB.js} +1 -1
  33. package/dist/bundled/chunks/{rpc-local-community-vvW_Lvzi.js → rpc-local-community-BlTVEaqK.js} +2 -2
  34. package/dist/bundled/chunks/{util-RG3tBF0u.js → util-DQa6r4A1.js} +102 -36
  35. package/dist/bundled/chunks/{util-B4ZXn1pD.js → util-wWWETB7o.js} +1 -1
  36. package/dist/bundled/chunks/{validate-package-factories-C3PC9lVi.js → validate-package-factories-DehsRCnw.js} +2 -2
  37. package/dist/bundled/index.js +1 -1
  38. package/dist/bundled/page-sorts.js +1 -1
  39. package/dist/bundled/rpc/src/index.js +4 -4
  40. package/dist/node/generated-version.d.ts +1 -1
  41. package/dist/node/generated-version.js +1 -1
  42. package/dist/node/helia/dial-address-sorter.d.ts +2 -0
  43. package/dist/node/helia/dial-address-sorter.js +52 -0
  44. package/dist/node/helia/dial-address-sorter.js.map +1 -0
  45. package/dist/node/helia/dial-transport-filter.d.ts +1 -1
  46. package/dist/node/helia/dial-transport-filter.js +12 -11
  47. package/dist/node/helia/dial-transport-filter.js.map +1 -1
  48. package/dist/node/helia/helia-for-pkc.js +11 -3
  49. package/dist/node/helia/helia-for-pkc.js.map +1 -1
  50. package/dist/node/helia/util.d.ts +3 -0
  51. package/dist/node/helia/util.js +169 -55
  52. package/dist/node/helia/util.js.map +1 -1
  53. package/dist/node/runtime/browser/libp2p-extra-transports.js +7 -1
  54. package/dist/node/runtime/browser/libp2p-extra-transports.js.map +1 -1
  55. package/dist/node/runtime/browser/webtransport-close-shim.d.ts +24 -0
  56. package/dist/node/runtime/browser/webtransport-close-shim.js +65 -0
  57. package/dist/node/runtime/browser/webtransport-close-shim.js.map +1 -0
  58. package/dist/node/runtime/node/community/local-community/reprovide-on-address-change.d.ts +1 -1
  59. package/dist/node/runtime/node/community/local-community/reprovide-on-address-change.js +5 -4
  60. package/dist/node/runtime/node/community/local-community/reprovide-on-address-change.js.map +1 -1
  61. package/dist/node/runtime/node/webtransport-close-shim.d.ts +4 -0
  62. package/dist/node/runtime/node/webtransport-close-shim.js +7 -0
  63. package/dist/node/runtime/node/webtransport-close-shim.js.map +1 -0
  64. package/package.json +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pkcprotocol/pkc-js",
3
- "version": "0.0.137",
3
+ "version": "0.0.139",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "prebuild": "node config/generate-version.js",
@@ -86,6 +86,8 @@
86
86
  "@libp2p/identify": "4.1.18",
87
87
  "@libp2p/interface": "3.4.0",
88
88
  "@libp2p/peer-id": "6.0.18",
89
+ "@libp2p/utils": "7.4.5",
90
+ "@libp2p/webtransport": "6.0.44",
89
91
  "@multiformats/multiaddr": "13.0.3",
90
92
  "@noble/curves": "2.2.0",
91
93
  "@pkcprotocol/pkc-logger": "0.1.0",