diff --git a/.changeset/eleven-clubs-itch.md b/.changeset/eleven-clubs-itch.md new file mode 100644 index 0000000000..1a6378d01e --- /dev/null +++ b/.changeset/eleven-clubs-itch.md @@ -0,0 +1,5 @@ +--- +"@human-protocol/sdk": patch +--- + +Change contract visibility from private to public in EscrowClient and KVStoreClient diff --git a/packages/sdk/typescript/human-protocol-sdk/src/escrow.ts b/packages/sdk/typescript/human-protocol-sdk/src/escrow.ts index 6ade2c66e6..cbbf522dde 100644 --- a/packages/sdk/typescript/human-protocol-sdk/src/escrow.ts +++ b/packages/sdk/typescript/human-protocol-sdk/src/escrow.ts @@ -146,7 +146,7 @@ import { * ``` */ export class EscrowClient extends BaseEthersClient { - private escrowFactoryContract: EscrowFactory; + public escrowFactoryContract: EscrowFactory; /** * **EscrowClient constructor** diff --git a/packages/sdk/typescript/human-protocol-sdk/src/kvstore.ts b/packages/sdk/typescript/human-protocol-sdk/src/kvstore.ts index 518217ee01..c30ca0f9d4 100644 --- a/packages/sdk/typescript/human-protocol-sdk/src/kvstore.ts +++ b/packages/sdk/typescript/human-protocol-sdk/src/kvstore.ts @@ -96,7 +96,7 @@ import { IKVStore, SubgraphOptions } from './interfaces'; */ export class KVStoreClient extends BaseEthersClient { - private contract: KVStore; + public contract: KVStore; /** * **KVStoreClient constructor**