peasy-seo-embed 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +5 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -184,18 +184,20 @@ Display a compact inline badge showing a format type or tool category.
184
184
 
185
185
  ### Interactive Tool
186
186
 
187
- Embed a full interactive tool via iframe with complete isolation.
187
+ Embed a full interactive tool via iframe. Use the `data-slug` attribute with the format `category/tool-name`.
188
188
 
189
189
  ```html
190
190
  <!-- Embed an interactive PeasySEO tool -->
191
191
  <div data-peasy-seo="interactive"
192
- data-url="https://peasyseo.com/embed/meta-analyzer/"
193
- data-height="500px"
192
+ data-slug="seo/example-tool"
193
+ data-height="500"
194
194
  data-theme="light">
195
195
  </div>
196
196
  <script src="https://cdn.jsdelivr.net/npm/peasy-seo-embed@1/dist/embed.min.js"></script>
197
197
  ```
198
198
 
199
+ > **Note:** The `data-slug` value uses the format `category-slug/tool-slug`. Find available tools at [peasyseo.com/api/v1/tools/](https://peasyseo.com/api/v1/tools/).
200
+
199
201
  ### Glossary Tooltip
200
202
 
201
203
  Show a glossary term with its definition, rendered as a tooltip-style card.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peasy-seo-embed",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Embed PeasySEO widgets on any website. Lightweight (<8KB gzipped), zero dependencies, Shadow DOM isolation, 3 themes.",
5
5
  "main": "dist/embed.min.js",
6
6
  "module": "dist/embed.esm.js",