@capacitor/app-launcher 1.0.7 → 1.0.8

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 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
+ ## [1.0.8](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/app-launcher@1.0.7...@capacitor/app-launcher@1.0.8) (2022-01-19)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * inline source code in esm map files ([#760](https://github.com/ionic-team/capacitor-plugins/issues/760)) ([a960489](https://github.com/ionic-team/capacitor-plugins/commit/a960489a19db0182b90d187a50deff9dfbe51038))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [1.0.7](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/app-launcher@1.0.6...@capacitor/app-launcher@1.0.7) (2021-11-03)
7
18
 
8
19
  **Note:** Version bump only for package @capacitor/app-launcher
@@ -43,8 +43,8 @@ android {
43
43
 
44
44
  repositories {
45
45
  google()
46
- jcenter()
47
46
  mavenCentral()
47
+ jcenter()
48
48
  }
49
49
 
50
50
 
@@ -1 +1 @@
1
- {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"definitions.js","sourceRoot":"","sources":["../../src/definitions.ts"],"names":[],"mappings":"","sourcesContent":["export interface AppLauncherPlugin {\n /**\n * Check if an app can be opened with the given URL.\n *\n * On iOS you must declare the URL schemes you pass to this method by adding\n * the `LSApplicationQueriesSchemes` key to your app's `Info.plist` file.\n * Learn more about configuring\n * [`Info.plist`](https://capacitorjs.com/docs/ios/configuration#configuring-infoplist).\n *\n * This method always returns false for undeclared schemes, whether or not an\n * appropriate app is installed. To learn more about the key, see\n * [LSApplicationQueriesSchemes](https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/LaunchServicesKeys.html#//apple_ref/doc/plist/info/LSApplicationQueriesSchemes).\n *\n * @since 1.0.0\n */\n canOpenUrl(options: CanOpenURLOptions): Promise<CanOpenURLResult>;\n\n /**\n * Open an app with the given URL.\n * On iOS the URL should be a known URLScheme.\n * On Android the URL can be a known URLScheme or an app package name.\n *\n * @since 1.0.0\n */\n openUrl(options: OpenURLOptions): Promise<OpenURLResult>;\n}\n\nexport interface CanOpenURLOptions {\n url: string;\n}\n\nexport interface CanOpenURLResult {\n value: boolean;\n}\n\nexport interface OpenURLOptions {\n url: string;\n}\n\nexport interface OpenURLResult {\n completed: boolean;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIjD,MAAM,WAAW,GAAG,cAAc,CAAoB,aAAa,EAAE;IACnE,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,cAAc,EAAE,CAAC;CAC7D,CAAC,CAAC;AAEH,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAIjD,MAAM,WAAW,GAAG,cAAc,CAAoB,aAAa,EAAE;IACnE,GAAG,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,cAAc,EAAE,CAAC;CAC7D,CAAC,CAAC;AAEH,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,WAAW,EAAE,CAAC","sourcesContent":["import { registerPlugin } from '@capacitor/core';\n\nimport type { AppLauncherPlugin } from './definitions';\n\nconst AppLauncher = registerPlugin<AppLauncherPlugin>('AppLauncher', {\n web: () => import('./web').then(m => new m.AppLauncherWeb()),\n});\n\nexport * from './definitions';\nexport { AppLauncher };\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAU5C,MAAM,OAAO,cAAe,SAAQ,SAAS;IAC3C,KAAK,CAAC,UAAU,CAAC,QAA2B;QAC1C,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACzB,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,OAAuB;QACnC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;QACnC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;IAC7B,CAAC;CACF"}
1
+ {"version":3,"file":"web.js","sourceRoot":"","sources":["../../src/web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAU5C,MAAM,OAAO,cAAe,SAAQ,SAAS;IAC3C,KAAK,CAAC,UAAU,CAAC,QAA2B;QAC1C,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;IACzB,CAAC;IAED,KAAK,CAAC,OAAO,CAAC,OAAuB;QACnC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;QACnC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;IAC7B,CAAC;CACF","sourcesContent":["import { WebPlugin } from '@capacitor/core';\n\nimport type {\n AppLauncherPlugin,\n CanOpenURLOptions,\n CanOpenURLResult,\n OpenURLOptions,\n OpenURLResult,\n} from './definitions';\n\nexport class AppLauncherWeb extends WebPlugin implements AppLauncherPlugin {\n async canOpenUrl(_options: CanOpenURLOptions): Promise<CanOpenURLResult> {\n return { value: true };\n }\n\n async openUrl(options: OpenURLOptions): Promise<OpenURLResult> {\n window.open(options.url, '_blank');\n return { completed: true };\n }\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/app-launcher",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "The AppLauncher API allows to open other apps",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -79,5 +79,5 @@
79
79
  "publishConfig": {
80
80
  "access": "public"
81
81
  },
82
- "gitHead": "64df93225736e9dfad336562f5e53e5a2243052b"
82
+ "gitHead": "f18ee6482e1ec8e5fb0290d51f598397133af990"
83
83
  }