chii_wallet 1.0.0 → 1.0.1

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.

Potentially problematic release.


This version of chii_wallet might be problematic. Click here for more details.

Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Api-TrueWallet-NodeJS-Module
1
+ # TrueWallet-NodeJS-Module
2
2
 
3
3
  ## Installation
4
4
  ```sh
@@ -8,9 +8,9 @@ npm i chii_wallet
8
8
  How To Use
9
9
 
10
10
  ```js
11
- const twApi = require('chii_wallet')
11
+ const CHII_API_WALLET = require('chii_wallet')
12
12
  function TOPUP_Wallet(code) {
13
- const tw = await twApi(code, '[เบอร์โทร]')
13
+ const tw = await CHII_API_WALLET(code, '[เบอร์โทร]')
14
14
  console.log(tw)
15
15
  }
16
16
 
@@ -19,9 +19,9 @@ TOPUP_Wallet()
19
19
 
20
20
  Example Code
21
21
  ```js
22
- const twApi = require('chii_wallet')
22
+ const CHII_API_WALLET = require('chii_wallet')
23
23
  function TOPUP_Wallet(code) {
24
- const tw = await twApi(code, '[เบอร์โทร]')
24
+ const tw = await CHII_API_WALLET(code, '[เบอร์โทร]')
25
25
  switch (tw.status.code) {
26
26
  case "SUCCESS":
27
27
  console.log('ไดรับเงินแล้วจำนวน'+tw.data.my_ticket.amount_baht)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chii_wallet",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Redeem Money form Truemoney",
5
5
  "main": "index.js",
6
6
  "scripts": {