@nsite/stealthis 0.3.0 → 0.4.0

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 +2 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,18 +8,12 @@ When loaded on an nsite, `<nsite-deploy>` detects the site owner's pubkey from t
8
8
 
9
9
  ## Install
10
10
 
11
- Add a script tag to your nsite. The widget auto-injects a fixed-position button in the bottom-right corner.
12
-
13
- ```html
14
- <script src="https://unpkg.com/@nsite/stealthis/dist/stealthis.js"></script>
15
- ```
16
-
17
- Or use the ES module:
18
-
19
11
  ```js
20
12
  import '@nsite/stealthis';
21
13
  ```
22
14
 
15
+ The widget auto-injects a fixed-position button in the bottom-right corner.
16
+
23
17
  ## Manual placement
24
18
 
25
19
  If you want to control where the button appears, add the element yourself (the auto-inject will skip if one already exists):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nsite/stealthis",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "type": "module",
5
5
  "main": "dist/stealthis.js",
6
6
  "module": "dist/stealthis.mjs",