wexts 2.0.8 → 3.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.
Files changed (56) hide show
  1. package/README.md +123 -237
  2. package/dist/chunk-2KAQYLVN.js +1 -0
  3. package/dist/chunk-2KAQYLVN.js.map +1 -0
  4. package/dist/chunk-3OM7CHCA.js +65 -0
  5. package/dist/chunk-3OM7CHCA.js.map +1 -0
  6. package/dist/chunk-667BQCEM.js +375 -0
  7. package/dist/chunk-667BQCEM.js.map +1 -0
  8. package/dist/chunk-FCEZDH42.mjs +20 -0
  9. package/dist/chunk-FCEZDH42.mjs.map +1 -0
  10. package/dist/chunk-KXYLEUSW.mjs +242 -0
  11. package/dist/chunk-KXYLEUSW.mjs.map +1 -0
  12. package/dist/chunk-O42L6HOX.js +242 -0
  13. package/dist/chunk-O42L6HOX.js.map +1 -0
  14. package/dist/chunk-ONXNE2A6.mjs +375 -0
  15. package/dist/chunk-ONXNE2A6.mjs.map +1 -0
  16. package/dist/chunk-STTOPUZ2.mjs +88 -0
  17. package/dist/chunk-STTOPUZ2.mjs.map +1 -0
  18. package/dist/chunk-VMT3LALB.mjs +51 -0
  19. package/dist/chunk-VMT3LALB.mjs.map +1 -0
  20. package/dist/chunk-VNNVLQLJ.mjs +65 -0
  21. package/dist/chunk-VNNVLQLJ.mjs.map +1 -0
  22. package/dist/chunk-WF65EDRZ.js +88 -0
  23. package/dist/chunk-WF65EDRZ.js.map +1 -0
  24. package/dist/chunk-XE4OXN2W.js +12 -0
  25. package/dist/chunk-XE4OXN2W.js.map +1 -0
  26. package/dist/chunk-XVKTIYHY.js +51 -0
  27. package/dist/chunk-XVKTIYHY.js.map +1 -0
  28. package/dist/chunk-YSLEF5C5.mjs +1 -0
  29. package/dist/chunk-YSLEF5C5.mjs.map +1 -0
  30. package/dist/cli/index.js +148 -85
  31. package/dist/cli/index.js.map +1 -1
  32. package/dist/cli/index.mjs +108 -46
  33. package/dist/cli/index.mjs.map +1 -1
  34. package/dist/client/index.js +3 -3
  35. package/dist/client/index.mjs +2 -2
  36. package/dist/codegen/index.js +4 -4
  37. package/dist/codegen/index.mjs +3 -3
  38. package/dist/dev-server/index.js +4 -4
  39. package/dist/dev-server/index.mjs +3 -3
  40. package/dist/index.js +93 -51
  41. package/dist/index.js.map +1 -1
  42. package/dist/index.mjs +75 -33
  43. package/dist/index.mjs.map +1 -1
  44. package/dist/nest/index.js +3 -3
  45. package/dist/nest/index.mjs +2 -2
  46. package/dist/next/index.js +22 -9
  47. package/dist/next/index.js.map +1 -1
  48. package/dist/next/index.mjs +23 -9
  49. package/dist/next/index.mjs.map +1 -1
  50. package/dist/types/index.js +1 -1
  51. package/dist/types/index.mjs +2 -2
  52. package/package.json +114 -113
  53. package/templates/nestjs-api/.env +4 -0
  54. package/templates/nestjs-api/.env.example +3 -0
  55. package/templates/nestjs-api/prisma/dev.db +0 -0
  56. package/templates/nextjs-web/next-env.d.ts +1 -1
package/README.md CHANGED
@@ -4,39 +4,37 @@
4
4
  ![license](https://img.shields.io/npm/l/wexts)
5
5
  ![node version](https://img.shields.io/node/v/wexts)
6
6
 
7
- **Wexts v2** is a modern, production-ready full-stack framework that seamlessly integrates **NestJS 11** and **Next.js 16**. Build type-safe applications with automatic API client generation, shared types, and exceptional developer experience.
7
+ **Wexts v2** is a modern, productionready fullstack framework that seamlessly integrates **NestJS 11** and **Next.js 16**. Build typesafe applications with automatic API client generation, shared types, and an exceptional developer experience.
8
8
 
9
9
  > **Requirements:** Node.js 20.9.0+, PNPM 10.0.0+
10
10
 
11
11
  ## ✨ What's New in v2
12
12
 
13
13
  - 🎯 **Next.js 16** with Turbopack (stable) and React Compiler
14
- - 🚀 **NestJS 11** with latest architectural improvements
14
+ - 🚀 **NestJS 11** with latest architectural improvements
15
15
  - ⚡ **TypeScript 5.9** with enhanced type inference
16
16
  - 📦 **Modern Build System** with optimized bundling
17
17
  - 🔥 **React 19** full support
18
18
 
19
19
  ## 🚀 Features
20
20
 
21
- - **🔗 NestJS + Next.js Integration**: Seamless backend-frontend connection
22
- - **📦 All-in-One SDK**: Core utilities, HTTP client, decorators, and hooks in one package
23
- - **🎯 Type-Safe**: End-to-end TypeScript from database to UI
24
- - **🛠️ CLI Tools**: Scaffold projects, generate code, manage development
25
- - **⚡ Auto API Client**: Generate type-safe clients from NestJS controllers
26
- - **🔐 Auth Built-in**: Ready-to-use authentication hooks for Next.js
27
- - **📝 Configuration Management**: Environment-aware config loader
28
- - **🎨 React Hooks**: `useFusion()`, `useAuth()` for seamless API integration
21
+ - **🔗 NestJS + Next.js Integration** seamless backendfrontend connection
22
+ - **📦 AllinOne SDK** core utilities, HTTP client, decorators, and hooks in one package
23
+ - **🎯 TypeSafe** – end‑toend TypeScript from database to UI
24
+ - **🛠️ CLI Tools** scaffold projects, generate code, manage development
25
+ - **⚡ Auto API Client** generate typesafe clients from NestJS controllers
26
+ - **🔐 Auth Builtin** – ready‑touse authentication hooks for Next.js
27
+ - **📝 Configuration Management** – environment‑aware config loader
28
+ - **🎨 React Hooks** `useWexts()`, `useAuth()` for seamless API integration
29
29
 
30
30
  ---
31
31
 
32
32
  ## 📦 Installation
33
33
 
34
- ### Global CLI
34
+ ### Global CLI (run without installing globally)
35
35
 
36
36
  ```bash
37
- npm install -g wexts
38
- # or
39
- yarn global add wexts
37
+ npx wexts
40
38
  ```
41
39
 
42
40
  ### Project Dependency
@@ -54,16 +52,16 @@ yarn add wexts
54
52
  ### Create New Project
55
53
 
56
54
  ```bash
57
- fusion create my-app --template monorepo
55
+ npx wexts create my-app --template monorepo
58
56
  cd my-app
59
- fusion dev
57
+ pnpm dev
60
58
  ```
61
59
 
62
60
  This creates:
63
- - `apps/api/` - NestJS 10 backend
64
- - `apps/web/` - Next.js 16 frontend
65
- - `packages/types/` - Shared TypeScript definitions
66
- - `packages/api-client/` - Auto-generated SDK
61
+ - `apps/api/` NestJS 11 backend
62
+ - `apps/web/` Next.js 16 frontend
63
+ - `packages/types/` shared TypeScript definitions
64
+ - `packages/api-client/` auto‑generated SDK
67
65
 
68
66
  ---
69
67
 
@@ -73,24 +71,24 @@ This creates:
73
71
 
74
72
  ```typescript
75
73
  import { Controller, Get, Post, Body } from '@nestjs/common';
76
- import { FusionController, FusionGet, FusionPost } from 'wexts/nest';
74
+ import { WextsController, WextsGet, WextsPost } from 'wexts/nest';
77
75
 
78
- @FusionController('users')
76
+ @WextsController('users')
79
77
  @Controller('users')
80
78
  export class UsersController {
81
- @FusionGet()
82
- async findAll() {
83
- return this.usersService.findAll();
84
- }
85
-
86
- @FusionPost()
87
- async create(@Body() createUserDto: CreateUserDto) {
88
- return this.usersService.create(createUserDto);
89
- }
79
+ @WextsGet()
80
+ async findAll() {
81
+ return this.usersService.findAll();
82
+ }
83
+
84
+ @WextsPost()
85
+ async create(@Body() createUserDto: CreateUserDto) {
86
+ return this.usersService.create(createUserDto);
87
+ }
90
88
  }
91
89
  ```
92
90
 
93
- **Benefits**: The `@FusionController` and `@FusionRoute` decorators add metadata for automatic API client generation.
91
+ **Benefits**: The `WextsController` and `WextsRoute` decorators add metadata for automatic API client generation.
94
92
 
95
93
  ---
96
94
 
@@ -100,18 +98,18 @@ export class UsersController {
100
98
 
101
99
  ```tsx
102
100
  // app/layout.tsx
103
- import { FusionProvider } from 'wexts/next';
104
-
105
- export default function RootLayout({ children }) {
106
- return (
107
- <html lang="en">
108
- <body>
109
- <FusionProvider baseUrl={process.env.NEXT_PUBLIC_API_URL || '/api'}>
110
- {children}
111
- </FusionProvider>
112
- </body>
113
- </html>
114
- );
101
+ import { WextsProvider } from 'wexts/next';
102
+
103
+ export default function RootLayout({ children }: { children: React.ReactNode }) {
104
+ return (
105
+ <html lang="en">
106
+ <body>
107
+ <WextsProvider baseUrl={process.env.NEXT_PUBLIC_API_URL || '/api'}>
108
+ {children}
109
+ </WextsProvider>
110
+ </body>
111
+ </html>
112
+ );
115
113
  }
116
114
  ```
117
115
 
@@ -119,26 +117,28 @@ export default function RootLayout({ children }) {
119
117
 
120
118
  ```tsx
121
119
  'use client';
122
- import { useFusion, useAuth } from 'wexts/next';
120
+ import { useWexts, useAuth } from 'wexts/next';
123
121
  import { useEffect, useState } from 'react';
124
122
 
125
123
  export default function UsersPage() {
126
- const { client } = useFusion();
127
- const { user, isAuthenticated } = useAuth();
128
- const [users, setUsers] = useState([]);
129
-
130
- useEffect(() => {
131
- client.get<User[]>('/users').then(setUsers);
132
- }, []);
133
-
134
- return (
135
- <div>
136
- {isAuthenticated && <p>Welcome, {user.name}!</p>}
137
- <ul>
138
- {users.map(u => <li key={u.id}>{u.name}</li>)}
139
- </ul>
140
- </div>
141
- );
124
+ const { client } = useWexts();
125
+ const { user, isAuthenticated } = useAuth();
126
+ const [users, setUsers] = useState([]);
127
+
128
+ useEffect(() => {
129
+ client.get<User[]>('/users').then(setUsers);
130
+ }, []);
131
+
132
+ return (
133
+ <div>
134
+ {isAuthenticated && <p>Welcome, {user.name}!</p>}
135
+ <ul>
136
+ {users.map(u => (
137
+ <li key={u.id}>{u.name}</li>
138
+ ))}
139
+ </ul>
140
+ </div>
141
+ );
142
142
  }
143
143
  ```
144
144
 
@@ -153,23 +153,23 @@ import { apiFetcher } from 'wexts/client';
153
153
  const users = await apiFetcher.get<User[]>('/users');
154
154
 
155
155
  // POST request
156
- const newUser = await apiFetcher.post('/users', {
157
- name: 'John',
158
- email: 'john@example.com'
156
+ const newUser = await apiFetcher.post('/users', {
157
+ name: 'John',
158
+ email: 'john@example.com',
159
159
  });
160
160
 
161
161
  // Automatic Bearer token from localStorage
162
- // Token stored as 'fusion_token'
162
+ // Token stored as 'wexts_token'
163
163
  ```
164
164
 
165
165
  ---
166
166
 
167
- ### Configuration
167
+ ## ⚙️ Configuration
168
168
 
169
169
  ```typescript
170
170
  import { config } from 'wexts';
171
171
 
172
- // Load from fusion.config.json or environment variables
172
+ // Load from wexts.config.json or environment variables
173
173
  const dbUrl = config.load('database');
174
174
  const apiKey = config.load('apiKey', 'default-key');
175
175
 
@@ -177,25 +177,25 @@ const apiKey = config.load('apiKey', 'default-key');
177
177
  config.set('feature_flags', { newUI: true });
178
178
  ```
179
179
 
180
- ---
181
-
182
- ### Logging
180
+ Create `wexts.config.json` in your project root:
183
181
 
184
- ```typescript
185
- import { logger, createLogger, LogLevel } from 'wexts';
186
-
187
- logger.info('Application started');
188
- logger.error('Connection failed:', error);
189
- logger.success('Build complete!');
182
+ ```json
183
+ {
184
+ "database": "postgresql://localhost/mydb",
185
+ "apiPort": 5050,
186
+ "webPort": 3000,
187
+ "jwt": {
188
+ "secret": "your-secret-key",
189
+ "expiresIn": "7d"
190
+ }
191
+ }
192
+ ```
190
193
 
191
- // Custom logger
192
- const apiLogger = createLogger({
193
- prefix: '[API]',
194
- level: LogLevel.DEBUG,
195
- timestamp: true
196
- });
194
+ **Environment Variables**: Prefix with `WEXTS_`
197
195
 
198
- apiLogger.debug('Detailed debug info');
196
+ ```bash
197
+ WEXTS_DATABASE=postgresql://localhost/mydb
198
+ WEXTS_JWT__SECRET=your-secret-key
199
199
  ```
200
200
 
201
201
  ---
@@ -204,17 +204,19 @@ apiLogger.debug('Detailed debug info');
204
204
 
205
205
  ```bash
206
206
  # Create new project
207
- fusion create <name> [--template monorepo|api|web]
207
+ wexts create <name> [--template monorepo|api|web]
208
208
 
209
209
  # Start development servers
210
- fusion dev [--port <port>]
210
+ wexts dev [--port <port>]
211
211
 
212
212
  # Build for production
213
- fusion build
213
+ wexts build
214
214
 
215
215
  # Generate code
216
- fusion generate controller <name>
217
- fusion g module <name>
216
+ wexts generate controller <name>
217
+
218
+ # Shortcut for generate
219
+ wexts g module <name>
218
220
  ```
219
221
 
220
222
  ---
@@ -223,60 +225,47 @@ fusion g module <name>
223
225
 
224
226
  ### Core Modules
225
227
 
226
- #### `wexts` (Main)
227
-
228
228
  ```typescript
229
229
  import { Core, Config, Insight, Nest, Next } from 'wexts';
230
230
  ```
231
231
 
232
- - **`Core`**: Process management, filesystem utilities
233
- - **`Config`**: Configuration loader
234
- - **`Insight`**: Logging and metrics
235
- - **`Nest`**: NestJS decorators and helpers
236
- - **`Next`**: Next.js providers and hooks
232
+ - **Core** process management, filesystem utilities
233
+ - **Config** configuration loader
234
+ - **Insight** logging and metrics
235
+ - **Nest** NestJS decorators and helpers
236
+ - **Next** Next.js providers and hooks
237
237
 
238
- #### `wexts/client`
238
+ ### `wexts/client`
239
239
 
240
240
  ```typescript
241
- import { FusionFetcher, apiFetcher } from 'wexts/client';
241
+ import { WextsFetcher, apiFetcher } from 'wexts/client';
242
242
  ```
243
243
 
244
- - **`FusionFetcher`**: HTTP client class
245
- - **`apiFetcher`**: Singleton instance
244
+ - **WextsFetcher** HTTP client class
245
+ - **apiFetcher** singleton instance
246
246
 
247
- #### `wexts/nest`
247
+ ### `wexts/nest`
248
248
 
249
249
  ```typescript
250
- import {
251
- FusionController,
252
- FusionGet,
253
- FusionPost,
254
- FusionPut,
255
- FusionDelete
256
- } from 'wexts/nest';
250
+ import { WextsController, WextsGet, WextsPost, WextsPut, WextsDelete } from 'wexts/nest';
257
251
  ```
258
252
 
259
- - NestJS decorators for API codegen
260
- - Works alongside standard `@nestjs/common` decorators
253
+ - NestJS decorators for API codegen (works alongside standard `@nestjs/common` decorators)
261
254
 
262
- #### `wexts/next`
255
+ ### `wexts/next`
263
256
 
264
257
  ```typescript
265
- import {
266
- FusionProvider,
267
- useFusion,
268
- useAuth
269
- } from 'wexts/next';
258
+ import { WextsProvider, useWexts, useAuth } from 'wexts/next';
270
259
  ```
271
260
 
272
- - **`FusionProvider`**: React Context provider for API client
273
- - **`useFusion()`**: Access API client in components
274
- - **`useAuth()`**: Authentication state management
261
+ - **WextsProvider** React context provider for API client
262
+ - **useWexts()** access API client in components
263
+ - **useAuth()** authentication state management
275
264
 
276
- #### `wexts/types`
265
+ ### `wexts/types`
277
266
 
278
267
  ```typescript
279
- import type { User, ApiResponse, FusionConfig } from 'wexts/types';
268
+ import type { User, ApiResponse, WextsConfig } from 'wexts/types';
280
269
  ```
281
270
 
282
271
  - Shared TypeScript type definitions
@@ -285,124 +274,21 @@ import type { User, ApiResponse, FusionConfig } from 'wexts/types';
285
274
 
286
275
  ## 🏗️ Project Structure
287
276
 
288
- When you create a new project with `fusion create`, you get:
277
+ When you create a project with `wexts create`, you get:
289
278
 
290
- ```
279
+ ```text
291
280
  my-app/
292
- ├── apps/
293
- │ ├── api/ # NestJS 10 backend
294
- │ │ ├── src/
295
- │ ├── main.ts
296
- │ │ ├── app.module.ts
297
- │ │ │ └── users/
298
- │ │ ├── users.controller.ts
299
- │ │ └── users.service.ts
300
- │ │ └── package.json
301
- │ │
302
- └── web/ # Next.js 16 frontend
303
- │ ├── app/
304
- │ │ ├── layout.tsx
305
- │ │ ├── page.tsx
306
- │ │ └── users/
307
- │ │ └── page.tsx
308
- │ └── package.json
309
-
310
- ├── packages/
311
- │ ├── types/ # Shared DTOs
312
- │ │ └── src/
313
- │ │ ├── user.ts
314
- │ │ └── index.ts
315
- │ │
316
- │ └── api-client/ # Auto-generated SDK
317
- │ └── src/
318
- │ └── index.ts
319
-
320
- ├── turbo.json # TurboRepo config
321
- ├── package.json # Root package
322
- └── fusion.config.json # Fusion configuration
323
- ```
324
-
325
- ---
326
-
327
- ## ⚙️ Configuration
328
-
329
- Create `fusion.config.json` in your project root:
330
-
331
- ```json
332
- {
333
- "database": "postgresql://localhost/mydb",
334
- "apiPort": 5050,
335
- "webPort": 3000,
336
- "jwt": {
337
- "secret": "your-secret-key",
338
- "expiresIn": "7d"
339
- }
340
- }
341
- ```
342
-
343
- Access via:
344
-
345
- ```typescript
346
- import { config } from 'wexts';
347
-
348
- const dbUrl = config.load('database');
349
- const jwtConfig = config.load('jwt');
350
- ```
351
-
352
- **Environment Variables**: Prefix with `FUSION_`
353
-
354
- ```bash
355
- FUSION_DATABASE=postgresql://localhost/mydb
356
- FUSION_JWT__SECRET=your-secret-key
357
- ```
358
-
359
- ---
360
-
361
- ## 🔐 Authentication Example
362
-
363
- ### Backend (NestJS)
364
-
365
- ```typescript
366
- import { Controller, Post, Body } from '@nestjs/common';
367
- import { FusionPost } from 'wexts/nest';
368
-
369
- @Controller('auth')
370
- export class AuthController {
371
- @FusionPost()
372
- @Post('login')
373
- async login(@Body() credentials: LoginDto) {
374
- const token = await this.authService.validateUser(credentials);
375
- return { token, user: { id: 1, email: credentials.email } };
376
- }
377
- }
378
- ```
379
-
380
- ### Frontend (Next.js)
381
-
382
- ```tsx
383
- 'use client';
384
- import { useAuth } from 'wexts/next';
385
-
386
- export default function LoginPage() {
387
- const { login, user, isAuthenticated, loading } = useAuth();
388
-
389
- const handleLogin = async (e: FormEvent) => {
390
- e.preventDefault();
391
- await login('user@example.com', 'password');
392
- // Automatically redirects or updates UI
393
- };
394
-
395
- if (loading) return <p>Loading...</p>;
396
- if (isAuthenticated) return <p>Welcome, {user.name}!</p>;
397
-
398
- return (
399
- <form onSubmit={handleLogin}>
400
- <input type="email" required />
401
- <input type="password" required />
402
- <button type="submit">Login</button>
403
- </form>
404
- );
405
- }
281
+ ├── apps/
282
+ │ ├── api/ # NestJS 11 backend
283
+ │ │ └── src/
284
+ └── web/ # Next.js 16 frontend
285
+ └── app/
286
+ ├── packages/
287
+ │ ├── types/ # Shared DTOs
288
+ │ └── api-client/ # Auto‑generated SDK
289
+ ├── turbo.json
290
+ ├── package.json
291
+ └── wexts.config.json
406
292
  ```
407
293
 
408
294
  ---
@@ -412,7 +298,7 @@ export default function LoginPage() {
412
298
  ### Build
413
299
 
414
300
  ```bash
415
- fusion build
301
+ wexts build
416
302
  ```
417
303
 
418
304
  ### Deploy API (NestJS)
@@ -0,0 +1 @@
1
+ "use strict";//# sourceMappingURL=chunk-2KAQYLVN.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["c:\\Users\\ziad\\Desktop\\wexts\\packages\\dist\\chunk-2KAQYLVN.js"],"names":[],"mappings":"AAAA","file":"C:\\Users\\ziad\\Desktop\\wexts\\packages\\dist\\chunk-2KAQYLVN.js"}
@@ -0,0 +1,65 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
+
3
+ var _chunkXE4OXN2Wjs = require('./chunk-XE4OXN2W.js');
4
+
5
+ // src/core/logger.ts
6
+ var LogLevel = /* @__PURE__ */ (function(LogLevel2) {
7
+ LogLevel2[LogLevel2["DEBUG"] = 0] = "DEBUG";
8
+ LogLevel2[LogLevel2["INFO"] = 1] = "INFO";
9
+ LogLevel2[LogLevel2["WARN"] = 2] = "WARN";
10
+ LogLevel2[LogLevel2["ERROR"] = 3] = "ERROR";
11
+ return LogLevel2;
12
+ })({});
13
+ var Logger = class {
14
+ static {
15
+ _chunkXE4OXN2Wjs.__name.call(void 0, this, "Logger");
16
+ }
17
+
18
+
19
+
20
+ constructor(options = {}) {
21
+ this.level = _nullishCoalesce(options.level, () => ( 1));
22
+ this.prefix = _nullishCoalesce(options.prefix, () => ( "[Fusion]"));
23
+ this.timestamp = _nullishCoalesce(options.timestamp, () => ( true));
24
+ }
25
+ formatMessage(level, ...args) {
26
+ const timestamp = this.timestamp ? `[${(/* @__PURE__ */ new Date()).toISOString()}]` : "";
27
+ return `${timestamp} ${this.prefix} ${level}: ${args.join(" ")}`;
28
+ }
29
+ debug(...args) {
30
+ if (this.level <= 0) {
31
+ console.log(this.formatMessage("DEBUG", ...args));
32
+ }
33
+ }
34
+ info(...args) {
35
+ if (this.level <= 1) {
36
+ console.log(this.formatMessage("INFO", ...args));
37
+ }
38
+ }
39
+ warn(...args) {
40
+ if (this.level <= 2) {
41
+ console.warn(this.formatMessage("WARN", ...args));
42
+ }
43
+ }
44
+ error(...args) {
45
+ if (this.level <= 3) {
46
+ console.error(this.formatMessage("ERROR", ...args));
47
+ }
48
+ }
49
+ success(...args) {
50
+ console.log(this.formatMessage("\u2713", ...args));
51
+ }
52
+ };
53
+ var logger = new Logger();
54
+ function createLogger(options) {
55
+ return new Logger(options);
56
+ }
57
+ _chunkXE4OXN2Wjs.__name.call(void 0, createLogger, "createLogger");
58
+
59
+
60
+
61
+
62
+
63
+
64
+ exports.LogLevel = LogLevel; exports.Logger = Logger; exports.logger = logger; exports.createLogger = createLogger;
65
+ //# sourceMappingURL=chunk-3OM7CHCA.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["c:\\Users\\ziad\\Desktop\\wexts\\packages\\dist\\chunk-3OM7CHCA.js"],"names":[],"mappings":"AAAA;AACE;AACF,sDAA4B;AAC5B;AACA;AACA,IAAI,SAAS,kBAAkB,CAAC,QAAQ,CAAC,SAAS,EAAE;AACpD,EAAE,SAAS,CAAC,SAAS,CAAC,OAAO,EAAE,EAAE,CAAC,EAAE,EAAE,OAAO;AAC7C,EAAE,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,EAAE,MAAM;AAC3C,EAAE,SAAS,CAAC,SAAS,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,EAAE,MAAM;AAC3C,EAAE,SAAS,CAAC,SAAS,CAAC,OAAO,EAAE,EAAE,CAAC,EAAE,EAAE,OAAO;AAC7C,EAAE,OAAO,SAAS;AAClB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACN,IAAI,OAAO,EAAE,MAAM;AACnB,EAAE,OAAO;AACT,IAAI,qCAAM,IAAK,EAAE,QAAQ,CAAC;AAC1B,EAAE;AACF,EAAE;AACF,EAAE;AACF,EAAE;AACF,EAAE,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE;AAC5B,IAAI,IAAI,CAAC,MAAM,mBAAE,OAAO,CAAC,KAAM,UAAG,GAAC;AACnC,IAAI,IAAI,CAAC,OAAO,mBAAE,OAAO,CAAC,MAAO,UAAG,YAAU;AAC9C,IAAI,IAAI,CAAC,UAAU,mBAAE,OAAO,CAAC,SAAU,UAAG,MAAI;AAC9C,EAAE;AACF,EAAE,aAAa,CAAC,KAAK,EAAE,GAAG,IAAI,EAAE;AAChC,IAAI,MAAM,UAAU,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC,EAAE,iBAAiB,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE;AAC7F,IAAI,OAAO,CAAC,EAAA;AACA,EAAA;AACA,EAAA;AACA,IAAA;AACA,MAAA;AACA,IAAA;AACA,EAAA;AACA,EAAA;AACA,IAAA;AACA,MAAA;AACA,IAAA;AACA,EAAA;AACA,EAAA;AACA,IAAA;AACA,MAAA;AACA,IAAA;AACA,EAAA;AACA,EAAA;AACA,IAAA;AACA,MAAA;AACA,IAAA;AACA,EAAA;AACA,EAAA;AACA,IAAA;AACA,EAAA;AACA;AACA;AACA;AACA,EAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"C:\\Users\\ziad\\Desktop\\wexts\\packages\\dist\\chunk-3OM7CHCA.js","sourcesContent":[null]}