@evlop/commons 1.0.231 → 1.0.233
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/constants/iconInfo/reactNativeVectorIcons.lookup.min.json +1 -1
- package/dist/src/constants/iconInfo/types.d.ts +2 -2
- package/dist/src/constants/iconInfo/types.d.ts.map +1 -1
- package/dist/src/hooks/useActionable.d.ts.map +1 -1
- package/dist/src/hooks/useActionable.js +1 -2
- package/dist/src/hooks/useActionable.js.map +1 -1
- package/package.json +2 -2
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useActionable.d.ts","sourceRoot":"","sources":["../../../src/hooks/useActionable.tsx"],"names":[],"mappings":"AASA;;;;GAIG;AAEF,MAAM,WAAW,YAAa,SAAQ,MAAM;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAC7B,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IACjC,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAChC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;IAC7B,MAAM,EAAE,GAAG,CAAC;IACZ;;OAEG;IACH,QAAQ,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC5B,WAAW,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC/B,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,CAAC,OAAO,EAAE;QAAC,KAAK,EAAE,GAAG,CAAC;QAAC,SAAS,EAAE,GAAG,CAAC;QAAC,QAAQ,EAAE,GAAG,CAAC;QAAC,KAAK,EAAE,GAAG,CAAA;KAAC,KAAK,IAAI,CAAC;CACxF;AAED,aAAK,cAAc,GAAG,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;AAC3C,oBAAY,MAAM,GAAG,YAAY,GAAG,cA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G,QAkBvF,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
@@ -66,8 +66,7 @@ const useActionableWithNavigator = (navigator) => {
|
|
66
66
|
const createActionHandeller = react_1.useCallback((action) => (event) => {
|
67
67
|
if (Array.isArray(action)) {
|
68
68
|
// run all actions in sequence, if any action returns a promise, wait for it to resolve before running the next action
|
69
|
-
lodash_1.reduce(action, (promise, actionItem) => promise.then(() => handleAction(actionItem, event)), Promise.resolve());
|
70
|
-
return;
|
69
|
+
return lodash_1.reduce(action, (promise, actionItem) => promise.then(() => handleAction(actionItem, event)), Promise.resolve());
|
71
70
|
}
|
72
71
|
return handleAction(action, event);
|
73
72
|
}, [handleAction]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useActionable.js","sourceRoot":"","sources":["../../../src/hooks/useActionable.tsx"],"names":[],"mappings":";;;;;;AAAA,iCAAqD;AACrD,6CAA0C;AAC1C,mCAAuD;AACvD,iDAA4C;AAC5C,yCAAoC;AACpC,gEAAwC;AA+BhC,MAAM,0BAA0B,GAAG,CAAC,SAAc,EAAE,EAAE;IAC1D,MAAM,QAAQ,GAAG,yBAAW,EAAE,CAAC;IAC/B,MAAM,QAAQ,GAAG,cAAM,EAAE,CAAC;IAC1B,MAAM,mBAAmB,GAAG,cAAM,EAAY,CAAC;IAC/C,QAAQ,CAAC,OAAO,GAAG,mBAAQ,EAAE,CAAC;IAC9B,mBAAmB,CAAC,OAAO,GAAG,qBAAW,EAAE,CAAC;IAE5C,MAAM,YAAY,GAAI,mBAAW,CAAC,CAAC,MAAc,EAAE,KAAU,EAAG,EAAE;QAC9D,IAAI,WAAW,GAAG,MAAM,CAAC;QACzB,qGAAqG;QAErG,OAAO,OAAO,WAAW,KAAK,QAAQ,IAAI,CAAC,OAAO,WAAW,KAAK,QAAQ,IAAI,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,EAAE;YAClH,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE;gBACjC,WAAW,GAAG,Y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pF,IAAG,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;YACtB,sHAAsH;YACtH,OAAO,eAAM,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,UAAU,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,YAAY,CAAC,UAAU,EAAE,KAAK,CAAC,CAAC,EAAE,OAAO,CAAC,OAAO,EAAE,CAAC,CAAA;SACzH;QACD,OAAO,YAAY,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACvC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,CAAC;IAEnB,OAAO,qBAAqB,CAAC;AAChC,CAAC,CAAA;AAxDY,QAAA,0BAA0B,8BAwDtC;AAED;;GAEG;AACG,MAAM,aAAa,GAAG,GAAE,EAAE;IAC7B,MAAM,SAAS,GAAG,2BAAY,EAAE,CAAC;IAEjC,OAAO,kCAA0B,CAAC,SAAS,CAAC,CAAA;AAChD,CAAC,CAAC;AAJW,QAAA,aAAa,iBAIxB;AAEF,kBAAe,qBAAa,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@evlop/commons",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.233",
|
4
4
|
"description": "",
|
5
5
|
"main": "dist/main.js",
|
6
6
|
"peerDependencies": {
|
@@ -49,7 +49,7 @@
|
|
49
49
|
"mocha": "^8.4.0",
|
50
50
|
"query-string": "^7.1.0",
|
51
51
|
"react-native": "^0.68.2",
|
52
|
-
"react-native-vector-icons": "^10.0
|
52
|
+
"react-native-vector-icons": "^10.2.0",
|
53
53
|
"ts-node": "^10.4.0",
|
54
54
|
"typescript": "^4.1.3",
|
55
55
|
"uuid": "^8.3.2"
|