Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion packages/fdc3-get-agent/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
import { DesktopAgent } from '@finos/fdc3-standard';
import { getAgent } from './strategies/getAgent';
import { AbstractUIComponent } from './ui/AbstractUIComponent';
import { DefaultDesktopAgentChannelSelector } from './ui/DefaultDesktopAgentChannelSelector';
import { DefaultDesktopAgentIntentResolver } from './ui/DefaultDesktopAgentIntentResolver';
import { NullChannelSelector } from './ui/NullChannelSelector';
import { NullIntentResolver } from './ui/NullIntentResolver';

const DEFAULT_WAIT_FOR_MS = 20000;

export { getAgent };
export {
getAgent,
AbstractUIComponent,
DefaultDesktopAgentChannelSelector,
DefaultDesktopAgentIntentResolver,
NullChannelSelector,
NullIntentResolver,
};

/**
* Replaces the original fdc3Ready function from FDC3 2.0 with a new one that uses the new getAgent function.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { components } from '../directory-schema';
import { components } from '../../generated/directory-schema';

type schemas = components['schemas'];

Expand Down