Skip to content

Conversation

pcothenet
Copy link
Contributor

@pcothenet pcothenet commented Jul 2, 2021

What

  • Adding bitcoin endpoints
  • Adding registry_url in endpoints

Why

  • Expose new functionalities

SDK Release Checklist

  • Have you added an integration test for the changes?
  • Have you built the package locally and made queries against it successfully?
  • Did you update the changelog?
  • Did you bump the package version?
  • For breaking changes, did you plan for the release of the new SDK versions and deploy the API to production?

@pcothenet pcothenet changed the title Update SDK Add bitcoin estimates and registry_url Jul 2, 2021
@pcothenet pcothenet marked this pull request as ready for review July 13, 2021 20:34
strategy:
matrix:
node: ['10', '12', '14']
node: ['10', '12', '14', '16']
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding node 16, which is getting common. Node 10 is EOL and could be removed in the future (AWS dropped support recently)

Comment on lines +1 to +2
require: '@babel/register'
recursive: true No newline at end of file
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Switching to the non-deprecated config format for mocha options.

Comment on lines -26 to -31
expect(parseFloat(createOrderResponse.data.price_cents_usd)).to.be.closeTo(
500,
1
);
expect(createOrderResponse.data.patch_fee_cents_usd).to.equal('0.0');
expect(createOrderResponse.data.mass_g).to.equal(500000);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Existing values were not working after we changed billing. This should have been updated, but most importantly caught by the health check. It did, but we weren't paying attention (I don't know where the alerts went). I'll take a closer look when we strengthen the SDK.

@pcothenet pcothenet requested a review from bspellacy July 13, 2021 20:37
@pcothenet pcothenet merged commit c999209 into main Jul 13, 2021
@pcothenet pcothenet deleted the pc/16 branch July 13, 2021 22:08
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

Successfully merging this pull request may close these issues.

2 participants