UNPKG

@jackobo/capacitor-pass-to-wallet

Version:

Capacitor plugin for adding digital passes to Apple and Google wallet

23 lines (17 loc) 640 B
'use strict'; var core = require('@capacitor/core'); 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; //# sourceMappingURL=plugin.cjs.js.map