@dereekb/dbx-core 13.11.9 → 13.11.11
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.
|
@@ -5492,7 +5492,7 @@ function redirectForIdentifierParamHook(input) {
|
|
|
5492
5492
|
}
|
|
5493
5493
|
if (redirectToId != null) {
|
|
5494
5494
|
result = redirectToId.pipe(first(), map((targetId) => {
|
|
5495
|
-
return targetId
|
|
5495
|
+
return targetId === transitionTargetId ? true : $state.target(transition.targetState().state(), { ...params, [idParam]: targetId }, { location: true });
|
|
5496
5496
|
}));
|
|
5497
5497
|
}
|
|
5498
5498
|
return result;
|
|
@@ -8418,7 +8418,11 @@ class DbxInjectionContextDirective {
|
|
|
8418
8418
|
this._currentPromise = undefined;
|
|
8419
8419
|
}
|
|
8420
8420
|
if (error != null) {
|
|
8421
|
-
|
|
8421
|
+
if (error instanceof Error) {
|
|
8422
|
+
throw error;
|
|
8423
|
+
}
|
|
8424
|
+
const message = typeof error === 'object' ? JSON.stringify(error) : String(error);
|
|
8425
|
+
throw new Error(message);
|
|
8422
8426
|
}
|
|
8423
8427
|
return result;
|
|
8424
8428
|
}
|
|
@@ -8824,7 +8828,7 @@ class SimpleStorageAccessor {
|
|
|
8824
8828
|
return allStoredData
|
|
8825
8829
|
.map((storedData) => {
|
|
8826
8830
|
const readStoredData = this.readStoredData(storedData);
|
|
8827
|
-
return
|
|
8831
|
+
return readStoredData.expired ? null : readStoredData.convertedData;
|
|
8828
8832
|
})
|
|
8829
8833
|
.filter(hasNonNullValue);
|
|
8830
8834
|
}));
|