@equinor/fusion-observable
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -94,3 +94,3 @@ import { EMPTY, from, fromEvent, Observable, of, timer } from 'rxjs'; | ||
type: 'failure', | ||
payload: new ActionError(action, err, 'failed to execute request'), | ||
payload: new ActionError(action, err, `failed to execute request for transaction ${request.meta.transaction}`), | ||
meta: { request }, | ||
@@ -97,0 +97,0 @@ }))) |
@@ -24,4 +24,4 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { | ||
var _Query_subscription, _Query_client, _Query_cache, _Query_queryQueue$, _Query_generateCacheKey, _Query_validateCacheEntry, _Query_namespace; | ||
import { firstValueFrom, lastValueFrom, Observable, ReplaySubject, Subject, Subscription, } from 'rxjs'; | ||
import { map, takeWhile } from 'rxjs/operators'; | ||
import { EMPTY, firstValueFrom, lastValueFrom, Observable, ReplaySubject, Subject, Subscription, } from 'rxjs'; | ||
import { catchError, map, takeWhile } from 'rxjs/operators'; | ||
import * as uuid from 'uuid'; | ||
@@ -67,3 +67,3 @@ import { QueryClient, } from './client'; | ||
const { task, transaction } = __classPrivateFieldGet(this, _Query_client, "f").next(args, options); | ||
subscriber.add(task.subscribe(subscriber)); | ||
subscriber.add(task.pipe(catchError(() => EMPTY)).subscribe(subscriber)); | ||
subscriber.add(() => { | ||
@@ -70,0 +70,0 @@ __classPrivateFieldGet(this, _Query_client, "f").cancel(transaction); |
{ | ||
"name": "@equinor/fusion-observable", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "WIP", | ||
@@ -97,3 +97,3 @@ "private": false, | ||
}, | ||
"gitHead": "8d6faac0a36f2e1792e4112e362c6ce3cf98371e" | ||
"gitHead": "98a8a5c6f02ac739adda41bb26f43e3255d450bb" | ||
} |
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
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
176510