ouisys-engine 4.0.25 → 4.0.26

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.
@@ -0,0 +1,3 @@
1
+ import { useSelector as IuseSelector } from 'react-redux';
2
+ declare const useOneClickRedirectUrl: (useSelector: typeof IuseSelector) => string;
3
+ export { useOneClickRedirectUrl };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useOneClickRedirectUrl=void 0;var useOneClickRedirectUrl=function(useSelector){var _currentState$result,_currentState$result$,_useSelector=useSelector(function(state){return state.oneClickFlow}),currentState=_useSelector.currentState;return(null===currentState||void 0===currentState||null===(_currentState$result=currentState.result)||void 0===_currentState$result||null===(_currentState$result$=_currentState$result.data)||void 0===_currentState$result$?void 0:_currentState$result$.redirectUrl)||"JavaScript:Void(0);"};exports.useOneClickRedirectUrl=useOneClickRedirectUrl;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ouisys-engine",
3
- "version": "4.0.25",
3
+ "version": "4.0.26",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "directories": "dist dev-tools",