diff --git a/packages/client/CHANGELOG.md b/packages/client/CHANGELOG.md index 505e703c..65895df8 100644 --- a/packages/client/CHANGELOG.md +++ b/packages/client/CHANGELOG.md @@ -6,6 +6,10 @@ - `cli`: Commands `add`, `remove` and `update` run codegen by default after finishing [#577](https://github.com/polkadot-api/polkadot-api/pull/577). +### Fixed + +- `typedApi` not being assignable to union of multiple chains. + ## 0.11.2 - 2024-07-19 ### Fixed diff --git a/packages/client/src/compatibility.ts b/packages/client/src/compatibility.ts index d9cbb094..16731e35 100644 --- a/packages/client/src/compatibility.ts +++ b/packages/client/src/compatibility.ts @@ -20,8 +20,10 @@ import { Observable, combineLatest, filter, firstValueFrom, map } from "rxjs" import { ChainDefinition } from "./descriptors" export class CompatibilityToken { + private constructor() {} + // @ts-ignore - private constructor(protected _descriptors: D) {} + protected _phantom(value: D) {} } interface CompatibilityTokenApi {