catn8-pay v0.1.49
catn8-pay
spv payments library
use in client web pages and back end server
Include in browser with
<script src="https://unpkg.com/catn8-pay/dist/catn8-pay.js"></script>or npm
npm i catn8-payLocal Development Setup
Ensure you are using an up to date version of npm/node
npm install`After making code modifications, run tests (some may fail because of timeout. need to research why)
npm run testCreate browserify version for web clients
npm run browserifyWhen all everything works then publish the new version. Bump the version in package.json. Then publish to npm.
npm publishIn a minute or so the new code will be available on unkpg.
Documentation
To view the documentation, spool up a local web server and navigate to: http://127.0.0.1:5500/docs/modules.html
To update the documentation, run:
npx typedoc src/index.tsHousekeeping for Local Development
- In library project, local test if possible, for good coverage.
- Build, 'npm run browserify', publish.
- Then web site update lib reference and restart local web site.
- Then update payer lib ref, build, copy.
- Then refresh player web page and watch browser console.
- Several apps depend on this lib, so when it changes it affects everything above it.
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago