@wellesley/network 1.0.477 → 1.0.478
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{createSlice as Cd}from"https://cdn.jsdelivr.net/npm/@reduxjs/toolkit@2.2.1/+esm";import _n,{useRef as Na,useEffect as ka}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useDispatch as _d,useSelector as zd}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{toast as Sa}from"https://cdn.jsdelivr.net/npm/@wellesley/notifications@1.0.
|
|
1
|
+
import{createSlice as Cd}from"https://cdn.jsdelivr.net/npm/@reduxjs/toolkit@2.2.1/+esm";import _n,{useRef as Na,useEffect as ka}from"https://cdn.jsdelivr.net/npm/react@18.2.0/+esm";import{useDispatch as _d,useSelector as zd}from"https://cdn.jsdelivr.net/npm/react-redux@9.1.0/+esm";import{toast as Sa}from"https://cdn.jsdelivr.net/npm/@wellesley/notifications@1.0.535";function Nd(){return!(typeof navigator<"u"&&"boolean"==typeof navigator.onLine)||navigator.onLine}const Pd={isOnline:Nd()},xi=Cd({name:"network",initialState:Pd,reducers:{setOnline:(e,{payload:t})=>{e.isOnline=t}},selectors:{selectOnline:e=>e.isOnline}});var xa,Ea,Ca,_a,wi={exports:{}},xe={},ki={exports:{}},Si={};
|
|
2
2
|
/**
|
|
3
3
|
* @license React
|
|
4
4
|
* scheduler.production.min.js
|