@xeno-js/shared 0.2.0 → 1.0.0

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/index.cjs CHANGED
@@ -1,9 +1,7 @@
1
1
  "use strict";
2
- var __create = Object.create;
3
2
  var __defProp = Object.defineProperty;
4
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
6
  var __export = (target, all) => {
9
7
  for (var name in all)
@@ -17,14 +15,6 @@ var __copyProps = (to, from, except, desc) => {
17
15
  }
18
16
  return to;
19
17
  };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
19
 
30
20
  // src/index.ts
@@ -32,7 +22,6 @@ var index_exports = {};
32
22
  __export(index_exports, {
33
23
  AbortSignalHelper: () => AbortSignalHelper,
34
24
  AppError: () => AppError,
35
- AxiosFactory: () => AxiosFactory,
36
25
  AxiosHttpClient: () => AxiosHttpClient,
37
26
  BaseLogger: () => BaseLogger,
38
27
  CacheKeyBuilder: () => CacheKeyBuilder,
@@ -2784,9 +2773,6 @@ var CacheKeyBuilder = class {
2784
2773
  }
2785
2774
  };
2786
2775
 
2787
- // src/infrastructure/factories/axios.factory.ts
2788
- var import_axios2 = __toESM(require("axios"), 1);
2789
-
2790
2776
  // src/infrastructure/http/axios.http.ts
2791
2777
  var import_axios = require("axios");
2792
2778
  var AxiosHttpClient = class {
@@ -2892,22 +2878,6 @@ var AxiosHttpClient = class {
2892
2878
  }
2893
2879
  };
2894
2880
 
2895
- // src/infrastructure/factories/axios.factory.ts
2896
- var AxiosFactory = class {
2897
- create(config) {
2898
- const axiosInstance = import_axios2.default.create({
2899
- baseURL: config.baseURL,
2900
- headers: config.defaultHeaders,
2901
- timeout: config.timeoutMs,
2902
- maxRedirects: config.maxRedirects ?? 5,
2903
- decompress: config.decompress ?? true,
2904
- proxy: config.proxy,
2905
- withCredentials: config.withCredentials
2906
- });
2907
- return new AxiosHttpClient(axiosInstance);
2908
- }
2909
- };
2910
-
2911
2881
  // src/infrastructure/mappers/supabase-claims.mapper.ts
2912
2882
  var SupabaseClaimsMapper = class {
2913
2883
  map(user) {
@@ -3029,7 +2999,6 @@ var ZodValidatorService = class _ZodValidatorService {
3029
2999
  0 && (module.exports = {
3030
3000
  AbortSignalHelper,
3031
3001
  AppError,
3032
- AxiosFactory,
3033
3002
  AxiosHttpClient,
3034
3003
  BaseLogger,
3035
3004
  CacheKeyBuilder,