@promakeai/inspector 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/dist/plugin.js +1 -1
  2. package/package.json +1 -1
package/dist/plugin.js CHANGED
@@ -1284,7 +1284,7 @@ export function inspectorPlugin() {
1284
1284
  url.searchParams.delete('_cache_bust');
1285
1285
  url.searchParams.delete('v');
1286
1286
  url.searchParams.set('_t', timestamp.toString());
1287
- (el as HTMLElement).style.backgroundImage = 'url("' + url.toString() + '")';
1287
+ el.style.backgroundImage = 'url("' + url.toString() + '")';
1288
1288
  imageCount++;
1289
1289
  } catch (e) {
1290
1290
  // Ignore invalid URLs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promakeai/inspector",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Visual element inspector for React apps in iframe with AI prompt support",
5
5
  "author": "Promake",
6
6
  "type": "module",