Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@capacitor/core

Package Overview
Dependencies
Maintainers
5
Versions
876
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@capacitor/core - npm Package Compare versions

Comparing version 0.0.11 to 0.0.16

29

dist/esm/core-plugin-definitions.d.ts

@@ -102,3 +102,3 @@ import { Plugin, PluginListenerHandle } from './definitions';

*/
addListener(eventName: 'appRestoredResult', listenerFunc: (err: any, data: any) => void): PluginListenerHandle;
addListener(eventName: 'appRestoredResult', listenerFunc: (err: any, data: AppRestoredResult) => void): PluginListenerHandle;
}

@@ -109,4 +109,16 @@ export interface AppState {

export interface AppUrlOpen {
/**
* The URL the app was opened with
*/
url: string;
/**
* The source application opening the app (iOS only)
* https://developer.apple.com/documentation/uikit/uiapplicationopenurloptionskey/1623128-sourceapplication
*/
iosSourceApplication?: any;
/**
* Whether the app should open the passed document in-place
* or must copy it first.
* https://developer.apple.com/documentation/uikit/uiapplicationopenurloptionskey/1623123-openinplace
*/
iosOpenInPlace?: boolean;

@@ -117,2 +129,17 @@ }

}
export interface AppRestoredResult {
/**
* The pluginId this result corresponds to. For example, `Camera`.
*/
pluginId: string;
/**
* The methodName this result corresponds to. For example, `getPhoto`
*/
methodName: string;
/**
* The result data passed from the plugin. This would be the result you'd
* expect from normally calling the plugin method. For example, `CameraPhoto`
*/
data: any;
}
export interface BrowserPlugin extends Plugin {

@@ -119,0 +146,0 @@ /**

2

package.json
{
"name": "@capacitor/core",
"version": "0.0.11",
"version": "0.0.16",
"description": "Cordova: cross-platform mobile apps with the web",

@@ -5,0 +5,0 @@ "homepage": "http://getcapacitor.com/",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc