Skip to content

Commit

Permalink
bump version to v0.0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
woodser committed Nov 2, 2023
1 parent 30864ee commit 3850e11
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 8 deletions.
12 changes: 10 additions & 2 deletions dist/utils/HavenoUtils.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@ export default class HavenoUtils {
* @return {string} the stringified form
*/
static formToString(form: PaymentAccountForm): string;
/**
* Determine if a form has a field.
*
* @param {PaymentAccountForm} form - form to check
* @param {PaymentAccountFormField.FieldId} fieldId - id of the field to check for
* @return {boolean} true if the form has the field, false otherwise
*/
static hasFormField(form: PaymentAccountForm, fieldId: PaymentAccountFormField.FieldId): boolean;
/**
* Get a form field value.
*
Expand All @@ -110,10 +118,10 @@ export default class HavenoUtils {
/**
* Set a form field value.
*
* @param {PaymentAccountForm} form - form to get the field from
* @param {PaymentAccountFormField.FieldId} fieldId - id of the field to set the value of
* @param {string} value - field value to set
* @param {PaymentAccountForm} form - form to get the field from
* @return {string} the form field value
*/
static setFormValue(fieldId: PaymentAccountFormField.FieldId, value: string, form: PaymentAccountForm): void;
static setFormValue(form: PaymentAccountForm, fieldId: PaymentAccountFormField.FieldId, value: string): void;
}
18 changes: 16 additions & 2 deletions dist/utils/HavenoUtils.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/utils/HavenoUtils.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "haveno-ts",
"version": "0.0.17",
"version": "0.0.18",
"description": "Haveno TypeScript interface",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 3850e11

Please sign in to comment.