@tinkoff/router 0.1.62 → 0.1.63
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.
- package/lib/index.browser.js +1 -1
- package/lib/index.es.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types.d.ts +1 -1
- package/package.json +1 -1
package/lib/index.browser.js
CHANGED
|
@@ -183,6 +183,7 @@ class AbstractRouter {
|
|
|
183
183
|
}
|
|
184
184
|
this.runSyncHooks('change', navigation);
|
|
185
185
|
this.lastNavigation = navigation;
|
|
186
|
+
this.currentNavigation = null;
|
|
186
187
|
}
|
|
187
188
|
async updateCurrentRoute(updateRouteOptions) {
|
|
188
189
|
return this.internalUpdateCurrentRoute(updateRouteOptions, {});
|
|
@@ -276,7 +277,6 @@ class AbstractRouter {
|
|
|
276
277
|
if (navigation.type === 'updateCurrentRoute') {
|
|
277
278
|
await this.runUpdateCurrentRoute(navigation);
|
|
278
279
|
}
|
|
279
|
-
this.currentNavigation = null;
|
|
280
280
|
}
|
|
281
281
|
resolve(resolveOptions, options) {
|
|
282
282
|
const opts = typeof resolveOptions === 'string' ? { url: resolveOptions } : resolveOptions;
|
package/lib/index.es.js
CHANGED
|
@@ -183,6 +183,7 @@ class AbstractRouter {
|
|
|
183
183
|
}
|
|
184
184
|
this.runSyncHooks('change', navigation);
|
|
185
185
|
this.lastNavigation = navigation;
|
|
186
|
+
this.currentNavigation = null;
|
|
186
187
|
}
|
|
187
188
|
async updateCurrentRoute(updateRouteOptions) {
|
|
188
189
|
return this.internalUpdateCurrentRoute(updateRouteOptions, {});
|
|
@@ -276,7 +277,6 @@ class AbstractRouter {
|
|
|
276
277
|
if (navigation.type === 'updateCurrentRoute') {
|
|
277
278
|
await this.runUpdateCurrentRoute(navigation);
|
|
278
279
|
}
|
|
279
|
-
this.currentNavigation = null;
|
|
280
280
|
}
|
|
281
281
|
resolve(resolveOptions, options) {
|
|
282
282
|
const opts = typeof resolveOptions === 'string' ? { url: resolveOptions } : resolveOptions;
|
package/lib/index.js
CHANGED
|
@@ -199,6 +199,7 @@ class AbstractRouter {
|
|
|
199
199
|
}
|
|
200
200
|
this.runSyncHooks('change', navigation);
|
|
201
201
|
this.lastNavigation = navigation;
|
|
202
|
+
this.currentNavigation = null;
|
|
202
203
|
}
|
|
203
204
|
async updateCurrentRoute(updateRouteOptions) {
|
|
204
205
|
return this.internalUpdateCurrentRoute(updateRouteOptions, {});
|
|
@@ -292,7 +293,6 @@ class AbstractRouter {
|
|
|
292
293
|
if (navigation.type === 'updateCurrentRoute') {
|
|
293
294
|
await this.runUpdateCurrentRoute(navigation);
|
|
294
295
|
}
|
|
295
|
-
this.currentNavigation = null;
|
|
296
296
|
}
|
|
297
297
|
resolve(resolveOptions, options) {
|
|
298
298
|
const opts = typeof resolveOptions === 'string' ? { url: resolveOptions } : resolveOptions;
|
package/lib/types.d.ts
CHANGED