Commit 4831817c9fbef694404d0497776145502df94600
1 parent
fb7ed0470d
Exists in
master
Bump to komodo-sdk@1.44.6
Showing 3 changed files with 14 additions and 15 deletions Side-by-side Diff
lib/partner-prepaid.js
1 | -const uniqid = require('uniqid'); | |
2 | 1 | const hitAdvice = require('./hit/prepaid-advice'); |
3 | 2 | const hitTopup = require('./hit/prepaid-topup'); |
4 | 3 | |
5 | -exports.buy = (task) => { | |
6 | - const xid = uniqid(); | |
4 | +exports.buy = (task, xid) => { | |
7 | 5 | hitTopup(xid, task); |
8 | 6 | }; |
9 | 7 | |
10 | -exports.advice = (task) => { | |
11 | - const xid = uniqid(); | |
8 | +exports.advice = (task, xid) => { | |
12 | 9 | hitAdvice(xid, task); |
13 | 10 | }; |
package-lock.json
1 | 1 | { |
2 | - "name": "komodo-gw-komodo-httpgex", | |
2 | + "name": "komodo-gw-komodo-httpgetx", | |
3 | 3 | "version": "0.2.4", |
4 | 4 | "lockfileVersion": 2, |
5 | 5 | "requires": true, |
6 | 6 | "packages": { |
7 | 7 | "": { |
8 | - "name": "komodo-gw-komodo-httpgex", | |
8 | + "name": "komodo-gw-komodo-httpgetx", | |
9 | 9 | "version": "0.2.4", |
10 | 10 | "license": "ISC", |
11 | 11 | "dependencies": { |
12 | 12 | "axios": "^0.21.1", |
13 | 13 | "express": "^4.17.1", |
14 | 14 | "json-stringify-pretty-compact": "^3.0.0", |
15 | - "komodo-sdk": "^1.43.10", | |
15 | + "komodo-sdk": "^1.44.6", | |
16 | 16 | "komodo-sdk-postpaid": "git+https://gitlab.kodesumber.com/komodo/komodo-sdk-postpaid.git", |
17 | 17 | "moment": "^2.29.1", |
18 | 18 | "morgan": "^1.10.0", |
... | ... | @@ -2384,9 +2384,9 @@ |
2384 | 2384 | } |
2385 | 2385 | }, |
2386 | 2386 | "node_modules/komodo-sdk": { |
2387 | - "version": "1.43.10", | |
2388 | - "resolved": "https://registry.npmjs.org/komodo-sdk/-/komodo-sdk-1.43.10.tgz", | |
2389 | - "integrity": "sha512-pabJXSuqrHqG4hc5pKuxtHgCb7D9LpDUiuSE0+nAWH++KAgi+Mk7NdMuEbkSl007uWdkshGNxWw6h5B9ZTji6A==", | |
2387 | + "version": "1.44.6", | |
2388 | + "resolved": "https://registry.npmjs.org/komodo-sdk/-/komodo-sdk-1.44.6.tgz", | |
2389 | + "integrity": "sha512-RrLX6qfconXTPMKp9HoK0B6y0YNG5u8qyqdlPKmU4GgMdHxLFiPg+OmzJQe6Tkf2qnyUd7pru5yv09+bMD851A==", | |
2390 | 2390 | "dependencies": { |
2391 | 2391 | "array-unique": "^0.3.2", |
2392 | 2392 | "auto-changelog": "^2.3.0", |
... | ... | @@ -2415,6 +2415,7 @@ |
2415 | 2415 | "string-natural-compare": "^2.0.2", |
2416 | 2416 | "tektrans-logger": "^1.2.3", |
2417 | 2417 | "uniqid": "^4.1.1", |
2418 | + "url-join": "^4.0.1", | |
2418 | 2419 | "uuid": "^3.4.0" |
2419 | 2420 | } |
2420 | 2421 | }, |
... | ... | @@ -6727,9 +6728,9 @@ |
6727 | 6728 | } |
6728 | 6729 | }, |
6729 | 6730 | "komodo-sdk": { |
6730 | - "version": "1.43.10", | |
6731 | - "resolved": "https://registry.npmjs.org/komodo-sdk/-/komodo-sdk-1.43.10.tgz", | |
6732 | - "integrity": "sha512-pabJXSuqrHqG4hc5pKuxtHgCb7D9LpDUiuSE0+nAWH++KAgi+Mk7NdMuEbkSl007uWdkshGNxWw6h5B9ZTji6A==", | |
6731 | + "version": "1.44.6", | |
6732 | + "resolved": "https://registry.npmjs.org/komodo-sdk/-/komodo-sdk-1.44.6.tgz", | |
6733 | + "integrity": "sha512-RrLX6qfconXTPMKp9HoK0B6y0YNG5u8qyqdlPKmU4GgMdHxLFiPg+OmzJQe6Tkf2qnyUd7pru5yv09+bMD851A==", | |
6733 | 6734 | "requires": { |
6734 | 6735 | "array-unique": "^0.3.2", |
6735 | 6736 | "auto-changelog": "^2.3.0", |
... | ... | @@ -6758,6 +6759,7 @@ |
6758 | 6759 | "string-natural-compare": "^2.0.2", |
6759 | 6760 | "tektrans-logger": "^1.2.3", |
6760 | 6761 | "uniqid": "^4.1.1", |
6762 | + "url-join": "^4.0.1", | |
6761 | 6763 | "uuid": "^3.4.0" |
6762 | 6764 | }, |
6763 | 6765 | "dependencies": { |
package.json
... | ... | @@ -30,7 +30,7 @@ |
30 | 30 | "axios": "^0.21.1", |
31 | 31 | "express": "^4.17.1", |
32 | 32 | "json-stringify-pretty-compact": "^3.0.0", |
33 | - "komodo-sdk": "^1.43.10", | |
33 | + "komodo-sdk": "^1.44.6", | |
34 | 34 | "komodo-sdk-postpaid": "git+https://gitlab.kodesumber.com/komodo/komodo-sdk-postpaid.git", |
35 | 35 | "moment": "^2.29.1", |
36 | 36 | "morgan": "^1.10.0", |