@libo11y/rum-react 0.4.0 → 0.7.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 +5 -12
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @libo11y/rum-react
|
|
2
2
|
|
|
3
3
|
React adapter for
|
|
4
|
-
[`@libo11y/rum`](https://github.com/
|
|
4
|
+
[`@libo11y/rum`](https://github.com/libo11y/libo11y/tree/main/ts/packages/rum).
|
|
5
5
|
`RumProvider` puts the `Rum` handle in React context, `useRum` reads it,
|
|
6
6
|
and `RumErrorBoundary` records render errors as `o11y.rum.error` events
|
|
7
7
|
with source `boundary` and React's component stack.
|
|
@@ -14,17 +14,10 @@ It needs React 18.3 or 19 as a peer dependency.
|
|
|
14
14
|
|
|
15
15
|
## Status
|
|
16
16
|
|
|
17
|
-
The package first ships in `ts/v0.3.0`,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
[`ts/v0.
|
|
21
|
-
whose notes list the exact URLs:
|
|
22
|
-
|
|
23
|
-
```sh
|
|
24
|
-
npm install \
|
|
25
|
-
https://github.com/jamesainslie/libo11y/releases/download/ts/v0.4.0/libo11y-rum-0.4.0.tgz \
|
|
26
|
-
https://github.com/jamesainslie/libo11y/releases/download/ts/v0.4.0/libo11y-rum-react-0.4.0.tgz
|
|
27
|
-
```
|
|
17
|
+
The package first ships in `ts/v0.3.0`, releases with `@libo11y/rum` at
|
|
18
|
+
the same version, and is published on npm at `0.7.0` (also attached as a
|
|
19
|
+
tarball to the
|
|
20
|
+
[`ts/v0.7.0` GitHub Release](https://github.com/libo11y/libo11y/releases/tag/ts/v0.7.0)).
|
|
28
21
|
|
|
29
22
|
## Usage
|
|
30
23
|
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** The `@libo11y/rum-react` package version. scripts/release.ts keeps it equal to package.json. */
|
|
2
|
-
export declare const VERSION = "0.
|
|
2
|
+
export declare const VERSION = "0.7.0";
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** The `@libo11y/rum-react` package version. scripts/release.ts keeps it equal to package.json. */
|
|
2
|
-
export const VERSION = "0.
|
|
2
|
+
export const VERSION = "0.7.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libo11y/rum-react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "React adapter for @libo11y/rum: a provider and an error boundary that records render errors as o11y.rum.error with the component stack.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
},
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "git+https://github.com/
|
|
16
|
+
"url": "git+https://github.com/libo11y/libo11y.git",
|
|
17
17
|
"directory": "ts/packages/rum-react"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@libo11y/rum": "0.
|
|
20
|
+
"@libo11y/rum": "0.7.0",
|
|
21
21
|
"react": "^18.3.0 || ^19.0.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@libo11y/rum": "0.
|
|
24
|
+
"@libo11y/rum": "0.7.0",
|
|
25
25
|
"@types/react": "19.3.0",
|
|
26
26
|
"@types/react-dom": "19.3.0",
|
|
27
27
|
"react": "19.3.1",
|