@blumjs/router
Advanced tools
Comparing version 7.0.0 to 7.1.0
@@ -38,3 +38,3 @@ import B, { useEffect as Ze } from "react"; | ||
}, dr = (e) => { | ||
et(e), window.blumRouter.isBackFromBrowser = !1, window.history.back(); | ||
e && et(e), window.blumRouter.isBackFromBrowser = !1, window.history.back(); | ||
}, et = ({ beforeBackHandledCallback: e, afterBackHandledCallback: t, isDispatchChangeStateEventAfterMiddleware: r, isDispatchChangeStateEventBeforeMiddleware: n }) => { | ||
@@ -41,0 +41,0 @@ e && (window.blumRouter.beforeBackHandledCallback = e), t && (window.blumRouter.afterBackHandledCallback = t), typeof r == "boolean" && (window.blumRouter.isDispatchChangeStateEventAfterMiddleware = r), typeof n == "boolean" && (window.blumRouter.isDispatchChangeStateEventBeforeMiddleware = n); |
@@ -1,2 +0,2 @@ | ||
export declare const back: (options: BackHandlerOptions) => void; | ||
export declare const back: (options?: BackHandlerOptions) => void; | ||
export declare const setBackHandlerOptions: ({ beforeBackHandledCallback, afterBackHandledCallback, isDispatchChangeStateEventAfterMiddleware, isDispatchChangeStateEventBeforeMiddleware, }: BackHandlerOptions) => void; | ||
@@ -3,0 +3,0 @@ export declare const setActiveViewPanel: (routes: { |
{ | ||
"name": "@blumjs/router", | ||
"version": "7.0.0", | ||
"version": "7.1.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "exports": { |
Sorry, the diff of this file is not supported yet
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
61867