Daniel Marin
7fdda2d4d6
chore(token): expose transfer checked instruction
2021-08-16 09:13:03 -07:00
Kirill Fomichev
bb8792acc9
token: fix ts for @solana/spl-token ( #2145 )
...
* token: fix ts for @solana/spl-token
* fix ts
* fix flow
* fix optional parameters
2021-08-03 23:13:32 -04:00
Trent Nelson
d4dd97b3b1
fix: token/js bump web3.js to 1.12.0
2021-05-21 00:53:46 +00:00
Ryo Onodera
68b8da2996
Support associated token for JS (Also, make the program testable) ( #1364 )
...
* Implement some js helpers for associated tokens
* Create integration test and fix hard-coding in spl-associated-token
* Run lint:fix and pretty:fix
* Run flow as well...
* More robust test fixture setup
* Revert api breaking part
* Fix tests...
* Populate ts/flow type definitions
* Improve test a bit
* More consistent arg order; docs; more tests
* lints and pretty
* type definition updates and test tweaks
* More simplification...
* More cleanup
* Address review comments and small cleanings
* Bump the version
2021-03-03 20:56:22 +09:00
Justin Starry
80b93879e9
fix: fix flow typedefs in token js
2021-02-13 17:03:42 +08:00
Paul
4394cb1ebb
[js-token-library] add freeze and thaw ix builder functions to module declarations ( #851 )
2020-11-16 18:49:15 +01:00
Paul
2731e8e029
[js-token-library] fix createSetAuthorityIx module declarations ( #846 )
2020-11-16 18:12:40 +08:00
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