UNPKG

@revmax/agent-sdk

Version:

Official Node.js SDK for RevMax - billing, customer management, and usage tracking

17 lines 676 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ApiKeyAuth = void 0; exports.createAuth = createAuth; const apiKey_1 = require("./apiKey"); Object.defineProperty(exports, "ApiKeyAuth", { enumerable: true, get: function () { return apiKey_1.ApiKeyAuth; } }); /** * Create an appropriate authentication method based on input * @param auth - Authentication credentials * @returns Appropriate authentication method */ function createAuth(auth) { // Currently only API key auth is supported // In the future, this could be expanded to support OAuth, etc. return new apiKey_1.ApiKeyAuth(auth); } //# sourceMappingURL=index.js.map