0.1.49 • Published 3 years ago

catn8-pay v0.1.49

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

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-pay

Local 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 test

Create browserify version for web clients

npm run browserify

TODO: Needs improvements. Run your local server and local web page to debug any issues. (At this point package is not published yet on npm, so you will only be able to test code that you manually copy. An alternative is to npm install using a github reference which bypasses need for npm publish.)

When all everything works then publish the new version. Bump the version in package.json. Then publish to npm.

npm publish

In 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.ts

Housekeeping 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.
0.1.49

3 years ago

0.1.41

3 years ago

0.1.42

3 years ago

0.1.43

3 years ago

0.1.44

3 years ago

0.1.45

3 years ago

0.1.46

3 years ago

0.1.47

3 years ago

0.1.48

3 years ago

0.1.40

3 years ago

0.1.38

3 years ago

0.1.39

3 years ago

0.1.37

3 years ago

0.1.36

3 years ago

0.1.35

3 years ago

0.1.31

3 years ago

0.1.32

3 years ago

0.1.33

3 years ago

0.1.30

3 years ago

0.1.29

3 years ago

0.1.27

3 years ago

0.1.28

3 years ago

0.1.26

3 years ago

0.1.24

3 years ago

0.1.25

3 years ago

0.1.20

3 years ago

0.1.21

3 years ago

0.1.22

3 years ago

0.1.23

3 years ago

0.1.18

3 years ago

0.1.19

3 years ago

0.1.16

3 years ago

0.1.14

3 years ago

0.1.15

3 years ago

0.1.10

3 years ago

0.1.11

3 years ago

0.1.12

3 years ago

0.1.13

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago