Huge News!Announcing our $40M Series B led by Abstract Ventures.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.6.3 to 1.6.4

dist/api-client-f52dc73d.js

8

CHANGELOG.md
# @globalfishingwatch/api-client
## 1.6.4
### Patch Changes
- d3685955: support local requests
- Updated dependencies [d3685955]
- @globalfishingwatch/api-types@2.4.1
## 1.6.3

@@ -4,0 +12,0 @@

1

dist/api-client.d.ts

@@ -22,2 +22,3 @@ import { UserData, ResourceResponseType } from '@globalfishingwatch/api-types';

body?: T;
local?: boolean;
};

@@ -24,0 +25,0 @@ export declare type RequestStatus = 'idle' | 'refreshingToken' | 'logging' | 'downloading';

2

dist/api-client.js

@@ -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-b7780e8d.js";
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";
//# 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-b7780e8d.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-f52dc73d.js";
//# sourceMappingURL=index.js.map
{
"name": "@globalfishingwatch/api-client",
"version": "1.6.3",
"version": "1.6.4",
"description": "",

@@ -31,3 +31,3 @@ "author": "satellitestudio <contact@satellitestud.io>",

"dependencies": {
"@globalfishingwatch/api-types": "^2.0.4",
"@globalfishingwatch/api-types": "^2.4.1",
"file-saver": "^2.0.2"

@@ -44,3 +44,3 @@ },

},
"gitHead": "4ce755ac8c658cb5991704665302bb616d289ac8"
"gitHead": "b11cd47829672b546c925d4e0ae2c44efa63bd63"
}

@@ -133,2 +133,11 @@ # GFW API CLIENT

### Use it locally
Send `local:true` in the FetchOptions and ensure you have the following .env variables
```
REACT_APP_LOCAL_API_USER_ID=
REACT_APP_LOCAL_API_USER_TYPE=
REACT_APP_LOCAL_API_USER_EMAIL=
```
## FAQ

@@ -135,0 +144,0 @@

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