apify-client 3.0.0-beta.114 → 3.0.0-beta.115

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/dist/utils.js CHANGED
@@ -246,6 +246,12 @@ export function isBlob(value) {
246
246
  function isTagged(value, tag) {
247
247
  return Object.prototype.toString.call(value) === `[object ${tag}]`;
248
248
  }
249
+ /**
250
+ * Whether a value is a web `ReadableStream`, which is what the callers get for a streamed response.
251
+ */
252
+ export function isWebStream(value) {
253
+ return isTagged(value, 'ReadableStream');
254
+ }
249
255
  export function isStream(value) {
250
256
  if (value === null || typeof value !== 'object')
251
257
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apify-client",
3
- "version": "3.0.0-beta.114",
3
+ "version": "3.0.0-beta.115",
4
4
  "description": "Apify API client for JavaScript",
5
5
  "engines": {
6
6
  "node": ">=22.15.0"