@globalfishingwatch/api-client
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -74,3 +74,3 @@ import type { UserData, ResourceResponseType, ResourceRequestType } from '@globalfishingwatch/api-types'; | ||
_internalFetch<T = Record<string, unknown> | Blob | ArrayBuffer | Response>(url: string, options?: FetchOptions, refreshRetries?: number, waitLogin?: boolean): Promise<T>; | ||
fetchUser(): Promise<UserData>; | ||
fetchUser(): Promise<any>; | ||
login(params: LoginParams): Promise<UserData>; | ||
@@ -77,0 +77,0 @@ logout(): Promise<boolean>; |
@@ -1,2 +0,2 @@ | ||
export{G as GFWAPI,b as USER_REFRESH_TOKEN_STORAGE_KEY,U as USER_TOKEN_STORAGE_KEY,a as default}from"./api-client-66d0d628.js"; | ||
export{G as GFWAPI,b as USER_REFRESH_TOKEN_STORAGE_KEY,U as USER_TOKEN_STORAGE_KEY,a as default}from"./api-client-d2b91041.js"; | ||
//# sourceMappingURL=api-client.js.map |
@@ -1,2 +0,2 @@ | ||
export{A as ACCESS_TOKEN_STRING,b as USER_REFRESH_TOKEN_STORAGE_KEY,U as USER_TOKEN_STORAGE_KEY,a as default,g as getAccessTokenFromUrl,r as removeAccessTokenFromUrl}from"./api-client-66d0d628.js"; | ||
export{A as ACCESS_TOKEN_STRING,b as USER_REFRESH_TOKEN_STORAGE_KEY,U as USER_TOKEN_STORAGE_KEY,a as default,g as getAccessTokenFromUrl,r as removeAccessTokenFromUrl}from"./api-client-d2b91041.js"; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@globalfishingwatch/api-client", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "", | ||
@@ -49,4 +49,4 @@ "author": "satellitestudio <contact@satellitestud.io>", | ||
"peerDependencies": { | ||
"@globalfishingwatch/api-types": "^4.3.0", | ||
"@globalfishingwatch/pbf": "^1.0.10" | ||
"@globalfishingwatch/api-types": "^4.x", | ||
"@globalfishingwatch/pbf": "^1.x" | ||
}, | ||
@@ -56,3 +56,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "0e4d57932b871c5295fd9dce812c6812738ba177" | ||
"gitHead": "37100649e91f62deae7b1f1d1361b1af398cb925" | ||
} |
Sorry, the diff of this file is not supported yet
58193
162