securenow 5.0.0 → 5.0.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.
package/docs/INDEX.md CHANGED
@@ -1,147 +1,206 @@
1
- # SecureNow Documentation
2
-
3
- Complete documentation for SecureNow - OpenTelemetry instrumentation for Node.js and Next.js with tracing and logging.
4
-
5
- ## 📚 Table of Contents
6
-
7
- ### 🚀 Getting Started
8
-
9
- - **[Customer Guide](CUSTOMER-GUIDE.md)** - Quick start guide for customers
10
- - **[Auto Setup](AUTO-SETUP.md)** - Automated setup instructions
11
- - **[Auto Setup Summary](AUTO-SETUP-SUMMARY.md)** - Summary of auto-setup features
12
-
13
- ### 📋 Logging
14
-
15
- - **[Logging Quick Start](LOGGING-QUICKSTART.md)** - Add logging to your app in 2 minutes
16
- - **[Logging Complete Guide](LOGGING-GUIDE.md)** - Full logging setup for all frameworks
17
- - Express.js logging examples
18
- - Next.js logging examples
19
- - Fastify logging examples
20
- - NestJS logging examples
21
- - Console instrumentation
22
- - Direct logger API usage
23
-
24
- ### 📦 Next.js Integration
25
-
26
- - **[Next.js Guide](NEXTJS-GUIDE.md)** - Complete Next.js integration guide
27
- - **[Next.js Quickstart](NEXTJS-QUICKSTART.md)** - Quick setup for Next.js
28
- - **[Easiest Setup](EASIEST-SETUP.md)** - Simplest way to get started with Next.js
29
- - **[Vercel OTel Migration](VERCEL-OTEL-MIGRATION.md)** - Migrating to @vercel/otel
30
- - **[Next.js Webpack Warnings](NEXTJS-WEBPACK-WARNINGS.md)** - Fixing webpack bundling issues
31
-
32
- ### 🔍 Request Body Capture
33
-
34
- - **[Request Body Capture](REQUEST-BODY-CAPTURE.md)** - Overview of body capture features
35
- - **[Body Capture Quickstart](BODY-CAPTURE-QUICKSTART.md)** - Quick start for body capture
36
- - **[Quickstart Body Capture](QUICKSTART-BODY-CAPTURE.md)** - Alternative quickstart
37
- - **[Auto Body Capture](AUTO-BODY-CAPTURE.md)** - Automatic body capture for Next.js
38
- - **[Body Capture Fix](BODY-CAPTURE-FIX.md)** - Troubleshooting body capture issues
39
- - **[Final Solution](FINAL-SOLUTION.md)** - Complete body capture solution
40
-
41
- ### 🔐 Next.js Body Capture
42
-
43
- - **[Next.js Body Capture](NEXTJS-BODY-CAPTURE.md)** - Body capture specifically for Next.js
44
- - **[Next.js Body Capture Comparison](NEXTJS-BODY-CAPTURE-COMPARISON.md)** - Compare different approaches
45
- - **[Next.js Wrapper Approach](NEXTJS-WRAPPER-APPROACH.md)** - Using wrapper functions
46
-
47
- ### 🛡️ Security & Privacy
48
-
49
- - **[Redaction Examples](REDACTION-EXAMPLES.md)** - How sensitive data is redacted
50
- - **[Automatic IP Capture](AUTOMATIC-IP-CAPTURE.md)** - IP address and metadata collection
51
-
52
- ### 🖥️ Express.js & Node.js
53
-
54
- - **[Express Body Capture](EXPRESS-BODY-CAPTURE.md)** - Body capture for Express.js with PM2
55
- - Supports both JavaScript and TypeScript
56
- - PM2 clustering setup
57
- - Complete examples
58
-
59
- ### 📊 Architecture & Implementation
60
-
61
- - **[Architecture](ARCHITECTURE.md)** - System architecture overview
62
- - **[Implementation Summary](IMPLEMENTATION-SUMMARY.md)** - Implementation details
63
- - **[Solution Summary](SOLUTION-SUMMARY.md)** - Summary of all solutions
64
- - **[Completion Report](COMPLETION-REPORT.md)** - Project completion status
65
- - **[Changelog - Next.js](CHANGELOG-NEXTJS.md)** - Next.js integration changelog
66
-
67
- ---
68
-
69
- ## 🎯 Quick Links by Use Case
70
-
71
- ### "I want to add logging to my app"
72
- 1. Start with [Logging Quick Start](LOGGING-QUICKSTART.md)
73
- 2. For complete guide: [Logging Complete Guide](LOGGING-GUIDE.md)
74
- 3. Works with Express, Next.js, Fastify, NestJS, and all Node.js frameworks
75
-
76
- ### "I want to add tracing to my Next.js app"
77
- 1. Start with [Next.js Quickstart](NEXTJS-QUICKSTART.md)
78
- 2. For automatic setup: [Auto Setup](AUTO-SETUP.md)
79
- 3. For easiest method: [Easiest Setup](EASIEST-SETUP.md)
80
-
81
- ### "I want to capture request bodies in Next.js"
82
- 1. Read [Next.js Body Capture](NEXTJS-BODY-CAPTURE.md)
83
- 2. Choose approach: [Next.js Body Capture Comparison](NEXTJS-BODY-CAPTURE-COMPARISON.md)
84
- 3. Implement: [Auto Body Capture](AUTO-BODY-CAPTURE.md)
85
-
86
- ### "I want to use this with Express.js and PM2"
87
- 1. Read [Express Body Capture](EXPRESS-BODY-CAPTURE.md)
88
- 2. Check [Request Body Capture](REQUEST-BODY-CAPTURE.md) for general info
89
-
90
- ### "I need to capture IP addresses and headers"
91
- 1. Read [Automatic IP Capture](AUTOMATIC-IP-CAPTURE.md)
92
- 2. Understand redaction: [Redaction Examples](REDACTION-EXAMPLES.md)
93
-
94
- ### "I'm getting errors or warnings"
95
- 1. Webpack issues: [Next.js Webpack Warnings](NEXTJS-WEBPACK-WARNINGS.md)
96
- 2. Body capture issues: [Body Capture Fix](BODY-CAPTURE-FIX.md)
97
- 3. Check [Final Solution](FINAL-SOLUTION.md) for latest fixes
98
-
99
- ---
100
-
101
- ## 📖 Documentation Overview
102
-
103
- ### Complete Guides (Read First)
104
- - Customer Guide
105
- - Logging Complete Guide
106
- - Next.js Guide
107
- - Express Body Capture
108
-
109
- ### Quick References
110
- - Logging Quick Start
111
- - Next.js Quickstart
112
- - Body Capture Quickstart
113
- - Easiest Setup
114
-
115
- ### Technical Deep Dives
116
- - Architecture
117
- - Implementation Summary
118
- - Vercel OTel Migration
119
-
120
- ### Problem Solving
121
- - Body Capture Fix
122
- - Next.js Webpack Warnings
123
- - Redaction Examples
124
-
125
- ---
126
-
127
- ## 🔗 External Resources
128
-
129
- - [Main README](../README.md) - Package overview
130
- - [Examples](../examples/) - Code examples
131
- - [npm Package](https://www.npmjs.com/package/securenow)
132
- - [OpenTelemetry Docs](https://opentelemetry.io/)
133
- - [SigNoz](https://signoz.io/)
134
-
135
- ---
136
-
137
- ## 💡 Need Help?
138
-
139
- 1. Check the relevant guide above
140
- 2. Look at [Examples](../examples/)
141
- 3. Review [Troubleshooting sections](BODY-CAPTURE-FIX.md)
142
- 4. Check [Architecture](ARCHITECTURE.md) for system design
143
-
144
- ---
145
-
146
- **Last Updated:** March 18, 2026
147
- **Package Version:** 4.0.12
1
+ # SecureNow Documentation
2
+
3
+ Complete documentation for SecureNow - OpenTelemetry instrumentation for Node.js and Next.js with tracing and logging.
4
+
5
+ ## 📚 Table of Contents
6
+
7
+ ### 🚀 Getting Started
8
+
9
+ - **[NPM Package Documentation](../NPM_README.md)** - Complete npm package documentation
10
+ - **[All Frameworks Quick Start](ALL-FRAMEWORKS-QUICKSTART.md)** - Universal 5-minute setup
11
+ - **[Consuming Apps Guide](../CONSUMING-APPS-GUIDE.md)** - Simple guide for developers
12
+ - **[Customer Guide](CUSTOMER-GUIDE.md)** - Quick start guide for customers
13
+ - **[Auto Setup](AUTO-SETUP.md)** - Automated setup instructions
14
+ - **[Auto Setup Summary](AUTO-SETUP-SUMMARY.md)** - Summary of auto-setup features
15
+
16
+ ### 📋 Logging
17
+
18
+ - **[Logging Quick Start](LOGGING-QUICKSTART.md)** - Add logging to your app in 2 minutes
19
+ - **[Logging Complete Guide](LOGGING-GUIDE.md)** - Full logging setup for all frameworks
20
+ - Express.js logging examples
21
+ - Next.js logging examples
22
+ - Fastify logging examples
23
+ - NestJS logging examples
24
+ - Console instrumentation
25
+ - Direct logger API usage
26
+
27
+ ### 🎯 Framework-Specific Guides
28
+
29
+ - **[Express.js Complete Setup](EXPRESS-SETUP-GUIDE.md)** - Step-by-step Express.js guide
30
+ - Basic setup
31
+ - TypeScript setup
32
+ - PM2 configuration
33
+ - Docker setup
34
+ - Complete examples
35
+ - **[Next.js Complete Setup](NEXTJS-SETUP-COMPLETE.md)** - Step-by-step Next.js guide
36
+ - App Router setup
37
+ - Pages Router setup
38
+ - API routes examples
39
+ - Server components
40
+ - Middleware
41
+ - Deployment guides
42
+
43
+ ### 📦 Next.js Integration
44
+
45
+ - **[Next.js Guide](NEXTJS-GUIDE.md)** - Complete Next.js integration guide
46
+ - **[Next.js Quickstart](NEXTJS-QUICKSTART.md)** - Quick setup for Next.js
47
+ - **[Easiest Setup](EASIEST-SETUP.md)** - Simplest way to get started with Next.js
48
+ - **[Vercel OTel Migration](VERCEL-OTEL-MIGRATION.md)** - Migrating to @vercel/otel
49
+ - **[Next.js Webpack Warnings](NEXTJS-WEBPACK-WARNINGS.md)** - Fixing webpack bundling issues
50
+
51
+ ### 🔍 Request Body Capture
52
+
53
+ - **[Request Body Capture](REQUEST-BODY-CAPTURE.md)** - Overview of body capture features
54
+ - **[Body Capture Quickstart](BODY-CAPTURE-QUICKSTART.md)** - Quick start for body capture
55
+ - **[Quickstart Body Capture](QUICKSTART-BODY-CAPTURE.md)** - Alternative quickstart
56
+ - **[Auto Body Capture](AUTO-BODY-CAPTURE.md)** - Automatic body capture for Next.js
57
+ - **[Body Capture Fix](BODY-CAPTURE-FIX.md)** - Troubleshooting body capture issues
58
+ - **[Final Solution](FINAL-SOLUTION.md)** - Complete body capture solution
59
+
60
+ ### ⚙️ Configuration
61
+
62
+ - **[Environment Variables Complete Reference](ENVIRONMENT-VARIABLES.md)** - All variables explained
63
+ - Required variables
64
+ - Optional variables
65
+ - Configuration examples
66
+ - Best practices
67
+ - Priority and overrides
68
+
69
+ ### 🔐 Next.js Body Capture
70
+
71
+ - **[Next.js Body Capture](NEXTJS-BODY-CAPTURE.md)** - Body capture specifically for Next.js
72
+ - **[Next.js Body Capture Comparison](NEXTJS-BODY-CAPTURE-COMPARISON.md)** - Compare different approaches
73
+ - **[Next.js Wrapper Approach](NEXTJS-WRAPPER-APPROACH.md)** - Using wrapper functions
74
+
75
+ ### 🛡️ Security & Privacy
76
+
77
+ - **[Redaction Examples](REDACTION-EXAMPLES.md)** - How sensitive data is redacted
78
+ - **[Automatic IP Capture](AUTOMATIC-IP-CAPTURE.md)** - IP address and metadata collection
79
+
80
+ ### 🖥️ Express.js & Node.js
81
+
82
+ - **[Express Body Capture](EXPRESS-BODY-CAPTURE.md)** - Body capture for Express.js with PM2
83
+ - Supports both JavaScript and TypeScript
84
+ - PM2 clustering setup
85
+ - Complete examples
86
+
87
+ ### 📊 Architecture & Implementation
88
+
89
+ - **[Architecture](ARCHITECTURE.md)** - System architecture overview
90
+ - **[Implementation Summary](IMPLEMENTATION-SUMMARY.md)** - Implementation details
91
+ - **[Solution Summary](SOLUTION-SUMMARY.md)** - Summary of all solutions
92
+ - **[Completion Report](COMPLETION-REPORT.md)** - Project completion status
93
+ - **[Changelog - Next.js](CHANGELOG-NEXTJS.md)** - Next.js integration changelog
94
+
95
+ ---
96
+
97
+ ## 🎯 Quick Links by Use Case
98
+
99
+ ### "I want to set up monitoring and logging for any framework"
100
+ 1. Start with [NPM Package Documentation](../NPM_README.md)
101
+ 2. Quick setup: [All Frameworks Quick Start](ALL-FRAMEWORKS-QUICKSTART.md)
102
+ 3. Simple guide: [Consuming Apps Guide](../CONSUMING-APPS-GUIDE.md)
103
+ 4. All variables: [Environment Variables Reference](ENVIRONMENT-VARIABLES.md)
104
+
105
+ ### "I'm using Express.js"
106
+ 1. Quick start: [All Frameworks Quick Start](ALL-FRAMEWORKS-QUICKSTART.md#expressjs)
107
+ 2. Complete guide: [Express.js Setup Guide](EXPRESS-SETUP-GUIDE.md)
108
+ 3. Includes PM2, Docker, TypeScript examples
109
+
110
+ ### "I'm using Next.js"
111
+ 1. Quick start: [All Frameworks Quick Start](ALL-FRAMEWORKS-QUICKSTART.md#nextjs-app-router)
112
+ 2. Complete guide: [Next.js Setup Complete](NEXTJS-SETUP-COMPLETE.md)
113
+ 3. Legacy guide: [Next.js Quickstart](NEXTJS-QUICKSTART.md)
114
+
115
+ ### "I want to add logging to my app"
116
+ 1. Start with [Logging Quick Start](LOGGING-QUICKSTART.md)
117
+ 2. For complete guide: [Logging Complete Guide](LOGGING-GUIDE.md)
118
+ 3. Works with Express, Next.js, Fastify, NestJS, and all Node.js frameworks
119
+
120
+ ### "I want to capture request bodies in Next.js"
121
+ 1. Read [Next.js Body Capture](NEXTJS-BODY-CAPTURE.md)
122
+ 2. Choose approach: [Next.js Body Capture Comparison](NEXTJS-BODY-CAPTURE-COMPARISON.md)
123
+ 3. Implement: [Auto Body Capture](AUTO-BODY-CAPTURE.md)
124
+
125
+ ### "I want to use this with Express.js and PM2"
126
+ 1. Read [Express Body Capture](EXPRESS-BODY-CAPTURE.md)
127
+ 2. Check [Request Body Capture](REQUEST-BODY-CAPTURE.md) for general info
128
+
129
+ ### "I need to capture IP addresses and headers"
130
+ 1. Read [Automatic IP Capture](AUTOMATIC-IP-CAPTURE.md)
131
+ 2. Understand redaction: [Redaction Examples](REDACTION-EXAMPLES.md)
132
+
133
+ ### "I'm getting errors or warnings"
134
+ 1. Webpack issues: [Next.js Webpack Warnings](NEXTJS-WEBPACK-WARNINGS.md)
135
+ 2. Body capture issues: [Body Capture Fix](BODY-CAPTURE-FIX.md)
136
+ 3. Check [Final Solution](FINAL-SOLUTION.md) for latest fixes
137
+
138
+ ---
139
+
140
+ ## 📖 Documentation Overview
141
+
142
+ ### NPM Package Documentation (Start Here)
143
+ - **NPM Package Documentation** - Complete reference for npm users
144
+ - **All Frameworks Quick Start** - Universal 5-minute setup
145
+ - **Consuming Apps Guide** - Simple step-by-step guide
146
+ - **Environment Variables Reference** - All configuration options
147
+
148
+ ### Complete Framework Guides
149
+ - **Express.js Setup Guide** - Complete Express.js reference
150
+ - **Next.js Setup Complete** - Complete Next.js reference
151
+ - **Logging Complete Guide** - Complete logging reference
152
+
153
+ ### Quick Start Guides
154
+ - **Logging Quick Start** - 2-minute logging setup
155
+ - **All Frameworks Quick Start** - 5-minute universal setup
156
+ - **Next.js Quickstart** - Legacy Next.js quick start
157
+ - **Body Capture Quickstart** - Quick body capture setup
158
+
159
+ ### Technical Deep Dives
160
+ - Architecture
161
+ - Implementation Summary
162
+ - Vercel OTel Migration
163
+
164
+ ### Problem Solving
165
+ - Body Capture Fix
166
+ - Next.js Webpack Warnings
167
+ - Redaction Examples
168
+
169
+ ---
170
+
171
+ ## 🔗 External Resources
172
+
173
+ - [Main README](../README.md) - Package overview
174
+ - [NPM README](../NPM_README.md) - NPM package documentation
175
+ - [Consuming Apps Guide](../CONSUMING-APPS-GUIDE.md) - Developer setup guide
176
+ - [Examples](../examples/) - Code examples
177
+ - [npm Package](https://www.npmjs.com/package/securenow)
178
+ - [OpenTelemetry Docs](https://opentelemetry.io/)
179
+
180
+ ---
181
+
182
+ ## 💡 Need Help?
183
+
184
+ 1. Check the relevant guide above
185
+ 2. Look at [Examples](../examples/)
186
+ 3. Review [Troubleshooting sections](BODY-CAPTURE-FIX.md)
187
+ 4. Check [Architecture](ARCHITECTURE.md) for system design
188
+
189
+ ---
190
+
191
+ ---
192
+
193
+ ## 📦 NPM Package Files
194
+
195
+ Key documentation files included in the npm package:
196
+
197
+ - `NPM_README.md` - Complete npm package documentation
198
+ - `CONSUMING-APPS-GUIDE.md` - Simple developer guide
199
+ - `README.md` - Package overview
200
+ - `docs/` - All guides and references
201
+ - `examples/` - Code examples
202
+
203
+ ---
204
+
205
+ **Last Updated:** March 18, 2026
206
+ **Package Version:** 4.0.12+