diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml
deleted file mode 100644
index a2a1142..0000000
--- a/.github/workflows/npmpublish.yml
+++ /dev/null
@@ -1,20 +0,0 @@
-name: build
-
-on:
- pull_request:
- branches:
- - main
- push:
- branches:
- - main
-
-jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v1
- - uses: actions/setup-node@v1
- with:
- node-version: 12
- - run: npm ci
- - run: npm test
diff --git a/docs/index.html b/docs/index.html
index 63a298a..f255383 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -218,7 +218,10 @@
Example:
-
+
+
+
+
diff --git a/package.json b/package.json
index 43b38c6..6dc635a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "sharer.js",
- "version": "0.5.0",
+ "version": "0.5.1",
"description": "Create your own social share buttons. No Jquery.",
"main": "sharer.js",
"repository": {
diff --git a/sharer.js b/sharer.js
index b354826..16d1ead 100644
--- a/sharer.js
+++ b/sharer.js
@@ -3,7 +3,7 @@
* Sharer.js
*
* @description Create your own social share buttons
- * @version 0.5.0
+ * @version 0.5.1
* @author Ellison Leao
* @license MIT
*
@@ -104,7 +104,7 @@
},
},
whatsapp: {
- shareUrl: this.getValue('web') === 'true' ? 'https://web.whatsapp.com/send' : 'https://api.whatsapp.com/',
+ shareUrl: this.getValue('web') === 'true' ? 'https://web.whatsapp.com/send' : 'https://wa.me/',
params: {
phone: this.getValue('to'),
text: this.getValue('title') + ' ' + this.getValue('url'),
diff --git a/sharer.min.js b/sharer.min.js
index 3ac0ef6..953a451 100644
--- a/sharer.min.js
+++ b/sharer.min.js
@@ -1 +1 @@
-(function(m,r){"use strict";var s=function(t){this.elem=t};s.init=function(){var t=r.querySelectorAll("[data-sharer]"),e,a=t.length;for(e=0;e0?"?":"";for(r=0;r0?"?":"";for(r=0;r