@types/gapi.auth2
Advanced tools
Comparing version 0.0.43 to 0.0.44
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13711
310