aeria-sdk 0.0.95 → 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 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 common_1 = require("@aeriajs/common");
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 common_1.Result.error(error);
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
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- import { Result } from "@aeriajs/common";
2
+ import { Result } from "@aeriajs/types";
3
3
  import { request } from "./http.mjs";
4
4
  import { publicUrl } from "./utils.mjs";
5
5
  import { getStorage } from "./storage.mjs";
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- export { Result, throwIfError, } from '@aeriajs/common';
1
+ export { Result, } from '@aeriajs/types';
2
+ export { throwIfError, } from '@aeriajs/common';
2
3
  export * from './auth.js';
3
4
  export * from './topLevel.js';
4
5
  export * from './constants.js';
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
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  export {
3
- Result,
3
+ Result
4
+ } from "@aeriajs/types";
5
+ export {
4
6
  throwIfError
5
7
  } from "@aeriajs/common";
6
8
  export * from "./auth.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aeria-sdk",
3
- "version": "0.0.95",
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.67",
64
- "@aeriajs/types": "^0.0.59"
63
+ "@aeriajs/common": "^0.0.69",
64
+ "@aeriajs/types": "^0.0.61"
65
65
  },
66
66
  "scripts": {
67
67
  "test": "echo skipping",