@airma/react-hooks
Advanced tools
Comparing version 18.3.0-alpha.12 to 18.3.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},726:function(e,r,t){function n(e,r){if(null==e)return{};var t,n,o=function(e,r){if(null==e)return{};var t,n,o={},u=Object.keys(e);for(n=0;n<u.length;n++)t=u[n],r.indexOf(t)>=0||(o[t]=e[t]);return o}(e,r);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);for(n=0;n<u.length;n++)t=u[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}t.d(r,{Z:function(){return n}})},763:function(e,r,t){function n(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}function o(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,o,u=[],i=!0,a=!1;try{for(t=t.call(e);!(i=(n=t.next()).done)&&(u.push(n.value),!r||u.length!==r);i=!0);}catch(e){a=!0,o=e}finally{try{i||null==t.return||t.return()}finally{if(a)throw o}}return u}}(e,r)||function(e,r){if(e){if("string"==typeof e)return n(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?n(e,r):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}t.d(r,{Z:function(){return o}})}},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 a={};return function(){i.r(a),i.d(a,{ConfigProvider:function(){return l},Provider:function(){return t.Provider},Strategy:function(){return n.Strategy},createKey:function(){return t.createKey},createSessionKey:function(){return n.createSessionKey},model:function(){return t.model},provide:function(){return t.provide},session:function(){return n.session},useControlledModel:function(){return t.useControlledModel},useIsFetching:function(){return n.useIsFetching},useLazyComponent:function(){return n.useLazyComponent},useLoadedSession:function(){return n.useLoadedSession},useModel:function(){return t.useModel},useMutation:function(){return n.useMutation},useQuery:function(){return n.useQuery},useRealtimeInstance:function(){return t.useRealtimeInstance},useResponse:function(){return n.useResponse},useSelector:function(){return t.useSelector},useSession:function(){return n.useSession}});var e=i(726),r=i(763),t=i(400),n=i(772),o=i(156),u=i(309),c={};for(var s in u)["default","createKey","useModel","useControlledModel","useRealtimeInstance","useSelector","model","createSessionKey","Strategy","useQuery","useMutation","useSession","useLoadedSession","useResponse","useIsFetching","useLazyComponent","session","provide","Provider","ConfigProvider"].indexOf(s)<0&&(c[s]=function(e){return u[e]}.bind(0,s));i.d(a,c);var f=["batchUpdate"],l=function(u){var i=u.value,a=u.children,c=(0,o.useMemo)((function(){return[{batchUpdate:i.batchUpdate},(0,e.Z)(i,f)]}),[]),s=(0,r.Z)(c,2),l=s[0],d=s[1];return(0,o.createElement)(t.ConfigProvider,{value:l},(0,o.createElement)(n.ConfigProvider,{value:d},a))}}(),a}()})); | ||
!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}});var e=i(400),r=i(772),t=i(156),n=i(309),o={};for(var u in n)["default","createKey","useModel","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}()})); |
@@ -16,5 +16,5 @@ import { FC, FunctionComponent, NamedExoticComponent, ReactNode } from 'react'; | ||
useControlledModel, | ||
useRealtimeInstance, | ||
useSelector, | ||
model | ||
model, | ||
useRealtimeInstance | ||
} from '@airma/react-state'; | ||
@@ -21,0 +21,0 @@ |
{ | ||
"private": false, | ||
"name": "@airma/react-hooks", | ||
"version": "18.3.0-alpha.12", | ||
"version": "18.3.0", | ||
"description": "This is a common react hook package", | ||
@@ -28,5 +28,5 @@ "license": "MIT", | ||
"dependencies": { | ||
"@airma/react-effect": "^18.3.0-alpha.12", | ||
"@airma/react-hooks-core": "^18.3.0-alpha.12", | ||
"@airma/react-state": "^18.3.0-alpha.12", | ||
"@airma/react-effect": "^18.3.0", | ||
"@airma/react-hooks-core": "^18.3.0", | ||
"@airma/react-state": "^18.3.0", | ||
"react": ">=16.8.0" | ||
@@ -33,0 +33,0 @@ }, |
@@ -13,3 +13,3 @@ [![npm][npm-image]][npm-url] | ||
Now, it is a set package abount `@airma/react-*` tools. You can use it to replace `@airma/react-*` packages. | ||
Now, it is a composite package about `@airma/react-*` tools. | ||
@@ -16,0 +16,0 @@ ## Document |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
6108
Updated@airma/react-effect@^18.3.0
Updated@airma/react-state@^18.3.0