"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.Connection = exports.useDev = exports.endpoints = exports.Authentication = exports.register = exports.auth = void 0; /** * `auth` is used to authenticate with the game. It is the primary entry point for all SFG actions. * `register` is used to register an account. Whilst not being a primary entry point, it is useful to the client. */ var auth_1 = require("./auth.cjs"); Object.defineProperty(exports, "auth", { enumerable: true, get: function () { return auth_1.auth; } }); Object.defineProperty(exports, "register", { enumerable: true, get: function () { return auth_1.register; } }); /** * `Authentication` is the class that `auth` creates. If a user already has a token, they'd want to construct one of these. */ const Authentication_1 = __importDefault(require("./Authentication.cjs")); exports.Authentication = Authentication_1.default; /** * `endpoints` contains some default endpoints. The client will automatically rewrite the host of all of them to * localhost or development if need be, so we should expose the endpoints for that very purpose. * `useDev` is so people can easily set the endpoints being used for the sfg dev server. */ var endpoints_1 = require("./endpoints.cjs"); Object.defineProperty(exports, "endpoints", { enumerable: true, get: function () { return endpoints_1.endpoints; } }); Object.defineProperty(exports, "useDev", { enumerable: true, get: function () { return endpoints_1.useDev; } }); /** * `Connection` is the connection that will be used and created by `Authentication` (and is subsequently made from `auth`). * This is exposed here so users can include it in their types if the need to. */ const Connection_1 = __importDefault(require("./Connection.cjs")); exports.Connection = Connection_1.default;