Releases: FhenixProtocol/cofhesdk
Releases · FhenixProtocol/cofhesdk
@cofhe/sdk@0.4.0
Patch Changes
- e446642: Switch
decryptForTxto Threshold Network v2 decrypt (submit + poll)
@cofhe/react@0.4.0
Patch Changes
- Updated dependencies [e446642]
- @cofhe/sdk@0.4.0
@cofhe/mock-contracts@0.4.0
@cofhe/mock-contracts@0.4.0
@cofhe/hardhat-plugin@0.4.0
Patch Changes
- Updated dependencies [e446642]
- @cofhe/sdk@0.4.0
- @cofhe/mock-contracts@0.4.0
@cofhe/abi@0.4.0
Patch Changes
- Updated dependencies [e446642]
- @cofhe/sdk@0.4.0
@cofhe/sdk@0.3.2
Patch Changes
-
d4e86ea: Aligns with CTA encrypted variables bytes32 representation.
- @cofhe/hardhat-plugin:
hre.cofhe.mocks.getTestBed(),getMockTaskManager(),getMockACL(),getMockThresholdNetwork(), andgetMockZkVerifier()now return typed contracts (typechain interfaces) instead of untypedContract.getPlaintext(ctHash)andexpectPlaintext(ctHash, value)now accept bytes32 ctHashes asstringsupport cofhe-contracts 0.1.0 CTA changes. - @cofhe/mock-contracts: Export typechain-generated contract types (
TestBed,MockACL,MockTaskManager,MockZkVerifier,MockThresholdNetwork) for use with the hardhat plugin. Typechain is run from artifact ABIs only; factory files are not generated. - @cofhe/abi: CTA-related types use
bytes32(string) instead ofuint256. Decryption and return-type helpers aligned with cofhe-contracts 0.1.0. - @cofhe/sdk: Decryption APIs (
decryptForTx,decryptForView, and related builders) now also acceptstringfor ciphertext hashes (bytes32) as well asbigint.
- @cofhe/hardhat-plugin:
-
0feaf3f:
cofheClient.decryptForTxreturns a ready-to-use signature
@cofhe/sdk@0.3.1
Patch Changes
- 370f0c7: no-op
@cofhe/react@0.3.2
@cofhe/react@0.3.1
@cofhe/mock-contracts@0.3.2
Patch Changes
-
d4e86ea: Aligns with CTA encrypted variables bytes32 representation.
- @cofhe/hardhat-plugin:
hre.cofhe.mocks.getTestBed(),getMockTaskManager(),getMockACL(),getMockThresholdNetwork(), andgetMockZkVerifier()now return typed contracts (typechain interfaces) instead of untypedContract.getPlaintext(ctHash)andexpectPlaintext(ctHash, value)now accept bytes32 ctHashes asstringsupport cofhe-contracts 0.1.0 CTA changes. - @cofhe/mock-contracts: Export typechain-generated contract types (
TestBed,MockACL,MockTaskManager,MockZkVerifier,MockThresholdNetwork) for use with the hardhat plugin. Typechain is run from artifact ABIs only; factory files are not generated. - @cofhe/abi: CTA-related types use
bytes32(string) instead ofuint256. Decryption and return-type helpers aligned with cofhe-contracts 0.1.0. - @cofhe/sdk: Decryption APIs (
decryptForTx,decryptForView, and related builders) now also acceptstringfor ciphertext hashes (bytes32) as well asbigint.
- @cofhe/hardhat-plugin: