@mochabug/adapt-astro 1.0.1-rc.22 → 1.0.1-rc.24

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mochabug/adapt-astro",
3
- "version": "1.0.1-rc.22",
3
+ "version": "1.0.1-rc.24",
4
4
  "description": "Astro component for Adapt automation platform",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -41,6 +41,6 @@
41
41
  "astro": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0"
42
42
  },
43
43
  "dependencies": {
44
- "@mochabug/adapt-web": "^1.0.1-rc.20"
44
+ "@mochabug/adapt-web": "^1.0.1-rc.22"
45
45
  }
46
46
  }
@@ -159,8 +159,8 @@ const containerId = `adapt-${Math.random().toString(36).slice(2, 11)}`;
159
159
  el.theme = JSON.parse(themeStr);
160
160
  }
161
161
 
162
- // Dispatch events for callbacks (users can addEventListener on the element)
163
- // onSession and onOutput are handled automatically via adapt-session and adapt-output CustomEvents
162
+ // All properties set explicitly initialize
163
+ el.initialize();
164
164
  });
165
165
  }
166
166
 
@@ -146,8 +146,8 @@ const containerId = `adapt-${Math.random().toString(36).slice(2, 11)}`;
146
146
  el.theme = JSON.parse(themeStr);
147
147
  }
148
148
 
149
- // Dispatch events for callbacks (users can addEventListener on the element)
150
- // onSession and onOutput are handled automatically via adapt-session and adapt-output CustomEvents
149
+ // All properties set explicitly initialize
150
+ el.initialize();
151
151
  });
152
152
  }
153
153