@bprotsyk/aso-core 2.1.51 → 2.1.52

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.
@@ -206,7 +206,10 @@ async function cloneOWCampaign(app) {
206
206
  if (!allDomains) {
207
207
  throw Error(`Failed to get all domains list`);
208
208
  }
209
- console.log("clonedCampaign", clonedCampaign);
209
+ console.log("clonedCampaign0", campaigns[0]);
210
+ console.log("clonedCampaign1", campaigns[1]);
211
+ const sourceCampaign = await getCampaignById(2673);
212
+ console.log("Campaign to clone:", sourceCampaign);
210
213
  const domain = allDomains[Math.floor(Math.random() * allDomains.length)];
211
214
  let payload = {
212
215
  name: name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bprotsyk/aso-core",
3
- "version": "2.1.51",
3
+ "version": "2.1.52",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "scripts": {
@@ -256,7 +256,13 @@ try{
256
256
  if (!allDomains) {
257
257
  throw Error(`Failed to get all domains list`)
258
258
  }
259
- console.log("clonedCampaign", clonedCampaign)
259
+ console.log("clonedCampaign0", campaigns[0])
260
+ console.log("clonedCampaign1", campaigns[1])
261
+
262
+ const sourceCampaign = await getCampaignById(2673)
263
+ console.log("Campaign to clone:", sourceCampaign)
264
+
265
+
260
266
 
261
267
  const domain = allDomains[Math.floor(Math.random() * allDomains.length)];
262
268