New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@globalfishingwatch/api-client

Package Overview
Dependencies
Maintainers
2
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@globalfishingwatch/api-client - npm Package Compare versions

Comparing version 1.5.1 to 1.6.1

14

CHANGELOG.md
# @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 @@

5

dist/api-client.d.ts

@@ -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 @@ };

3

dist/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc