reqwise-core 1.1.1 → 1.1.2

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 (2) hide show
  1. package/README.md +26 -30
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,53 +1,53 @@
1
- # @reqwise/core 🚀
1
+ # @reqwise-core 🚀
2
2
 
3
- > **Reqwise**, React vanilla JavaScript tətbiqlərində edilən HTTP API istəklərini (Axios/Fetch) tutan, qeyd edən tətbiq daxilində vizuallaşdıran güclü bir tərtibatçı (developer) alətidir.
3
+ > **Reqwise** is a powerful developer tool npm package that captures, logs, and visualizes HTTP API requests (Axios/Fetch) within React and vanilla JavaScript applications.
4
4
 
5
- Tətbiqinizin içində mini bir **Postman** ya **Chrome DevTools Network** paneli kimi işləyir. Sayfada üzən (floating aside) bir panel vasitəsilə istəkləri real vaxt rejimində izləyə, tarixçəyə baxa tək kliklə test istəkləri göndərə bilərsiniz.
5
+ It operates like a mini **Postman** or **Chrome DevTools Network** panel embedded directly inside your application. Through a floating aside panel, developers can inspect requests in real-time, browse page history, and send manual test requests with a single click.
6
6
 
7
7
  ---
8
8
 
9
- ## ✨ Özəlliklər
9
+ ## ✨ Features
10
10
 
11
- - 🔄 **Tam HTTP İzləmə:** `ReqwiseClient` üzərindən keçən bütün Payload-ları (method, url, body, headers, duration, response) avtomatik qeyd edir.
12
- - 💾 **Davamlılıq (Persistence):** İstəkləri `localStorage` (`reqwise_log` açarı) üzərində saxlayır, səhifə yenilənsə belə itmir.
13
- - 🛡️ **Təhlükəsizlik (Masking):** Həssas məlumatları gizlətmək üçün `maskHeaders` (məs. Authorization) `maskFields` (məs. password) dəstəyi.
14
- - 🌍 **Beynəlmiləlləşdirmə (i18n):** Daxili 15 dil dəstəyi ağıllı `t(key, lang)` köməkçisi.
15
- - ⌨️ **Hotkey Dəstəyi:** Özəlləşdirilə bilən qısayollar (məs. `ctrl+shift+e`) ilə paneli gizlədib-açma.
11
+ - 🔄 **Full HTTP Interception:** Automatically logs all payloads (method, url, body, headers, duration, response) passing through `ReqwiseClient`.
12
+ - 💾 **Persistence:** Stores requests securely in `localStorage` (under the `reqwise_log` key), keeping data intact even after page reloads.
13
+ - 🛡️ **Security Masking:** Built-in support to obfuscate sensitive data via `maskHeaders` (e.g., Authorization) and `maskFields` (e.g., password).
14
+ - 🌍 **Internationalization (i18n):** Out-of-the-box support for 15 languages powered by an intelligent `t(key, lang)` helper.
15
+ - ⌨️ **Hotkey Support:** Toggle panel visibility instantly using customizable keyboard shortcuts (e.g., `ctrl+shift+e`).
16
16
 
17
17
  ---
18
18
 
19
- ## 📦 Qurulum (Installation)
19
+ ## 📦 Installation
20
20
 
21
- Paketi layihənizə `npm` ya `pnpm` vasitəsilə əlavə edin:
21
+ Add the core package to your project using `npm` or `pnpm`:
22
22
 
23
23
  ```bash
24
- npm install @reqwise/core
25
- # və ya
26
- pnpm add @reqwise/core
24
+ npm install @reqwise-core
25
+ # or
26
+ pnpm add @reqwise-core
27
27
  ```
28
28
 
29
29
  ---
30
30
 
31
- ## 🚀 İşləmə Məntiqi (Architecture Flow)
31
+ ## 🚀 Architecture Flow
32
32
 
33
- Reqwise tətbiqiniz ilə backend arasında bir körpü rolunu oynayır:
33
+ Reqwise acts as a seamless bridge between your frontend application and the backend services:
34
34
 
35
- front ➔ ReqwiseClient ➔ axios ( ya fetch fallback) ➔ backend
35
+ front ➔ ReqwiseClient ➔ axios (or fetch fallback) ➔ backend
36
36
 
37
- 1. İstək göndərilir ➔ Payload (`ReqwiseEntry` formatında) qeyd olunur.
38
- 2. Gerçək HTTP istəyi icra edilir.
39
- 3. Cavab (Response) alınırMüddət (duration) status qeyd olunur.
40
- 4. Məlumatlar `reqwise_log` ilə local-a yazılır `reqwise:update` eventi tetiklenir.
41
- 5. DOM-a yeridilmiş `#reqwise-panel` interfeysi dərhal yenilənir.
37
+ 1. **Request Sent** ➔ Payload is captured and recorded in the `ReqwiseEntry` schema format.
38
+ 2. **Execution** ➔ The actual HTTP network request is securely executed.
39
+ 3. **Response Captured**HTTP status code, response data, and precise round-trip duration are logged.
40
+ 4. **Synchronization** ➔ Entry is committed to `reqwise_log` in storage, and a custom DOM event `reqwise:update` is dispatched.
41
+ 5. **UI Update** ➔ The injected `#reqwise-panel` layout refreshes immediately to reflect the new log.
42
42
 
43
43
  ---
44
44
 
45
- ## 🛠️ Konfiqurasiya Nümunəsi
45
+ ## 🛠️ Configuration Example
46
46
 
47
- Projenin core tərəfini başlamaq üçün `core.configure()` funksiyasından istifadə olunur:
47
+ Initialize and configure the core infrastructure using the `core.configure()` API method:
48
48
 
49
49
  ```typescript
50
- import { core } from "@reqwise/core";
50
+ import { core } from "@reqwise-core";
51
51
 
52
52
  core.configure({
53
53
  theme: "dark",
@@ -62,10 +62,6 @@ core.configure({
62
62
 
63
63
  ---
64
64
 
65
- ## 🤖 Reqwise Development Agent (RDA)
66
-
67
- Bu layihə **RDA (Reqwise Development Agent)** adlı xüsusi bir AI arxitekturası tərəfindən idarə olunur və inkişaf etdirilir. RDA layihənin struktur bütövlüyünü qorumaq, `.b64.txt` kimi böyük faylların bundle-a girməsinin qarşısını almaq (`/bundle-check`) və ciddi isimləndirmə qaydalarına riayət etmək üçün xüsusi əmrlərə (`/status`, `/fix`, `/checklist`) malikdir.
68
-
69
- ## 📄 Lisenziya
65
+ ## 📄 License
70
66
 
71
67
  MIT © Alizadeh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reqwise-core",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Core vanilla TypeScript HTTP interceptor and floating developer panel for Reqwise ecosystem.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",