ergoplatform / ergo-lib-wasm

ergo-lib bindings for JS/TS
Creative Commons Zero v1.0 Universal
4 stars 3 forks source link

Convert constant literal to js values #24

Closed ross-weir closed 1 year ago

ross-weir commented 1 year ago

Add conversion of constants+literals to JS values.

Remove created_by, the original intent was to use that as a way to provide the JS value but since constants can come from non-JS sources it doesn't really seem necessary to keep around. Just add conversion functions to convert stypes to JS values.

changeset-bot[bot] commented 1 year ago

⚠️ No Changeset found

Latest commit: abad90a6c1d80719f1e7ad074a60f942003599c6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR