Releases: KeithHenry/chromeExtensionAsync
v3.3.2
v3.3.1
v3.3.0
Added ES5 support for tool chains that need it.
This adds babel dev dependencies for building the ES5 output, but the core library is the same as v3.2.4
v3.2.4
Added parameter support to executeAsyncFunction
and clarifications to docs.
v3.2.2
Refactor of the new chrome.tabs.executeAsyncFunction
so that it no longer needs a timer/timeout.
v3.2.1
Typo bugfix, missing ()
cause setup closure to not execute. Now fixed.
v3.2.0
Added chrome.tabs.executeAsyncFunction
to easily execute async functions in the page from an extension. This isn't part of the core API extension and is referenced separately:
<script type="text/javascript" src="execute-async-function.js"></script>
v3.1.2
Added chrome.sockets.tcp
, .udp
and tcpServer
(as chrome.socket
is deprecated).
Minor fixes for []
being passed when there are no arguments passed in the callback.
v3.1.0
Added support for multiple-parameter callbacks.
Added lots of additional APIs.
Added TypeScript definitions chrome-extension-async.d.ts
v3.0.0
3.0.0 is a breaking change from v1 and v2: now the original API is wrapped by an identical method that can be called with either old or new syntax.
Callbacks can still be used on the same methods, and will fire before the promise resolves.
Any error thrown inside the callback function will cause the promise to reject.