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

Feat optional input format #520

Merged

Conversation

IDEA-godwin
Copy link

This pull-request resolves #516
It addes a boolean option inputFormatAsData to overide the behaviour where a warp interaction Input-Format defaults to tag, hence allowing the SDK user to set Input-Fomat to data instead.

This is especially useful if the warp interaction data is expected to be consumed by other applications that have no concept of an Arweave tag but could simply make a http GET request to any Arweave gateway to fetch the desire data by its iteraction id.

All else works the same.

Copy link
Contributor

@iChristwin iChristwin left a comment

Choose a reason for hiding this comment

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

Great idea making it a part of the WarpOptions!
...works as expected

@ppedziwiatr ppedziwiatr merged commit 794cfa1 into warp-contracts:main Apr 29, 2024
@ppedziwiatr
Copy link
Contributor

Thanks for the PR! released in v1.4.41

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.

[FEATURE] Allow Optional Input Placement in Warp Contract Interactions (Tags vs. Data)
3 participants