Skip to content

Commit 861c9e7

Browse files
committed
sdks:js-ts:chore: bump version to 0.2.2 and add note regarding AbortSignal limitations in fetch method documentation
1 parent bfaa66a commit 861c9e7

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

packages/sdks/js-ts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "deepcrawl",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "JavaScript/TypeScript SDK for DeepCrawl API - A powerful web scraping and crawling service",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",

packages/sdks/js-ts/src/deepcrawl.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,11 @@ export class DeepcrawlApp {
277277
...extractedHeaders,
278278
};
279279
},
280+
/**
281+
* @note
282+
* SDK clients CANNOT pass custom AbortSignals over HTTP (impossible to serialize)
283+
* Our timeout protection works regardless of client behavior
284+
*/
280285
fetch: async (request, init) =>
281286
fetchImpl(request, {
282287
...init,

0 commit comments

Comments
 (0)