@apminsight/next 1.0.0 → 1.2.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.
- package/README.md +6 -6
- package/index.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -20,16 +20,16 @@ Before you can use Next.js module, you need to install the [Site24x7 Node.js age
|
|
|
20
20
|
This package is not bundled with the agent and must be installed separately. However, the package depends on the agent, so you will get all the agent's capabilities while loading this package.
|
|
21
21
|
* Run the following command in your Next.js project to install the APM Insight Node.js (APM) agent and APM Insight middleware for Next.js.
|
|
22
22
|
```
|
|
23
|
-
npm install
|
|
23
|
+
npm install @apminsight/next
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
* When the command is completed successfully, the dependencies will be listed in your package.json file.
|
|
27
27
|
```
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@apminsight/next": "^1.2.0",
|
|
30
|
+
"apminsight": "~5.1.0",
|
|
31
|
+
"next": "latest",
|
|
32
|
+
},
|
|
33
33
|
```
|
|
34
34
|
## Configuration
|
|
35
35
|
**Method 1:**
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apminsight/next",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
},
|
|
9
9
|
"keywords": [],
|
|
10
10
|
"author": {
|
|
11
|
-
"name"
|
|
12
|
-
"email"
|
|
11
|
+
"name": "Zoho Corporation Pvt. Ltd.",
|
|
12
|
+
"email": "apm-insight@zohocorp.com"
|
|
13
13
|
},
|
|
14
14
|
"license": "SEE LICENSE IN license.txt",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"apminsight": "
|
|
16
|
+
"apminsight": "~5.1.0",
|
|
17
17
|
"dotenv": "^16.3.1"
|
|
18
18
|
}
|
|
19
19
|
}
|