feat(plugins): use @tauri-apps namespace on NPM (#368)

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
This commit is contained in:
Lucas Fernandes NogueiraandAmr Bashir authored and GitHub committed 2023-05-17 20:52:53 -03:00
1 parent caf8456864
commit 22991af9f4
72 files changed
+435 -419

No files matched your search

+5 -5
View File
@@ -75,7 +75,7 @@ async function log(
* # Examples
*
* ```js
* import { error } from 'tauri-plugin-log-api';
* import { error } from '@tauri-apps/plugin-log';
*
* const err_info = "No connection";
* const port = 22;
@@ -98,7 +98,7 @@ export async function error(
* # Examples
*
* ```js
* import { warn } from 'tauri-plugin-log-api';
* import { warn } from '@tauri-apps/plugin-log';
*
* const warn_description = "Invalid Input";
*
@@ -120,7 +120,7 @@ export async function warn(
* # Examples
*
* ```js
* import { info } from 'tauri-plugin-log-api';
* import { info } from '@tauri-apps/plugin-log';
*
* const conn_info = { port: 40, speed: 3.20 };
*
@@ -142,7 +142,7 @@ export async function info(
* # Examples
*
* ```js
* import { debug } from 'tauri-plugin-log-api';
* import { debug } from '@tauri-apps/plugin-log';
*
* const pos = { x: 3.234, y: -1.223 };
*
@@ -164,7 +164,7 @@ export async function debug(
* # Examples
*
* ```js
* import { trace } from 'tauri-plugin-log-api';
* import { trace } from '@tauri-apps/plugin-log';
*
* let pos = { x: 3.234, y: -1.223 };
*