@urun-sh/react 0.1.5 → 0.1.6
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/CHANGELOG.md +4 -0
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as react from 'react';
|
|
2
3
|
import { ReactNode, RefObject, Component, ErrorInfo, ComponentType } from 'react';
|
|
3
4
|
import { Layer, LayoutConfig, TransportState, App } from '@urun-sh/core';
|
|
4
5
|
import { TransportSession } from '@urun-sh/core/internal';
|
|
@@ -84,7 +85,7 @@ declare class UrunErrorBoundary extends Component<UrunErrorBoundaryProps, UrunEr
|
|
|
84
85
|
constructor(props: UrunErrorBoundaryProps);
|
|
85
86
|
static getDerivedStateFromError(error: Error): UrunErrorBoundaryState;
|
|
86
87
|
componentDidCatch(error: Error, info: ErrorInfo): void;
|
|
87
|
-
render(): string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
88
|
+
render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
88
89
|
}
|
|
89
90
|
|
|
90
91
|
type SessionHandle = ReturnType<ReturnType<typeof App>[string]>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import * as react from 'react';
|
|
2
3
|
import { ReactNode, RefObject, Component, ErrorInfo, ComponentType } from 'react';
|
|
3
4
|
import { Layer, LayoutConfig, TransportState, App } from '@urun-sh/core';
|
|
4
5
|
import { TransportSession } from '@urun-sh/core/internal';
|
|
@@ -84,7 +85,7 @@ declare class UrunErrorBoundary extends Component<UrunErrorBoundaryProps, UrunEr
|
|
|
84
85
|
constructor(props: UrunErrorBoundaryProps);
|
|
85
86
|
static getDerivedStateFromError(error: Error): UrunErrorBoundaryState;
|
|
86
87
|
componentDidCatch(error: Error, info: ErrorInfo): void;
|
|
87
|
-
render(): string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
88
|
+
render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
88
89
|
}
|
|
89
90
|
|
|
90
91
|
type SessionHandle = ReturnType<ReturnType<typeof App>[string]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@urun-sh/react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "React bindings for the urun TypeScript SDK",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"react": "^18.2.0 || ^19.0.0",
|
|
34
|
-
"@urun-sh/core": "^0.1.
|
|
34
|
+
"@urun-sh/core": "^0.1.6",
|
|
35
35
|
"@workos-inc/authkit-react": "^0.15.0"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"happy-dom": "^20.9.0",
|
|
46
46
|
"typescript": "^5.3.0",
|
|
47
47
|
"@testing-library/react": "^16.0.0",
|
|
48
|
-
"@types/react": "^
|
|
49
|
-
"react": "^
|
|
50
|
-
"react-dom": "^
|
|
48
|
+
"@types/react": "^19.2.15",
|
|
49
|
+
"react": "^19.2.6",
|
|
50
|
+
"react-dom": "^19.2.6",
|
|
51
51
|
"@urun-sh/core": "workspace:*",
|
|
52
52
|
"@workos-inc/authkit-react": "^0.15.0"
|
|
53
53
|
},
|