Skip to content

Commit

Permalink
Merge pull request #1500 from finos/fdc3-for-web-impl-fixes-rm
Browse files Browse the repository at this point in the history
Fdc3 for web impl fixes rm
  • Loading branch information
robmoffat authored Jan 29, 2025
2 parents 3f1bc53 + 7445181 commit d8b1c5e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
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

0 comments on commit d8b1c5e

Please sign in to comment.