@xeno-js/shared 0.1.3 → 0.1.5

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
@@ -2061,6 +2061,7 @@ var Command = class {
2061
2061
  constructor(intent) {
2062
2062
  this.intent = intent;
2063
2063
  }
2064
+ intent;
2064
2065
  type = REQUEST_TYPE.COMMAND;
2065
2066
  };
2066
2067
 
@@ -2070,6 +2071,8 @@ var Query = class {
2070
2071
  this.intent = intent;
2071
2072
  this.cacheOptions = cacheOptions;
2072
2073
  }
2074
+ intent;
2075
+ cacheOptions;
2073
2076
  type = REQUEST_TYPE.QUERY;
2074
2077
  };
2075
2078
 
@@ -2092,6 +2095,7 @@ var BaseLogger = class {
2092
2095
  this._minLevel = config;
2093
2096
  this._loggers = loggers;
2094
2097
  }
2098
+ _requestContext;
2095
2099
  // ─── Private Fields ─────────────────────────────────────────────────────────
2096
2100
  _minLevel;
2097
2101
  _loggers;
@@ -2147,6 +2151,7 @@ var UniqueId = class _UniqueId {
2147
2151
  this._value = _value;
2148
2152
  Object.freeze(this);
2149
2153
  }
2154
+ _value;
2150
2155
  /**
2151
2156
  * Static factory method to create a new UniqueId instance with a generated UUID v4.
2152
2157
  * @returns A new instance of UniqueId with a generated UUID v4.
@@ -2721,6 +2726,10 @@ var SupabaseAuthService = class {
2721
2726
  this._sessionMapper = _sessionMapper;
2722
2727
  this._opts = _opts;
2723
2728
  }
2729
+ _supabase;
2730
+ _mapper;
2731
+ _sessionMapper;
2732
+ _opts;
2724
2733
  async authenticate(token) {
2725
2734
  const { data, error } = await this._supabase.auth.getUser(token);
2726
2735
  if (Guards.isDefined(error) || !Guards.isDefined(data.user)) {
@@ -2808,6 +2817,7 @@ var InMemoryCache = class {
2808
2817
  constructor(_cache = /* @__PURE__ */ new Map()) {
2809
2818
  this._cache = _cache;
2810
2819
  }
2820
+ _cache;
2811
2821
  async get(key) {
2812
2822
  const entry = this._cache.get(key);
2813
2823
  if (!Guards.isDefined(entry)) {
@@ -2863,6 +2873,7 @@ var CacheKeyBuilder = class {
2863
2873
  constructor(_identityAccessor) {
2864
2874
  this._identityAccessor = _identityAccessor;
2865
2875
  }
2876
+ _identityAccessor;
2866
2877
  buildContextualKey(key) {
2867
2878
  const identity = this._identityAccessor.getIdentity();
2868
2879
  if (Guards.isDefined(identity) && !Guards.isNullOrEmpty(identity.tenantId)) {
@@ -2888,6 +2899,7 @@ var AxiosHttpClient = class {
2888
2899
  constructor(_client) {
2889
2900
  this._client = _client;
2890
2901
  }
2902
+ _client;
2891
2903
  async executInAsync(callback, opts) {
2892
2904
  AppError.throwIfAborted(opts.signal, opts.name);
2893
2905
  try {
@@ -3022,6 +3034,7 @@ var SupabaseSessionMapper = class {
3022
3034
  constructor(_claimsMapper) {
3023
3035
  this._claimsMapper = _claimsMapper;
3024
3036
  }
3037
+ _claimsMapper;
3025
3038
  map(source) {
3026
3039
  const claims = this._claimsMapper.map(source.user);
3027
3040
  return {
@@ -3090,6 +3103,8 @@ var ZodValidatorService = class _ZodValidatorService {
3090
3103
  this._cache = _cache;
3091
3104
  this._logger = _logger;
3092
3105
  }
3106
+ _cache;
3107
+ _logger;
3093
3108
  static formatIssue(issue) {
3094
3109
  const issuePath = !Guards.isNullOrEmpty(issue.path) ? issue.path.map(String).join(".") : "root";
3095
3110
  return `[${issuePath}] ${issue.message}`;