Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@globalfishingwatch/api-client

Package Overview
Dependencies
Maintainers
3
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 2.0.0 to 2.0.1

dist/api-client-d2b91041.js

2

dist/api-client.d.ts

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

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