apify 4.0.0-beta.80 → 4.0.0-beta.82
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.js +1 -1
- package/package.json +1 -1
package/dist/actor.js
CHANGED
|
@@ -1254,7 +1254,7 @@ export class Actor {
|
|
|
1254
1254
|
async useState(name, defaultValue = {}, options) {
|
|
1255
1255
|
this.ensureActorInit('useState');
|
|
1256
1256
|
const kvStore = await KeyValueStore.open(options?.keyValueStoreName, {
|
|
1257
|
-
configuration: options?.configuration
|
|
1257
|
+
configuration: options?.configuration ?? this.configuration,
|
|
1258
1258
|
});
|
|
1259
1259
|
return kvStore.getAutoSavedValue(name || 'APIFY_GLOBAL_STATE', defaultValue);
|
|
1260
1260
|
}
|
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.82",
|
|
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"
|