@ethersphere/bee-js 3.3.1 → 3.3.2-pre.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.
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.normalizeToReadableStream = exports.readableWebToNode = exports.readableNodeToWeb = exports.isNodeReadable = exports.isReadableStream = exports.isReadable = void 0;
4
4
  const stream_1 = require("stream");
5
5
  const type_1 = require("./type");
6
- const ponyfill_js_1 = require("web-streams-polyfill/dist/ponyfill.js");
6
+ const web_streams_polyfill_1 = require("web-streams-polyfill");
7
7
  const NodeReadable = stream_1.Readable || class {
8
8
  };
9
9
  /**
@@ -53,7 +53,7 @@ exports.isNodeReadable = isNodeReadable;
53
53
  * @param nodeStream
54
54
  */
55
55
  function readableNodeToWeb(nodeStream) {
56
- return new ponyfill_js_1.ReadableStream({
56
+ return new web_streams_polyfill_1.ReadableStream({
57
57
  start(controller) {
58
58
  nodeStream.pause();
59
59
  nodeStream.on('data', chunk => {