@bprotsyk/aso-core 1.2.95 → 1.2.97
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.
|
@@ -381,14 +381,14 @@ let changeSourceForFA = async () => {
|
|
|
381
381
|
}
|
|
382
382
|
};
|
|
383
383
|
let replaceDomainInOffers = async (oldDomain, newDomain, offerNameRegEx) => {
|
|
384
|
-
let offers = await
|
|
385
|
-
offers = offers.filter((o) => offerNameRegEx.exec(o.name))
|
|
386
|
-
for (let offer of offers) {
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
}
|
|
384
|
+
// let offers = await KeitaroService.getAllOffers()
|
|
385
|
+
// offers = offers.filter((o) => offerNameRegEx.exec(o.name))
|
|
386
|
+
// for (let offer of offers) {
|
|
387
|
+
// console.log(offer)
|
|
388
|
+
// // offer.action_payload = offer.action_payload.replace(oldDomain, newDomain)
|
|
389
|
+
// // await sleep(700)
|
|
390
|
+
// // await KeitaroService.updateOffer(offer)
|
|
391
|
+
// }
|
|
392
392
|
};
|
|
393
393
|
let gatherInfoForFlashApps = async () => {
|
|
394
394
|
console.log(__dirname);
|
|
@@ -479,4 +479,4 @@ let gatherInfoForFlashApps = async () => {
|
|
|
479
479
|
// addGeosToAllRedirectCam`paigns("GR")
|
|
480
480
|
// removeGeosFromAllRedirectCampaigns("BE`")
|
|
481
481
|
// gatherInfoForFlashApps()
|
|
482
|
-
replaceDomainInOffers(`mariorel.com`, `xmariorel.com`, /Icecasino Huffson.*/g)
|
|
482
|
+
// replaceDomainInOffers(`mariorel.com`, `xmariorel.com`, /Icecasino Huffson.*/g)
|
package/package.json
CHANGED
|
@@ -389,17 +389,17 @@ let changeSourceForFA = async () => {
|
|
|
389
389
|
}
|
|
390
390
|
|
|
391
391
|
let replaceDomainInOffers = async (oldDomain: string, newDomain: string, offerNameRegEx: RegExp)=> {
|
|
392
|
-
let offers = await KeitaroService.getAllOffers()
|
|
392
|
+
// let offers = await KeitaroService.getAllOffers()
|
|
393
393
|
|
|
394
|
-
offers = offers.filter((o) => offerNameRegEx.exec(o.name))
|
|
394
|
+
// offers = offers.filter((o) => offerNameRegEx.exec(o.name))
|
|
395
395
|
|
|
396
|
-
for (let offer of offers) {
|
|
397
|
-
|
|
398
|
-
|
|
396
|
+
// for (let offer of offers) {
|
|
397
|
+
// console.log(offer)
|
|
398
|
+
// // offer.action_payload = offer.action_payload.replace(oldDomain, newDomain)
|
|
399
399
|
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
}
|
|
400
|
+
// // await sleep(700)
|
|
401
|
+
// // await KeitaroService.updateOffer(offer)
|
|
402
|
+
// }
|
|
403
403
|
}
|
|
404
404
|
|
|
405
405
|
let gatherInfoForFlashApps = async () => {
|
|
@@ -514,4 +514,4 @@ let gatherInfoForFlashApps = async () => {
|
|
|
514
514
|
|
|
515
515
|
// gatherInfoForFlashApps()
|
|
516
516
|
|
|
517
|
-
replaceDomainInOffers(`mariorel.com`, `xmariorel.com`, /Icecasino Huffson.*/g)
|
|
517
|
+
// replaceDomainInOffers(`mariorel.com`, `xmariorel.com`, /Icecasino Huffson.*/g)
|