@types/gapi
Advanced tools
Comparing version 0.0.33 to 0.0.34
@@ -183,2 +183,9 @@ // Type definitions for Google API Client 0.0 | ||
interface TokenObject { | ||
/** | ||
* The access token to use in requests. | ||
*/ | ||
access_token: string; | ||
} | ||
/** | ||
@@ -217,2 +224,9 @@ * Loads the client library interface to a particular API. If a callback is not provided, a promise is returned. | ||
export function setApiKey(apiKey: string): void; | ||
/** | ||
* Sets the authentication token to use in requests. | ||
* @param token The token to set. | ||
* | ||
* Reference: https://developers.google.com/api-client-library/javascript/reference/referencedocs#gapiclientsettokentokenobject | ||
*/ | ||
export function setToken(token: TokenObject|null): void; | ||
@@ -219,0 +233,0 @@ interface HttpRequestFulfilled<T> { |
{ | ||
"name": "@types/gapi", | ||
"version": "0.0.33", | ||
"version": "0.0.34", | ||
"description": "TypeScript definitions for Google API Client", | ||
@@ -20,4 +20,4 @@ "license": "MIT", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "f109a005cf33a21e5e586ae689cd8dece9a060c3ad6b680f6a9473a4001503b9", | ||
"typesPublisherContentHash": "51d53f0cc91a5452864a2d47ee02d77011bb3c327717fe33e26f92ea07675900", | ||
"typeScriptVersion": "2.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Tue, 06 Jun 2017 14:18:37 GMT | ||
* Last updated: Tue, 08 Aug 2017 21:39:34 GMT | ||
* Dependencies: none | ||
@@ -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
16076
333