Releases: humanprotocol/human-protocol
python/sdk@7.1.0
js/sdk@7.1.0
python/sdk@7.0.0
Major Changes
-
a7ab394: Updated KV Store utils in sdk to return empty string in case no value in subgraph instead of throwing and error
-
a7ab394: Updated escrow contracts and SDKs to fetch oracle fees from
KVStoreinstead of passing fee values during escrow setup.Escrow.setup(...)and factory setup flows no longer accept fee arguments, escrow deployments now require aKVStoreaddress, and fee validation is enforced on-chain fromKVStorevalues, including per-oracle and total fee limits. Added upgrade-safeEscrowFactorysupport for storing and updating theKVStoreaddress.Updated TypeScript and Python SDK escrow setup APIs to match the new contract signatures by removing fee arguments from
setup(...)and create-and-setup helpers. Existing config fee fields remain optional for backward compatibility but are ignored by setup calls.Updated SDKs to use a dedicated HMT stats subgraph endpoint for HMT statistics methods and removed
totalAmountPaidandaverageAmountPerWorkerfromIDailyPayment.
Patch Changes
- Updated dependencies [a7ab394]
- @human-protocol/core@6.0.0
js/sdk@7.0.0
Major Changes
-
a7ab394: Updated KV Store utils in sdk to return empty string in case no value in subgraph instead of throwing and error
-
a7ab394: Updated escrow contracts and SDKs to fetch oracle fees from
KVStoreinstead of passing fee values during escrow setup.Escrow.setup(...)and factory setup flows no longer accept fee arguments, escrow deployments now require aKVStoreaddress, and fee validation is enforced on-chain fromKVStorevalues, including per-oracle and total fee limits. Added upgrade-safeEscrowFactorysupport for storing and updating theKVStoreaddress.Updated TypeScript and Python SDK escrow setup APIs to match the new contract signatures by removing fee arguments from
setup(...)and create-and-setup helpers. Existing config fee fields remain optional for backward compatibility but are ignored by setup calls.Updated SDKs to use a dedicated HMT stats subgraph endpoint for HMT statistics methods and removed
totalAmountPaidandaverageAmountPerWorkerfromIDailyPayment.
Minor Changes
- a31cfc8: Added typed subgraph errors (SubgraphRequestError, SubgraphBadIndexerError) and wrapped subgraph request failures with these classes
Patch Changes
js/core@6.0.0
Major Changes
-
a7ab394: Updated escrow contracts and SDKs to fetch oracle fees from
KVStoreinstead of passing fee values during escrow setup.Escrow.setup(...)and factory setup flows no longer accept fee arguments, escrow deployments now require aKVStoreaddress, and fee validation is enforced on-chain fromKVStorevalues, including per-oracle and total fee limits. Added upgrade-safeEscrowFactorysupport for storing and updating theKVStoreaddress.Updated TypeScript and Python SDK escrow setup APIs to match the new contract signatures by removing fee arguments from
setup(...)and create-and-setup helpers. Existing config fee fields remain optional for backward compatibility but are ignored by setup calls.Updated SDKs to use a dedicated HMT stats subgraph endpoint for HMT statistics methods and removed
totalAmountPaidandaverageAmountPerWorkerfromIDailyPayment.
python/sdk@6.1.0
js/sdk@6.1.0
v5.0.0
v5.0.0-beta.3
Updated return types in sdk for subgraph responses. Fixed ABI mismatches in python sdk
v5.0.0-beta.2
upgrade contracts and subgraphs