upiqr 1.0.28 → 1.0.30

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 +5 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,15 +4,15 @@ 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
- payeeVPA: 'john@upi',
11
- payeeName: "JOHN DOE"
10
+ payeeVPA: "bhar4t@upi",
11
+ payeeName: "Bharat Sahu"
12
12
  })
13
13
  .then((upi) => {
14
14
  console.log(upi.qr); // data:image/png;base64,eR0lGODP...
15
- console.log(upi.intent); // upi://pay?pa=john@upi&pn=JOHN DOE
15
+ console.log(upi.intent); // upi://pay?pa=bhar4t@upi&pn=Bharat..
16
16
  })
17
17
  .catch(err => {
18
18
  console.log(err);
@@ -41,4 +41,4 @@ In table, fields requirement column is based on static QR, For dynamic QR you ne
41
41
 
42
42
  For a complete list of supported fields, refer to the [NPCI UPI Linking Specs](https://www.npci.org.in/PDF/npci/upi/circular/2017/Circular18_BankCompliances_to_enbaleUPIMerchantecosystem_0.pdf)
43
43
 
44
- Internally using `qrcode` for QR Generation.
44
+ Internally using `qrcode` for QR Generation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "upiqr",
3
- "version": "1.0.28",
3
+ "version": "1.0.30",
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": {