Socket
Socket
Sign inDemoInstall

@types/gapi.auth2

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/gapi.auth2 - npm Package Compare versions

Comparing version 0.0.43 to 0.0.44

17

gapi.auth2/index.d.ts

@@ -45,7 +45,3 @@ // Type definitions for Google Sign-In API 0.0

*/
grantOfflineAccess(options?: {
scope?: string;
prompt?: "select_account" | "consent";
app_package_name?: string;
}): any;
grantOfflineAccess(options?: OfflineAccessOptions): Promise<{code: string}>;

@@ -112,2 +108,13 @@ /**

/**
* Definitions by: John <https://github.com/jhcao23>
* Interface that represents the different configuration parameters for the GoogleAuth.grantOfflineAccess(options) method.
* Reference: https://developers.google.com/api-client-library/javascript/reference/referencedocs#gapiauth2offlineaccessoptions
*/
interface OfflineAccessOptions {
scope?: string;
prompt?: "select_account" | "consent";
app_package_name?: string;
}
/**
* Interface that represents the different configuration parameters for the gapi.auth2.init method.

@@ -114,0 +121,0 @@ * Reference: https://developers.google.com/api-client-library/javascript/reference/referencedocs#gapiauth2clientconfig

{
"name": "@types/gapi.auth2",
"version": "0.0.43",
"version": "0.0.44",
"description": "TypeScript definitions for Google Sign-In API",

@@ -9,3 +9,4 @@ "license": "MIT",

"name": "Derek Lawless",
"url": "https://github.com/flawless2011"
"url": "https://github.com/flawless2011",
"githubUsername": "flawless2011"
}

@@ -22,5 +23,4 @@ ],

},
"peerDependencies": {},
"typesPublisherContentHash": "f843d265c1394fe9407cc31a1b2be20a4f7de881b76da744ddecb94fce6ceed8",
"typesPublisherContentHash": "f1b1fa1a08ac50417c6ff7d0cb7bd7f3883e293b46e6743bb03bc208ac5dac07",
"typeScriptVersion": "2.3"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Fri, 11 Aug 2017 13:42:09 GMT
* Last updated: Wed, 06 Sep 2017 21:43:54 GMT
* Dependencies: gapi

@@ -14,0 +14,0 @@ * Global values: gapi

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