@bprotsyk/aso-core 1.2.212 → 1.2.214
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.
package/lib/models/domain.d.ts
CHANGED
|
@@ -53,6 +53,10 @@ export interface IDomainsBuyRequestResponse {
|
|
|
53
53
|
price: string;
|
|
54
54
|
}[];
|
|
55
55
|
}
|
|
56
|
+
export interface IDomainSetupResult {
|
|
57
|
+
succeed: string[];
|
|
58
|
+
failed: string[];
|
|
59
|
+
}
|
|
56
60
|
export declare const CONST_CLOUFLARE_STATUS_READY = "active";
|
|
57
61
|
export declare enum DomainStatus {
|
|
58
62
|
PENDING = "pending",
|
|
@@ -382,7 +382,7 @@ let replaceInOfferLink = async (old, replace, offerNameRegEx) => {
|
|
|
382
382
|
offers = offers.filter((o) => offerNameRegEx.exec(o.name));
|
|
383
383
|
for (let offer of offers) {
|
|
384
384
|
console.log(offer.name);
|
|
385
|
-
offer.action_payload = offer.action_payload.replace(old, replace)
|
|
385
|
+
// offer.action_payload = offer.action_payload.replace(old, replace)
|
|
386
386
|
await (0, sleep_promise_1.default)(700);
|
|
387
387
|
await keitaro_service_1.KeitaroService.updateOffer(offer);
|
|
388
388
|
}
|
package/package.json
CHANGED
package/src/models/domain.ts
CHANGED
|
@@ -424,7 +424,7 @@ let replaceInOfferLink = async (old: string, replace: string, offerNameRegEx: Re
|
|
|
424
424
|
|
|
425
425
|
for (let offer of offers) {
|
|
426
426
|
console.log(offer.name)
|
|
427
|
-
offer.action_payload = offer.action_payload.replace(old, replace)
|
|
427
|
+
// offer.action_payload = offer.action_payload.replace(old, replace)
|
|
428
428
|
|
|
429
429
|
await sleep(700)
|
|
430
430
|
await KeitaroService.updateOffer(offer)
|