@cocreate/lazy-loader 1.24.1 → 1.24.3

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.
@@ -3,7 +3,7 @@ name: Automated Workflow
3
3
  on:
4
4
  push:
5
5
  branches:
6
- - master
6
+ - main
7
7
 
8
8
  jobs:
9
9
  about:
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.24.2](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.24.1...v1.24.2) (2026-07-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * set default branch to main ([f32ed39](https://github.com/CoCreate-app/CoCreate-lazy-loader/commit/f32ed39536f263c8ae3292e3e7c4001f8b5a04ab))
7
+
1
8
  ## [1.24.1](https://github.com/CoCreate-app/CoCreate-lazy-loader/compare/v1.24.0...v1.24.1) (2026-07-17)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/lazy-loader",
3
- "version": "1.24.1",
3
+ "version": "1.24.3",
4
4
  "description": "A simple lazy-loader component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "lazy-loader",
package/release.config.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  dryRun: false,
3
- branches: ["master"],
3
+ branches: ["main"],
4
4
  plugins: [
5
5
  "@semantic-release/commit-analyzer",
6
6
  "@semantic-release/release-notes-generator",
package/src/server.js CHANGED
@@ -63,7 +63,7 @@ export async function init(Server) {
63
63
  });
64
64
 
65
65
 
66
- const retrievedConfig = await Config("modules", false, false);
66
+ const retrievedConfig = await Config.get("modules");
67
67
  if (!retrievedConfig) return;
68
68
 
69
69
  modulesList = retrievedConfig.modules || {};