terminal-gateway 1.0.3 → 1.0.5

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 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -33,6 +33,8 @@ $ yarn add terminal-gateway
33
33
  ## Initiation
34
34
 
35
35
  ``` javascript
36
+ import Terminal from 'terminal-gateway'
37
+
36
38
  const terminal = new Terminal({
37
39
  key: '',
38
40
  timeout: 50000,
@@ -48,7 +50,7 @@ __onSale():__ This method allows you to do sale transactions. user needs to call
48
50
  | amount | String | Yes | 0 | amount define transaction |
49
51
  | type | String | Yes | SHOWQR | SHOWQR: sale by screen QR codeEDC: sale by card |
50
52
  | invoice | String | Yes | The invoice number must be unique. Example: INV0011620291635 |
51
-
53
+ <br />
52
54
  ``` javascript
53
55
  terminal.onSale({amount: '0.01', type: 'SHOWQR', currency: 'USD', invoice: 'INV0011620291635'})
54
56
  ```
@@ -59,7 +61,7 @@ __onEnquiry():__ This method allows you to receive the response back with the re
59
61
  | --- | --- | --- | --- | --- |
60
62
  | invoice | String | Yes | | The invoice number must be unique. example: `INV0011620291635`|
61
63
 
62
-
64
+ <br />
63
65
  ``` javascript
64
66
  terminal.onEnquiry({invoice: 'INV0011620291635'})
65
67
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terminal-gateway",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
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": "",