@n8n/client-oauth2
Advanced tools
Comparing version 0.17.0 to 0.18.0
@@ -1,2 +0,1 @@ | ||
/// <reference types="node" /> | ||
import * as qs from 'querystring'; | ||
@@ -3,0 +2,0 @@ import type { ClientOAuth2TokenData } from './ClientOAuth2Token'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getRequestOptions = exports.auth = exports.getAuthError = exports.AuthError = exports.expects = void 0; | ||
exports.AuthError = void 0; | ||
exports.expects = expects; | ||
exports.getAuthError = getAuthError; | ||
exports.auth = auth; | ||
exports.getRequestOptions = getRequestOptions; | ||
const constants_1 = require("./constants"); | ||
@@ -12,3 +16,2 @@ function expects(obj, ...keys) { | ||
} | ||
exports.expects = expects; | ||
class AuthError extends Error { | ||
@@ -30,3 +33,2 @@ constructor(message, body, code = 'EAUTH') { | ||
} | ||
exports.getAuthError = getAuthError; | ||
function toString(str) { | ||
@@ -38,3 +40,2 @@ return str === null ? '' : String(str); | ||
} | ||
exports.auth = auth; | ||
function getRequestOptions({ url, method, body, query, headers }, options) { | ||
@@ -54,3 +55,2 @@ const rOptions = { | ||
} | ||
exports.getRequestOptions = getRequestOptions; | ||
//# sourceMappingURL=utils.js.map |
{ | ||
"name": "@n8n/client-oauth2", | ||
"version": "0.17.0", | ||
"version": "0.18.0", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
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
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
2
60798
3584
526