@tarojs/taro-h5 3.5.0-beta.1 → 3.5.0-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.
|
@@ -21,7 +21,7 @@ const createUploadTask = ({ url, filePath, formData = {}, name, header, timeout,
|
|
|
21
21
|
callbackManager.progressUpdate.trigger({
|
|
22
22
|
progress: Math.round(loaded / total * 100),
|
|
23
23
|
totalBytesSent: loaded,
|
|
24
|
-
|
|
24
|
+
totalBytesExpectedToSend: total
|
|
25
25
|
});
|
|
26
26
|
};
|
|
27
27
|
xhr.onreadystatechange = () => {
|
package/dist/index.cjs.js
CHANGED
|
@@ -2902,7 +2902,7 @@ const createUploadTask = ({ url, filePath, formData = {}, name, header, timeout,
|
|
|
2902
2902
|
callbackManager.progressUpdate.trigger({
|
|
2903
2903
|
progress: Math.round(loaded / total * 100),
|
|
2904
2904
|
totalBytesSent: loaded,
|
|
2905
|
-
|
|
2905
|
+
totalBytesExpectedToSend: total
|
|
2906
2906
|
});
|
|
2907
2907
|
};
|
|
2908
2908
|
xhr.onreadystatechange = () => {
|
package/dist/index.esm.js
CHANGED
|
@@ -2893,7 +2893,7 @@ const createUploadTask = ({ url, filePath, formData = {}, name, header, timeout,
|
|
|
2893
2893
|
callbackManager.progressUpdate.trigger({
|
|
2894
2894
|
progress: Math.round(loaded / total * 100),
|
|
2895
2895
|
totalBytesSent: loaded,
|
|
2896
|
-
|
|
2896
|
+
totalBytesExpectedToSend: total
|
|
2897
2897
|
});
|
|
2898
2898
|
};
|
|
2899
2899
|
xhr.onreadystatechange = () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/taro-h5",
|
|
3
|
-
"version": "3.5.0-beta.
|
|
3
|
+
"version": "3.5.0-beta.2",
|
|
4
4
|
"description": "Taro h5 framework",
|
|
5
5
|
"browser": "dist/index.esm.js",
|
|
6
6
|
"main:h5": "dist/index.js",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"author": "O2Team",
|
|
34
34
|
"license": "MIT",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@tarojs/api": "3.5.0-beta.
|
|
37
|
-
"@tarojs/router": "3.5.0-beta.
|
|
38
|
-
"@tarojs/runtime": "3.5.0-beta.
|
|
36
|
+
"@tarojs/api": "3.5.0-beta.2",
|
|
37
|
+
"@tarojs/router": "3.5.0-beta.2",
|
|
38
|
+
"@tarojs/runtime": "3.5.0-beta.2",
|
|
39
39
|
"base64-js": "^1.3.0",
|
|
40
40
|
"jsonp-retry": "^1.0.3",
|
|
41
41
|
"mobile-detect": "^1.4.2",
|
|
42
42
|
"query-string": "^7.1.1",
|
|
43
43
|
"whatwg-fetch": "^3.4.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "c85adaa45959e6cafc15e6531f4735a7dfa2aab0"
|
|
46
46
|
}
|
|
@@ -32,7 +32,7 @@ const createUploadTask = ({ url, filePath, formData = {}, name, header, timeout,
|
|
|
32
32
|
callbackManager.progressUpdate.trigger({
|
|
33
33
|
progress: Math.round(loaded / total * 100),
|
|
34
34
|
totalBytesSent: loaded,
|
|
35
|
-
|
|
35
|
+
totalBytesExpectedToSend: total
|
|
36
36
|
})
|
|
37
37
|
}
|
|
38
38
|
|