3a-ecommerce-utils 1.0.0 → 1.0.1

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/README.md CHANGED
@@ -16,18 +16,18 @@ This package is consumed as a workspace dependency:
16
16
  ```json
17
17
  {
18
18
  "dependencies": {
19
- "@e-commerce/utils": "^1.0.0"
19
+ "3a-ecommerce-utils": "^1.0.0"
20
20
  }
21
21
  }
22
22
  ```
23
23
 
24
24
  ## Exports
25
25
 
26
- ### Main Export (`@e-commerce/utils`)
26
+ ### Main Export (`3a-ecommerce-utils`)
27
27
 
28
28
  For frontend applications - browser-safe utilities only.
29
29
 
30
- ### Server Export (`@e-commerce/utils/server`)
30
+ ### Server Export (`3a-ecommerce-utils/server`)
31
31
 
32
32
  For backend services - includes file system Logger and Express middleware.
33
33
 
@@ -117,7 +117,7 @@ For backend services - includes file system Logger and Express middleware.
117
117
  ### Frontend
118
118
 
119
119
  ```typescript
120
- import { Logger } from '@e-commerce/utils';
120
+ import { Logger } from '3a-ecommerce-utils';
121
121
 
122
122
  Logger.info('User logged in', { userId: '123' }, 'Auth');
123
123
  Logger.error('API call failed', error, 'API');
@@ -126,7 +126,7 @@ Logger.error('API call failed', error, 'API');
126
126
  ### Backend
127
127
 
128
128
  ```typescript
129
- import { Logger } from '@e-commerce/utils/server';
129
+ import { Logger } from '3a-ecommerce-utils/server';
130
130
 
131
131
  Logger.configure({
132
132
  enableFile: true,
@@ -533,15 +533,6 @@ var batchValidate = (validations) => {
533
533
  };
534
534
  };
535
535
 
536
- // ../types/dist/index.mjs
537
- var LogLevel = /* @__PURE__ */ ((LogLevel2) => {
538
- LogLevel2["DEBUG"] = "DEBUG";
539
- LogLevel2["INFO"] = "INFO";
540
- LogLevel2["WARN"] = "WARN";
541
- LogLevel2["ERROR"] = "ERROR";
542
- return LogLevel2;
543
- })(LogLevel || {});
544
-
545
536
  export {
546
537
  __require,
547
538
  __commonJS,
@@ -568,7 +559,6 @@ export {
568
559
  TIMEOUT_CONFIG,
569
560
  REGEX_PATTERNS,
570
561
  ENV_PRESETS,
571
- LogLevel,
572
562
  isValidEmail,
573
563
  validateEmail,
574
564
  isValidPassword,