@interfold/sdk 0.13.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,6 +38,13 @@ interface E3RequestParams extends RequestParams {
38
38
  /** Maximum fee token amount accepted. Defaults to a fresh quote. */
39
39
  maxFee?: bigint;
40
40
  }
41
+ /** Proof-backed reference to an aggregate ciphertext published on the configured DA layer. */
42
+ interface CiphertextOutputReference {
43
+ contentHash: `0x${string}`;
44
+ ciphertextCommitment: `0x${string}`;
45
+ computeProof: `0x${string}`;
46
+ availabilityProof: `0x${string}`;
47
+ }
41
48
  declare enum E3Stage {
42
49
  None = 0,
43
50
  Requested = 1,
@@ -63,4 +70,4 @@ declare enum FailureReason {
63
70
  VerificationFailed = 12
64
71
  }
65
72
 
66
- export { type ContractAddresses as C, type E3RequestParams as E, FailureReason as F, type E3 as a, E3Stage as b, CommitteeSize as c, validateCommitteeSize as v };
73
+ export { type ContractAddresses as C, type E3RequestParams as E, FailureReason as F, type CiphertextOutputReference as a, type E3 as b, E3Stage as c, CommitteeSize as d, validateCommitteeSize as v };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interfold/sdk",
3
- "version": "0.13.0",
3
+ "version": "0.15.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -51,7 +51,7 @@
51
51
  "release": "pnpm publish --access=public"
52
52
  },
53
53
  "devDependencies": {
54
- "@interfold/config": "^0.13.0",
54
+ "@interfold/config": "^0.15.0",
55
55
  "concurrently": "^9.1.2",
56
56
  "tsup": "^8.5.0",
57
57
  "typescript": "5.8.3",
@@ -61,8 +61,8 @@
61
61
  "dependencies": {
62
62
  "@aztec/bb.js": "5.1.0",
63
63
  "@noir-lang/noir_js": "1.0.0-beta.26",
64
- "@interfold/wasm": "^0.13.0",
65
- "@interfold/contracts": "^0.13.0",
64
+ "@interfold/wasm": "^0.15.0",
65
+ "@interfold/contracts": "^0.15.0",
66
66
  "comlink": "^4.4.2",
67
67
  "viem": "2.30.6",
68
68
  "vite-plugin-top-level-await": "^1.5.0",