UNPKG
voucher-ts
Version:
latest (2.1.0)
2.1.0
2.0.0
1.1.1
1.1.0
1.0.0
TypeScript SDK for redeeming TrueWallet vouchers (zero dependencies)
voucher-ts
/
dist
/
index.d.ts
9 lines
(8 loc)
•
275 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
TrueWalletConfig
,
TrueWalletResult
}
from
"./types"
;
export
declare
class
TrueWalletVoucher
{
private
config;
constructor
(
config
:
TrueWalletConfig
);
redeem
(
url
:
string
):
Promise
<
TrueWalletResult
>; }
export
*
from
"./types"
;
export
*
from
"./validation"
;