@globalfishingwatch/api-client
Advanced tools
Comparing version 1.5.1 to 1.6.1
# @globalfishingwatch/api-client | ||
## 1.6.1 | ||
### Patch Changes | ||
- Fix build dependencies | ||
- Updated dependencies [undefined] | ||
- @globalfishingwatch/api-types@1.1.1 | ||
## 1.6.0 | ||
### Minor Changes | ||
- db69167: Use types from api-types | ||
## 1.5.1 | ||
@@ -4,0 +18,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { UserData } from './types'; | ||
import { UserData, ResourceResponseType } from '@globalfishingwatch/api-types'; | ||
export declare const USER_TOKEN_STORAGE_KEY = "GFW_API_USER_TOKEN"; | ||
@@ -17,6 +17,5 @@ export declare const USER_REFRESH_TOKEN_STORAGE_KEY = "GFW_API_USER_REFRESH_TOKEN"; | ||
} | ||
export declare type FetchResponseTypes = 'default' | 'text' | 'json' | 'blob' | 'arrayBuffer' | 'vessel'; | ||
export declare type FetchOptions = Partial<RequestInit> & { | ||
method?: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE'; | ||
responseType?: FetchResponseTypes; | ||
responseType?: ResourceResponseType; | ||
dataset?: boolean; | ||
@@ -23,0 +22,0 @@ }; |
@@ -1,4 +0,3 @@ | ||
export { default, USER_TOKEN_STORAGE_KEY, USER_REFRESH_TOKEN_STORAGE_KEY, FetchOptions, FetchResponseTypes, } from './api-client'; | ||
export { default, USER_TOKEN_STORAGE_KEY, USER_REFRESH_TOKEN_STORAGE_KEY, FetchOptions, } from './api-client'; | ||
export { ACCESS_TOKEN_STRING, getAccessTokenFromUrl, removeAccessTokenFromUrl } from './utils/url'; | ||
export type { UserData, UploadResponse } from './types'; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@globalfishingwatch/api-client", | ||
"version": "1.5.1", | ||
"version": "1.6.1", | ||
"description": "", | ||
@@ -31,2 +31,3 @@ "author": "satellitestudio <contact@satellitestud.io>", | ||
"dependencies": { | ||
"@globalfishingwatch/api-types": "*", | ||
"@globalfishingwatch/pbf": "^1.0.8", | ||
@@ -41,3 +42,3 @@ "file-saver": "^2.0.2" | ||
}, | ||
"gitHead": "a8d734fa71684d2ebc718cf03de1330ee85c8740" | ||
"gitHead": "3a943c1319f415ddfaf5e6696646b98776a1917e" | ||
} |
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
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
4
361431
3
15
353
2
+ Added@globalfishingwatch/api-types@8.0.3(transitive)
+ Addedgeojson@0.5.0(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedloose-envify@1.4.0(transitive)
+ Addedreact@18.3.1(transitive)