Jordan Sexton
78b8ef9688
remove dist tag from package version
2021-12-27 20:09:33 -06:00
Jordan Sexton
14952a75ba
organize config
2021-12-27 20:03:13 -06:00
Jordan Sexton
0cd82ce775
fix default arg
2021-12-27 20:03:13 -06:00
Jordan Sexton
ad0525ebfe
remove watch command
2021-12-27 20:03:13 -06:00
Jordan Sexton
afaef4c141
update yarn.lock
2021-12-27 20:03:13 -06:00
Jordan Sexton
9378b1ed94
set lower compatible version of web3js
2021-12-27 20:03:13 -06:00
Jordan Sexton
074ef06126
update buffer-layout-utils
2021-12-27 20:03:13 -06:00
Jordan Sexton
bba59e9e05
update dev deps
2021-12-27 20:03:13 -06:00
Jordan Sexton
a8b27006b4
update version to 0.2.0-alpha.0@next
2021-12-27 20:03:13 -06:00
Jordan Sexton
537bfe3efe
add checked + unchecked decode functions
2021-12-27 20:03:13 -06:00
Jordan Sexton
6e7b7d7faa
InitializeAccount doesn't have multisigners
2021-12-27 20:03:13 -06:00
Jordan Sexton
7ac61bc957
target esnext with esm build, es6 with cjs
2021-12-27 20:03:13 -06:00
Jordan Sexton
1844efe298
fix comments
2021-12-27 20:03:13 -06:00
Colin Ogoo
70893b0299
build(cjs/esm): create cjs/esm bundles
...
- update build script to build both esm and cjs compatible packages
- add postbuild script to delegate the module type check to package.json within lib/esm and lib/cjs directory
2021-12-27 20:03:13 -06:00
Colin Ogoo
cc074a1b5e
build(rollup): remove rollup and related packages
...
step one of removing rollup from the build pipeline
2021-12-27 20:03:13 -06:00
Jordan Sexton
0db9c3dc00
fix decoded type
2021-12-27 20:03:13 -06:00
Jordan Sexton
8ca7381402
fix argument order
2021-12-27 20:03:13 -06:00
Jordan Sexton
931befabb0
add more decode functions, refactor
2021-12-27 20:03:13 -06:00
Jordan Sexton
8cca13cecf
add initial instruction decoding functions
2021-12-27 20:03:13 -06:00
Jordan Sexton
7f8d04cdeb
add instruction errors
2021-12-27 20:03:13 -06:00
Jordan Sexton
e97f51031f
fix doc comments
2021-12-27 20:03:13 -06:00
Jordan Sexton
3dc18b2f19
strictly type and expose instruction data layouts
2021-12-27 20:03:13 -06:00
Jordan Sexton
20463a7a6b
change get*Info method names
2021-12-27 20:03:13 -06:00
Jordan Sexton
0b586a2809
include license in published package
2021-12-27 20:03:13 -06:00
Jordan Sexton
2cd6f68de8
add rollup to build
2021-12-27 20:03:13 -06:00
Jordan Sexton
60b8340ed4
add published files
2021-12-27 20:03:13 -06:00
Jordan Sexton
95c3ab4e4b
build for node 14 (LTS)
2021-12-27 20:03:13 -06:00
Jordan Sexton
d7d3f08a5e
AccountInfo::data should already be a Buffer
2021-12-27 20:03:13 -06:00
Jordan Sexton
e02d632b36
fix build from source directions
2021-12-27 20:03:13 -06:00
Jordan Sexton
da6c573b0c
organize imports
2021-12-27 20:03:13 -06:00
Jordan Sexton
fef4438cd1
fix test
2021-12-14 16:49:30 -06:00
Jordan Sexton
4179acbf8b
Rewrite spl-token-js in TypeScript ( #2539 )
...
* first draft
* restructuring
* fix imports
* move errors to constants
* fmt
* fix ata
* finish core implementation
* don't export internal utils
* rename internal util files
* token account is owned by token program
* docs
* docs
* port example
* add basic tests from current implementation
* enable es6 features in lint config
* don't build tests into lib dir
* doc tweaks
* add preinstall script
* add types, don't postinstall
* allow keypairs to create accounts, and default to using ATAs
* add explicit enum values
* remove unused dependency
* expose allowOwnerOffCurve option to getOrCreateAssociatedTokenAccount action
* make multisigners optional
* WIP, undo
* update buffer-layout and buffer-layout-utils from npm
* update dev dependencies
2021-12-14 16:47:57 -06:00