@capawesome/capacitor-screen-orientation
Advanced tools
Comparing version 5.0.1 to 6.0.0
@@ -50,3 +50,3 @@ { | ||
"name": "addListener", | ||
"signature": "(eventName: 'screenOrientationChange', listenerFunc: ScreenOrientationChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle", | ||
"signature": "(eventName: 'screenOrientationChange', listenerFunc: ScreenOrientationChangeListener) => Promise<PluginListenerHandle>", | ||
"parameters": [ | ||
@@ -64,3 +64,3 @@ { | ||
], | ||
"returns": "Promise<PluginListenerHandle> & PluginListenerHandle", | ||
"returns": "Promise<PluginListenerHandle>", | ||
"tags": [], | ||
@@ -67,0 +67,0 @@ "docs": "Listen for screen orientation changes.", |
@@ -18,3 +18,3 @@ import type { PluginListenerHandle } from '@capacitor/core'; | ||
*/ | ||
addListener(eventName: 'screenOrientationChange', listenerFunc: ScreenOrientationChangeListener): Promise<PluginListenerHandle> & PluginListenerHandle; | ||
addListener(eventName: 'screenOrientationChange', listenerFunc: ScreenOrientationChangeListener): Promise<PluginListenerHandle>; | ||
/** | ||
@@ -21,0 +21,0 @@ * Remove all listeners for this plugin. |
{ | ||
"name": "@capawesome/capacitor-screen-orientation", | ||
"version": "5.0.1", | ||
"version": "6.0.0", | ||
"description": "Capacitor plugin to lock/unlock the screen orientation.", | ||
@@ -55,10 +55,11 @@ "main": "dist/plugin.cjs.js", | ||
"watch": "tsc --watch", | ||
"ios:pod:install": "cd ios && pod install --repo-update && cd ..", | ||
"prepublishOnly": "npm run build" | ||
}, | ||
"devDependencies": { | ||
"@capacitor/android": "5.0.0", | ||
"@capacitor/cli": "5.0.0", | ||
"@capacitor/core": "5.0.0", | ||
"@capacitor/android": "6.0.0", | ||
"@capacitor/cli": "6.0.0", | ||
"@capacitor/core": "6.0.0", | ||
"@capacitor/docgen": "0.2.0", | ||
"@capacitor/ios": "5.0.0", | ||
"@capacitor/ios": "6.0.0", | ||
"@ionic/eslint-config": "0.3.0", | ||
@@ -75,3 +76,3 @@ "@ionic/swiftlint-config": "1.1.2", | ||
"peerDependencies": { | ||
"@capacitor/core": "^5.0.0" | ||
"@capacitor/core": "^6.0.0" | ||
}, | ||
@@ -78,0 +79,0 @@ "swiftlint": "@ionic/swiftlint-config", |
@@ -114,3 +114,3 @@ # @capawesome/capacitor-screen-orientation | ||
```typescript | ||
addListener(eventName: 'screenOrientationChange', listenerFunc: ScreenOrientationChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle | ||
addListener(eventName: 'screenOrientationChange', listenerFunc: ScreenOrientationChangeListener) => Promise<PluginListenerHandle> | ||
``` | ||
@@ -125,3 +125,3 @@ | ||
**Returns:** <code>Promise<<a href="#pluginlistenerhandle">PluginListenerHandle</a>> & <a href="#pluginlistenerhandle">PluginListenerHandle</a></code> | ||
**Returns:** <code>Promise<<a href="#pluginlistenerhandle">PluginListenerHandle</a>></code> | ||
@@ -128,0 +128,0 @@ -------------------- |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64822