upiqr 1.0.27 → 1.0.29

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 (3) hide show
  1. package/README.md +1 -1
  2. package/index.js +5 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -4,7 +4,7 @@ This package will work on client and server.
4
4
 
5
5
  ```js
6
6
 
7
- import upiqr from 'upiqr';
7
+ import { upiqr } from 'upiqr';
8
8
 
9
9
  upiqr({
10
10
  payeeVPA: 'john@upi',
package/index.js CHANGED
@@ -15,7 +15,7 @@ function buildUrl(params) {
15
15
  return url
16
16
  }
17
17
 
18
- export default function upiqr ({
18
+ function upiqr ({
19
19
  payeeVPA: pa,
20
20
  payeeName: pn,
21
21
  payeeMerchantCode: me,
@@ -51,4 +51,8 @@ export default function upiqr ({
51
51
  }
52
52
  )
53
53
  })
54
+ }
55
+
56
+ module.exports = {
57
+ upiqr
54
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "upiqr",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
4
4
  "description": "Generate NPCI's UPI QR code along with UPI intent link, By using it any payment is possible from UPI enabled apps.",
5
5
  "main": "index.js",
6
6
  "scripts": {