sr-npm 1.7.427 → 1.7.429

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/backend/data.js CHANGED
@@ -345,6 +345,8 @@ async function clearCollections() {
345
345
 
346
346
  async function markTemplateAsExternal() {
347
347
  await createCollectionIfMissing(COLLECTIONS.TEMPLATE_TYPE, COLLECTIONS_FIELDS.TEMPLATE_TYPE,null,'singleItem');
348
+ console.log("marking template as external");
349
+ console.log("TEMPLATE_TYPE: ", TEMPLATE_TYPE);
348
350
  await wixData.save(COLLECTIONS.TEMPLATE_TYPE, {
349
351
  templateType: TEMPLATE_TYPE.EXTERNAL
350
352
  });
@@ -352,6 +354,8 @@ async function markTemplateAsExternal() {
352
354
 
353
355
  async function markTemplateAsInternal() {
354
356
  await createCollectionIfMissing(COLLECTIONS.TEMPLATE_TYPE, COLLECTIONS_FIELDS.TEMPLATE_TYPE,null,'singleItem');
357
+ console.log("marking template as internal");
358
+ console.log("TEMPLATE_TYPE: ", TEMPLATE_TYPE);
355
359
  await wixData.save(COLLECTIONS.TEMPLATE_TYPE, {
356
360
  templateType: TEMPLATE_TYPE.INTERNAL
357
361
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.427",
3
+ "version": "1.7.429",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -8,7 +8,6 @@ beforeAll(async () => {
8
8
  clearCollections(wixData);
9
9
  });
10
10
 
11
-
12
11
  it.each([
13
12
  { templateName: 'Internal', templateType: TEMPLATE_TYPE.INTERNAL },
14
13
  { templateName: 'External', templateType: TEMPLATE_TYPE.EXTERNAL },