@relaycast/react 1.2.0 → 2.1.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type CSSProperties } from 'react';
|
|
1
|
+
import React, { type CSSProperties } from 'react';
|
|
2
2
|
import { type Components } from 'react-markdown';
|
|
3
3
|
export interface MessageMarkdownProps {
|
|
4
4
|
text: string;
|
|
@@ -10,5 +10,5 @@ export interface MessageMarkdownProps {
|
|
|
10
10
|
mentionClassName?: string;
|
|
11
11
|
mentionStyle?: CSSProperties;
|
|
12
12
|
}
|
|
13
|
-
export declare function MessageMarkdown({ text, className, components, showCodeCopyButton, mentionNames, onMentionClick, mentionClassName, mentionStyle, }: MessageMarkdownProps):
|
|
13
|
+
export declare function MessageMarkdown({ text, className, components, showCodeCopyButton, mentionNames, onMentionClick, mentionClassName, mentionStyle, }: MessageMarkdownProps): React.JSX.Element;
|
|
14
14
|
//# sourceMappingURL=MessageMarkdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageMarkdown.d.ts","sourceRoot":"","sources":["../../src/components/MessageMarkdown.tsx"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"MessageMarkdown.d.ts","sourceRoot":"","sources":["../../src/components/MessageMarkdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAW,KAAK,aAAa,EAAmC,MAAM,OAAO,CAAC;AAE5F,OAAsB,EAAuB,KAAK,UAAU,EAAmB,MAAM,gBAAgB,CAAC;AAketG,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,cAAc,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,YAAY,CAAC,EAAE,aAAa,CAAC;CAC9B;AAED,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,SAAS,EACT,UAAU,EACV,kBAA0B,EAC1B,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,YAAY,GACb,EAAE,oBAAoB,qBAoCtB"}
|
package/dist/provider.d.ts
CHANGED
|
@@ -8,5 +8,5 @@ export interface RelayProviderProps {
|
|
|
8
8
|
debug?: boolean;
|
|
9
9
|
children: React.ReactNode;
|
|
10
10
|
}
|
|
11
|
-
export declare function RelayProvider({ apiKey, agentToken, wsToken, baseUrl, channels, debug, children }: RelayProviderProps):
|
|
11
|
+
export declare function RelayProvider({ apiKey, agentToken, wsToken, baseUrl, channels, debug, children }: RelayProviderProps): React.JSX.Element;
|
|
12
12
|
//# sourceMappingURL=provider.d.ts.map
|
package/dist/provider.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../src/provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAOlD,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../src/provider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAOlD,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,wBAAgB,aAAa,CAAC,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,kBAAkB,qBAqDpH"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@relaycast/react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Headless React hooks for Relaycast real-time agent messaging",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"relaycast",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"lint": "eslint src/"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@relaycast/sdk": "1.
|
|
37
|
-
"@relaycast/types": "1.
|
|
36
|
+
"@relaycast/sdk": "2.1.0",
|
|
37
|
+
"@relaycast/types": "2.1.0",
|
|
38
38
|
"prism-react-renderer": "^2.4.1",
|
|
39
39
|
"react-markdown": "^10.1.0",
|
|
40
40
|
"remark-breaks": "^4.0.0",
|