react-hooks-global-states 16.0.1-beta → 16.0.1

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.
Files changed (46) hide show
  1. package/jest.config.js +50 -0
  2. package/package.json +52 -2
  3. package/GlobalStore.cjs +0 -1
  4. package/GlobalStore.d.ts +0 -160
  5. package/GlobalStore.debugProps.cjs +0 -1
  6. package/GlobalStore.debugProps.d.ts +0 -5
  7. package/GlobalStore.debugProps.js +0 -1
  8. package/GlobalStore.debugProps.mjs +0 -1
  9. package/GlobalStore.js +0 -1
  10. package/GlobalStore.mjs +0 -1
  11. package/actions.cjs +0 -1
  12. package/actions.d.ts +0 -32
  13. package/actions.js +0 -1
  14. package/actions.mjs +0 -1
  15. package/bundle.cjs +0 -1
  16. package/bundle.js +0 -1
  17. package/bundle.mjs +0 -1
  18. package/createContext.cjs +0 -1
  19. package/createContext.d.ts +0 -15
  20. package/createContext.js +0 -1
  21. package/createContext.mjs +0 -1
  22. package/createGlobalState.cjs +0 -1
  23. package/createGlobalState.d.ts +0 -7
  24. package/createGlobalState.js +0 -1
  25. package/createGlobalState.mjs +0 -1
  26. package/index.d.ts +0 -9
  27. package/isRecord.cjs +0 -1
  28. package/isRecord.d.ts +0 -2
  29. package/isRecord.js +0 -1
  30. package/isRecord.mjs +0 -1
  31. package/shallowCompare.cjs +0 -1
  32. package/shallowCompare.d.ts +0 -52
  33. package/shallowCompare.js +0 -1
  34. package/shallowCompare.mjs +0 -1
  35. package/throwWrongKeyOnActionCollectionConfig.cjs +0 -12
  36. package/throwWrongKeyOnActionCollectionConfig.d.ts +0 -2
  37. package/throwWrongKeyOnActionCollectionConfig.js +0 -12
  38. package/throwWrongKeyOnActionCollectionConfig.mjs +0 -12
  39. package/types.cjs +0 -1
  40. package/types.d.ts +0 -1268
  41. package/types.js +0 -1
  42. package/types.mjs +0 -0
  43. package/uniqueId.cjs +0 -1
  44. package/uniqueId.d.ts +0 -7
  45. package/uniqueId.js +0 -1
  46. package/uniqueId.mjs +0 -1
@@ -1,12 +0,0 @@
1
- "use strict";var o=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var c=(t,e)=>{for(var a in e)o(t,a,{get:e[a],enumerable:!0})},d=(t,e,a,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of g(e))!h.call(t,n)&&n!==a&&o(t,n,{get:()=>e[n],enumerable:!(r=s(e,n))||r.enumerable});return t};var f=t=>d(o({},"__esModule",{value:!0}),t);var l={};c(l,{default:()=>u,throwWrongKeyOnActionCollectionConfig:()=>i});module.exports=f(l);var i=t=>{throw new Error(`[WRONG CONFIGURATION!]: Every key inside the storeActionsConfig must be a higher order function that returns a function
2
- [${t}]: key is not a valid function, try something like this:
3
- {
4
-
5
- ${t}: (param) => ({ setState, getState, setMetadata, getMetadata, actions }) => {
6
-
7
- setState((state) => ({ ...state, ...param }))
8
-
9
- }
10
-
11
- }
12
- `)},u=i;
@@ -1,2 +0,0 @@
1
- export declare const throwWrongKeyOnActionCollectionConfig: (action_key: string) => never;
2
- export default throwWrongKeyOnActionCollectionConfig;
@@ -1,12 +0,0 @@
1
- "use strict";var o=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var c=(t,e)=>{for(var a in e)o(t,a,{get:e[a],enumerable:!0})},d=(t,e,a,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of g(e))!h.call(t,n)&&n!==a&&o(t,n,{get:()=>e[n],enumerable:!(r=s(e,n))||r.enumerable});return t};var f=t=>d(o({},"__esModule",{value:!0}),t);var l={};c(l,{default:()=>u,throwWrongKeyOnActionCollectionConfig:()=>i});module.exports=f(l);var i=t=>{throw new Error(`[WRONG CONFIGURATION!]: Every key inside the storeActionsConfig must be a higher order function that returns a function
2
- [${t}]: key is not a valid function, try something like this:
3
- {
4
-
5
- ${t}: (param) => ({ setState, getState, setMetadata, getMetadata, actions }) => {
6
-
7
- setState((state) => ({ ...state, ...param }))
8
-
9
- }
10
-
11
- }
12
- `)},u=i;
@@ -1,12 +0,0 @@
1
- var e=t=>{throw new Error(`[WRONG CONFIGURATION!]: Every key inside the storeActionsConfig must be a higher order function that returns a function
2
- [${t}]: key is not a valid function, try something like this:
3
- {
4
-
5
- ${t}: (param) => ({ setState, getState, setMetadata, getMetadata, actions }) => {
6
-
7
- setState((state) => ({ ...state, ...param }))
8
-
9
- }
10
-
11
- }
12
- `)},n=e;export{n as default,e as throwWrongKeyOnActionCollectionConfig};
package/types.cjs DELETED
@@ -1 +0,0 @@
1
- "use strict";var n=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var S=Object.prototype.hasOwnProperty;var d=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of i(t))!S.call(e,a)&&a!==r&&n(e,a,{get:()=>t[a],enumerable:!(o=s(t,a))||o.enumerable});return e};var l=e=>d(n({},"__esModule",{value:!0}),e);var c={};module.exports=l(c);