@netlib/widerrufsbutton 1.0.5 → 1.0.6

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 +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -4,7 +4,7 @@ Widerrufsformular einbettbares JavaScript-Widget (React + TypeScript, IIFE-Build
4
4
 
5
5
  ## Rechtliche Grundlage
6
6
 
7
- Pflichtfelder laut IT-Recht Kanzlei / § 356 BGB:
7
+ Pflichtfelder:
8
8
  - **Name** des Verbrauchers
9
9
  - **E-Mail-Adresse** (für die gesetzlich vorgeschriebene Eingangsbestätigung)
10
10
  - **Bestell- / Auftrags- / Vertragsnummer** (Vertragsidentifikation)
@@ -74,7 +74,7 @@ Content-Type: application/json
74
74
  ### Option A – React / Astro
75
75
 
76
76
  ```tsx
77
- import { WiderrufsWidget } from '@netlib-de/widerrufsbutton'
77
+ import { WiderrufsWidget } from '@netlib/widerrufsbutton'
78
78
 
79
79
  <WiderrufsWidget config={{
80
80
  apiUrl: 'https://example.com/api',
@@ -84,7 +84,7 @@ import { WiderrufsWidget } from '@netlib-de/widerrufsbutton'
84
84
  }} />
85
85
  ```
86
86
 
87
- ### Option B – IIFE / Data-Attribute (kein Framework nötig)
87
+ ### Option B – IIFE / Data-Attribute (kein Framework nötig) but
88
88
 
89
89
  ```html
90
90
  <script src="widerrufsbutton.iife.js" defer></script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlib/widerrufsbutton",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Embeddable Widerrufsbutton widget for German e-commerce compliance",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",