Skip to content
This repository has been archived by the owner on Apr 15, 2021. It is now read-only.

feat: export cvToHex and parseReadOnlyResponse #127

Merged
merged 2 commits into from
Oct 9, 2020

Conversation

friedger
Copy link
Contributor

@friedger friedger commented Oct 2, 2020

Description

As a blockstack developer, I would like to use the blockstack-api-client library. The method SmartContractsApi.callReadOnlyFunction requires to hex encode clarity values, the result of that method needs to be parsed. In this library (stacks-transactions-js) these methods already exists.

These methods, defined in utils.ts are now exported.

For details refer to issue #126

Type of Change

  • New feature
  • Bug fix
  • API reference/documentation update
  • Other

Does this introduce a breaking change?

No

Are documentation updates required?

Yes

Checklist

  • Code is commented where needed
  • Unit test coverage for new or modified code paths
  • npm run test passes
  • Changelog is updated
  • Tag @yknl for review

@agraebe agraebe requested a review from yknl October 6, 2020 19:50
Copy link
Collaborator

@yknl yknl left a comment

Choose a reason for hiding this comment

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

LGTM

@yknl yknl merged commit 27b44be into stacks-archive:master Oct 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants