@globalfishingwatch/api-client
Advanced tools
Comparing version 1.6.4 to 1.6.5
# @globalfishingwatch/api-client | ||
## 1.6.5 | ||
### Patch Changes | ||
- 761a331c: added requestType to the fetch api | ||
- Updated dependencies [761a331c] | ||
- @globalfishingwatch/api-types@2.6.1 | ||
## 1.6.4 | ||
@@ -4,0 +12,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { UserData, ResourceResponseType } from '@globalfishingwatch/api-types'; | ||
import { UserData, ResourceResponseType, ResourceRequestType } from '@globalfishingwatch/api-types'; | ||
export declare const USER_TOKEN_STORAGE_KEY = "GFW_API_USER_TOKEN"; | ||
@@ -20,2 +20,3 @@ export declare const USER_REFRESH_TOKEN_STORAGE_KEY = "GFW_API_USER_REFRESH_TOKEN"; | ||
responseType?: ResourceResponseType; | ||
requestType?: ResourceRequestType; | ||
dataset?: boolean; | ||
@@ -22,0 +23,0 @@ body?: T; |
@@ -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-f52dc73d.js"; | ||
export{G as GFWAPI,b as USER_REFRESH_TOKEN_STORAGE_KEY,U as USER_TOKEN_STORAGE_KEY,a as default}from"./api-client-dce455d9.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-f52dc73d.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-dce455d9.js"; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@globalfishingwatch/api-client", | ||
"version": "1.6.4", | ||
"version": "1.6.5", | ||
"description": "", | ||
@@ -31,3 +31,3 @@ "author": "satellitestudio <contact@satellitestud.io>", | ||
"dependencies": { | ||
"@globalfishingwatch/api-types": "^2.4.1", | ||
"@globalfishingwatch/api-types": "^2.6.1", | ||
"file-saver": "^2.0.2" | ||
@@ -44,3 +44,3 @@ }, | ||
}, | ||
"gitHead": "b11cd47829672b546c925d4e0ae2c44efa63bd63" | ||
"gitHead": "4f866455a99d23cd70a75e2733f26e608698902e" | ||
} |
Sorry, the diff of this file is not supported yet
57004
156