terminal-gateway 1.0.8 → 1.0.10

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 +4 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -50,9 +50,9 @@ __onSale():__ This method allows you to do sale transactions. user needs to call
50
50
  | amount | String | Yes | 0 | amount define transaction |
51
51
  | type | String | Yes | SHOWQR | SHOWQR: sale by screen QR codeEDC: sale by card |
52
52
  | invoice | String | Yes | The invoice number must be unique. Example: INV0011620291635 |
53
- <br />
53
+
54
54
  ``` javascript
55
- terminal.onSale({amount: '0.01', type: 'SHOWQR', currency: 'USD', invoice: 'INV0011620291635'})
55
+ terminal.onSale({amount: '0.01', type: 'SHOWQR', currency: 'USD', invoice: 'INV0011620291635'});
56
56
  ```
57
57
  ## Enquiry transaction
58
58
  __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:
@@ -61,10 +61,10 @@ __onEnquiry():__ This method allows you to receive the response back with the re
61
61
  | --- | --- | --- | --- | --- |
62
62
  | invoice | String | Yes | | The invoice number must be unique. example: `INV0011620291635`|
63
63
 
64
- <br />
65
64
  ``` javascript
66
- terminal.onEnquiry({invoice: 'INV0011620291635'})
65
+ terminal.onEnquiry({invoice: 'INV0011620291635'});
67
66
  ```
67
+
68
68
  ## Void transaction
69
69
  __onVoid():__ This method allows you to void the transaction. It is required a parameter:
70
70
  | Parameter name | Data type | Require | Default |Description |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terminal-gateway",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
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": "",