warmup-api
Advanced tools
Comparing version 1.1.0 to 1.1.1
import getToken from './get-token.js'; | ||
import makeGQLQuery from './make-gql-query.js'; | ||
export { getToken, makeGQLQuery }; | ||
import { InvalidCredentialsError } from './errors/index.js'; | ||
import { AuthorisationError } from './errors/index.js'; | ||
import { UnexpectedError } from './errors/index.js'; | ||
export { getToken, makeGQLQuery, InvalidCredentialsError, AuthorisationError, UnexpectedError }; | ||
//# sourceMappingURL=index.d.ts.map |
declare function _default(query: { | ||
operationName: string; | ||
query: string; | ||
variables: [object]; | ||
variables?: object; | ||
}, token: string): Promise<object>; | ||
export default _default; | ||
//# sourceMappingURL=make-gql-query.d.ts.map |
{ | ||
"private": false, | ||
"name": "warmup-api", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "An API for communicating with a wifi-enabled home thermostat made by Warmup", | ||
@@ -6,0 +6,0 @@ "license": "Apache-2.0", |
@@ -8,3 +8,3 @@ import makeRequest from './make-request.js'; | ||
* | ||
* @param {{operationName: string, query: string, variables: [object]}} query GraphQL query | ||
* @param {{operationName: string, query: string, variables?: object}} query GraphQL query | ||
* @param {string} token Access token | ||
@@ -11,0 +11,0 @@ * @returns {Promise<object>} The query response |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
94475
56
499