npm.io
2.0.15 • Published 1 year ago

capacitor-wallet-access

Licence
MIT
Version
2.0.15
Deps
2
Size
39 kB
Vulns
0
Weekly
0

capacitor-wallet-access

Used to gain access to a user's wallet on their device. This allows access to the cards, passes, or tickets a user will have in their wallet, but this does NOT include the capacity to create new passes

Install

npm install capacitor-wallet-access
npx cap sync

API

echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
Param Type
options { value: string; }

Returns: Promise<{ value: string; }>


getWallet(...)
getWallet(options: { value: string[]; }) => Promise<{ cards: any[]; }>
Param Type
options { value: string[]; }

Returns: Promise<{ cards: any[]; }>


generatePass(...)
generatePass(options: { passConfig: object; passObject: object; miscData?: object; }) => Promise<{ newPass: string; }>
Param Type
options { passConfig: object; passObject: object; miscData?: object; }

Returns: Promise<{ newPass: string; }>