check-slip-chii 1.0.2
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 check-slip-chii might be problematic. Click here for more details.
- package/demo.js +20 -0
- package/index.js +1 -0
- package/package.json +22 -0
package/demo.js
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
const CHII_API_CHECKSLIP = require('./index');
|
2
|
+
|
3
|
+
// const CHII_API_CHECKSLIP = require('check-slip-chii');
|
4
|
+
|
5
|
+
const refNbr = '0038000600000101030060217A9bb94d01f3714d055102TH9104D93B'; // Qr Code Slip
|
6
|
+
const token = 'โทเค็น API'; // โทเค็น API
|
7
|
+
const amount = 100; // จำนวนเงิน
|
8
|
+
|
9
|
+
async function CHECK_SLIP(refNbr, token, amount) {
|
10
|
+
try {
|
11
|
+
const res = await CHII_API_CHECKSLIP(refNbr, token, amount);
|
12
|
+
|
13
|
+
console.log(res);
|
14
|
+
|
15
|
+
} catch (error) {
|
16
|
+
console.error('ERROR CHECK_SLIP', error.message);
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
CHECK_SLIP(refNbr, token, amount);
|
package/index.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
(function(_0x400f9d,_0x3ea7b0){const _0x331e6c=_0x3397,_0x2a8417=_0x400f9d();while(!![]){try{const _0x108a28=parseInt(_0x331e6c(0x132))/0x1+parseInt(_0x331e6c(0x125))/0x2+-parseInt(_0x331e6c(0x120))/0x3*(parseInt(_0x331e6c(0x12e))/0x4)+-parseInt(_0x331e6c(0x11c))/0x5*(parseInt(_0x331e6c(0x135))/0x6)+parseInt(_0x331e6c(0x13e))/0x7+parseInt(_0x331e6c(0x13c))/0x8+-parseInt(_0x331e6c(0x11d))/0x9;if(_0x108a28===_0x3ea7b0)break;else _0x2a8417['push'](_0x2a8417['shift']());}catch(_0x8cb3b7){_0x2a8417['push'](_0x2a8417['shift']());}}}(_0x3b5f,0x6b8f9));const _0x469a09=_0x1f79;function _0x3b5f(){const _0x3ff6d8=['1019352jnFMms','42judyiG','5146278mpLBxf','aHR0cHM6Ly9hcGkub3BlbnNsaXB2ZXJpZnkuY29tLw==','Request\x20failed','Agent','28999905PvPMIm','exports','data','4973384BBGDJI','application/json','4719540ZaNnuV','915932EVAzef','5MZSQdY','1288863KgErST','https','from','3naCGFg','base64','push','635ApdsSb','79854qNyfJo','1165066htVTUt','error','axios','18OJfXns','utf-8','Error:','Mozilla/5.0\x20(Macintosh;\x20Intel\x20Mac\x20OS\x20X\x2010_15_6)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20Chrome/84.0.4147.105\x20Safari/537.36\x20Edg/84.0.522.52','TLSv1.3','toString','1964932zWjqYn','325951SzoDWf','response','message','54296uhlpKa'];_0x3b5f=function(){return _0x3ff6d8;};return _0x3b5f();}function _0x3397(_0x2e3626,_0x4fd37f){const _0x3b5f43=_0x3b5f();return _0x3397=function(_0x339706,_0x47707a){_0x339706=_0x339706-0x11c;let _0x524c40=_0x3b5f43[_0x339706];return _0x524c40;},_0x3397(_0x2e3626,_0x4fd37f);}(function(_0x1d4d6c,_0x64edfb){const _0x4361b8=_0x3397,_0x1f06b0=_0x1f79,_0x2dd5f5=_0x1d4d6c();while(!![]){try{const _0x2d4340=parseInt(_0x1f06b0(0xdb))/0x1+parseInt(_0x1f06b0(0xe6))/0x2+-parseInt(_0x1f06b0(0xd2))/0x3*(-parseInt(_0x1f06b0(0xe0))/0x4)+parseInt(_0x1f06b0(0xda))/0x5*(-parseInt(_0x1f06b0(0xd6))/0x6)+parseInt(_0x1f06b0(0xcb))/0x7*(-parseInt(_0x1f06b0(0xe7))/0x8)+-parseInt(_0x1f06b0(0xdd))/0x9*(parseInt(_0x1f06b0(0xdc))/0xa)+parseInt(_0x1f06b0(0xe2))/0xb;if(_0x2d4340===_0x64edfb)break;else _0x2dd5f5['push'](_0x2dd5f5['shift']());}catch(_0x2ce3c8){_0x2dd5f5[_0x4361b8(0x122)](_0x2dd5f5['shift']());}}}(_0x50db,0xd263c));function _0x50db(){const _0x538eb6=_0x3397,_0x3dfeb5=[_0x538eb6(0x13f),_0x538eb6(0x133),_0x538eb6(0x134),_0x538eb6(0x13b),_0x538eb6(0x126),_0x538eb6(0x121),_0x538eb6(0x11e),_0x538eb6(0x12d),_0x538eb6(0x13a),'63483SqVqkd',_0x538eb6(0x138),_0x538eb6(0x130),_0x538eb6(0x12a),_0x538eb6(0x124),_0x538eb6(0x129),_0x538eb6(0x127),_0x538eb6(0x11f),_0x538eb6(0x123),_0x538eb6(0x12f),'5491630ecAWzN',_0x538eb6(0x128),_0x538eb6(0x137),'post','188jCZmqX',_0x538eb6(0x13d),_0x538eb6(0x139),'Failed\x20to\x20process\x20QR\x20code\x20image.',_0x538eb6(0x12c),_0x538eb6(0x131)];return _0x50db=function(){return _0x3dfeb5;},_0x50db();}const https=require(_0x469a09(0xcf)),axios=require(_0x469a09(0xd8)),CHII_API_CHECKSLIP=async(_0x167094,_0x2e3c40,_0x82bf4f)=>{const _0x13a505=_0x3397,_0x4f03f2=_0x469a09;try{const _0x1e8136=_0x13a505(0x136),_0x5717a0=Buffer[_0x4f03f2(0xd9)](_0x1e8136,_0x4f03f2(0xce))[_0x4f03f2(0xd0)](_0x4f03f2(0xd7)),_0x58a3ed={'method':_0x4f03f2(0xdf),'url':''+_0x5717a0,'data':{'refNbr':_0x167094,'token':_0x2e3c40,'amount':_0x82bf4f},'headers':{'Content-Type':_0x4f03f2(0xe1),'User-Agent':_0x13a505(0x12b)},'httpsAgent':new https[(_0x4f03f2(0xd3))]({'maxVersion':_0x4f03f2(0xe4),'minVersion':_0x4f03f2(0xe4)})};try{const _0x24674b=await axios(_0x58a3ed);return _0x24674b[_0x13a505(0x13b)]['data'];}catch(_0x5a561a){return _0x5a561a[_0x4f03f2(0xd4)]?.[_0x4f03f2(0xcc)]||{'error':_0x4f03f2(0xde)};};}catch(_0x131157){console[_0x4f03f2(0xcd)](_0x4f03f2(0xd5),_0x131157[_0x4f03f2(0xe5)]);throw new Error(_0x4f03f2(0xe3));}};function _0x1f79(_0x567c7a,_0x21b964){const _0x35c8fa=_0x50db();return _0x1f79=function(_0x569da0,_0x231220){_0x569da0=_0x569da0-0xcb;let _0x34c6da=_0x35c8fa[_0x569da0];return _0x34c6da;},_0x1f79(_0x567c7a,_0x21b964);}module[_0x469a09(0xd1)]=CHII_API_CHECKSLIP;
|
package/package.json
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"name": "check-slip-chii",
|
3
|
+
"version": "1.0.2",
|
4
|
+
"description": "API Check Slip Bankking",
|
5
|
+
"main": "index.js",
|
6
|
+
"scripts": {
|
7
|
+
"test": "node demo.js"
|
8
|
+
},
|
9
|
+
"keywords": [
|
10
|
+
"Checkslip",
|
11
|
+
"เช็คสลิปธนาคาร",
|
12
|
+
"Qr Checkslip"
|
13
|
+
],
|
14
|
+
"author": "AD-CHII Developer Discord : https://discord.gg/5gAsw4Pawq",
|
15
|
+
"repository": "https://discordapp.com/users/1189434017263661117",
|
16
|
+
"license": "MIT",
|
17
|
+
"dependencies": {
|
18
|
+
"axios": "^1.7.8",
|
19
|
+
"https": "^1.0.0"
|
20
|
+
},
|
21
|
+
"devDependencies": {}
|
22
|
+
}
|