@tarojs/runtime 4.1.7-beta.0 → 4.1.7-beta.2
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/bom/raf.d.ts +1 -1
- package/dist/bom/window.d.ts +2 -2
- package/dist/index.cjs.d.ts +3 -3
- package/dist/runtime.esm.d.ts +3 -3
- package/package.json +2 -2
package/dist/bom/raf.d.ts
CHANGED
package/dist/bom/window.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { TaroLocation } from './location.js';
|
|
|
6
6
|
|
|
7
7
|
declare class TaroWindow extends Events {
|
|
8
8
|
navigator: Navigator;
|
|
9
|
-
requestAnimationFrame: typeof requestAnimationFrame
|
|
9
|
+
requestAnimationFrame: typeof requestAnimationFrame;
|
|
10
10
|
cancelAnimationFrame: typeof cancelAnimationFrame;
|
|
11
11
|
getComputedStyle: TGetComputedStyle;
|
|
12
12
|
Date: DateConstructor;
|
|
@@ -18,7 +18,7 @@ declare class TaroWindow extends Events {
|
|
|
18
18
|
get document(): TaroDocument;
|
|
19
19
|
addEventListener(event: string, callback: (arg: any) => void): void;
|
|
20
20
|
removeEventListener(event: string, callback: (arg: any) => void): void;
|
|
21
|
-
setTimeout(...args: Parameters<typeof setTimeout>):
|
|
21
|
+
setTimeout(...args: Parameters<typeof setTimeout>): number;
|
|
22
22
|
clearTimeout(...args: Parameters<typeof clearTimeout>): void;
|
|
23
23
|
}
|
|
24
24
|
|
package/dist/index.cjs.d.ts
CHANGED
|
@@ -511,7 +511,7 @@ declare const History: typeof TaroHistory;
|
|
|
511
511
|
declare const nav: typeof window.navigator;
|
|
512
512
|
|
|
513
513
|
declare let now: () => number;
|
|
514
|
-
declare const _raf: typeof requestAnimationFrame
|
|
514
|
+
declare const _raf: typeof requestAnimationFrame;
|
|
515
515
|
declare const _caf: typeof cancelAnimationFrame;
|
|
516
516
|
|
|
517
517
|
declare class TaroURL {
|
|
@@ -570,7 +570,7 @@ declare const URLSearchParams$1: any;
|
|
|
570
570
|
|
|
571
571
|
declare class TaroWindow extends Events {
|
|
572
572
|
navigator: Navigator;
|
|
573
|
-
requestAnimationFrame: typeof requestAnimationFrame
|
|
573
|
+
requestAnimationFrame: typeof requestAnimationFrame;
|
|
574
574
|
cancelAnimationFrame: typeof cancelAnimationFrame;
|
|
575
575
|
getComputedStyle: TGetComputedStyle;
|
|
576
576
|
Date: DateConstructor;
|
|
@@ -582,7 +582,7 @@ declare class TaroWindow extends Events {
|
|
|
582
582
|
get document(): TaroDocument;
|
|
583
583
|
addEventListener(event: string, callback: (arg: any) => void): void;
|
|
584
584
|
removeEventListener(event: string, callback: (arg: any) => void): void;
|
|
585
|
-
setTimeout(...args: Parameters<typeof setTimeout>):
|
|
585
|
+
setTimeout(...args: Parameters<typeof setTimeout>): number;
|
|
586
586
|
clearTimeout(...args: Parameters<typeof clearTimeout>): void;
|
|
587
587
|
}
|
|
588
588
|
|
package/dist/runtime.esm.d.ts
CHANGED
|
@@ -511,7 +511,7 @@ declare const History: typeof TaroHistory;
|
|
|
511
511
|
declare const nav: typeof window.navigator;
|
|
512
512
|
|
|
513
513
|
declare let now: () => number;
|
|
514
|
-
declare const _raf: typeof requestAnimationFrame
|
|
514
|
+
declare const _raf: typeof requestAnimationFrame;
|
|
515
515
|
declare const _caf: typeof cancelAnimationFrame;
|
|
516
516
|
|
|
517
517
|
declare class TaroURL {
|
|
@@ -570,7 +570,7 @@ declare const URLSearchParams$1: any;
|
|
|
570
570
|
|
|
571
571
|
declare class TaroWindow extends Events {
|
|
572
572
|
navigator: Navigator;
|
|
573
|
-
requestAnimationFrame: typeof requestAnimationFrame
|
|
573
|
+
requestAnimationFrame: typeof requestAnimationFrame;
|
|
574
574
|
cancelAnimationFrame: typeof cancelAnimationFrame;
|
|
575
575
|
getComputedStyle: TGetComputedStyle;
|
|
576
576
|
Date: DateConstructor;
|
|
@@ -582,7 +582,7 @@ declare class TaroWindow extends Events {
|
|
|
582
582
|
get document(): TaroDocument;
|
|
583
583
|
addEventListener(event: string, callback: (arg: any) => void): void;
|
|
584
584
|
removeEventListener(event: string, callback: (arg: any) => void): void;
|
|
585
|
-
setTimeout(...args: Parameters<typeof setTimeout>):
|
|
585
|
+
setTimeout(...args: Parameters<typeof setTimeout>): number;
|
|
586
586
|
clearTimeout(...args: Parameters<typeof clearTimeout>): void;
|
|
587
587
|
}
|
|
588
588
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/runtime",
|
|
3
|
-
"version": "4.1.7-beta.
|
|
3
|
+
"version": "4.1.7-beta.2",
|
|
4
4
|
"description": "taro runtime for mini apps.",
|
|
5
5
|
"author": "O2Team",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"tslib": "^2.6.2",
|
|
27
|
-
"@tarojs/shared": "4.1.7-beta.
|
|
27
|
+
"@tarojs/shared": "4.1.7-beta.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@rollup/plugin-typescript": "^12.1.2",
|