@airma/react-hooks
Advanced tools
Comparing version 18.3.1 to 18.4.0
@@ -1,1 +0,1 @@ | ||
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("@airma/react-state"),require("@airma/react-effect"),require("react"),require("@airma/react-hooks-core")):"function"==typeof define&&define.amd?define(["@airma/react-state","@airma/react-effect","react","@airma/react-hooks-core"],r):"object"==typeof exports?exports["@airma/react-hooks"]=r(require("@airma/react-state"),require("@airma/react-effect"),require("react"),require("@airma/react-hooks-core")):e["@airma/react-hooks"]=r(e["@airma/react-state"],e["@airma/react-effect"],e.react,e["@airma/react-hooks-core"])}(self,(function(e,r,t,n){return function(){"use strict";var o={772:function(e){e.exports=r},309:function(e){e.exports=n},400:function(r){r.exports=e},156:function(e){e.exports=t}},u={};function i(e){var r=u[e];if(void 0!==r)return r.exports;var t=u[e]={exports:{}};return o[e](t,t.exports,i),t.exports}i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,{a:r}),r},i.d=function(e,r){for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return function(){i.r(s),i.d(s,{ConfigProvider:function(){return a},Provider:function(){return e.Provider},Strategy:function(){return r.Strategy},createKey:function(){return e.createKey},createSessionKey:function(){return r.createSessionKey},model:function(){return e.model},provide:function(){return e.provide},session:function(){return r.session},useControlledModel:function(){return e.useControlledModel},useIsFetching:function(){return r.useIsFetching},useLazyComponent:function(){return r.useLazyComponent},useLoadedSession:function(){return r.useLoadedSession},useModel:function(){return e.useModel},useMutation:function(){return r.useMutation},useQuery:function(){return r.useQuery},useRealtimeInstance:function(){return e.useRealtimeInstance},useResponse:function(){return r.useResponse},useSelector:function(){return e.useSelector},useSession:function(){return r.useSession},useStaticModel:function(){return e.useStaticModel}});var e=i(400),r=i(772),t=i(156),n=i(309),o={};for(var u in n)["default","createKey","useModel","useStaticModel","useControlledModel","useSelector","model","useRealtimeInstance","createSessionKey","Strategy","useQuery","useMutation","useSession","useLoadedSession","useResponse","useIsFetching","useLazyComponent","session","provide","Provider","ConfigProvider"].indexOf(u)<0&&(o[u]=function(e){return n[e]}.bind(0,u));i.d(s,o);var a=function(e){var n=e.value,o=e.children;return(0,t.createElement)(r.ConfigProvider,{value:n},o)}}(),s}()})); | ||
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("@airma/react-state"),require("@airma/react-effect"),require("react"),require("@airma/react-hooks-core")):"function"==typeof define&&define.amd?define(["@airma/react-state","@airma/react-effect","react","@airma/react-hooks-core"],r):"object"==typeof exports?exports["@airma/react-hooks"]=r(require("@airma/react-state"),require("@airma/react-effect"),require("react"),require("@airma/react-hooks-core")):e["@airma/react-hooks"]=r(e["@airma/react-state"],e["@airma/react-effect"],e.react,e["@airma/react-hooks-core"])}(self,(function(e,r,t,n){return function(){"use strict";var o={772:function(e){e.exports=r},309:function(e){e.exports=n},400:function(r){r.exports=e},156:function(e){e.exports=t}},u={};function i(e){var r=u[e];if(void 0!==r)return r.exports;var t=u[e]={exports:{}};return o[e](t,t.exports,i),t.exports}i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,{a:r}),r},i.d=function(e,r){for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s={};return function(){i.r(s),i.d(s,{ConfigProvider:function(){return a},Provider:function(){return e.Provider},Strategy:function(){return r.Strategy},createKey:function(){return e.createKey},createSessionKey:function(){return r.createSessionKey},model:function(){return e.model},provide:function(){return e.provide},session:function(){return r.session},useControlledModel:function(){return e.useControlledModel},useIsFetching:function(){return r.useIsFetching},useLazyComponent:function(){return r.useLazyComponent},useLoadedSession:function(){return r.useLoadedSession},useModel:function(){return e.useModel},useMutation:function(){return r.useMutation},useQuery:function(){return r.useQuery},useRealtimeInstance:function(){return e.useRealtimeInstance},useResponse:function(){return r.useResponse},useSelector:function(){return e.useSelector},useSession:function(){return r.useSession},useSignal:function(){return e.useSignal},useStaticModel:function(){return e.useStaticModel}});var e=i(400),r=i(772),t=i(156),n=i(309),o={};for(var u in n)["default","createKey","useModel","useSignal","useStaticModel","useControlledModel","useSelector","model","useRealtimeInstance","createSessionKey","Strategy","useQuery","useMutation","useSession","useLoadedSession","useResponse","useIsFetching","useLazyComponent","session","provide","Provider","ConfigProvider"].indexOf(u)<0&&(o[u]=function(e){return n[e]}.bind(0,u));i.d(s,o);var a=function(e){var n=e.value,o=e.children;return(0,t.createElement)(r.ConfigProvider,{value:n},o)}}(),s}()})); |
@@ -15,2 +15,3 @@ import { FC, FunctionComponent, NamedExoticComponent, ReactNode } from 'react'; | ||
useModel, | ||
useSignal, | ||
useStaticModel, | ||
@@ -17,0 +18,0 @@ useControlledModel, |
{ | ||
"private": false, | ||
"name": "@airma/react-hooks", | ||
"version": "18.3.1", | ||
"version": "18.4.0", | ||
"description": "This is a common react hook package", | ||
@@ -28,5 +28,5 @@ "license": "MIT", | ||
"dependencies": { | ||
"@airma/react-effect": ">=18.3.2", | ||
"@airma/react-effect": ">=18.4.0", | ||
"@airma/react-hooks-core": "^18.3.0", | ||
"@airma/react-state": ">=18.3.1", | ||
"@airma/react-state": ">=18.4.0", | ||
"react": ">=16.8.0" | ||
@@ -49,3 +49,3 @@ }, | ||
"rewire": "5.0.0", | ||
"typescript": "4.9.4" | ||
"typescript": "4.9.5" | ||
}, | ||
@@ -52,0 +52,0 @@ "keywords": [ |
6262
43
Updated@airma/react-effect@>=18.4.0
Updated@airma/react-state@>=18.4.0