screenshotone-api-sdk 1.0.32 → 1.0.33
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/@types/main.d.ts +4 -0
- package/dist/main.js +7 -0
- package/package.json +1 -1
- package/src/main.ts +9 -0
package/dist/@types/main.d.ts
CHANGED
|
@@ -459,6 +459,10 @@ export declare class AnimateOptions {
|
|
|
459
459
|
* "font", "script", "texttrack", "xhr", "fetch", "eventsource", "websocket", "manifest", "other".
|
|
460
460
|
*/
|
|
461
461
|
blockResources(...blockResources: string[]): AnimateOptions;
|
|
462
|
+
/**
|
|
463
|
+
* Blocks banners by heuristics.
|
|
464
|
+
*/
|
|
465
|
+
blockBannersByHeuristics(block: boolean): AnimateOptions;
|
|
462
466
|
/**
|
|
463
467
|
* Enables caching.
|
|
464
468
|
*/
|
package/dist/main.js
CHANGED
|
@@ -841,6 +841,13 @@ class AnimateOptions {
|
|
|
841
841
|
this.put("block_resources", ...blockResources);
|
|
842
842
|
return this;
|
|
843
843
|
}
|
|
844
|
+
/**
|
|
845
|
+
* Blocks banners by heuristics.
|
|
846
|
+
*/
|
|
847
|
+
blockBannersByHeuristics(block) {
|
|
848
|
+
this.put("block_banners_by_heuristics", block ? "true" : "false");
|
|
849
|
+
return this;
|
|
850
|
+
}
|
|
844
851
|
/**
|
|
845
852
|
* Enables caching.
|
|
846
853
|
*/
|
package/package.json
CHANGED
package/src/main.ts
CHANGED
|
@@ -1017,6 +1017,15 @@ export class AnimateOptions {
|
|
|
1017
1017
|
return this;
|
|
1018
1018
|
}
|
|
1019
1019
|
|
|
1020
|
+
/**
|
|
1021
|
+
* Blocks banners by heuristics.
|
|
1022
|
+
*/
|
|
1023
|
+
blockBannersByHeuristics(block: boolean): AnimateOptions {
|
|
1024
|
+
this.put("block_banners_by_heuristics", block ? "true" : "false");
|
|
1025
|
+
|
|
1026
|
+
return this;
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1020
1029
|
/**
|
|
1021
1030
|
* Enables caching.
|
|
1022
1031
|
*/
|