@capacitor/core 3.5.0 → 3.5.1
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/CHANGELOG.md +11 -0
- package/cordova.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.5.1](https://github.com/ionic-team/capacitor/compare/3.5.0...3.5.1) (2022-05-04)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **core:** Make cordova bridge use Promise instead of setTimeout ([#5586](https://github.com/ionic-team/capacitor/issues/5586)) ([f35d96b](https://github.com/ionic-team/capacitor/commit/f35d96b185f5890600a64b78e6bf939c336cbb2d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.5.0](https://github.com/ionic-team/capacitor/compare/3.4.3...3.5.0) (2022-04-22)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @capacitor/core
|
package/cordova.js
CHANGED
|
@@ -1116,7 +1116,7 @@
|
|
|
1116
1116
|
) {
|
|
1117
1117
|
var success = status === 0 || status === 1;
|
|
1118
1118
|
var args = convertMessageToArgsNativeToJs(message);
|
|
1119
|
-
|
|
1119
|
+
Promise.resolve().then(function () {
|
|
1120
1120
|
cordova.callbackFromNative(
|
|
1121
1121
|
callbackId,
|
|
1122
1122
|
success,
|
|
@@ -1124,7 +1124,7 @@
|
|
|
1124
1124
|
args,
|
|
1125
1125
|
keepCallback,
|
|
1126
1126
|
); // eslint-disable-line
|
|
1127
|
-
}
|
|
1127
|
+
});
|
|
1128
1128
|
};
|
|
1129
1129
|
|
|
1130
1130
|
// for backwards compatibility
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/core",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.1",
|
|
4
4
|
"description": "Capacitor: Cross-platform apps with JavaScript and the web",
|
|
5
5
|
"homepage": "https://capacitorjs.com",
|
|
6
6
|
"author": "Ionic Team <hi@ionic.io> (https://ionic.io)",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"publishConfig": {
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "009064dbf01cbc5900bbc16053b6d7535ad4c2b4"
|
|
55
55
|
}
|