Skip to content

Commit

Permalink
chore: resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
1cedrus committed Jun 26, 2024
1 parent d8a88c2 commit e05b4cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/contracts/src/Contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ export class Contract<ContractApi extends GenericContractApi = GenericContractAp
}

get events(): ContractApi['events'] {
return newProxyChain<ChainApi>(new EventExecutor(this.#api, this.#registry, this.#address)) as ContractApi['events'];
return newProxyChain(new EventExecutor(this.#api, this.#registry, this.#address)) as ContractApi['events'];
}
}
4 changes: 2 additions & 2 deletions packages/contracts/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { SubstrateApi } from '@dedot/api/chaintypes';
import { AccountId32Like, BytesLike, DispatchError, Weight } from '@dedot/codecs';
import { AnyFunc, AsyncMethod, GenericSubstrateApi, RpcVersion, VersionedGenericSubstrateApi } from '@dedot/types';
import { ContractCallMessage, ContractConstructorMessage } from './shared.js';
import { ContractMetadataV4 } from './v4.js';
import { ContractMetadataV5 } from './v5.js';
import { ContractEventV4, ContractMetadataV4 } from './v4.js';
import { ContractEventV5, ContractMetadataV5 } from './v5.js';

export * from './shared.js';

Expand Down

0 comments on commit e05b4cd

Please sign in to comment.