Skip to content

Commit 0a6b4a0

Browse files
updating readme.md
1 parent 0beb3a3 commit 0a6b4a0

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"plugins/node/instrumentation-socket.io": "0.41.0",
2929
"plugins/node/instrumentation-tedious": "0.12.0",
3030
"plugins/node/instrumentation-undici": "0.4.0",
31+
"plugins/node/instrumentation-react-native-navigation": "0.1.0",
3132
"plugins/node/opentelemetry-instrumentation-aws-lambda": "0.43.0",
3233
"plugins/node/opentelemetry-instrumentation-aws-sdk": "0.43.1",
3334
"plugins/node/opentelemetry-instrumentation-bunyan": "0.40.0",

plugins/node/instrumentation-react-native-navigation/README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ or if you use yarn
1717
yarn add @opentelemetry/instrumentation-react-native-navigation @opentelemetry/api
1818
```
1919

20-
## Supported Versions
21-
22-
- Nodejs `>=14`
23-
2420
## Usage
2521

2622
This package is designed to streamline your workflow by requiring minimal setup. To use this package, you only need to pass a reference and a optionally provider (the global one will be used by default)
@@ -125,7 +121,7 @@ The purpose of this package is to intercept changes in the navigation of a React
125121

126122
For instance, when the application starts and the user navigates to a new section, the first Span will be considered finished at that moment. Let’s take a look at the output of this Span:
127123

128-
```
124+
```bash
129125
{
130126
resource: {
131127
attributes: {

plugins/node/instrumentation-react-native-navigation/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module.exports = api => {
22
api.cache(false);
33

44
return {
5-
presets: ['module:metro-react-native-babel-preset'],
5+
presets: ['module:metro-react-native-babel-preset', '@babel/preset-env'],
66
plugins: ['babel-plugin-react-native-web'],
77
};
88
};

plugins/node/instrumentation-react-native-navigation/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@
4848
"react-dom": ">=18.0.0"
4949
},
5050
"devDependencies": {
51-
"@opentelemetry/api": "^1.3.0",
5251
"@babel/core": "^7.24.9",
52+
"@babel/preset-env": "^7.25.2",
5353
"@babel/register": "^7.24.6",
54+
"@opentelemetry/api": "^1.3.0",
5455
"@opentelemetry/sdk-trace-base": "^1.25.1",
5556
"@react-navigation/native": "^6.1.18",
5657
"@testing-library/react": "^16.0.0",

0 commit comments

Comments
 (0)