@wowlabtech/mini-app-adapter 0.2.6 → 0.2.7
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/index.cjs +0 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +0 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1966,10 +1966,6 @@ var VKMiniAppAdapter = class extends BaseMiniAppAdapter {
|
|
|
1966
1966
|
};
|
|
1967
1967
|
}
|
|
1968
1968
|
async openExternalLink(url) {
|
|
1969
|
-
if (!import_vk_bridge.default.isWebView()) {
|
|
1970
|
-
window.open(url, "_blank", "noopener,noreferrer");
|
|
1971
|
-
return;
|
|
1972
|
-
}
|
|
1973
1969
|
const a = document.createElement("a");
|
|
1974
1970
|
a.href = url;
|
|
1975
1971
|
a.target = "_blank";
|