plugin.cjs.js 643 B

12345678910111213141516171819202122232425
  1. 'use strict';
  2. var core = require('@capacitor/core');
  3. const UpiLauncher = core.registerPlugin('UpiLauncher', {
  4. web: () => Promise.resolve().then(function () { return web; }).then((m) => new m.UpiLauncherWeb()),
  5. });
  6. /* eslint @typescript-eslint/no-explicit-any: 0 */
  7. class UpiLauncherWeb extends core.WebPlugin {
  8. constructor() {
  9. super();
  10. }
  11. async launch(_) {
  12. throw this.unavailable('UPI Launcher API not available in browser');
  13. }
  14. }
  15. var web = /*#__PURE__*/Object.freeze({
  16. __proto__: null,
  17. UpiLauncherWeb: UpiLauncherWeb
  18. });
  19. exports.UpiLauncher = UpiLauncher;
  20. //# sourceMappingURL=plugin.cjs.js.map