codeplay-common 4.2.0 → 4.2.1

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/README.md CHANGED
@@ -13,8 +13,11 @@ https://ko-fi.com/codeplay
13
13
 
14
14
 
15
15
 
16
- Version 4.2.0
17
- Firebase related automatic changes updated
16
+ Version 4.2.1
17
+ Updated AdMob nextgen file validation to match admob-emi-nextgen file names.
18
+
19
+ Version 4.2.0
20
+ Firebase related automatic changes updated
18
21
 
19
22
  Version 4.1.9
20
23
  Added AdMob nextgen 1.7 validation/default support for "overlappingHeight", "bannerTypeAndroidLandscape", and "bannerTypeiOSLandscape".
@@ -275,14 +275,14 @@ const checkIsAdsDisableByReturnStatement=()=>{
275
275
 
276
276
 
277
277
  const adsFolder = join('src', 'js', 'Ads');
278
- const filePattern = /^admob-emi-(\d+\.)+\d+\.js$/;
278
+ const filePattern = /^admob-emi-nextgen-(\d+\.)+\d+\.js$/;
279
279
 
280
280
  // Step 1: Find the admob file
281
281
  const files = readdirSync(adsFolder);
282
282
  const admobFile = files.find(f => filePattern.test(f));
283
283
 
284
284
  if (!admobFile) {
285
- console.log('❌ No Admob file found.');
285
+ console.log('❌ No Admob nextgen file found.');
286
286
  process.exit(1);
287
287
  }
288
288
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeplay-common",
3
- "version": "4.2.0",
3
+ "version": "4.2.1",
4
4
  "description": "Common build scripts and files",
5
5
  "scripts": {
6
6
  "postinstall": "node scripts/sync-files.js",