mirror of
https://github.com/tauri-apps/tauri-plugin-log.git
synced 2026-01-31 00:35:18 +01:00
fix(deps): update tauri monorepo to v1.5.0 (#626)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Committed via a GitHub action: https://github.com/tauri-apps/plugins-workspace/actions/runs/6349969378 Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
This commit is contained in:
6
dist-js/index.min.js
vendored
6
dist-js/index.min.js
vendored
@@ -1,8 +1,8 @@
|
||||
var d$1=Object.defineProperty;var e=(c,a)=>{for(var b in a)d$1(c,b,{get:a[b],enumerable:!0});};
|
||||
|
||||
var w={};e(w,{convertFileSrc:()=>u$1,invoke:()=>d,transformCallback:()=>s$1});function l(){return window.crypto.getRandomValues(new Uint32Array(1))[0]}function s$1(r,n=!1){let e=l(),t=`_${e}`;return Object.defineProperty(window,t,{value:o=>(n&&Reflect.deleteProperty(window,t),r?.(o)),writable:!1,configurable:!0}),e}async function d(r,n={}){return new Promise((e,t)=>{let o=s$1(i=>{e(i),Reflect.deleteProperty(window,`_${a}`);},!0),a=s$1(i=>{t(i),Reflect.deleteProperty(window,`_${o}`);},!0);window.__TAURI_IPC__({cmd:r,callback:o,error:a,...n});})}function u$1(r,n="asset"){let e=encodeURIComponent(r);return navigator.userAgent.includes("Windows")?`https://${n}.localhost/${e}`:`${n}://localhost/${e}`}
|
||||
var u$1={};e(u$1,{convertFileSrc:()=>d,invoke:()=>_$1,transformCallback:()=>s$1});function l(){return window.crypto.getRandomValues(new Uint32Array(1))[0]}function s$1(e,r=!1){let n=l(),t=`_${n}`;return Object.defineProperty(window,t,{value:o=>(r&&Reflect.deleteProperty(window,t),e?.(o)),writable:!1,configurable:!0}),n}async function _$1(e,r={}){return new Promise((n,t)=>{let o=s$1(i=>{n(i),Reflect.deleteProperty(window,`_${c}`);},!0),c=s$1(i=>{t(i),Reflect.deleteProperty(window,`_${o}`);},!0);window.__TAURI_IPC__({cmd:e,callback:o,error:c,...r});})}function d(e,r="asset"){return window.__TAURI__.convertFileSrc(e,r)}
|
||||
|
||||
async function a$1(i){return d("tauri",i)}
|
||||
async function a$1(i){return _$1("tauri",i)}
|
||||
|
||||
var W={};e(W,{TauriEvent:()=>c,emit:()=>D,listen:()=>E,once:()=>_});async function s(n,t){return a$1({__tauriModule:"Event",message:{cmd:"unlisten",event:n,eventId:t}})}async function m(n,t,r){await a$1({__tauriModule:"Event",message:{cmd:"emit",event:n,windowLabel:t,payload:r}});}async function a(n,t,r){return a$1({__tauriModule:"Event",message:{cmd:"listen",event:n,windowLabel:t,handler:s$1(r)}}).then(i=>async()=>s(n,i))}async function u(n,t,r){return a(n,t,i=>{r(i),s(n,i.id).catch(()=>{});})}var c=(e=>(e.WINDOW_RESIZED="tauri://resize",e.WINDOW_MOVED="tauri://move",e.WINDOW_CLOSE_REQUESTED="tauri://close-requested",e.WINDOW_CREATED="tauri://window-created",e.WINDOW_DESTROYED="tauri://destroyed",e.WINDOW_FOCUS="tauri://focus",e.WINDOW_BLUR="tauri://blur",e.WINDOW_SCALE_FACTOR_CHANGED="tauri://scale-change",e.WINDOW_THEME_CHANGED="tauri://theme-changed",e.WINDOW_FILE_DROP="tauri://file-drop",e.WINDOW_FILE_DROP_HOVER="tauri://file-drop-hover",e.WINDOW_FILE_DROP_CANCELLED="tauri://file-drop-cancelled",e.MENU="tauri://menu",e.CHECK_UPDATE="tauri://update",e.UPDATE_AVAILABLE="tauri://update-available",e.INSTALL_UPDATE="tauri://update-install",e.STATUS_UPDATE="tauri://update-status",e.DOWNLOAD_PROGRESS="tauri://update-download-progress",e))(c||{});async function E(n,t){return a(n,null,t)}async function _(n,t){return u(n,null,t)}async function D(n,t){return m(n,void 0,t)}
|
||||
|
||||
@@ -50,7 +50,7 @@ async function log(level, message, options) {
|
||||
if (location === "Error") {
|
||||
location = "webview::unknown";
|
||||
}
|
||||
await d("plugin:log|log", {
|
||||
await _$1("plugin:log|log", {
|
||||
level,
|
||||
message,
|
||||
location,
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -28,6 +28,6 @@
|
||||
"tslib": "2.6.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tauri-apps/api": "1.4.0"
|
||||
"@tauri-apps/api": "1.5.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user