@zeruxjs/share 0.0.1 → 0.0.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.
- package/README.md +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,3 +12,7 @@ const tags = createShareMetadata({url:'https://example.com/post',title:'Post',im
|
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
The browser `shareOrCopy()` function prefers `navigator.share`, falls back to clipboard only for unavailable/not-supported/denied share operations, and **does not copy after an `AbortError` user cancellation**. It never auto-opens browser tabs. `shareLinkAttributes` sets `rel="noopener noreferrer"` on third-party links, and metadata/canonical tags escape markup. URLs must be credential-free HTTP(S). Native share/clipboard APIs typically require user gestures and permissions.
|
|
15
|
+
|
|
16
|
+
## Release 0.0.2
|
|
17
|
+
|
|
18
|
+
Prepared to validate npm trusted publishing through GitHub Actions.
|