@capacitor/text-zoom
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -6,2 +6,13 @@ # Change Log | ||
## [1.0.7](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/text-zoom@1.0.6...@capacitor/text-zoom@1.0.7) (2022-01-10) | ||
### Bug Fixes | ||
* **text-zoom:** Lazy load iOS implementation ([#735](https://github.com/ionic-team/capacitor-plugins/issues/735)) ([5039a74](https://github.com/ionic-team/capacitor-plugins/commit/5039a747efa2bc36674c70bdd9dae4439165ab4d)) | ||
## [1.0.6](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/text-zoom@1.0.5...@capacitor/text-zoom@1.0.6) (2021-11-03) | ||
@@ -8,0 +19,0 @@ |
import { registerPlugin } from '@capacitor/core'; | ||
const TextZoom = registerPlugin('TextZoom', { | ||
ios: import('./ios').then(m => new m.TextZoomIOS()), | ||
ios: () => import('./ios').then(m => new m.TextZoomIOS()), | ||
}); | ||
@@ -5,0 +5,0 @@ export * from './definitions'; |
@@ -8,3 +8,3 @@ 'use strict'; | ||
const TextZoom = core.registerPlugin('TextZoom', { | ||
ios: Promise.resolve().then(function () { return ios; }).then(m => new m.TextZoomIOS()), | ||
ios: () => Promise.resolve().then(function () { return ios; }).then(m => new m.TextZoomIOS()), | ||
}); | ||
@@ -11,0 +11,0 @@ |
@@ -5,3 +5,3 @@ var capacitorTextZoom = (function (exports, core) { | ||
const TextZoom = core.registerPlugin('TextZoom', { | ||
ios: Promise.resolve().then(function () { return ios; }).then(m => new m.TextZoomIOS()), | ||
ios: () => Promise.resolve().then(function () { return ios; }).then(m => new m.TextZoomIOS()), | ||
}); | ||
@@ -8,0 +8,0 @@ |
{ | ||
"name": "@capacitor/text-zoom", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "The Text Zoom API provides the ability to change Web View text size for visual accessibility.", | ||
@@ -82,3 +82,3 @@ "main": "dist/plugin.cjs.js", | ||
}, | ||
"gitHead": "64df93225736e9dfad336562f5e53e5a2243052b" | ||
"gitHead": "e5b333320426ee120d4504c68c02bd5538b21c51" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
38769