apify 3.2.2-beta.1 → 3.2.3-beta.1
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/.turbo/turbo-build.log
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
|
|
2
|
-
> apify@3.2.
|
|
2
|
+
> apify@3.2.2 build
|
|
3
3
|
> npm run clean && npm run compile && npm run copy && npm run fixApifyExport
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> apify@3.2.
|
|
6
|
+
> apify@3.2.2 clean
|
|
7
7
|
> rimraf ./dist
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
> apify@3.2.
|
|
10
|
+
> apify@3.2.2 compile
|
|
11
11
|
> tsc -p tsconfig.build.json && gen-esm-wrapper ./dist/index.js ./dist/index.mjs
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
> apify@3.2.
|
|
14
|
+
> apify@3.2.2 copy
|
|
15
15
|
> tsx ../../scripts/copy.ts --readme=local
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
> apify@3.2.
|
|
18
|
+
> apify@3.2.2 fixApifyExport
|
|
19
19
|
> tsx ../../scripts/temp_fix_apify_exports.ts
|
|
20
20
|
|
package/.turbo/turbo-copy.log
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key_value_store.d.ts","sourceRoot":"","sources":["../src/key_value_store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"key_value_store.d.ts","sourceRoot":"","sources":["../src/key_value_store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,aAAa,IAAI,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAOnE;;GAEG;AACH,qBAAa,aAAc,SAAQ,iBAAiB;IAChD;;;OAGG;IACH,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM;IAQjC;;OAEG;WACmB,IAAI,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,GAAE,qBAA0B,GAAG,OAAO,CAAC,aAAa,CAAC;CAGzH"}
|
package/dist/key_value_store.js
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.KeyValueStore = void 0;
|
|
4
4
|
const core_1 = require("@crawlee/core");
|
|
5
|
+
// @ts-ignore newer crawlee versions already declare this method in core
|
|
6
|
+
const { getPublicUrl } = core_1.KeyValueStore.prototype;
|
|
5
7
|
/**
|
|
6
8
|
* @inheritDoc
|
|
7
9
|
*/
|
|
@@ -11,6 +13,9 @@ class KeyValueStore extends core_1.KeyValueStore {
|
|
|
11
13
|
* access the value in the remote key-value store.
|
|
12
14
|
*/
|
|
13
15
|
getPublicUrl(key) {
|
|
16
|
+
if (!this.config.get('isAtHome') && getPublicUrl) {
|
|
17
|
+
return getPublicUrl.call(this, key);
|
|
18
|
+
}
|
|
14
19
|
return `https://api.apify.com/v2/key-value-stores/${this.id}/records/${key}`;
|
|
15
20
|
}
|
|
16
21
|
/**
|
|
@@ -21,6 +26,6 @@ class KeyValueStore extends core_1.KeyValueStore {
|
|
|
21
26
|
}
|
|
22
27
|
}
|
|
23
28
|
exports.KeyValueStore = KeyValueStore;
|
|
24
|
-
// @ts-
|
|
29
|
+
// @ts-ignore newer crawlee versions already declare this method in core
|
|
25
30
|
core_1.KeyValueStore.prototype.getPublicUrl = KeyValueStore.prototype.getPublicUrl;
|
|
26
31
|
//# sourceMappingURL=key_value_store.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"key_value_store.js","sourceRoot":"","sources":["../src/key_value_store.ts"],"names":[],"mappings":";;;AACA,wCAAmE;
|
|
1
|
+
{"version":3,"file":"key_value_store.js","sourceRoot":"","sources":["../src/key_value_store.ts"],"names":[],"mappings":";;;AACA,wCAAmE;AAInE,wEAAwE;AACxE,MAAM,EAAE,YAAY,EAAE,GAAG,oBAAiB,CAAC,SAAS,CAAC;AAErD;;GAEG;AACH,MAAa,aAAc,SAAQ,oBAAiB;IAChD;;;OAGG;IACH,YAAY,CAAC,GAAW;QACpB,IAAI,CAAE,IAAI,CAAC,MAAwB,CAAC,GAAG,CAAC,UAAU,CAAC,IAAI,YAAY,EAAE,CAAC;YAClE,OAAO,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;QACxC,CAAC;QAED,OAAO,6CAA6C,IAAI,CAAC,EAAE,YAAY,GAAG,EAAE,CAAC;IACjF,CAAC;IAED;;OAEG;IACH,MAAM,CAAU,KAAK,CAAC,IAAI,CAAC,aAA6B,EAAE,UAAiC,EAAE;QACzF,OAAO,KAAK,CAAC,IAAI,CAAC,aAAa,EAAE,OAAO,CAA6B,CAAC;IAC1E,CAAC;CACJ;AAnBD,sCAmBC;AAED,wEAAwE;AACxE,oBAAiB,CAAC,SAAS,CAAC,YAAY,GAAG,aAAa,CAAC,SAAS,CAAC,YAAY,CAAC"}
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apify",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.3-beta.1+a4d80bbeee",
|
|
4
4
|
"description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16.0.0"
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "a4d80bbeee2fd2db145638b17757fa5f673e7452"
|
|
80
80
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apify",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.3-beta.1+a4d80bbeee",
|
|
4
4
|
"description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=16.0.0"
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "a4d80bbeee2fd2db145638b17757fa5f673e7452"
|
|
80
80
|
}
|