Download Latest Version v4.0.0 source code.tar.gz (81.0 kB)
Email in envelope

Get an email when there's a new version of WebExt Redux

Home / v4.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2024-10-29 767 Bytes
v4.0.0 source code.tar.gz 2024-10-29 81.0 kB
v4.0.0 source code.zip 2024-10-29 99.0 kB
Totals: 3 Items   180.7 kB 0

This release fixes an issue in 3.0.0 that would cause Chrome to log a warning about a message channel being closed before a response was received. See [#303].

This is a breaking change if you're using the channelName argument; the option is now passed to createWrapStore() insead of wrapStore():

:::diff
  import { createWrapStore } from "webext-redux";

  const wrapStore = createWrapStore(
+   { channelName: 'mychannel' }
  );
  wrapStore(
    store, 
-   { channelName: 'mychannel' }
  );

The other options to wrapStore haven't changed. If you're not using channelName, no changes are required!

As part of this release, CI was also updated to use Node 18, 20, and 22 instead of 12, 14, and 16.

Source: README.md, updated 2024-10-29