Closed thephez closed 7 months ago
@riongull, you can take a look at this if you'd like. There may be more things that could be done, but I did want to keep this as just a "refactor".
Looks great! Thanks for making these changes. I'll have Anthony run through it for DX (developer experience) after it's merged into the latest docs.
Client instantiation is now handled outside the individual tutorials. This both cuts down on the amount of code present in each tutorial and makes it easy to modify client options. Many of the SDK client options are also provided (commented out) in the new
setupDashClient
module.See #35 for background discussion. A PR will also be required in dashpay/docs-platform to align the docs with this change.