@tari-project/ootle-wasm 0.34.1 → 0.35.1

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/ootle_wasm.d.ts CHANGED
@@ -184,7 +184,7 @@ export function buildStealthInputsStatement(input_commitments: Uint8Array, revea
184
184
  * "encrypted_data": <hex variable-length>,
185
185
  * "resource_view_key": <hex 32 bytes | null>
186
186
  * },
187
- * "spend_condition": <SpendCondition>,
187
+ * "auth": <SpendAuthorization>,
188
188
  * "tag": <u32>
189
189
  * }
190
190
  * ```
@@ -237,7 +237,7 @@ export function generateElgamalViewableBalanceProof(mask: Uint8Array, amount: bi
237
237
  * power of two internally.
238
238
  *
239
239
  * `witnesses_json` is a JSON array of "flat" output witnesses (the `witness` field shape from
240
- * [`generate_stealth_outputs_statement`] — without the surrounding `spend_condition` / `tag`).
240
+ * [`generate_stealth_outputs_statement`] — without the surrounding `auth` / `tag`).
241
241
  *
242
242
  * Returns the raw range proof bytes (may be empty if the input array is empty).
243
243
  */
@@ -288,7 +288,7 @@ export function generateStealthBalanceProofSignature(aggregated_input_mask: Uint
288
288
  * "encrypted_data": <hex variable-length>,
289
289
  * "resource_view_key": <hex 32 bytes | null>
290
290
  * },
291
- * "spend_condition": <SpendCondition>,
291
+ * "auth": <SpendAuthorization>,
292
292
  * "tag": <u32>
293
293
  * }
294
294
  * ```
package/ootle_wasm_bg.js CHANGED
@@ -624,7 +624,7 @@ export function buildStealthInputsStatement(input_commitments, revealed_amount_m
624
624
  * "encrypted_data": <hex variable-length>,
625
625
  * "resource_view_key": <hex 32 bytes | null>
626
626
  * },
627
- * "spend_condition": <SpendCondition>,
627
+ * "auth": <SpendAuthorization>,
628
628
  * "tag": <u32>
629
629
  * }
630
630
  * ```
@@ -780,7 +780,7 @@ export function generateElgamalViewableBalanceProof(mask, amount, commitment, vi
780
780
  * power of two internally.
781
781
  *
782
782
  * `witnesses_json` is a JSON array of "flat" output witnesses (the `witness` field shape from
783
- * [`generate_stealth_outputs_statement`] — without the surrounding `spend_condition` / `tag`).
783
+ * [`generate_stealth_outputs_statement`] — without the surrounding `auth` / `tag`).
784
784
  *
785
785
  * Returns the raw range proof bytes (may be empty if the input array is empty).
786
786
  * @param {string} witnesses_json
@@ -898,7 +898,7 @@ export function generateStealthBalanceProofSignature(aggregated_input_mask, aggr
898
898
  * "encrypted_data": <hex variable-length>,
899
899
  * "resource_view_key": <hex 32 bytes | null>
900
900
  * },
901
- * "spend_condition": <SpendCondition>,
901
+ * "auth": <SpendAuthorization>,
902
902
  * "tag": <u32>
903
903
  * }
904
904
  * ```
Binary file
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "The Tari Development Community"
6
6
  ],
7
7
  "description": "WASM bindings for Tari Ootle client-side crypto — thin wasm-bindgen shell over ootle-wasm-core",
8
- "version": "0.34.1",
8
+ "version": "0.35.1",
9
9
  "license": "BSD-3-Clause",
10
10
  "repository": {
11
11
  "type": "git",