apify 4.0.0-beta.104 → 4.0.0-beta.105
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/actor.d.ts +0 -7
- package/dist/actor.js +2 -1
- package/package.json +1 -1
package/dist/actor.d.ts
CHANGED
|
@@ -173,13 +173,6 @@ export interface ApifyEnv {
|
|
|
173
173
|
fact: string | null;
|
|
174
174
|
inputSecretsPrivateKeyFile: string | null;
|
|
175
175
|
inputSecretsPrivateKeyPassphrase: string | null;
|
|
176
|
-
/**
|
|
177
|
-
* Defines the path to a local directory where KeyValueStore, Dataset, and RequestQueue
|
|
178
|
-
* store their data. Typically, it is set to ./storage. If omitted, you should define the
|
|
179
|
-
* APIFY_TOKEN environment variable instead. See more info on combination of this and
|
|
180
|
-
* APIFY_TOKEN [here](https://docs.apify.com/sdk/js/docs/concepts/environment-variables#combinations-of-apify_local_storage_dir-and-apify_token)(CRAWLEE_STORAGE_DIR)
|
|
181
|
-
*/
|
|
182
|
-
localStorageDir: string | null;
|
|
183
176
|
/**
|
|
184
177
|
* Specifies the minimum log level, which can be one of the following values (in order of severity): DEBUG, INFO, WARNING and ERROR
|
|
185
178
|
* (APIFY_LOG_LEVEL)
|
package/dist/actor.js
CHANGED
|
@@ -25,10 +25,11 @@ import { SmartApifyStorageBackend } from './smart_apify_storage_backend.js';
|
|
|
25
25
|
import { BINARY_CONTENT_TYPE, checkCrawleeVersion, getSystemInfo, isNonEmptyObject, JSON_CONTENT_TYPE, parseInputValue, snakeCaseToCamelCase, } from './utils.js';
|
|
26
26
|
// `@apify/consts` has no boolean counterpart to `INTEGER_ENV_VARS`.
|
|
27
27
|
const BOOLEAN_ENV_VARS = [APIFY_ENV_VARS.USER_IS_PAYING];
|
|
28
|
-
// Still listed in `@apify/consts`, but
|
|
28
|
+
// Still listed in `@apify/consts`, but not read by the SDK.
|
|
29
29
|
const IGNORED_ENV_VARS = [
|
|
30
30
|
APIFY_ENV_VARS.DISABLE_OUTDATED_WARNING,
|
|
31
31
|
APIFY_ENV_VARS.SDK_LATEST_VERSION,
|
|
32
|
+
APIFY_ENV_VARS.LOCAL_STORAGE_DIR,
|
|
32
33
|
];
|
|
33
34
|
/**
|
|
34
35
|
* {@link parseInputValue} with the parser error wrapped as an {@link ActorInputError}, so a malformed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apify",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.105",
|
|
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": ">=22.13.0"
|