@tauri-apps/api
Advanced tools
Comparing version 2.0.0-beta.10 to 2.0.0-beta.11
@@ -131,4 +131,4 @@ /** | ||
} | ||
declare function isTauri(): unknown; | ||
declare function isTauri(): boolean; | ||
export type { InvokeArgs, InvokeOptions }; | ||
export { transformCallback, Channel, PluginListener, addPluginListener, invoke, convertFileSrc, isTauri }; |
@@ -195,5 +195,5 @@ import { __classPrivateFieldGet, __classPrivateFieldSet } from './external/tslib/tslib.es6.js'; | ||
function isTauri() { | ||
return 'isTauri' in window && window.isTauri; | ||
return 'isTauri' in window && !!window.isTauri; | ||
} | ||
export { Channel, PluginListener, Resource, addPluginListener, convertFileSrc, invoke, isTauri, transformCallback }; |
{ | ||
"name": "@tauri-apps/api", | ||
"version": "2.0.0-beta.10", | ||
"version": "2.0.0-beta.11", | ||
"description": "Tauri API definitions", | ||
@@ -5,0 +5,0 @@ "funding": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
553754