@stackflow/plugin-history-sync
Advanced tools
Comparing version 1.3.14 to 1.3.15
@@ -334,13 +334,11 @@ "use strict"; | ||
const lastStep = last(rootActivity.steps); | ||
requestHistoryTick( | ||
() => replaceState({ | ||
history, | ||
pathname: template.fill(rootActivity.params), | ||
state: { | ||
activity: rootActivity, | ||
step: lastStep | ||
}, | ||
useHash: options.useHash | ||
}) | ||
); | ||
replaceState({ | ||
history, | ||
pathname: template.fill(rootActivity.params), | ||
state: { | ||
activity: rootActivity, | ||
step: lastStep | ||
}, | ||
useHash: options.useHash | ||
}); | ||
const onPopState = (e) => { | ||
@@ -414,6 +412,4 @@ if (silentFlag) { | ||
const { enteredBy } = targetStep; | ||
requestHistoryTick(() => { | ||
pushFlag += 1; | ||
stepPush(__spreadValues({}, enteredBy)); | ||
}); | ||
pushFlag += 1; | ||
stepPush(__spreadValues({}, enteredBy)); | ||
} | ||
@@ -420,0 +416,0 @@ dispatchEvent("StepPopped", {}); |
{ | ||
"name": "@stackflow/plugin-history-sync", | ||
"version": "1.3.14", | ||
"version": "1.3.15", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "exports": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
164910
3126