@corti/embedded-web 0.2.0 → 0.3.1
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 +50 -11
- package/dist/CortiEmbedded.d.ts +30 -4
- package/dist/CortiEmbedded.js +89 -4
- package/dist/CortiEmbedded.js.map +1 -1
- package/dist/bundle.js +89 -5
- package/dist/corti-embedded.d.ts +1 -1
- package/dist/corti-embedded.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/public-types.d.ts +185 -0
- package/dist/public-types.js +2 -0
- package/dist/public-types.js.map +1 -0
- package/dist/react/CortiEmbeddedReact.d.ts +4 -2
- package/dist/react/CortiEmbeddedReact.js +3 -1
- package/dist/react/CortiEmbeddedReact.js.map +1 -1
- package/dist/types/api.d.ts +32 -7
- package/dist/types/api.js.map +1 -1
- package/dist/types/config.d.ts +16 -2
- package/dist/types/config.js.map +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/payloads.d.ts +35 -0
- package/dist/types/payloads.js.map +1 -1
- package/dist/types/protocol.d.ts +9 -3
- package/dist/types/protocol.js.map +1 -1
- package/dist/types/responses.d.ts +10 -2
- package/dist/types/responses.js.map +1 -1
- package/dist/web-bundle.js +87 -5
- package/dist/web-index.d.ts +1 -1
- package/dist/web-index.js +2 -2
- package/dist/web-index.js.map +1 -1
- package/package.json +3 -1
package/dist/types/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/types/api.ts"],"names":[],"mappings":"AAAA,qCAAqC","sourcesContent":["// Public API types for SDK consumers\n\nimport type { ConfigureAppPayload } from \"./config.js\";\nimport type {\n AuthChangedEventPayload,\n DocumentEventPayload,\n ErrorEventPayload,\n InteractionCreatedEventPayload,\n NavigationChangedEventPayload,\n UsageEventPayload,\n} from \"./events.js\";\nimport type {\n AddFactsPayload,\n ConfigureSessionPayload,\n CreateInteractionPayload,\n Fact,\n KeycloakTokenResponse,\n NavigatePayload,\n SetCredentialsPayload,\n} from \"./payloads.js\";\nimport type { DefaultMode } from \"./protocol.js\";\nimport type {\n AuthResponse,\n ConfigureAppResponse,\n CreateInteractionResponse,\n GetStatusResponse,\n GetTemplatesResponse,\n} from \"./responses.js\";\n\nexport type { ConfigureAppPayload } from \"./config.js\";\n// Re-export common types for public API\nexport type { UserInfo } from \"./responses.js\";\n\n/**\n * User information returned from authentication\n */\nexport interface User {\n id: string;\n email: string;\n}\n\n/**\n * Details of a created interaction\n */\nexport interface InteractionDetails {\n id: string;\n createdAt: string;\n}\n\n/**\n * Session configuration options\n */\nexport interface SessionConfig {\n defaultLanguage?: string;\n defaultOutputLanguage?: string;\n defaultTemplateKey?: string;\n defaultMode?: DefaultMode;\n}\n\n/**\n * Event data types for component events\n */\nexport interface EmbeddedEventData {\n ready: undefined;\n \"auth-changed\": AuthChangedEventPayload;\n \"interaction-created\": InteractionCreatedEventPayload;\n \"recording-started\": undefined;\n \"recording-stopped\": undefined;\n \"document-generated\": DocumentEventPayload;\n \"document-updated\": DocumentEventPayload;\n \"document-synced\": DocumentEventPayload;\n \"navigation-changed\": NavigationChangedEventPayload;\n usage: UsageEventPayload;\n error: ErrorEventPayload;\n}\n\n// Window API Types\nexport interface CortiEmbeddedV1API {\n auth(payload: KeycloakTokenResponse): Promise<AuthResponse>;\n createInteraction(
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/types/api.ts"],"names":[],"mappings":"AAAA,qCAAqC","sourcesContent":["// Public API types for SDK consumers\n\nimport type { ConfigureAppPayload, ConfigurePayload } from \"./config.js\";\nimport type {\n AuthChangedEventPayload,\n DocumentEventPayload,\n ErrorEventPayload,\n InteractionCreatedEventPayload,\n NavigationChangedEventPayload,\n UsageEventPayload,\n} from \"./events.js\";\nimport type {\n AddFactsPayload,\n ConfigureSessionPayload,\n CreateInteractionPayload,\n Fact,\n KeycloakTokenResponse,\n NavigatePayload,\n SetInteractionOptionsPayload,\n SetCredentialsPayload,\n} from \"./payloads.js\";\nimport type { DefaultMode } from \"./protocol.js\";\nimport type {\n AuthResponse,\n ConfigureAppResponse,\n ConfigureResponse,\n CreateInteractionResponse,\n GetStatusResponse,\n GetTemplatesResponse,\n} from \"./responses.js\";\n\nexport type { ConfigureAppPayload, ConfigurePayload } from \"./config.js\";\n// Re-export common types for public API\nexport type { UserInfo } from \"./responses.js\";\n\n/**\n * User information returned from authentication\n */\nexport interface User {\n id: string;\n email: string;\n}\n\n/**\n * Details of a created interaction\n */\nexport interface InteractionDetails {\n id: string;\n createdAt: string;\n}\n\n/**\n * Session configuration options\n */\nexport interface SessionConfig {\n defaultLanguage?: string;\n defaultOutputLanguage?: string;\n defaultTemplateKey?: string;\n defaultMode?: DefaultMode;\n}\n\n/**\n * Event data types for component events\n */\nexport interface EmbeddedEventData {\n ready: undefined;\n \"auth-changed\": AuthChangedEventPayload;\n \"interaction-created\": InteractionCreatedEventPayload;\n \"recording-started\": undefined;\n \"recording-stopped\": undefined;\n \"document-generated\": DocumentEventPayload;\n \"document-updated\": DocumentEventPayload;\n \"document-synced\": DocumentEventPayload;\n \"navigation-changed\": NavigationChangedEventPayload;\n usage: UsageEventPayload;\n error: ErrorEventPayload;\n}\n\n// Window API Types\nexport interface CortiEmbeddedV1API {\n auth(payload: KeycloakTokenResponse): Promise<AuthResponse>;\n createInteraction(payload: CreateInteractionPayload): Promise<CreateInteractionResponse>;\n addFacts(payload: AddFactsPayload): Promise<void>;\n configureApp(payload: ConfigureAppPayload): Promise<ConfigureAppResponse>;\n configureSession(payload: ConfigureSessionPayload): Promise<void>;\n setInteractionOptions(payload: SetInteractionOptionsPayload): Promise<void>;\n configure(payload: ConfigurePayload): Promise<ConfigureResponse>;\n navigate(payload: NavigatePayload): Promise<void>;\n startRecording(): Promise<void>;\n stopRecording(): Promise<void>;\n setCredentials(payload: SetCredentialsPayload): Promise<void>;\n getStatus(): Promise<GetStatusResponse>;\n getTemplates(): Promise<GetTemplatesResponse>;\n}\nexport interface CortiEmbeddedWindowAPI {\n v1: CortiEmbeddedV1API;\n}\n\n// Extend Window interface\ndeclare global {\n interface Window {\n CortiEmbedded?: CortiEmbeddedWindowAPI;\n }\n}\n\n/**\n * Event listener function type\n */\nexport type EventListener<T = unknown> = (data: T) => void;\n\n/**\n * Public API interface for the Corti Embedded component\n */\nexport interface CortiEmbeddedAPI {\n /**\n * Authenticate with the Corti system\n * @param credentials Authentication credentials\n * @returns Promise resolving to user information\n */\n auth(credentials: KeycloakTokenResponse): Promise<User>;\n\n /**\n * Create a new interaction\n * @param encounter Encounter request data\n * @returns Promise resolving to interaction details\n */\n createInteraction(encounter: CreateInteractionPayload): Promise<InteractionDetails>;\n\n /**\n * Configure the current session\n * @param config Session configuration\n * @returns Promise that resolves when configuration is complete\n */\n configureSession(config: SessionConfig): Promise<void>;\n\n /**\n * Add facts to the current session\n * @param facts Array of facts to add\n * @returns Promise that resolves when facts are added\n */\n addFacts(facts: Fact[]): Promise<void>;\n\n /**\n * Navigate to a specific path within the embedded UI\n * @param path Path to navigate to\n * @returns Promise that resolves when navigation is complete\n */\n navigate(path: string): Promise<void>;\n\n /**\n * Start recording\n * @returns Promise that resolves when recording starts\n */\n startRecording(): Promise<void>;\n\n /**\n * Stop recording\n * @returns Promise that resolves when recording stops\n */\n stopRecording(): Promise<void>;\n\n /**\n * Get current component status\n * @returns Promise resolving to current status\n */\n getStatus(): Promise<GetStatusResponse>;\n\n /**\n * Get all templates available to the current user\n * @returns Promise resolving to list of templates\n */\n getTemplates(): Promise<GetTemplatesResponse>;\n\n /**\n * Configure the embedded application\n * @param config Application-level configuration\n * @returns Promise that resolves when configuration is applied\n */\n configureApp(config: ConfigureAppPayload): Promise<ConfigureAppResponse>;\n\n /**\n * Configure the application\n * @param config Application configuration\n * @returns Promise that resolves when configuration is applied\n */\n configure(config: ConfigurePayload): Promise<ConfigureResponse>;\n\n /**\n * Set one-shot interaction options for the embedded instance.\n *\n * Each call patches the provided interaction-options branches onto the current\n * snapshot for the embedded instance. Omitted branches preserve their existing\n * values from previous calls.\n * @param config Interaction/session-level options\n * @returns Promise that resolves when options are applied\n */\n setInteractionOptions(config: SetInteractionOptionsPayload): Promise<void>;\n\n /**\n * Set authentication credentials without triggering auth flow\n * @param credentials Authentication credentials to store\n * @returns Promise that resolves when credentials are set\n */\n setCredentials(credentials: { password: string }): Promise<void>;\n\n /**\n * Show the embedded UI\n */\n show(): void;\n\n /**\n * Hide the embedded UI\n */\n hide(): void;\n}\n"]}
|
package/dist/types/config.d.ts
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
export interface AppearanceConfig {
|
|
2
2
|
primaryColor: string | null;
|
|
3
3
|
}
|
|
4
|
-
export interface
|
|
4
|
+
export interface UIConfig {
|
|
5
|
+
interactionTitle: boolean;
|
|
6
|
+
aiChat: boolean;
|
|
7
|
+
documentFeedback: boolean;
|
|
8
|
+
navigation: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface ConfigureFeaturesConfig {
|
|
5
11
|
interactionTitle: boolean;
|
|
6
12
|
aiChat: boolean;
|
|
7
13
|
documentFeedback: boolean;
|
|
@@ -18,9 +24,17 @@ export interface LocaleConfig {
|
|
|
18
24
|
export interface NetworkConfig {
|
|
19
25
|
websocketBaseUrl?: string | null;
|
|
20
26
|
}
|
|
27
|
+
export interface ConfigurePayload {
|
|
28
|
+
debug?: boolean;
|
|
29
|
+
appearance?: Partial<AppearanceConfig>;
|
|
30
|
+
features?: Partial<ConfigureFeaturesConfig>;
|
|
31
|
+
locale?: Partial<LocaleConfig>;
|
|
32
|
+
network?: Partial<NetworkConfig>;
|
|
33
|
+
}
|
|
21
34
|
export interface ConfigureAppPayload {
|
|
35
|
+
debug?: boolean;
|
|
36
|
+
ui?: Partial<UIConfig>;
|
|
22
37
|
appearance?: Partial<AppearanceConfig>;
|
|
23
|
-
features?: Partial<FeaturesConfig>;
|
|
24
38
|
locale?: Partial<LocaleConfig>;
|
|
25
39
|
network?: Partial<NetworkConfig>;
|
|
26
40
|
}
|
package/dist/types/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/types/config.ts"],"names":[],"mappings":"AAAA,iDAAiD","sourcesContent":["// Configuration types for the embedded component\n\nexport interface AppearanceConfig {\n primaryColor: string | null;\n}\n\nexport interface
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/types/config.ts"],"names":[],"mappings":"AAAA,iDAAiD","sourcesContent":["// Configuration types for the embedded component\n\nexport interface AppearanceConfig {\n primaryColor: string | null;\n}\n\nexport interface UIConfig {\n interactionTitle: boolean;\n aiChat: boolean;\n documentFeedback: boolean;\n navigation: boolean;\n}\n\nexport interface ConfigureFeaturesConfig {\n interactionTitle: boolean;\n aiChat: boolean;\n documentFeedback: boolean;\n navigation: boolean;\n virtualMode: boolean;\n syncDocumentAction: boolean;\n templateEditor: boolean;\n}\n\nexport interface LocaleConfig {\n interfaceLanguage: string;\n dictationLanguage?: string | null;\n overrides?: Record<string, string>;\n}\n\nexport interface NetworkConfig {\n websocketBaseUrl?: string | null;\n}\n\nexport interface ConfigurePayload {\n debug?: boolean;\n appearance?: Partial<AppearanceConfig>;\n features?: Partial<ConfigureFeaturesConfig>;\n locale?: Partial<LocaleConfig>;\n network?: Partial<NetworkConfig>;\n}\n\nexport interface ConfigureAppPayload {\n debug?: boolean;\n ui?: Partial<UIConfig>;\n appearance?: Partial<AppearanceConfig>;\n locale?: Partial<LocaleConfig>;\n network?: Partial<NetworkConfig>;\n}\n"]}
|
package/dist/types/index.js
CHANGED
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAE7C,mBAAmB;AACnB,cAAc,UAAU,CAAC;AACzB,eAAe;AACf,cAAc,aAAa,CAAC;AAC5B,cAAc;AACd,cAAc,aAAa,CAAC;AAC5B,gBAAgB;AAChB,cAAc,eAAe,CAAC;AAC9B,iBAAiB;AACjB,cAAc,gBAAgB,CAAC;AAC/B,iBAAiB;AACjB,cAAc,eAAe,CAAC","sourcesContent":["// Main exports for @assistant/embedded-types\n\n// Public API types\nexport * from \"./api.js\";\n// Config types\nexport * from \"./config.js\";\n// Event types\nexport * from \"./events.js\";\n// Payload types\nexport * from \"./payloads.js\";\n// Response types\nexport * from \"./responses.js\";\n// Protocol types\nexport * from \"./protocol.js\";\n"]}
|
package/dist/types/payloads.d.ts
CHANGED
|
@@ -50,6 +50,41 @@ export interface ConfigureSessionPayload {
|
|
|
50
50
|
defaultTemplateKey?: string;
|
|
51
51
|
defaultMode?: DefaultMode;
|
|
52
52
|
}
|
|
53
|
+
export interface InteractionModeOptions {
|
|
54
|
+
fallback: DefaultMode;
|
|
55
|
+
options: DefaultMode[];
|
|
56
|
+
}
|
|
57
|
+
export interface SpokenLanguageOptions {
|
|
58
|
+
fallback: string;
|
|
59
|
+
}
|
|
60
|
+
export interface InteractionTemplateReference {
|
|
61
|
+
source: "standard";
|
|
62
|
+
id: string;
|
|
63
|
+
}
|
|
64
|
+
export interface DefaultInteractionTemplateOptions {
|
|
65
|
+
behaviour: "fallback";
|
|
66
|
+
template: InteractionTemplateReference;
|
|
67
|
+
}
|
|
68
|
+
export interface InteractionTemplateSources {
|
|
69
|
+
personal?: {
|
|
70
|
+
enabled: boolean;
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
export interface InteractionTemplateOptions {
|
|
74
|
+
sources?: InteractionTemplateSources;
|
|
75
|
+
defaultTemplate?: DefaultInteractionTemplateOptions;
|
|
76
|
+
}
|
|
77
|
+
export interface InteractionDocumentOptions {
|
|
78
|
+
actions?: {
|
|
79
|
+
sync?: boolean;
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
export interface SetInteractionOptionsPayload {
|
|
83
|
+
mode?: InteractionModeOptions;
|
|
84
|
+
spokenLanguage?: SpokenLanguageOptions;
|
|
85
|
+
templates?: InteractionTemplateOptions;
|
|
86
|
+
documents?: InteractionDocumentOptions;
|
|
87
|
+
}
|
|
53
88
|
export interface NavigatePayload {
|
|
54
89
|
path: string;
|
|
55
90
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../src/types/payloads.ts"],"names":[],"mappings":"","sourcesContent":["// Payload types for embedded API requests and responses\nimport type { Corti } from \"@corti/sdk\";\n\nimport type { DefaultMode } from \"./protocol.js\";\n\n// Keycloak token structure\nexport interface KeycloakTokenResponse {\n access_token: string;\n token_type: string;\n expires_at?: number | null;\n expires_in?: number | null;\n refresh_expires_in?: number | null;\n refresh_token?: string;\n id_token?: string;\n \"not-before-policy\"?: number | null;\n session_state?: string;\n scope?: string;\n profile?: {\n name: string;\n email: string;\n sub: string;\n };\n}\n\n// Fact structure\nexport interface Fact {\n text: Corti.FactsCreateInput[\"text\"];\n group: string;\n source?: Corti.FactsCreateInput[\"source\"];\n}\n\n// Create interaction payload\nexport interface CreateInteractionPayload {\n assignedUserId?: Corti.InteractionsCreateRequest[\"assignedUserId\"] | null;\n encounter: {\n identifier: Corti.InteractionsCreateRequest[\"encounter\"][\"identifier\"];\n status: Corti.InteractionsCreateRequest[\"encounter\"][\"status\"];\n type: Corti.InteractionsCreateRequest[\"encounter\"][\"type\"];\n period: {\n startedAt: string;\n endedAt?: string;\n };\n title?: string;\n };\n patient?: {\n identifier?: Corti.InteractionsPatient[\"identifier\"];\n name?: string;\n birthDate?: string | null;\n gender?: Corti.InteractionsPatient[\"gender\"];\n };\n}\n\n// Add facts payload\nexport interface AddFactsPayload {\n facts: Fact[];\n}\n\n// Configure session payload\nexport interface ConfigureSessionPayload {\n defaultLanguage?: string;\n defaultOutputLanguage?: string;\n defaultTemplateKey?: string;\n defaultMode?: DefaultMode;\n}\n\n// Navigate payload\nexport interface NavigatePayload {\n path: string;\n}\n\n// Set credentials payload\nexport interface SetCredentialsPayload {\n password: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../src/types/payloads.ts"],"names":[],"mappings":"","sourcesContent":["// Payload types for embedded API requests and responses\nimport type { Corti } from \"@corti/sdk\";\n\nimport type { DefaultMode } from \"./protocol.js\";\n\n// Keycloak token structure\nexport interface KeycloakTokenResponse {\n access_token: string;\n token_type: string;\n expires_at?: number | null;\n expires_in?: number | null;\n refresh_expires_in?: number | null;\n refresh_token?: string;\n id_token?: string;\n \"not-before-policy\"?: number | null;\n session_state?: string;\n scope?: string;\n profile?: {\n name: string;\n email: string;\n sub: string;\n };\n}\n\n// Fact structure\nexport interface Fact {\n text: Corti.FactsCreateInput[\"text\"];\n group: string;\n source?: Corti.FactsCreateInput[\"source\"];\n}\n\n// Create interaction payload\nexport interface CreateInteractionPayload {\n assignedUserId?: Corti.InteractionsCreateRequest[\"assignedUserId\"] | null;\n encounter: {\n identifier: Corti.InteractionsCreateRequest[\"encounter\"][\"identifier\"];\n status: Corti.InteractionsCreateRequest[\"encounter\"][\"status\"];\n type: Corti.InteractionsCreateRequest[\"encounter\"][\"type\"];\n period: {\n startedAt: string;\n endedAt?: string;\n };\n title?: string;\n };\n patient?: {\n identifier?: Corti.InteractionsPatient[\"identifier\"];\n name?: string;\n birthDate?: string | null;\n gender?: Corti.InteractionsPatient[\"gender\"];\n };\n}\n\n// Add facts payload\nexport interface AddFactsPayload {\n facts: Fact[];\n}\n\n// Configure session payload\nexport interface ConfigureSessionPayload {\n defaultLanguage?: string;\n defaultOutputLanguage?: string;\n defaultTemplateKey?: string;\n defaultMode?: DefaultMode;\n}\n\nexport interface InteractionModeOptions {\n fallback: DefaultMode;\n options: DefaultMode[];\n}\n\nexport interface SpokenLanguageOptions {\n fallback: string;\n}\n\nexport interface InteractionTemplateReference {\n source: \"standard\";\n id: string;\n}\n\nexport interface DefaultInteractionTemplateOptions {\n behaviour: \"fallback\";\n template: InteractionTemplateReference;\n}\n\nexport interface InteractionTemplateSources {\n personal?: {\n enabled: boolean;\n };\n}\n\nexport interface InteractionTemplateOptions {\n sources?: InteractionTemplateSources;\n defaultTemplate?: DefaultInteractionTemplateOptions;\n}\n\nexport interface InteractionDocumentOptions {\n actions?: {\n sync?: boolean;\n };\n}\n\nexport interface SetInteractionOptionsPayload {\n mode?: InteractionModeOptions;\n spokenLanguage?: SpokenLanguageOptions;\n templates?: InteractionTemplateOptions;\n documents?: InteractionDocumentOptions;\n}\n\n// Navigate payload\nexport interface NavigatePayload {\n path: string;\n}\n\n// Set credentials payload\nexport interface SetCredentialsPayload {\n password: string;\n}\n"]}
|
package/dist/types/protocol.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type APIVersion = "v1";
|
|
2
2
|
export type MessageType = "CORTI_EMBEDDED" | "CORTI_EMBEDDED_RESPONSE" | "CORTI_EMBEDDED_EVENT";
|
|
3
3
|
export type DefaultMode = "virtual" | "in-person";
|
|
4
|
-
export type EmbeddedAction = "auth" | "createInteraction" | "addFacts" | "configureSession" | "navigate" | "startRecording" | "stopRecording" | "getStatus" | "getTemplates" | "configure" | "setCredentials";
|
|
4
|
+
export type EmbeddedAction = "auth" | "createInteraction" | "addFacts" | "configureApp" | "configureSession" | "setInteractionOptions" | "navigate" | "startRecording" | "stopRecording" | "getStatus" | "getTemplates" | "configure" | "setCredentials";
|
|
5
5
|
export type DeprecatedEmbeddedEvent = "ready" | "loaded" | "recordingStarted" | "recordingStopped" | "documentGenerated" | "documentUpdated" | "documentSynced" | "authChanged" | "interactionCreated" | "navigationChanged" | "usage";
|
|
6
6
|
export interface BaseMessage {
|
|
7
7
|
type: MessageType;
|
|
@@ -48,6 +48,12 @@ export interface AddFactsRequest extends EmbeddedRequest {
|
|
|
48
48
|
export interface ConfigureSessionRequest extends EmbeddedRequest {
|
|
49
49
|
action: "configureSession";
|
|
50
50
|
}
|
|
51
|
+
export interface ConfigureAppRequest extends EmbeddedRequest {
|
|
52
|
+
action: "configureApp";
|
|
53
|
+
}
|
|
54
|
+
export interface SetInteractionOptionsRequest extends EmbeddedRequest {
|
|
55
|
+
action: "setInteractionOptions";
|
|
56
|
+
}
|
|
51
57
|
export interface NavigateRequest extends EmbeddedRequest {
|
|
52
58
|
action: "navigate";
|
|
53
59
|
}
|
|
@@ -102,9 +108,9 @@ export interface NavigationChangedEvent extends DeprecatedEmbeddedEventMessage {
|
|
|
102
108
|
export interface UsageEvent extends DeprecatedEmbeddedEventMessage {
|
|
103
109
|
event: "usage";
|
|
104
110
|
}
|
|
105
|
-
export type AnyEmbeddedRequest = AuthRequest | CreateInteractionRequest | AddFactsRequest | ConfigureSessionRequest | GetTemplatesRequest | NavigateRequest | StartRecordingRequest | StopRecordingRequest | GetStatusRequest | ConfigureRequest | SetCredentialsRequest;
|
|
111
|
+
export type AnyEmbeddedRequest = AuthRequest | CreateInteractionRequest | AddFactsRequest | ConfigureAppRequest | ConfigureSessionRequest | GetTemplatesRequest | NavigateRequest | SetInteractionOptionsRequest | StartRecordingRequest | StopRecordingRequest | GetStatusRequest | ConfigureRequest | SetCredentialsRequest;
|
|
106
112
|
export type AnyEmbeddedResponse = EmbeddedResponse;
|
|
107
113
|
export type AnyDeprecatedEmbeddedEvent = ReadyEvent | LoadedEvent | RecordingStartedEvent | RecordingStoppedEvent | DocumentGeneratedEvent | DocumentUpdatedEvent | DocumentSyncedEvent | AuthChangedEvent | InteractionCreatedEvent | NavigationChangedEvent | UsageEvent;
|
|
108
114
|
export type AnyEvent = EmbeddedEventMessage | AnyDeprecatedEmbeddedEvent;
|
|
109
|
-
export type AnyEmbeddedMessage = AnyEmbeddedRequest | AnyEmbeddedResponse |
|
|
115
|
+
export type AnyEmbeddedMessage = AnyEmbeddedRequest | AnyEmbeddedResponse | AnyEvent;
|
|
110
116
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"protocol.js","sourceRoot":"","sources":["../../src/types/protocol.ts"],"names":[],"mappings":"AAAA,4FAA4F","sourcesContent":["// Protocol types for communication between parent applications and embedded Corti Assistant\n\nexport type APIVersion = \"v1\";\n\nexport type MessageType
|
|
1
|
+
{"version":3,"file":"protocol.js","sourceRoot":"","sources":["../../src/types/protocol.ts"],"names":[],"mappings":"AAAA,4FAA4F","sourcesContent":["// Protocol types for communication between parent applications and embedded Corti Assistant\n\nexport type APIVersion = \"v1\";\n\nexport type MessageType = \"CORTI_EMBEDDED\" | \"CORTI_EMBEDDED_RESPONSE\" | \"CORTI_EMBEDDED_EVENT\";\n\nexport type DefaultMode = \"virtual\" | \"in-person\";\n\nexport type EmbeddedAction =\n | \"auth\"\n | \"createInteraction\"\n | \"addFacts\"\n | \"configureApp\"\n | \"configureSession\"\n | \"setInteractionOptions\"\n | \"navigate\"\n | \"startRecording\"\n | \"stopRecording\"\n | \"getStatus\"\n | \"getTemplates\"\n | \"configure\"\n | \"setCredentials\";\n\nexport type DeprecatedEmbeddedEvent =\n | \"ready\"\n | \"loaded\"\n | \"recordingStarted\"\n | \"recordingStopped\"\n | \"documentGenerated\"\n | \"documentUpdated\"\n | \"documentSynced\"\n | \"authChanged\"\n | \"interactionCreated\"\n | \"navigationChanged\"\n | \"usage\";\n\n// Base Message Types\nexport interface BaseMessage {\n type: MessageType;\n version: APIVersion;\n}\n\nexport interface EmbeddedRequest extends BaseMessage {\n type: \"CORTI_EMBEDDED\";\n action: EmbeddedAction;\n requestId: string;\n payload?: unknown;\n}\n\nexport interface EmbeddedResponse extends BaseMessage {\n type: \"CORTI_EMBEDDED_RESPONSE\";\n action: EmbeddedAction;\n requestId: string;\n success: boolean;\n payload?: unknown;\n error?: string;\n errorCode?: string;\n errorDetails?: unknown;\n}\n\ninterface BaseEventMessage extends BaseMessage {\n type: \"CORTI_EMBEDDED_EVENT\";\n event: string | DeprecatedEmbeddedEvent;\n payload?: unknown;\n}\n\nexport interface DeprecatedEmbeddedEventMessage extends BaseEventMessage {\n event: DeprecatedEmbeddedEvent;\n deprecated: true;\n}\n\nexport interface EmbeddedEventMessage extends BaseEventMessage {\n payload: null | Record<string, unknown>;\n confidential: boolean;\n}\n\n// Specific Request Types\nexport interface AuthRequest extends EmbeddedRequest {\n action: \"auth\";\n}\n\nexport interface CreateInteractionRequest extends EmbeddedRequest {\n action: \"createInteraction\";\n}\n\nexport interface AddFactsRequest extends EmbeddedRequest {\n action: \"addFacts\";\n}\n\nexport interface ConfigureSessionRequest extends EmbeddedRequest {\n action: \"configureSession\";\n}\n\nexport interface ConfigureAppRequest extends EmbeddedRequest {\n action: \"configureApp\";\n}\n\nexport interface SetInteractionOptionsRequest extends EmbeddedRequest {\n action: \"setInteractionOptions\";\n}\n\nexport interface NavigateRequest extends EmbeddedRequest {\n action: \"navigate\";\n}\n\nexport interface StartRecordingRequest extends EmbeddedRequest {\n action: \"startRecording\";\n}\n\nexport interface StopRecordingRequest extends EmbeddedRequest {\n action: \"stopRecording\";\n}\n\nexport interface GetStatusRequest extends EmbeddedRequest {\n action: \"getStatus\";\n}\n\nexport interface GetTemplatesRequest extends EmbeddedRequest {\n action: \"getTemplates\";\n}\n\nexport interface ConfigureRequest extends EmbeddedRequest {\n action: \"configure\";\n}\n\nexport interface SetCredentialsRequest extends EmbeddedRequest {\n action: \"setCredentials\";\n}\n\n// Event Types\nexport interface ReadyEvent extends DeprecatedEmbeddedEventMessage {\n event: \"ready\";\n}\n\nexport interface LoadedEvent extends DeprecatedEmbeddedEventMessage {\n event: \"loaded\";\n}\n\nexport interface RecordingStartedEvent extends DeprecatedEmbeddedEventMessage {\n event: \"recordingStarted\";\n}\n\nexport interface RecordingStoppedEvent extends DeprecatedEmbeddedEventMessage {\n event: \"recordingStopped\";\n}\n\nexport interface DocumentGeneratedEvent extends DeprecatedEmbeddedEventMessage {\n event: \"documentGenerated\";\n}\n\nexport interface DocumentUpdatedEvent extends DeprecatedEmbeddedEventMessage {\n event: \"documentUpdated\";\n}\n\nexport interface DocumentSyncedEvent extends DeprecatedEmbeddedEventMessage {\n event: \"documentSynced\";\n}\n\nexport interface AuthChangedEvent extends DeprecatedEmbeddedEventMessage {\n event: \"authChanged\";\n}\n\nexport interface InteractionCreatedEvent extends DeprecatedEmbeddedEventMessage {\n event: \"interactionCreated\";\n}\n\nexport interface NavigationChangedEvent extends DeprecatedEmbeddedEventMessage {\n event: \"navigationChanged\";\n}\n\nexport interface UsageEvent extends DeprecatedEmbeddedEventMessage {\n event: \"usage\";\n}\n\n// Request/Response/Event type unions\nexport type AnyEmbeddedRequest =\n | AuthRequest\n | CreateInteractionRequest\n | AddFactsRequest\n | ConfigureAppRequest\n | ConfigureSessionRequest\n | GetTemplatesRequest\n | NavigateRequest\n | SetInteractionOptionsRequest\n | StartRecordingRequest\n | StopRecordingRequest\n | GetStatusRequest\n | ConfigureRequest\n | SetCredentialsRequest;\n\nexport type AnyEmbeddedResponse = EmbeddedResponse;\n\nexport type AnyDeprecatedEmbeddedEvent =\n | ReadyEvent\n | LoadedEvent\n | RecordingStartedEvent\n | RecordingStoppedEvent\n | DocumentGeneratedEvent\n | DocumentUpdatedEvent\n | DocumentSyncedEvent\n | AuthChangedEvent\n | InteractionCreatedEvent\n | NavigationChangedEvent\n | UsageEvent;\n\nexport type AnyEvent = EmbeddedEventMessage | AnyDeprecatedEmbeddedEvent;\n\nexport type AnyEmbeddedMessage = AnyEmbeddedRequest | AnyEmbeddedResponse | AnyEvent;\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AppearanceConfig,
|
|
1
|
+
import type { AppearanceConfig, ConfigureFeaturesConfig, LocaleConfig, NetworkConfig, UIConfig } from "./config.js";
|
|
2
2
|
import type { EmbeddedInterviewDetails } from "./generated/interview-details.js";
|
|
3
3
|
export interface UserInfo {
|
|
4
4
|
id: string;
|
|
@@ -40,9 +40,17 @@ export interface GetStatusResponse {
|
|
|
40
40
|
export interface GetTemplatesResponse {
|
|
41
41
|
templates: EmbeddedTemplate[];
|
|
42
42
|
}
|
|
43
|
+
export interface ConfigureResponse {
|
|
44
|
+
debug?: boolean;
|
|
45
|
+
appearance: AppearanceConfig;
|
|
46
|
+
features: ConfigureFeaturesConfig;
|
|
47
|
+
locale: LocaleConfig;
|
|
48
|
+
network: NetworkConfig;
|
|
49
|
+
}
|
|
43
50
|
export interface ConfigureAppResponse {
|
|
51
|
+
debug?: boolean;
|
|
44
52
|
appearance: AppearanceConfig;
|
|
45
|
-
|
|
53
|
+
ui: UIConfig;
|
|
46
54
|
locale: LocaleConfig;
|
|
47
55
|
network: NetworkConfig;
|
|
48
56
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/types/responses.ts"],"names":[],"mappings":"AAAA,kCAAkC","sourcesContent":["// Response types for embedded API\n\nimport type {
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/types/responses.ts"],"names":[],"mappings":"AAAA,kCAAkC","sourcesContent":["// Response types for embedded API\n\nimport type {\n AppearanceConfig,\n ConfigureFeaturesConfig,\n LocaleConfig,\n NetworkConfig,\n UIConfig,\n} from \"./config.js\";\nimport type { EmbeddedInterviewDetails } from \"./generated/interview-details.js\";\n\nexport interface UserInfo {\n id: string;\n email: string;\n name?: string;\n [key: string]: unknown;\n}\n\nexport interface AuthResponse {\n user: UserInfo;\n}\n\nexport interface CreateInteractionResponse {\n id: string;\n createdAt: string;\n status?: string;\n}\n\nexport interface EmbeddedTemplate {\n id: string;\n name: string;\n description?: string;\n language: {\n code: string;\n name: string;\n locale?: string;\n };\n sections: Array<{\n id: string;\n title: string;\n }>;\n isCustom: boolean;\n}\n\nexport interface GetStatusResponse {\n auth: {\n isAuthenticated: boolean;\n user?: UserInfo;\n };\n currentUrl: string;\n interaction: EmbeddedInterviewDetails | null;\n}\n\nexport interface GetTemplatesResponse {\n templates: EmbeddedTemplate[];\n}\n\nexport interface ConfigureResponse {\n debug?: boolean;\n appearance: AppearanceConfig;\n features: ConfigureFeaturesConfig;\n locale: LocaleConfig;\n network: NetworkConfig;\n}\n\nexport interface ConfigureAppResponse {\n debug?: boolean;\n appearance: AppearanceConfig;\n ui: UIConfig;\n locale: LocaleConfig;\n network: NetworkConfig;\n}\n"]}
|
package/dist/web-bundle.js
CHANGED
|
@@ -1026,12 +1026,40 @@ var __decorate = function(decorators, target, key, desc) {
|
|
|
1026
1026
|
return c4 > 3 && r5 && Object.defineProperty(target, key, r5), r5;
|
|
1027
1027
|
};
|
|
1028
1028
|
var IFRAME_SANDBOX_POLICY = "allow-forms allow-modals allow-scripts allow-same-origin";
|
|
1029
|
-
var
|
|
1029
|
+
var DEPRECATION_TIMELINE_URL = "https://docs.corti.ai/assistant/deprecation-timeline";
|
|
1030
|
+
var CONFIGURATION_MIGRATION_URL = "https://docs.corti.ai/assistant/configuration-migration";
|
|
1031
|
+
var DEPRECATED_EVENT_SUBSCRIPTIONS = /* @__PURE__ */ new Set([
|
|
1032
|
+
"ready",
|
|
1033
|
+
"loaded",
|
|
1034
|
+
"recordingStarted",
|
|
1035
|
+
"recordingStopped",
|
|
1036
|
+
"documentGenerated",
|
|
1037
|
+
"documentUpdated",
|
|
1038
|
+
"documentSynced",
|
|
1039
|
+
"authChanged",
|
|
1040
|
+
"interactionCreated",
|
|
1041
|
+
"navigationChanged",
|
|
1042
|
+
"usage",
|
|
1043
|
+
"embedded-event"
|
|
1044
|
+
]);
|
|
1045
|
+
var CortiEmbedded = class _CortiEmbedded extends i4 {
|
|
1030
1046
|
constructor() {
|
|
1031
1047
|
super(...arguments);
|
|
1032
1048
|
this.visibility = "hidden";
|
|
1033
1049
|
this.postMessageHandler = null;
|
|
1034
1050
|
this.normalizedBaseURL = null;
|
|
1051
|
+
this.warnedDeprecatedEventSubscriptions = /* @__PURE__ */ new Set();
|
|
1052
|
+
}
|
|
1053
|
+
addEventListener(type, callback, options) {
|
|
1054
|
+
this.warnDeprecatedEventSubscription(type);
|
|
1055
|
+
super.addEventListener(type, callback, options);
|
|
1056
|
+
}
|
|
1057
|
+
warnDeprecatedEventSubscription(eventName) {
|
|
1058
|
+
if (!DEPRECATED_EVENT_SUBSCRIPTIONS.has(eventName) || this.warnedDeprecatedEventSubscriptions.has(eventName)) {
|
|
1059
|
+
return;
|
|
1060
|
+
}
|
|
1061
|
+
this.warnedDeprecatedEventSubscriptions.add(eventName);
|
|
1062
|
+
console.warn(`[Corti Embedded] The '${eventName}' event subscription is deprecated and will be removed in a future release. Subscribe to the canonical 'event' stream instead. See ${DEPRECATION_TIMELINE_URL}.`);
|
|
1035
1063
|
}
|
|
1036
1064
|
// eslint-disable-next-line class-methods-use-this
|
|
1037
1065
|
getIframeAllowPolicy(normalizedBaseURL) {
|
|
@@ -1107,6 +1135,9 @@ var CortiEmbedded = class extends i4 {
|
|
|
1107
1135
|
dispatchErrorEvent(error) {
|
|
1108
1136
|
this.dispatchPublicEvent("error", error);
|
|
1109
1137
|
}
|
|
1138
|
+
static warnDeprecatedAPI(methodName, replacement) {
|
|
1139
|
+
console.warn(`[Corti Embedded] ${methodName} is deprecated and will be removed in a future release. Use ${replacement} instead. See ${CONFIGURATION_MIGRATION_URL} and ${DEPRECATION_TIMELINE_URL}.`);
|
|
1140
|
+
}
|
|
1110
1141
|
isRealIframeLoad(iframe) {
|
|
1111
1142
|
const src = iframe.getAttribute("src") || "";
|
|
1112
1143
|
if (!this.normalizedBaseURL)
|
|
@@ -1240,6 +1271,7 @@ var CortiEmbedded = class extends i4 {
|
|
|
1240
1271
|
throw new Error("Component not ready");
|
|
1241
1272
|
}
|
|
1242
1273
|
try {
|
|
1274
|
+
_CortiEmbedded.warnDeprecatedAPI("configureSession()", "setInteractionOptions()");
|
|
1243
1275
|
const payload = {
|
|
1244
1276
|
defaultLanguage: config.defaultLanguage,
|
|
1245
1277
|
defaultOutputLanguage: config.defaultOutputLanguage,
|
|
@@ -1281,20 +1313,20 @@ var CortiEmbedded = class extends i4 {
|
|
|
1281
1313
|
}
|
|
1282
1314
|
/**
|
|
1283
1315
|
* Navigate to a specific path within the embedded UI
|
|
1284
|
-
* @param
|
|
1316
|
+
* @param payload Navigation request payload or legacy path string
|
|
1285
1317
|
* @returns Promise that resolves when navigation is complete
|
|
1286
1318
|
*/
|
|
1287
|
-
async navigate(
|
|
1319
|
+
async navigate(payload) {
|
|
1288
1320
|
if (!this.postMessageHandler) {
|
|
1289
1321
|
throw new Error("Component not ready");
|
|
1290
1322
|
}
|
|
1291
1323
|
try {
|
|
1292
|
-
const
|
|
1324
|
+
const normalizedPayload = typeof payload === "string" ? { path: payload } : payload;
|
|
1293
1325
|
await this.postMessageHandler.postMessage({
|
|
1294
1326
|
type: "CORTI_EMBEDDED",
|
|
1295
1327
|
version: "v1",
|
|
1296
1328
|
action: "navigate",
|
|
1297
|
-
payload
|
|
1329
|
+
payload: normalizedPayload
|
|
1298
1330
|
});
|
|
1299
1331
|
} catch (error) {
|
|
1300
1332
|
const formattedError = formatError(error, "Failed to navigate");
|
|
@@ -1372,6 +1404,31 @@ var CortiEmbedded = class extends i4 {
|
|
|
1372
1404
|
throw new Error(JSON.stringify(formattedError));
|
|
1373
1405
|
}
|
|
1374
1406
|
}
|
|
1407
|
+
/**
|
|
1408
|
+
* Configure the component
|
|
1409
|
+
* @param config Component configuration
|
|
1410
|
+
* @returns Promise that resolves when configuration is applied
|
|
1411
|
+
*/
|
|
1412
|
+
async configureApp(config) {
|
|
1413
|
+
if (!this.postMessageHandler) {
|
|
1414
|
+
throw new Error("Component not ready");
|
|
1415
|
+
}
|
|
1416
|
+
try {
|
|
1417
|
+
const response = await this.postMessageHandler.postMessage({
|
|
1418
|
+
type: "CORTI_EMBEDDED",
|
|
1419
|
+
version: "v1",
|
|
1420
|
+
action: "configureApp",
|
|
1421
|
+
payload: config
|
|
1422
|
+
});
|
|
1423
|
+
if (response.success && response.payload) {
|
|
1424
|
+
return response.payload;
|
|
1425
|
+
}
|
|
1426
|
+
throw new Error(response.error);
|
|
1427
|
+
} catch (error) {
|
|
1428
|
+
const formattedError = formatError(error, "Failed to configure app");
|
|
1429
|
+
throw new Error(JSON.stringify(formattedError));
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1375
1432
|
/**
|
|
1376
1433
|
* Configure the component
|
|
1377
1434
|
* @param config Component configuration
|
|
@@ -1382,6 +1439,7 @@ var CortiEmbedded = class extends i4 {
|
|
|
1382
1439
|
throw new Error("Component not ready");
|
|
1383
1440
|
}
|
|
1384
1441
|
try {
|
|
1442
|
+
_CortiEmbedded.warnDeprecatedAPI("configure()", "configureApp()");
|
|
1385
1443
|
const response = await this.postMessageHandler.postMessage({
|
|
1386
1444
|
type: "CORTI_EMBEDDED",
|
|
1387
1445
|
version: "v1",
|
|
@@ -1397,6 +1455,30 @@ var CortiEmbedded = class extends i4 {
|
|
|
1397
1455
|
throw new Error(JSON.stringify(formattedError));
|
|
1398
1456
|
}
|
|
1399
1457
|
}
|
|
1458
|
+
/**
|
|
1459
|
+
* Set one-shot interaction options for the embedded instance.
|
|
1460
|
+
* @param config Interaction/session-level options
|
|
1461
|
+
* @returns Promise that resolves when options are applied
|
|
1462
|
+
*/
|
|
1463
|
+
async setInteractionOptions(config) {
|
|
1464
|
+
if (!this.postMessageHandler) {
|
|
1465
|
+
throw new Error("Component not ready");
|
|
1466
|
+
}
|
|
1467
|
+
try {
|
|
1468
|
+
const response = await this.postMessageHandler.postMessage({
|
|
1469
|
+
type: "CORTI_EMBEDDED",
|
|
1470
|
+
version: "v1",
|
|
1471
|
+
action: "setInteractionOptions",
|
|
1472
|
+
payload: config
|
|
1473
|
+
});
|
|
1474
|
+
if (response.success === false || response.error) {
|
|
1475
|
+
throw new Error(response.error);
|
|
1476
|
+
}
|
|
1477
|
+
} catch (error) {
|
|
1478
|
+
const formattedError = formatError(error, "Failed to set interaction options");
|
|
1479
|
+
throw new Error(JSON.stringify(formattedError));
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1400
1482
|
/**
|
|
1401
1483
|
* Set authentication credentials without triggering auth flow
|
|
1402
1484
|
* @param credentials Authentication credentials to store
|
package/dist/web-index.d.ts
CHANGED
package/dist/web-index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./corti-embedded.js";
|
|
2
2
|
export { CortiEmbedded } from "./CortiEmbedded.js";
|
|
3
|
-
// Export
|
|
4
|
-
export * from "./types
|
|
3
|
+
// Export hand-owned public types only. The src/types folder is generated.
|
|
4
|
+
export * from "./public-types.js";
|
|
5
5
|
//# sourceMappingURL=web-index.js.map
|
package/dist/web-index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-index.js","sourceRoot":"","sources":["../src/web-index.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAE7B,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,
|
|
1
|
+
{"version":3,"file":"web-index.js","sourceRoot":"","sources":["../src/web-index.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAE7B,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,0EAA0E;AAC1E,cAAc,mBAAmB,CAAC","sourcesContent":["import \"./corti-embedded.js\";\n\nexport { CortiEmbedded } from \"./CortiEmbedded.js\";\n\n// Export hand-owned public types only. The src/types folder is generated.\nexport * from \"./public-types.js\";\n"]}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@corti/embedded-web",
|
|
3
3
|
"description": "Web component for Corti Embedded",
|
|
4
4
|
"author": "Corti ApS",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.3.1",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"bugs": {
|
|
8
8
|
"url": "https://help.corti.app",
|
|
@@ -35,6 +35,8 @@
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"sideEffects": [
|
|
38
|
+
"src/corti-embedded.ts",
|
|
39
|
+
"src/corti-embedded.js",
|
|
38
40
|
"dist/corti-embedded.js",
|
|
39
41
|
"dist/web-bundle.js",
|
|
40
42
|
"dist/bundle.js"
|