feat: ud resolution support
MODIFY
src/utils/index.ts
src/utils/index.ts
@@ -22,5 +22,6 @@ export * from "./not_implemented";
export const utils = {
converter: Converter,
Web3Client: BaseWeb3Client,
- BN: EmptyBigNumber
+ BN: EmptyBigNumber,
+ UnstoppableDomains: Object
};

MODIFY
src/utils/web3_side_chain_client.ts
src/utils/web3_side_chain_client.ts
@@ -13,6 +13,7 @@ export class Web3SideChainClient<T_CONFIG> {
abiManager: ABIManager;
logger = new Logger();
+ resolution: {};
init(config: IBaseClientConfig) {
config = config || {} as any;
@@ -27,6 +28,10 @@ export class Web3SideChainClient<T_CONFIG> {
throw new Error("Web3Client is not set");
}
+ if (utils.UnstoppableDomains) {
+ this.resolution = utils.UnstoppableDomains;
+ }
+
this.parent = new (Web3Client as any)(config.parent.provider, this.logger);
this.child = new (Web3Client as any)(config.child.provider, this.logger);

feat: ud resolution support