aeria-sdk 0.0.96 → 0.0.97
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.
- package/dist/auth.js +2 -2
- package/dist/auth.mjs +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/index.mjs +3 -1
- package/package.json +3 -3
package/dist/auth.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.signout = exports.authenticate = exports.authMemo = void 0;
|
|
4
|
-
const
|
|
4
|
+
const types_1 = require("@aeriajs/types");
|
|
5
5
|
const http_js_1 = require("./http.js");
|
|
6
6
|
const utils_js_1 = require("./utils.js");
|
|
7
7
|
const storage_js_1 = require("./storage.js");
|
|
@@ -12,7 +12,7 @@ const authenticate = (config) => async (payload) => {
|
|
|
12
12
|
if (result) {
|
|
13
13
|
(0, storage_js_1.getStorage)(config).set('auth', result);
|
|
14
14
|
}
|
|
15
|
-
return
|
|
15
|
+
return types_1.Result.error(error);
|
|
16
16
|
};
|
|
17
17
|
exports.authenticate = authenticate;
|
|
18
18
|
const signout = (config) => async () => {
|
package/dist/auth.mjs
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -15,8 +15,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.throwIfError = exports.Result = void 0;
|
|
18
|
+
var types_1 = require("@aeriajs/types");
|
|
19
|
+
Object.defineProperty(exports, "Result", { enumerable: true, get: function () { return types_1.Result; } });
|
|
18
20
|
var common_1 = require("@aeriajs/common");
|
|
19
|
-
Object.defineProperty(exports, "Result", { enumerable: true, get: function () { return common_1.Result; } });
|
|
20
21
|
Object.defineProperty(exports, "throwIfError", { enumerable: true, get: function () { return common_1.throwIfError; } });
|
|
21
22
|
__exportStar(require("./auth.js"), exports);
|
|
22
23
|
__exportStar(require("./topLevel.js"), exports);
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aeria-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.97",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"@aeriajs/types": "link:../types"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@aeriajs/common": "^0.0.
|
|
64
|
-
"@aeriajs/types": "^0.0.
|
|
63
|
+
"@aeriajs/common": "^0.0.69",
|
|
64
|
+
"@aeriajs/types": "^0.0.61"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"test": "echo skipping",
|