Skip to content

Commit

Permalink
Correct camelCasing
Browse files Browse the repository at this point in the history
  • Loading branch information
sisou committed Aug 15, 2024
1 parent c31d7a9 commit f79c400
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/request/sign-swap/SignSwap.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ class SignSwap {
$rightLabel.textContent = label;
} else if (request.redeem.type === 'CRC') {
$rightIdenticon.innerHTML = TemplateTags.hasVars(0)`<img src="../../assets/icons/sinpe-movil.svg"></img>`;
$rightLabel.textContent = request.redeem.recipientlabel || 'Sinpe Móvil';
$rightLabel.textContent = request.redeem.recipientLabel || 'Sinpe Móvil';
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/request/sign-swap/SignSwapApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class SignSwapApi extends PolygonRequestParserMixin(BitcoinRequestParserMixin(To
settlement,
amount: this.parsePositiveInteger(request.redeem.amount, false, 'redeem.amount'),
fee: this.parsePositiveInteger(request.redeem.fee, true, 'redeem.fee'),
recipientlabel: this.parseLabel(request.redeem.recipientLabel, true, 'redeem.recipientLabel'),
recipientLabel: this.parseLabel(request.redeem.recipientLabel, true, 'redeem.recipientLabel'),
};
} else {
throw new Errors.InvalidRequestError('Invalid redeeming type');
Expand Down
2 changes: 1 addition & 1 deletion types/Keyguard.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ type ConstructSwap<T extends KeyguardRequest.SignSwapRequestCommon> = Transform<
settlement: Omit<KeyguardRequest.MockSettlementInstruction, 'contractId'> | Omit<KeyguardRequest.SinpeMovilSettlementInstruction, 'contractId'>,
amount: number,
fee: number,
recipientlabel?: string,
recipientLabel?: string,
},
}>

Expand Down

0 comments on commit f79c400

Please sign in to comment.