@orello/auth 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -21,7 +21,7 @@ class OrelloAuthClient {
|
|
|
21
21
|
throw new Error("Client Key was not provided.");
|
|
22
22
|
this.appId = options.appId;
|
|
23
23
|
this.clientKey = options.clientKey;
|
|
24
|
-
this.apiBaseUrl = `https://api.accounts.orello.space/api/v${options.version}`;
|
|
24
|
+
this.apiBaseUrl = `https://api.accounts.orello.space/api/v${options.version || "1"}`;
|
|
25
25
|
}
|
|
26
26
|
verifyToken(token) {
|
|
27
27
|
return __awaiter(this, void 0, void 0, function* () {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import OrelloAuthProvider from "./providers/auth.provider";
|
|
2
|
+
import OrelloAuthClient from "./client/auth.client";
|
|
2
3
|
export * from "./core/interfaces/config";
|
|
3
|
-
export
|
|
4
|
+
export * from "./core/interfaces/data";
|
|
5
|
+
export { OrelloAuthProvider, OrelloAuthClient };
|
package/dist/index.js
CHANGED
|
@@ -17,7 +17,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.OrelloAuthProvider = void 0;
|
|
20
|
+
exports.OrelloAuthClient = exports.OrelloAuthProvider = void 0;
|
|
21
21
|
const auth_provider_1 = __importDefault(require("./providers/auth.provider"));
|
|
22
22
|
exports.OrelloAuthProvider = auth_provider_1.default;
|
|
23
|
+
const auth_client_1 = __importDefault(require("./client/auth.client"));
|
|
24
|
+
exports.OrelloAuthClient = auth_client_1.default;
|
|
23
25
|
__exportStar(require("./core/interfaces/config"), exports);
|
|
26
|
+
__exportStar(require("./core/interfaces/data"), exports);
|