share-text-to-whatsapp
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -9,2 +9,2 @@ interface ShareData { | ||
share?: (data?: ShareData) => Promise<void>; | ||
} | ||
} |
{ | ||
"name": "share-text-to-whatsapp", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "", | ||
@@ -14,9 +14,15 @@ "main": "index.js", | ||
"test:examples": "tsc && node examples/index.js", | ||
"prepare" : "npm run build", | ||
"prepublishOnly" : "npm test && npm run lint", | ||
"preversion" : "npm run lint", | ||
"version" : "npm run format && git add -A src", | ||
"postversion" : "git push && git push --tags" | ||
"prepare": "npm run build", | ||
"prepublishOnly": "npm test && npm run lint", | ||
"preversion": "npm run lint", | ||
"version": "npm run format && git add -A src", | ||
"postversion": "git push origin master --tags" | ||
}, | ||
"keywords": ["whatsapp-sharing", "whatsapp", "sharing", "web-share-api", "utility"], | ||
"keywords": [ | ||
"whatsapp-sharing", | ||
"whatsapp", | ||
"sharing", | ||
"web-share-api", | ||
"utility" | ||
], | ||
"author": "Ana Liza Pandac <analizapandac@gmail.com> (https://github.com/analizapandac)", | ||
@@ -23,0 +29,0 @@ "license": "MIT", |
@@ -105,4 +105,5 @@ # Share Text to WhatsApp | ||
As of August 2019, the Web Share API is supported by the following browsers. See [caniuse.com](https://caniuse.com/#search=web%20share) for a more updated information. | ||
![Web Share API Browser Support](./images/web-share-api-support.png) | ||
![Web Share API Browser Support](https://raw.githubusercontent.com/analizapandac/share-text-to-whatsapp/master/images/web-share-api-support.png) | ||
### <a id="getclicktochatlink">getWhatsAppClickToChatLink(text)</a> | ||
@@ -109,0 +110,0 @@ |
9799
74
138