boring-router
Advanced tools
Comparing version 0.1.0-alpha.4 to 0.1.0-alpha.5
@@ -16,3 +16,3 @@ import { Dict } from 'tslang'; | ||
private _fragments; | ||
private _query; | ||
private _sourceQuery; | ||
private _params; | ||
@@ -19,0 +19,0 @@ constructor(_name: string, { match, query }: RouteMatchOptions); |
@@ -61,3 +61,3 @@ "use strict"; | ||
.join(''); | ||
let queryDict = this._query; | ||
let queryDict = this._sourceQuery; | ||
let query = new URLSearchParams([ | ||
@@ -96,3 +96,3 @@ ...(preserveQuery && queryDict | ||
: undefined; | ||
this._query = queryDict; | ||
this._sourceQuery = sourceQueryDict; | ||
this._params = Object.assign({}, queryDict, fragmentDict); | ||
@@ -99,0 +99,0 @@ this._matched = matched; |
{ | ||
"name": "boring-router", | ||
"version": "0.1.0-alpha.4", | ||
"version": "0.1.0-alpha.5", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
15870