@expandorg/app-utils
Advanced tools
Comparing version 0.0.31 to 0.0.32
{ | ||
"name": "@expandorg/app-utils", | ||
"version": "0.0.31", | ||
"version": "0.0.32", | ||
"description": "App utils", | ||
@@ -18,6 +18,6 @@ "main": "index.js", | ||
"dependencies": { | ||
"@expandorg/api-client": "^0.0.17", | ||
"@expandorg/utils": "^0.0.7" | ||
"@expandorg/api-client": "^0.0.18", | ||
"@expandorg/utils": "^0.0.8" | ||
}, | ||
"gitHead": "b2d6d46d2687f7a4a8cbca69d33700033001d678" | ||
"gitHead": "cdb72f1ee43a78b72a3607d5f72458309e0a8b39" | ||
} |
@@ -19,3 +19,3 @@ // @flow | ||
export const userUpdatedSaga = (data, params) => ({ | ||
export const userUpdatedSaga = (data: mixed, params: mixed) => ({ | ||
type: userActionTypes.UPDATED, | ||
@@ -39,3 +39,3 @@ payload: { data, params }, | ||
export function* handldNotificationAdded() { | ||
export function* handldNotificationAdded(): any { | ||
const { timeout } = yield race({ | ||
@@ -42,0 +42,0 @@ timeout: call(delay, NOTIFICATION_TIMEOUT), |
// @flow | ||
import { type ReduxAction } from './types.flow'; | ||
export default function entitiesMapReducer( | ||
@@ -3,0 +5,0 @@ actionTypes: Array<string>, |
// @flow | ||
import type { Saga } from 'redux-saga'; | ||
import { call, put, takeEvery, getContext } from 'redux-saga/effects'; | ||
import { call, put, getContext } from 'redux-saga/effects'; | ||
import { normalize } from 'normalizr'; | ||
import { ApiError } from '@expandorg/api-client'; | ||
import { type ReduxAction } from './types.flow'; | ||
export default function* handleAsyncCall({ | ||
@@ -18,2 +18,3 @@ type, | ||
const services = yield getContext('services'); | ||
// $FlowFixMe | ||
const validate = services.resolve('validate'); | ||
@@ -20,0 +21,0 @@ |
// @flow | ||
import { type ReduxAction } from './types.flow'; | ||
@@ -3,0 +4,0 @@ const normalizedItemsReducer = (entityName: string) => ( |
// @flow | ||
import PropTypes from 'prop-types'; | ||
import { type ReduxAction } from './types.flow'; | ||
@@ -5,0 +6,0 @@ declare type RequestStateType = { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16433
581
+ Added@expandorg/api-client@0.0.18(transitive)
+ Added@expandorg/utils@0.0.8(transitive)
- Removed@expandorg/api-client@0.0.17(transitive)
- Removed@expandorg/utils@0.0.7(transitive)
Updated@expandorg/utils@^0.0.8