@choochmeque/tauri-plugin-sharekit-api 0.1.4 → 0.1.5
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/dist-js/index.cjs +2 -2
- package/dist-js/index.js +2 -2
- package/package.json +1 -1
package/dist-js/index.cjs
CHANGED
|
@@ -14,7 +14,7 @@ var core = require('@tauri-apps/api/core');
|
|
|
14
14
|
* @returns
|
|
15
15
|
*/
|
|
16
16
|
async function shareText(text, options) {
|
|
17
|
-
await core.invoke("plugin:
|
|
17
|
+
await core.invoke("plugin:sharekit|share_text", {
|
|
18
18
|
text,
|
|
19
19
|
...options,
|
|
20
20
|
});
|
|
@@ -34,7 +34,7 @@ async function shareText(text, options) {
|
|
|
34
34
|
* @returns
|
|
35
35
|
*/
|
|
36
36
|
async function shareFile(url, options) {
|
|
37
|
-
await core.invoke("plugin:
|
|
37
|
+
await core.invoke("plugin:sharekit|share_file", {
|
|
38
38
|
url,
|
|
39
39
|
...options,
|
|
40
40
|
});
|
package/dist-js/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import { invoke } from '@tauri-apps/api/core';
|
|
|
12
12
|
* @returns
|
|
13
13
|
*/
|
|
14
14
|
async function shareText(text, options) {
|
|
15
|
-
await invoke("plugin:
|
|
15
|
+
await invoke("plugin:sharekit|share_text", {
|
|
16
16
|
text,
|
|
17
17
|
...options,
|
|
18
18
|
});
|
|
@@ -32,7 +32,7 @@ async function shareText(text, options) {
|
|
|
32
32
|
* @returns
|
|
33
33
|
*/
|
|
34
34
|
async function shareFile(url, options) {
|
|
35
|
-
await invoke("plugin:
|
|
35
|
+
await invoke("plugin:sharekit|share_file", {
|
|
36
36
|
url,
|
|
37
37
|
...options,
|
|
38
38
|
});
|
package/package.json
CHANGED