From 131ee1c397450e3c6b7350b9d849b023d92cccf2 Mon Sep 17 00:00:00 2001 From: Peter Staev Date: Tue, 9 Jan 2018 17:44:14 +0200 Subject: [PATCH] fix definitions/readme for #10 --- README.md | 2 +- transaction/transaction.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2234dfe..3cafc19 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ The Base64 encoded transaction receipt. You can use this to do additional verifi * **originalTransaction** - *Transaction* This will be present only when restoring purchases and will contain the original transaction that purchased a given product. -* **developerPayload** - *string (Android only)* +* **developerPayload** - *string* Custom data sent with `buyProduct`. * **dataSignature** - *string (Android only)* diff --git a/transaction/transaction.d.ts b/transaction/transaction.d.ts index cd1f345..488303e 100644 --- a/transaction/transaction.d.ts +++ b/transaction/transaction.d.ts @@ -24,7 +24,7 @@ declare module "nativescript-purchase/transaction" { public transactionDate: Date; public transactionReceipt: string; public originalTransaction: Transaction; - public developerPayload: string; /* Android Only */ + public developerPayload: string; public dataSignature: string; /* Android Only */ constructor(nativeValue: any);