@tauri-apps/api
Advanced tools
Comparing version 1.0.0-rc.4 to 1.0.0-rc.5
@@ -1,1 +0,1 @@ | ||
import"./tslib.es6-6e0f8414.js";import"./tauri-3fc238fd.js";export{g as getName,c as getTauriVersion,b as getVersion}from"./app-c15953c5.js";import"./tauri-c8e78b35.js"; | ||
export{g as getName,b as getTauriVersion,a as getVersion}from"./app-38574b8c.js";import"./tslib.es6-9bc0804d.js";import"./tauri-19998099.js";import"./tauri-72ceb064.js"; |
# Changelog | ||
## \[1.0.0-rc.5] | ||
- Fixes the type of `http > connectTimeout`. | ||
- [f3c5ca89](https://www.github.com/tauri-apps/tauri/commit/f3c5ca89e79d429183c4e15a9e7cebada2b493a0) fix(core): http api `connect_timeout` deserialization, closes [#4004](https://www.github.com/tauri-apps/tauri/pull/4004) ([#4006](https://www.github.com/tauri-apps/tauri/pull/4006)) on 2022-04-29 | ||
## \[1.0.0-rc.4] | ||
@@ -4,0 +9,0 @@ |
@@ -1,1 +0,1 @@ | ||
import"./tslib.es6-6e0f8414.js";import"./tauri-3fc238fd.js";export{g as getMatches}from"./cli-6d9670a2.js";import"./tauri-c8e78b35.js"; | ||
export{g as getMatches}from"./cli-178d2d3b.js";import"./tslib.es6-9bc0804d.js";import"./tauri-19998099.js";import"./tauri-72ceb064.js"; |
@@ -1,1 +0,1 @@ | ||
import"./tslib.es6-6e0f8414.js";import"./tauri-3fc238fd.js";export{r as readText,w as writeText}from"./clipboard-a62a43e0.js";import"./tauri-c8e78b35.js"; | ||
export{r as readText,w as writeText}from"./clipboard-55b5cd25.js";import"./tslib.es6-9bc0804d.js";import"./tauri-19998099.js";import"./tauri-72ceb064.js"; |
@@ -1,1 +0,1 @@ | ||
import"./tslib.es6-6e0f8414.js";import"./tauri-3fc238fd.js";export{a as ask,c as confirm,m as message,o as open,s as save}from"./dialog-2a44d024.js";import"./tauri-c8e78b35.js"; | ||
export{a as ask,c as confirm,m as message,o as open,s as save}from"./dialog-8852dd1f.js";import"./tslib.es6-9bc0804d.js";import"./tauri-19998099.js";import"./tauri-72ceb064.js"; |
@@ -1,1 +0,1 @@ | ||
import"./tslib.es6-6e0f8414.js";import"./event-423d7017.js";export{a as emit,l as listen,o as once}from"./event-1e11bdaf.js";import"./tauri-3fc238fd.js";import"./tauri-c8e78b35.js"; | ||
export{e as emit,l as listen,o as once}from"./event-4f5dbe80.js";import"./tslib.es6-9bc0804d.js";import"./event-41f00c56.js";import"./tauri-19998099.js";import"./tauri-72ceb064.js"; |
@@ -1,1 +0,1 @@ | ||
import"./tslib.es6-6e0f8414.js";import"./tauri-3fc238fd.js";export{B as BaseDirectory,B as Dir,g as copyFile,d as createDir,a as readBinaryFile,c as readDir,r as readTextFile,e as removeDir,h as removeFile,i as renameFile,b as writeBinaryFile,w as writeFile}from"./fs-f1ae5df7.js";import"./tauri-c8e78b35.js"; | ||
export{B as BaseDirectory,B as Dir,f as copyFile,d as createDir,a as readBinaryFile,c as readDir,r as readTextFile,e as removeDir,g as removeFile,h as renameFile,b as writeBinaryFile,w as writeFile}from"./fs-c49c16c4.js";import"./tslib.es6-9bc0804d.js";import"./tauri-19998099.js";import"./tauri-72ceb064.js"; |
@@ -1,1 +0,1 @@ | ||
import"./tslib.es6-6e0f8414.js";import"./tauri-3fc238fd.js";import"./tauri-c8e78b35.js";export{i as isRegistered,r as register,a as registerAll,u as unregister,b as unregisterAll}from"./globalShortcut-7a2b88b1.js"; | ||
export{i as isRegistered,r as register,a as registerAll,u as unregister,b as unregisterAll}from"./globalShortcut-931a6c42.js";import"./tslib.es6-9bc0804d.js";import"./tauri-19998099.js";import"./tauri-72ceb064.js"; |
@@ -0,4 +1,8 @@ | ||
interface Duration { | ||
secs: number; | ||
nanos: number; | ||
} | ||
interface ClientOptions { | ||
maxRedirections: number; | ||
connectTimeout: number; | ||
maxRedirections?: number; | ||
connectTimeout?: number | Duration; | ||
} | ||
@@ -84,3 +88,3 @@ declare enum ResponseType { | ||
body?: Body; | ||
timeout?: number; | ||
timeout?: number | Duration; | ||
responseType?: ResponseType; | ||
@@ -193,3 +197,3 @@ } | ||
declare function fetch<T>(url: string, options?: FetchOptions): Promise<Response<T>>; | ||
export type { ClientOptions, Part, HttpVerb, HttpOptions, RequestOptions, FetchOptions }; | ||
export type { Duration, ClientOptions, Part, HttpVerb, HttpOptions, RequestOptions, FetchOptions }; | ||
export { getClient, fetch, Body, Client, Response, ResponseType }; |
@@ -1,1 +0,1 @@ | ||
import"./tslib.es6-6e0f8414.js";import"./tauri-3fc238fd.js";export{B as Body,C as Client,R as Response,a as ResponseType,f as fetch,g as getClient}from"./http-d562182a.js";import"./tauri-c8e78b35.js"; | ||
export{B as Body,C as Client,R as Response,a as ResponseType,f as fetch,g as getClient}from"./http-aab8aeed.js";import"./tslib.es6-9bc0804d.js";import"./tauri-19998099.js";import"./tauri-72ceb064.js"; |
@@ -1,1 +0,1 @@ | ||
import{i as t}from"./tauri-c8e78b35.js";export{a as tauri}from"./tauri-c8e78b35.js";export{f as fs}from"./fs-f1ae5df7.js";export{h as http}from"./http-d562182a.js";export{p as path}from"./path-d0e12767.js";export{s as shell}from"./shell-6ca25640.js";export{w as window}from"./window-6d9e129a.js";export{o as os}from"./os-1b7b3262.js";export{a as app}from"./app-c15953c5.js";export{c as cli}from"./cli-6d9670a2.js";export{c as clipboard}from"./clipboard-a62a43e0.js";export{d as dialog}from"./dialog-2a44d024.js";export{e as event}from"./event-1e11bdaf.js";export{g as globalShortcut}from"./globalShortcut-7a2b88b1.js";export{n as notification}from"./notification-85ce9482.js";export{p as process}from"./process-824cb6cc.js";export{u as updater}from"./updater-1bd7bae4.js";import"./tslib.es6-6e0f8414.js";import"./tauri-3fc238fd.js";import"./os-check-094ffe86.js";import"./event-423d7017.js";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t){var e=function(t){var e,o=Object.prototype,n=o.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{s({},"")}catch(t){s=function(t,r,e){return t[r]=e}}function f(t,r,e,o){var n=r&&r.prototype instanceof v?r:v,i=Object.create(n.prototype),a=new G(o||[]);return i._invoke=function(t,r,e){var o=l;return function(n,i){if(o===y)throw new Error("Generator is already running");if(o===d){if("throw"===n)throw i;return T()}for(e.method=n,e.arg=i;;){var a=e.delegate;if(a){var c=S(a,e);if(c){if(c===m)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(o===l)throw o=d,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);o=y;var u=h(t,r,e);if("normal"===u.type){if(o=e.done?d:p,u.arg===m)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(o=d,e.method="throw",e.arg=u.arg)}}}(t,e,a),i}function h(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var l="suspendedStart",p="suspendedYield",y="executing",d="completed",m={};function v(){}function g(){}function w(){}var b={};s(b,a,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(N([])));j&&j!==o&&n.call(j,a)&&(b=j);var L=w.prototype=v.prototype=Object.create(b);function E(t){["next","throw","return"].forEach((function(r){s(t,r,(function(t){return this._invoke(r,t)}))}))}function _(t,e){function o(i,a,c,u){var s=h(t[i],t,a);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"===r(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){o("next",t,c,u)}),(function(t){o("throw",t,c,u)})):e.resolve(l).then((function(t){f.value=t,c(f)}),(function(t){return o("throw",t,c,u)}))}u(s.arg)}var i;this._invoke=function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}}function S(t,r){var o=t.iterator[r.method];if(o===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,S(t,r),"throw"===r.method))return m;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var n=h(o,t.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,m;var i=n.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function k(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function N(t){if(t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}return{next:T}}function T(){return{value:e,done:!0}}return g.prototype=w,s(L,"constructor",w),s(w,"constructor",g),g.displayName=s(w,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===g||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,s(t,u,"GeneratorFunction")),t.prototype=Object.create(L),t},t.awrap=function(t){return{__await:t}},E(_.prototype),s(_.prototype,c,(function(){return this})),t.AsyncIterator=_,t.async=function(r,e,o,n,i){void 0===i&&(i=Promise);var a=new _(f(r,e,o,n),i);return t.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(L),s(L,u,"Generator"),s(L,a,(function(){return this})),s(L,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var o=r.pop();if(o in t)return e.value=o,e.done=!1,e}return e.done=!0,e}},t.values=N,G.prototype={constructor:G,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(o,n){return c.type="throw",c.arg=t,r.next=o,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),m},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),k(e),m}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var o=e.completion;if("throw"===o.type){var n=o.arg;k(e)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,o){return this.delegate={iterator:N(t),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=e),m}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"===("undefined"==typeof globalThis?"undefined":r(globalThis))?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}({exports:{}});var i=t;export{i as invoke}; | ||
import{i as t}from"./tauri-72ceb064.js";export{a as tauri}from"./tauri-72ceb064.js";export{i as fs}from"./fs-c49c16c4.js";export{h as http}from"./http-aab8aeed.js";export{p as path}from"./path-675cc0e1.js";export{s as shell}from"./shell-b0ad01d8.js";export{w as window}from"./window-17a0fa95.js";export{o as os}from"./os-e9340543.js";export{c as app}from"./app-38574b8c.js";export{c as cli}from"./cli-178d2d3b.js";export{c as clipboard}from"./clipboard-55b5cd25.js";export{d as dialog}from"./dialog-8852dd1f.js";export{a as event}from"./event-4f5dbe80.js";export{g as globalShortcut}from"./globalShortcut-931a6c42.js";export{n as notification}from"./notification-f3496aeb.js";export{p as process}from"./process-feb02c5c.js";export{u as updater}from"./updater-aa9ff145.js";import"./tslib.es6-9bc0804d.js";import"./tauri-19998099.js";import"./os-check-094ffe86.js";import"./event-41f00c56.js";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t){var e=function(t){var e,o=Object.prototype,n=o.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{s({},"")}catch(t){s=function(t,r,e){return t[r]=e}}function f(t,r,e,o){var n=r&&r.prototype instanceof v?r:v,i=Object.create(n.prototype),a=new G(o||[]);return i._invoke=function(t,r,e){var o=l;return function(n,i){if(o===y)throw new Error("Generator is already running");if(o===d){if("throw"===n)throw i;return T()}for(e.method=n,e.arg=i;;){var a=e.delegate;if(a){var c=S(a,e);if(c){if(c===m)continue;return c}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(o===l)throw o=d,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);o=y;var u=h(t,r,e);if("normal"===u.type){if(o=e.done?d:p,u.arg===m)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(o=d,e.method="throw",e.arg=u.arg)}}}(t,e,a),i}function h(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var l="suspendedStart",p="suspendedYield",y="executing",d="completed",m={};function v(){}function g(){}function w(){}var b={};s(b,a,(function(){return this}));var x=Object.getPrototypeOf,j=x&&x(x(N([])));j&&j!==o&&n.call(j,a)&&(b=j);var L=w.prototype=v.prototype=Object.create(b);function E(t){["next","throw","return"].forEach((function(r){s(t,r,(function(t){return this._invoke(r,t)}))}))}function _(t,e){function o(i,a,c,u){var s=h(t[i],t,a);if("throw"!==s.type){var f=s.arg,l=f.value;return l&&"object"===r(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){o("next",t,c,u)}),(function(t){o("throw",t,c,u)})):e.resolve(l).then((function(t){f.value=t,c(f)}),(function(t){return o("throw",t,c,u)}))}u(s.arg)}var i;this._invoke=function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}}function S(t,r){var o=t.iterator[r.method];if(o===e){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=e,S(t,r),"throw"===r.method))return m;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var n=h(o,t.iterator,r.arg);if("throw"===n.type)return r.method="throw",r.arg=n.arg,r.delegate=null,m;var i=n.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function O(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function k(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function G(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function N(t){if(t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}return{next:T}}function T(){return{value:e,done:!0}}return g.prototype=w,s(L,"constructor",w),s(w,"constructor",g),g.displayName=s(w,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===g||"GeneratorFunction"===(r.displayName||r.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,s(t,u,"GeneratorFunction")),t.prototype=Object.create(L),t},t.awrap=function(t){return{__await:t}},E(_.prototype),s(_.prototype,c,(function(){return this})),t.AsyncIterator=_,t.async=function(r,e,o,n,i){void 0===i&&(i=Promise);var a=new _(f(r,e,o,n),i);return t.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(L),s(L,u,"Generator"),s(L,a,(function(){return this})),s(L,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var o=r.pop();if(o in t)return e.value=o,e.done=!1,e}return e.done=!0,e}},t.values=N,G.prototype={constructor:G,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(o,n){return c.type="throw",c.arg=t,r.next=o,n&&(r.method="next",r.arg=e),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var o=this.tryEntries[e];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=r,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),m},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),k(e),m}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var o=e.completion;if("throw"===o.type){var n=o.arg;k(e)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,o){return this.delegate={iterator:N(t),resultName:r,nextLoc:o},"next"===this.method&&(this.arg=e),m}},t}(t.exports);try{regeneratorRuntime=e}catch(t){"object"===("undefined"==typeof globalThis?"undefined":r(globalThis))?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}({exports:{}});var e=t;export{e as invoke}; |
@@ -1,1 +0,1 @@ | ||
import{_ as n,d as e,a as r,e as t}from"./tslib.es6-6e0f8414.js";function _(t){var _=this;window.__TAURI_IPC__=function(o){return n(_,void 0,void 0,(function(){var n,_,a,c=o.cmd,i=o.callback,s=o.error,u=e(o,["cmd","callback","error"]);return r(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),_=(n=window)["_".concat(i)],[4,t(c,u)];case 1:return _.apply(n,[e.sent()]),[3,3];case 2:return a=e.sent(),window["_".concat(s)](a),[3,3];case 3:return[2]}}))}))}}function o(n){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];window.__TAURI_METADATA__={__windows:t([n],e,!0).map((function(n){return{label:n}})),__currentWindow:{label:n}}}function a(){delete window.__TAURI_IPC__,delete window.__TAURI_METADATA__}export{a as clearMocks,_ as mockIPC,o as mockWindows}; | ||
import{_ as n,d as r,a as e,e as t}from"./tslib.es6-9bc0804d.js";function _(t){var _=this;window.__TAURI_IPC__=function(o){return n(_,void 0,void 0,(function(){var n,_,c,a=o.cmd,i=o.callback,s=o.error,d=r(o,["cmd","callback","error"]);return e(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),_=(n=window)["_".concat(i)],[4,t(a,d)];case 1:return _.apply(n,[r.sent()]),[3,3];case 2:return c=r.sent(),window["_".concat(s)](c),[3,3];case 3:return[2]}}))}))}}function o(n){for(var r=[],e=1;e<arguments.length;e++)r[e-1]=arguments[e];window.__TAURI_METADATA__={__windows:t([n],r,!0).map((function(n){return{label:n}})),__currentWindow:{label:n}}}function c(){delete window.__TAURI_IPC__,delete window.__TAURI_METADATA__}export{c as clearMocks,_ as mockIPC,o as mockWindows}; |
@@ -1,1 +0,1 @@ | ||
import"./tslib.es6-6e0f8414.js";import"./tauri-3fc238fd.js";export{i as isPermissionGranted,r as requestPermission,s as sendNotification}from"./notification-85ce9482.js";import"./tauri-c8e78b35.js"; | ||
export{i as isPermissionGranted,r as requestPermission,s as sendNotification}from"./notification-f3496aeb.js";import"./tslib.es6-9bc0804d.js";import"./tauri-19998099.js";import"./tauri-72ceb064.js"; |
@@ -1,1 +0,1 @@ | ||
import"./tslib.es6-6e0f8414.js";import"./os-check-094ffe86.js";import"./tauri-3fc238fd.js";export{E as EOL,a as arch,p as platform,b as tempdir,t as type,v as version}from"./os-1b7b3262.js";import"./tauri-c8e78b35.js"; | ||
export{E as EOL,a as arch,p as platform,b as tempdir,t as type,v as version}from"./os-e9340543.js";import"./tslib.es6-9bc0804d.js";import"./os-check-094ffe86.js";import"./tauri-19998099.js";import"./tauri-72ceb064.js"; |
{ | ||
"name": "@tauri-apps/api", | ||
"version": "1.0.0-rc.4", | ||
"version": "1.0.0-rc.5", | ||
"description": "Tauri API definitions", | ||
@@ -121,13 +121,13 @@ "type": "module", | ||
"devDependencies": { | ||
"@babel/core": "7.17.9", | ||
"@babel/preset-env": "7.16.11", | ||
"@babel/core": "7.17.10", | ||
"@babel/preset-env": "7.17.10", | ||
"@babel/preset-typescript": "7.16.7", | ||
"@rollup/plugin-babel": "5.3.1", | ||
"@rollup/plugin-commonjs": "21.1.0", | ||
"@rollup/plugin-node-resolve": "13.2.1", | ||
"@rollup/plugin-commonjs": "22.0.0", | ||
"@rollup/plugin-node-resolve": "13.3.0", | ||
"@rollup/plugin-sucrase": "4.0.3", | ||
"@rollup/plugin-typescript": "8.3.2", | ||
"@typescript-eslint/eslint-plugin": "5.20.0", | ||
"@typescript-eslint/parser": "5.20.0", | ||
"eslint": "8.13.0", | ||
"@typescript-eslint/eslint-plugin": "5.22.0", | ||
"@typescript-eslint/parser": "5.22.0", | ||
"eslint": "8.14.0", | ||
"eslint-config-prettier": "8.5.0", | ||
@@ -143,8 +143,8 @@ "eslint-config-standard-with-typescript": "21.0.1", | ||
"rimraf": "3.0.2", | ||
"rollup": "2.70.2", | ||
"rollup": "2.71.1", | ||
"rollup-plugin-terser": "7.0.2", | ||
"tslib": "2.3.1", | ||
"tslib": "2.4.0", | ||
"typedoc": "0.22.15", | ||
"typedoc-plugin-markdown": "3.12.0", | ||
"typescript": "4.6.3" | ||
"typedoc-plugin-markdown": "3.12.1", | ||
"typescript": "4.6.4" | ||
}, | ||
@@ -151,0 +151,0 @@ "dependencies": { |
@@ -1,1 +0,1 @@ | ||
import"./tslib.es6-6e0f8414.js";import"./tauri-3fc238fd.js";export{B as BaseDirectory}from"./fs-f1ae5df7.js";import"./os-check-094ffe86.js";export{a as appDir,b as audioDir,B as basename,c as cacheDir,d as configDir,e as dataDir,u as delimiter,f as desktopDir,z as dirname,g as documentDir,h as downloadDir,i as executableDir,A as extname,j as fontDir,k as homeDir,C as isAbsolute,y as join,l as localDataDir,q as logDir,x as normalize,m as pictureDir,n as publicDir,w as resolve,r as resourceDir,o as runtimeDir,s as sep,t as templateDir,v as videoDir}from"./path-d0e12767.js";import"./tauri-c8e78b35.js"; | ||
export{a as appDir,b as audioDir,B as basename,c as cacheDir,d as configDir,e as dataDir,u as delimiter,f as desktopDir,z as dirname,g as documentDir,h as downloadDir,i as executableDir,A as extname,j as fontDir,k as homeDir,C as isAbsolute,y as join,l as localDataDir,q as logDir,x as normalize,m as pictureDir,n as publicDir,w as resolve,r as resourceDir,o as runtimeDir,s as sep,t as templateDir,v as videoDir}from"./path-675cc0e1.js";export{B as BaseDirectory}from"./fs-c49c16c4.js";import"./tslib.es6-9bc0804d.js";import"./tauri-19998099.js";import"./tauri-72ceb064.js";import"./os-check-094ffe86.js"; |
@@ -1,1 +0,1 @@ | ||
import"./tslib.es6-6e0f8414.js";import"./tauri-3fc238fd.js";export{e as exit,r as relaunch}from"./process-824cb6cc.js";import"./tauri-c8e78b35.js"; | ||
export{e as exit,r as relaunch}from"./process-feb02c5c.js";import"./tslib.es6-9bc0804d.js";import"./tauri-19998099.js";import"./tauri-72ceb064.js"; |
@@ -1,1 +0,1 @@ | ||
import"./tslib.es6-6e0f8414.js";import"./tauri-3fc238fd.js";import"./tauri-c8e78b35.js";export{a as Child,C as Command,E as EventEmitter,o as open}from"./shell-6ca25640.js"; | ||
export{a as Child,C as Command,E as EventEmitter,o as open}from"./shell-b0ad01d8.js";import"./tslib.es6-9bc0804d.js";import"./tauri-19998099.js";import"./tauri-72ceb064.js"; |
@@ -1,1 +0,1 @@ | ||
import"./tslib.es6-6e0f8414.js";export{c as convertFileSrc,i as invoke,t as transformCallback}from"./tauri-c8e78b35.js"; | ||
export{c as convertFileSrc,i as invoke,t as transformCallback}from"./tauri-72ceb064.js";import"./tslib.es6-9bc0804d.js"; |
@@ -1,1 +0,1 @@ | ||
import"./tslib.es6-6e0f8414.js";import"./event-1e11bdaf.js";export{c as checkUpdate,i as installUpdate}from"./updater-1bd7bae4.js";import"./event-423d7017.js";import"./tauri-3fc238fd.js";import"./tauri-c8e78b35.js"; | ||
export{c as checkUpdate,i as installUpdate}from"./updater-aa9ff145.js";import"./tslib.es6-9bc0804d.js";import"./event-4f5dbe80.js";import"./event-41f00c56.js";import"./tauri-19998099.js";import"./tauri-72ceb064.js"; |
@@ -1,1 +0,1 @@ | ||
import"./tslib.es6-6e0f8414.js";import"./tauri-3fc238fd.js";import"./event-423d7017.js";export{e as LogicalPosition,L as LogicalSize,f as PhysicalPosition,P as PhysicalSize,U as UserAttentionType,W as WebviewWindow,a as WebviewWindowHandle,b as WindowManager,d as appWindow,i as availableMonitors,h as currentMonitor,c as getAll,g as getCurrent,p as primaryMonitor}from"./window-6d9e129a.js";import"./tauri-c8e78b35.js"; | ||
export{e as LogicalPosition,L as LogicalSize,f as PhysicalPosition,P as PhysicalSize,U as UserAttentionType,W as WebviewWindow,a as WebviewWindowHandle,b as WindowManager,d as appWindow,i as availableMonitors,h as currentMonitor,c as getAll,g as getCurrent,p as primaryMonitor}from"./window-17a0fa95.js";import"./tslib.es6-9bc0804d.js";import"./tauri-19998099.js";import"./tauri-72ceb064.js";import"./event-41f00c56.js"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 9 instances 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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 7 instances in 1 package
233952
2359