@intlayer/config 5.2.6 → 5.2.7

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,11 +21,10 @@ __export(appLoggerClient_exports, {
21
21
  appLogger: () => appLogger
22
22
  });
23
23
  module.exports = __toCommonJS(appLoggerClient_exports);
24
- var import_client = require('./client.cjs');
25
24
  var import_logger = require('./logger.cjs');
26
25
  const appLogger = (content, details) => (0, import_logger.logger)(content, {
27
26
  ...details ?? {},
28
- config: { ...(0, import_client.getConfiguration)().log, ...details?.config ?? {} }
27
+ config: { ...details?.config ?? {} }
29
28
  });
30
29
  // Annotate the CommonJS export names for ESM import in node:
31
30
  0 && (module.exports = {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/appLoggerClient.ts"],"sourcesContent":["import { getConfiguration } from './client';\nimport { type Logger, logger } from './logger';\n\nexport const appLogger: Logger = (content, details) =>\n logger(content, {\n ...(details ?? {}),\n config: { ...getConfiguration().log, ...(details?.config ?? {}) },\n });\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAiC;AACjC,oBAAoC;AAE7B,MAAM,YAAoB,CAAC,SAAS,gBACzC,sBAAO,SAAS;AAAA,EACd,GAAI,WAAW,CAAC;AAAA,EAChB,QAAQ,EAAE,OAAG,gCAAiB,EAAE,KAAK,GAAI,SAAS,UAAU,CAAC,EAAG;AAClE,CAAC;","names":[]}
1
+ {"version":3,"sources":["../../src/appLoggerClient.ts"],"sourcesContent":["import { type Logger, logger } from './logger';\n\nexport const appLogger: Logger = (content, details) =>\n logger(content, {\n ...(details ?? {}),\n config: { ...(details?.config ?? {}) },\n });\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAoC;AAE7B,MAAM,YAAoB,CAAC,SAAS,gBACzC,sBAAO,SAAS;AAAA,EACd,GAAI,WAAW,CAAC;AAAA,EAChB,QAAQ,EAAE,GAAI,SAAS,UAAU,CAAC,EAAG;AACvC,CAAC;","names":[]}
@@ -20,19 +20,16 @@ var client_exports = {};
20
20
  __export(client_exports, {
21
21
  Locales: () => import_locales.Locales,
22
22
  appLogger: () => import_appLoggerClient.appLogger,
23
- getConfiguration: () => import_getConfiguration.getConfiguration,
24
23
  logger: () => import_logger.logger
25
24
  });
26
25
  module.exports = __toCommonJS(client_exports);
27
26
  var import_locales = require('./types/locales.cjs');
28
- var import_getConfiguration = require('./envVariables/getConfiguration.cjs');
29
27
  var import_logger = require('./logger.cjs');
30
28
  var import_appLoggerClient = require('./appLoggerClient.cjs');
31
29
  // Annotate the CommonJS export names for ESM import in node:
32
30
  0 && (module.exports = {
33
31
  Locales,
34
32
  appLogger,
35
- getConfiguration,
36
33
  logger
37
34
  });
38
35
  //# sourceMappingURL=client.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/client.ts"],"sourcesContent":["export type {\n CustomIntlayerConfig,\n PatternsContentConfig,\n IntlayerConfig,\n BaseContentConfig,\n BaseDerivedConfig,\n ResultDirDerivedConfig,\n} from './types/config';\nexport type { LocalesValues } from './types/locales';\nexport { Locales } from './types/locales';\nexport { getConfiguration } from './envVariables/getConfiguration';\nexport { logger } from './logger';\nexport { appLogger } from './appLoggerClient';\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,qBAAwB;AACxB,8BAAiC;AACjC,oBAAuB;AACvB,6BAA0B;","names":[]}
1
+ {"version":3,"sources":["../../src/client.ts"],"sourcesContent":["export type {\n CustomIntlayerConfig,\n PatternsContentConfig,\n IntlayerConfig,\n BaseContentConfig,\n BaseDerivedConfig,\n ResultDirDerivedConfig,\n} from './types/config';\nexport type { LocalesValues } from './types/locales';\nexport { Locales } from './types/locales';\nexport { logger } from './logger';\nexport { appLogger } from './appLoggerClient';\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,qBAAwB;AACxB,oBAAuB;AACvB,6BAA0B;","names":[]}
@@ -1,8 +1,7 @@
1
- import { getConfiguration } from "./client.mjs";
2
1
  import { logger } from "./logger.mjs";
3
2
  const appLogger = (content, details) => logger(content, {
4
3
  ...details ?? {},
5
- config: { ...getConfiguration().log, ...details?.config ?? {} }
4
+ config: { ...details?.config ?? {} }
6
5
  });
7
6
  export {
8
7
  appLogger
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/appLoggerClient.ts"],"sourcesContent":["import { getConfiguration } from './client';\nimport { type Logger, logger } from './logger';\n\nexport const appLogger: Logger = (content, details) =>\n logger(content, {\n ...(details ?? {}),\n config: { ...getConfiguration().log, ...(details?.config ?? {}) },\n });\n"],"mappings":"AAAA,SAAS,wBAAwB;AACjC,SAAsB,cAAc;AAE7B,MAAM,YAAoB,CAAC,SAAS,YACzC,OAAO,SAAS;AAAA,EACd,GAAI,WAAW,CAAC;AAAA,EAChB,QAAQ,EAAE,GAAG,iBAAiB,EAAE,KAAK,GAAI,SAAS,UAAU,CAAC,EAAG;AAClE,CAAC;","names":[]}
1
+ {"version":3,"sources":["../../src/appLoggerClient.ts"],"sourcesContent":["import { type Logger, logger } from './logger';\n\nexport const appLogger: Logger = (content, details) =>\n logger(content, {\n ...(details ?? {}),\n config: { ...(details?.config ?? {}) },\n });\n"],"mappings":"AAAA,SAAsB,cAAc;AAE7B,MAAM,YAAoB,CAAC,SAAS,YACzC,OAAO,SAAS;AAAA,EACd,GAAI,WAAW,CAAC;AAAA,EAChB,QAAQ,EAAE,GAAI,SAAS,UAAU,CAAC,EAAG;AACvC,CAAC;","names":[]}
@@ -1,11 +1,9 @@
1
1
  import { Locales } from "./types/locales.mjs";
2
- import { getConfiguration } from "./envVariables/getConfiguration.mjs";
3
2
  import { logger } from "./logger.mjs";
4
3
  import { appLogger } from "./appLoggerClient.mjs";
5
4
  export {
6
5
  Locales,
7
6
  appLogger,
8
- getConfiguration,
9
7
  logger
10
8
  };
11
9
  //# sourceMappingURL=client.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/client.ts"],"sourcesContent":["export type {\n CustomIntlayerConfig,\n PatternsContentConfig,\n IntlayerConfig,\n BaseContentConfig,\n BaseDerivedConfig,\n ResultDirDerivedConfig,\n} from './types/config';\nexport type { LocalesValues } from './types/locales';\nexport { Locales } from './types/locales';\nexport { getConfiguration } from './envVariables/getConfiguration';\nexport { logger } from './logger';\nexport { appLogger } from './appLoggerClient';\n"],"mappings":"AASA,SAAS,eAAe;AACxB,SAAS,wBAAwB;AACjC,SAAS,cAAc;AACvB,SAAS,iBAAiB;","names":[]}
1
+ {"version":3,"sources":["../../src/client.ts"],"sourcesContent":["export type {\n CustomIntlayerConfig,\n PatternsContentConfig,\n IntlayerConfig,\n BaseContentConfig,\n BaseDerivedConfig,\n ResultDirDerivedConfig,\n} from './types/config';\nexport type { LocalesValues } from './types/locales';\nexport { Locales } from './types/locales';\nexport { logger } from './logger';\nexport { appLogger } from './appLoggerClient';\n"],"mappings":"AASA,SAAS,eAAe;AACxB,SAAS,cAAc;AACvB,SAAS,iBAAiB;","names":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"appLoggerClient.d.ts","sourceRoot":"","sources":["../../src/appLoggerClient.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,MAAM,EAAU,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,SAAS,EAAE,MAIpB,CAAC"}
1
+ {"version":3,"file":"appLoggerClient.d.ts","sourceRoot":"","sources":["../../src/appLoggerClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAU,MAAM,UAAU,CAAC;AAE/C,eAAO,MAAM,SAAS,EAAE,MAIpB,CAAC"}
@@ -1,7 +1,6 @@
1
1
  export type { CustomIntlayerConfig, PatternsContentConfig, IntlayerConfig, BaseContentConfig, BaseDerivedConfig, ResultDirDerivedConfig, } from './types/config';
2
2
  export type { LocalesValues } from './types/locales';
3
3
  export { Locales } from './types/locales';
4
- export { getConfiguration } from './envVariables/getConfiguration';
5
4
  export { logger } from './logger';
6
5
  export { appLogger } from './appLoggerClient';
7
6
  //# sourceMappingURL=client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,oBAAoB,EACpB,qBAAqB,EACrB,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,oBAAoB,EACpB,qBAAqB,EACrB,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/config",
3
- "version": "5.2.6",
3
+ "version": "5.2.7",
4
4
  "private": false,
5
5
  "description": "Retrieve Intlayer configurations and manage environment variables for both server-side and client-side environments.",
6
6
  "keywords": [
@@ -87,7 +87,7 @@
87
87
  "@utils/tsup-config": "1.0.4"
88
88
  },
89
89
  "peerDependencies": {
90
- "intlayer": "5.2.6"
90
+ "intlayer": "5.2.7"
91
91
  },
92
92
  "engines": {
93
93
  "node": ">=14.18"