UNPKG

@jackobo/capacitor-pass-to-wallet

Version:

Capacitor plugin for adding digital passes to Apple and Google wallet

26 lines (19 loc) 762 B
var capacitorCapacitorPassToWallet = (function (exports, core) { 'use strict'; const CapacitorPassToWallet = core.registerPlugin('CapacitorPassToWallet', { web: () => Promise.resolve().then(function () { return web; }).then(m => new m.CapacitorPassToWalletWeb()), }); class CapacitorPassToWalletWeb extends core.WebPlugin { async addToWallet(options) { console.log(options); throw new Error('Not supported'); } } var web = /*#__PURE__*/Object.freeze({ __proto__: null, CapacitorPassToWalletWeb: CapacitorPassToWalletWeb }); exports.CapacitorPassToWallet = CapacitorPassToWallet; return exports; })({}, capacitorExports); //# sourceMappingURL=plugin.js.map