New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mlabs-haskell/uplc-apply-args-nodejs

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mlabs-haskell/uplc-apply-args-nodejs

Implementation of argument application for Cardano Plutus scripts (nodejs & the browser).

  • 1.0.29-alpha2
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

uplc-apply-args

Implementation of argument application for Cardano Plutus scripts (nodejs & the browser).

This package defines a single "apply_params_to_script_no_panic" function.

Building and publishing

Here's a description on to how publish a newer version to the NPM registry:

  1. Install wasm-pack according to wasm-pack docs.
  2. Set the package.name in Cargo.toml to the correct name (i.e. uplc-apply-args-browser or uplc-apply-args-nodejs. We can't use @mlabs-haskell/ prefix here, because the name must be a valid crate name, but we can update it later in the generated package (step 5)).
  3. Bump the package.version in Cargo.toml. Set it to be equal to the version of the uplc crate.
  4. rm -rf pkg to clean the old bundle artifacts.
  5. Run wasm-pack build --target [bundler|nodejs].
  6. Modify the generated npm package located in ./pkg: Change its name to @mlabs-haskell/uplc-apply-args-[nodejs|browser]
  7. Publish the generated package.
  8. Repeat steps 1-6 for the -nodejs version too.
  9. Update the isomorphic (supporting both nodejs and the browser) package that is located in ./npm-package (change the dependency versions, run npm i, and publish it)

FAQs

Package last updated on 19 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc