snarkjs-algorand 0.10.0 → 0.11.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ # 0.11.0
2
+
3
+ ## BREAKING CHANGES
4
+
5
+ - Lsig verifiers now require `appOffset` parameter to specify the offset from lsig group index to app call
6
+ - To preserve previous behavior, use `appOffset: 0`
7
+ - Lsig verifiers now require `totalLsigs` parameter
8
+ - To preserve previous behavior, use `totalLsigs: 6`
9
+ - `paramsCallback` API changed: `appParams` renamed to `lsigParams`, `args` moved to separate property
10
+ - Old: `paramsCallback: ({ appParams: { sender, staticFee, args }, lsigsFee })`
11
+ - New: `paramsCallback: ({ lsigParams: { sender, staticFee }, args, lsigsFee })`
12
+
13
+ ## Features
14
+
15
+ - Lsig contracts now use `GTxn.applicationArgs` with configurable `APP_OFFSET` template variable for more flexible transaction group layouts
16
+
1
17
  # 0.10.0
2
18
 
3
19
  ## BREAKING CHANGES