react-native-mesmart 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,6 +29,6 @@ export interface PaystorePaymentResult {
29
29
  value: number;
30
30
  }
31
31
  export interface PaystoreAPI {
32
- pay: (value: String, transactionId: String, showReceipt: Boolean, paymentType: PaystorePaymentTypes[], installments: number) => Promise<void>;
32
+ pay: (value: string, transactionId: string, showReceipt: boolean, paymentType: PaystorePaymentTypes[], installments: number) => Promise<void>;
33
33
  }
34
34
  //# sourceMappingURL=paystore.d.ts.map
@@ -25,7 +25,7 @@ declare const Pax: {
25
25
  printBpLogo: () => void;
26
26
  };
27
27
  declare const Paystore: {
28
- pay: (value: String, transactionId: String, showReceipt: Boolean, paymentType: PaystorePaymentTypes[], installments: number) => Promise<void>;
28
+ pay: (value: string, transactionId: string, showReceipt: boolean, paymentType: PaystorePaymentTypes[], installments: number) => Promise<void>;
29
29
  };
30
30
  export { Sunmi, Plugpag, Pax, Paystore, PlugPagEvent, PlugPagResult };
31
31
  export type { PlugPagEventData, PlugPagTransactionResult, PlugPagTransactionTypes, PaystorePaymentTypes, PaystorePaymentStatus, PaystoreCaptureType, PaystoreCard, PaystoreReceipts, PaystorePaymentResult, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-mesmart",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Sunmi P2 utilities and Plugpag wrapper for React Native",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -65,9 +65,9 @@ export interface PaystorePaymentResult {
65
65
 
66
66
  export interface PaystoreAPI {
67
67
  pay: (
68
- value: String,
69
- transactionId: String,
70
- showReceipt: Boolean,
68
+ value: string,
69
+ transactionId: string,
70
+ showReceipt: boolean,
71
71
  paymentType: PaystorePaymentTypes[],
72
72
  installments: number
73
73
  ) => Promise<void>;