@asgard-js/react 0.2.50 → 0.2.51
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/dist/components/chatbot/chatbot-body/conversation-message-renderer.d.ts +1 -1
- package/dist/components/chatbot/chatbot.d.ts +1 -1
- package/dist/components/templates/attachment-template/attachment-template.d.ts +1 -1
- package/dist/components/templates/attachment-template/chip.d.ts +1 -1
- package/dist/components/templates/audio-template/audio-template.d.ts +1 -1
- package/dist/components/templates/button-template/button-template.d.ts +1 -1
- package/dist/components/templates/button-template/card.d.ts +1 -1
- package/dist/components/templates/carousel-template/carousel-template.d.ts +1 -1
- package/dist/components/templates/chart-template/chart-template.d.ts +1 -1
- package/dist/components/templates/hint-template/hint-template.d.ts +1 -1
- package/dist/components/templates/image-template/image-template.d.ts +1 -1
- package/dist/components/templates/location-template/location-card.d.ts +1 -1
- package/dist/components/templates/location-template/location-template.d.ts +1 -1
- package/dist/components/templates/message-actions/message-actions.d.ts +1 -1
- package/dist/components/templates/references/references.d.ts +1 -1
- package/dist/components/templates/table-template/table-template.d.ts +1 -1
- package/dist/components/templates/template-box/template-box-content.d.ts +1 -1
- package/dist/components/templates/text-template/text-template.d.ts +1 -1
- package/dist/components/templates/user-image-template/user-image-template.d.ts +1 -1
- package/dist/components/templates/video-template/video-template.d.ts +1 -1
- package/dist/components/tool-call-consent/tool-call-consent-modal.d.ts +1 -1
- package/dist/context/asgard-app-initialization-context.d.ts +1 -1
- package/dist/context/asgard-service-context.d.ts +1 -1
- package/dist/context/asgard-template-context.d.ts +1 -1
- package/dist/hooks/use-asgard-service-client.d.ts +1 -1
- package/dist/hooks/use-channel.d.ts +1 -1
- package/dist/models/bot-provider.d.ts +1 -1
- package/dist/utils/export-conversation.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AsgardServiceContextValue, AsgardTemplateContextValue, AsgardServiceContextProviderProps, SendMessageParams } from '../../context';
|
|
2
2
|
import { AsgardThemeContextValue } from '../../context/asgard-theme-context';
|
|
3
|
-
import { ClientConfig, ConversationMessage, AuthState } from '
|
|
3
|
+
import { ClientConfig, ConversationMessage, AuthState } from '@asgard-js/core';
|
|
4
4
|
import { ReactNode, CSSProperties } from 'react';
|
|
5
5
|
|
|
6
6
|
interface ChatbotProps extends AsgardTemplateContextValue {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UseChannelProps, UseChannelReturn } from '../hooks';
|
|
2
2
|
import { ForwardedRef, ReactNode, RefObject } from 'react';
|
|
3
|
-
import { AsgardServiceClient, ClientConfig, ConversationMessage, ToolCallConsentEventData } from '
|
|
3
|
+
import { AsgardServiceClient, ClientConfig, ConversationMessage, ToolCallConsentEventData } from '@asgard-js/core';
|
|
4
4
|
|
|
5
5
|
/** Parameters for sending a message */
|
|
6
6
|
export interface SendMessageParams {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ToolCallItemData } from '../components/templates';
|
|
2
|
-
import { ConversationBotMessage, ConversationErrorMessage, ConversationMessage } from '
|
|
2
|
+
import { ConversationBotMessage, ConversationErrorMessage, ConversationMessage } from '@asgard-js/core';
|
|
3
3
|
import { FC, PropsWithChildren, ReactNode } from 'react';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AsgardServiceClient, Conversation, ConversationMessage, EventType, FetchSsePayload, SseResponse, ToolCallConsentAnswer } from '
|
|
1
|
+
import { AsgardServiceClient, Conversation, ConversationMessage, EventType, FetchSsePayload, SseResponse, ToolCallConsentAnswer } from '@asgard-js/core';
|
|
2
2
|
|
|
3
3
|
export interface UseChannelProps {
|
|
4
4
|
defaultIsOpen?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asgard-js/react",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.51",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"vite-plugin-svgr": "^4.3.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@asgard-js/core": "^0.2.
|
|
50
|
+
"@asgard-js/core": "^0.2.51",
|
|
51
51
|
"react": "^18.0.0 || ^19.0.0",
|
|
52
52
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
53
53
|
}
|