telebirr-nodejs 1.0.7 → 1.0.8

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 +2 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -25,7 +25,7 @@ You should never hard-code secrets. Always load them from process.env.
25
25
  | ---------------------- | -------------------------------------------------------------------------------------- |
26
26
  | `FABRIC_APP_ID` | Fabric application ID (c4182ef8-9249-458a-985e-06d191f4d505 uuid-v4 string) |
27
27
  | `FABRIC_APP_SECRET` | Fabric application secret ("fad0f06383c6297f54rr78694b974599" 32 hex character string) |
28
- | `MERCHANT_APP_ID` | Merchant application ID (7606201678956824 16 integer character string) |
28
+ | `MERCHANT_APP_ID` | Merchant application ID ("7606201678956824" 16 integer character string) |
29
29
  | `MERCHANT_CODE` | Merchant code ("000000" 6 integer character string) |
30
30
  | `MERCHANT_PRIVATE_KEY` | RSA private key (PEM string) |
31
31
 
@@ -129,7 +129,6 @@ Refunds a completed transaction.
129
129
 
130
130
  ```bash
131
131
  app.post("/payment/refund", async (req, res) => {
132
-
133
132
  const refundData = await client.refundOrder({
134
133
  merchOrderId: "order123",
135
134
  refundRequestNo: "original-transaction-id",
@@ -138,7 +137,7 @@ app.post("/payment/refund", async (req, res) => {
138
137
  });
139
138
 
140
139
  res.json(refundData);
141
- });
140
+ });
142
141
 
143
142
  ```
144
143
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "telebirr-nodejs",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Unofficial Telebirr Node.js SDK.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",