Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[js] Fee has dropped off Payin/outMethodResponse - add it back in #105

Closed
phoebe-lew opened this issue Jun 30, 2023 · 6 comments
Closed

Comments

@phoebe-lew
Copy link
Contributor

No description provided.

@SiennaSaito
Copy link
Contributor

SiennaSaito commented Jul 12, 2023

Looks like PaymentMethod in types.js:33 has a feeSubunits property which doesn't seem to be reflected in either ./json-schemas/definitions.json or ./json-schemas/tbdex-message.schema.json.

Based off the readme fee was a dictionary but feeSubunits is a nullable String. Feels like they both contain the same info though.
Is feeSubunits the replacement for fee or should they be seperate things? 🤔

@SiennaSaito
Copy link
Contributor

Also, yo! 😎 🌻

@phoebe-lew
Copy link
Contributor Author

Hi @SiennaSaito ! We just did a bigo refactor of the JS types this morning. the json schemas are sadly very out of touch with the types right now. Right now, the JS types should be considered the source of truth and we need to refactor the schemas (per #99, which is actually ALSO poorly named because the readme has not been updated to align with the JS changes)

@SiennaSaito
Copy link
Contributor

Okay sick! I'm running low on secret time today but I'll refresh at 4 PM, see if anything has changed and then make a list of things to change to match the JS types 🥸

@SiennaSaito
Copy link
Contributor

Alright - here's a small PR to update the readme with feeSubunits - let me know if this is on the right track.
#114

If that looks like it's on the right track then I'll put together a diff between the readme and types.js.

@phoebe-lew
Copy link
Contributor Author

Fee added back in in #111

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants