@golem-sdk/golem-js
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -9,2 +9,3 @@ import { RequestorControlApi } from "ya-ts-client/dist/ya-activity/api"; | ||
import { Configuration } from "ya-ts-client/dist/ya-payment"; | ||
import { Logger } from ".."; | ||
export type YagnaApi = { | ||
@@ -27,2 +28,3 @@ market: MarketRequestorApi; | ||
abortController?: AbortController; | ||
logger?: Logger; | ||
}; | ||
@@ -36,2 +38,5 @@ export declare const MIN_SUPPORTED_YAGNA = "0.13.2"; | ||
private readonly api; | ||
private readonly logger; | ||
/** Used to track the lifetime of the interceptor and align it with the lifetime of API instance */ | ||
private axiosErrorInterceptorId; | ||
constructor(options?: YagnaOptions); | ||
@@ -47,3 +52,4 @@ getApi(): YagnaApi; | ||
protected errorHandler(error: Error): Promise<Error>; | ||
protected addErrorHandler(api: YagnaApi): void; | ||
protected addErrorHandler(api: YagnaApi): number; | ||
protected removeErrorHandler(api: YagnaApi): void; | ||
} |
{ | ||
"name": "@golem-sdk/golem-js", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "NodeJS and WebBrowser SDK for building apps running on Golem Network", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/golemfactory/golem-js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
3499322
18134