terminal-gateway 1.0.16 → 1.0.18

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.
Files changed (2) hide show
  1. package/README.md +11 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -53,7 +53,12 @@ __onSale():__ This method allows you to do sale transactions. user needs to call
53
53
  <br />
54
54
 
55
55
  ``` javascript
56
- terminal.onSale({amount: '0.01', type: 'SHOWQR', currency: 'USD', invoice: 'INV0011620291635'});
56
+ terminal.onSale({
57
+ amount: '0.01',
58
+ type: 'SHOWQR',
59
+ currency: 'USD',
60
+ invoice: 'INV0011620291635'
61
+ });
57
62
  ```
58
63
  ## Enquiry transaction
59
64
  __onEnquiry():__ This method allows you to receive the response back with the result status of the transaction whether it's successful or failed. It is required a parameter:
@@ -62,8 +67,12 @@ __onEnquiry():__ This method allows you to receive the response back with the re
62
67
  | --- | --- | --- | --- | --- |
63
68
  | invoice | String | Yes | | The invoice number must be unique. example: `INV0011620291635`|
64
69
 
70
+ <br />
71
+
65
72
  ``` javascript
66
- terminal.onEnquiry({invoice: 'INV0011620291635'});
73
+ terminal.onEnquiry({
74
+ invoice: 'INV0011620291635'
75
+ });
67
76
  ```
68
77
 
69
78
  <br />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terminal-gateway",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
4
4
  "description": "POS SDK is a library that allows users to perform sale transactions on a terminal from a web browser.",
5
5
  "main": "index.js",
6
6
  "author": "",