Commit Graph

13 Commits

Author SHA1 Message Date
Paul cb9a94142a
add freeze and thaw account methods to module declaration in spl token library (#730) 2020-10-27 21:15:52 +08:00
Justin Starry b8afb23642
Export token program id in JS client (#694) 2020-10-23 08:56:15 +08:00
Paul 85e4e09dc8
Add token properties to spl-token library module declaration files so downstream users can access them without having to bypass type checking (#672) 2020-10-20 17:46:25 +08:00
Daniel Kelleher 2fb7df6922
Standardise datatypes of amount parameters to accept u64s across the board in the token program JS client. (#594) 2020-10-09 19:36:38 +02:00
Jon Cinque 51c4dc6951
Fix lint check in CI (#519)
* Fix lint check in CI

* `npm run lint` now checks that code is properly formatted, instead of
  running the formatter
* Add extra commands to run the linting, include ts definitions file
* Update flow-bin, fix type errors that come up

* Clarify lint vs lint:fix as requested
2020-09-23 18:20:37 +02:00
Daniel Kelleher af98c77839
Expose Layouts and instruction creation functions to allow more flexible use of the Token and TokenSwap clients. (#517) 2020-09-23 14:22:56 +02:00
Daniel Kelleher ac3004b3c7
Wrapped SOL support (#416)
* Add support for wrapped native token account generation in the Token JS client.

* Some small changes to the token test script as per review comments
2020-09-10 13:16:24 -06:00
Daniel Kelleher b8066f2e08
Fix for token ts declarations - import the correct Account object (#400) 2020-09-09 09:35:38 -06:00
Justin Starry 3691b14a01 Update token js bindings 2020-08-28 16:02:32 -07:00
Michael Vines a22908bbd9 Relocate js 2020-08-08 15:25:47 -07:00
Michael Vines 26ab9bb26a Reorganize crates based on program 2020-08-08 15:25:47 -07:00
Justin Starry 17d129a32a
Setup rollup, fix prettier, and clean dependencies (#166)
* Setup rollup, fix prettier, and clean dependencies

* Setup rollup specific babel config

* Fix token-swap config
2020-07-31 01:01:57 +08:00
Jack May a07935371f
Prep token/js for publishing (#165) 2020-07-30 02:07:55 -07:00