Commit Graph

121 Commits

Author SHA1 Message Date
Michael Vines 68b1d43596 Update token.h 2020-08-08 08:05:00 -07:00
Michael Vines 48b11fc01c Move up to v1.3.1 2020-08-08 08:05:00 -07:00
Michael Vines a8c995bc79 Fix up target/ location 2020-08-08 08:05:00 -07:00
Michael Vines c6042f68f7 Add top-level workspace 2020-08-08 08:05:00 -07:00
dependabot[bot] 4170c1b3c9
Bump rollup from 2.23.0 to 2.23.1 in /token/js (#251)
Bumps [rollup](https://github.com/rollup/rollup) from 2.23.0 to 2.23.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.23.0...v2.23.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-08 05:54:22 +00:00
Michael Vines 735eafb7e0 Avoid generating header files when they already exist 2020-08-07 18:44:00 -07:00
dependabot[bot] 4ca6902f3c
Bump flow-bin from 0.130.0 to 0.131.0 in /token/js (#232)
Bumps [flow-bin](https://github.com/flowtype/flow-bin) from 0.130.0 to 0.131.0.
- [Release notes](https://github.com/flowtype/flow-bin/releases)
- [Commits](https://github.com/flowtype/flow-bin/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-07 09:04:59 +00:00
Justin Starry 2c59c86fbf
Bump version to v0.0.5 (#227) 2020-08-06 17:40:47 +08:00
dependabot[bot] a54aa9d4d5
Bump @babel/runtime from 7.11.1 to 7.11.2 in /token/js (#220)
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.11.1 to 7.11.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.2/packages/babel-runtime)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-06 09:11:48 +00:00
dependabot[bot] d5c4748762
Bump @babel/runtime from 7.11.0 to 7.11.1 in /token/js (#217)
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.11.0 to 7.11.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.1/packages/babel-runtime)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-05 11:27:04 +00:00
dependabot[bot] 000a816a32
Bump @babel/core from 7.11.0 to 7.11.1 in /token/js (#215)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.11.0 to 7.11.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.1/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-05 10:48:09 +00:00
dependabot[bot] 71fde3bb82
Bump num-derive from 0.3.0 to 0.3.1 in /token (#213)
Bumps [num-derive](https://github.com/rust-num/num-derive) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/rust-num/num-derive/releases)
- [Changelog](https://github.com/rust-num/num-derive/blob/master/RELEASES.md)
- [Commits](https://github.com/rust-num/num-derive/compare/num-derive-0.3.0...num-derive-0.3.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-05 08:45:51 +00:00
Michael Vines 4c8b28b387 Add ui amount conversion helpers 2020-08-05 05:18:54 +00:00
Jack May 3f8a716ddb
Add support for self transfers (#210) 2020-08-04 18:17:51 -07:00
Michael Vines 72608ab2e3 Add native_mint::DECIMALS 2020-08-05 00:15:25 +00:00
Michael Vines 902a9fb081 Bump testnetDefaultChannel 2020-08-04 16:10:05 -07:00
Michael Vines 4ca71a378e Relax solana-sdk version requirement 2020-08-04 16:10:05 -07:00
Jack May bd5f1f82a3
Add tag to C enum variants (#206) 2020-08-03 21:23:33 -07:00
Justin Starry ef75a1d523
Return signature from sendAndConfirmTransaction (#203) 2020-08-04 01:22:54 +08:00
dependabot[bot] 8174af718e
Bump eslint from 7.5.0 to 7.6.0 in /token/js (#199)
Bumps [eslint](https://github.com/eslint/eslint) from 7.5.0 to 7.6.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.5.0...v7.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-02 21:53:28 +00:00
dependabot[bot] 47efeda785
Bump num-derive from 0.2.5 to 0.3.0 in /token (#192)
Bumps [num-derive](https://github.com/rust-num/num-derive) from 0.2.5 to 0.3.0.
- [Release notes](https://github.com/rust-num/num-derive/releases)
- [Changelog](https://github.com/rust-num/num-derive/blob/master/RELEASES.md)
- [Commits](https://github.com/rust-num/num-derive/compare/num-derive-0.2.5...num-derive-0.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-02 21:18:40 +00:00
dependabot[bot] 9649f25c75
Bump @solana/web3.js from 0.63.2 to 0.64.0 in /token/js (#198)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.63.2 to 0.64.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.63.2...v0.64.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-02 19:06:25 +00:00
dependabot[bot] d0beed7d0e Bump flow-typed from 3.2.0 to 3.2.1 in /token/js
Bumps [flow-typed](https://github.com/flow-typed/flow-typed) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/flow-typed/flow-typed/releases)
- [Changelog](https://github.com/flow-typed/flow-typed/blob/master/CHANGELOG.md)
- [Commits](https://github.com/flow-typed/flow-typed/compare/v3.2.0...v3.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-08-02 08:39:29 -07:00
Jack May 46f0b42873
Programs can be client dependencies (#181) 2020-07-31 16:35:49 -07:00
Tyera Eulberg a6278bd58d
Consistency nits (#187) 2020-07-31 18:01:33 +00:00
dependabot[bot] 599600d5a9
Bump @babel/plugin-transform-runtime from 7.10.5 to 7.11.0 in /token/js (#183)
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.10.5 to 7.11.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.0/packages/babel-plugin-transform-runtime)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 08:50:48 +00:00
dependabot[bot] be6328b16e
Bump @babel/core from 7.10.5 to 7.11.0 in /token/js (#182)
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.10.5 to 7.11.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.0/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 08:32:00 +00:00
Justin Starry 719deefc8c
Bump spl-token to v0.0.4 (#180) 2020-07-31 04:02:05 +00:00
Jack May 302855fa0a
Cleanup payer and remove use of instanceof (#176)
Co-authored-by: Justin Starry <justin@solana.com>
2020-07-31 11:37:33 +08:00
Justin Starry 662a733172
Bump @solana/web3.js and @solana/spl-token (#177) 2020-07-31 10:49:03 +08:00
dependabot[bot] c081e50af7
Bump @babel/runtime from 7.10.5 to 7.11.0 in /token/js (#174)
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.10.5 to 7.11.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.0/packages/babel-runtime)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 02:21:37 +00:00
dependabot[bot] 1782bcf24c
Bump @babel/preset-env from 7.10.4 to 7.11.0 in /token/js (#172)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.10.4 to 7.11.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.11.0/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-31 00:16:19 +00:00
dependabot[bot] d338274864 Bump flow-bin from 0.129.0 to 0.130.0 in /token/js
Bumps [flow-bin](https://github.com/flowtype/flow-bin) from 0.129.0 to 0.130.0.
- [Release notes](https://github.com/flowtype/flow-bin/releases)
- [Commits](https://github.com/flowtype/flow-bin/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-30 15:47:42 -07:00
dependabot[bot] 876034e02c Bump @solana/web3.js from 0.62.0 to 0.63.1 in /token/js
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.62.0 to 0.63.1.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.62.0...v0.63.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-30 15:47:25 -07:00
Michael Vines 0d885b9baa Bump version to 1.0.3 2020-07-30 15:32:22 -07:00
Michael Vines 06b4d18191 Export current solana-sdk types for downstream users 2020-07-30 15:28:45 -07:00
Jack May a59a79d179
Bump version (#168) 2020-07-30 13:52:51 -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
Marc-Antoine Ross c6fe796900
Fix typo (#167) 2020-07-30 09:18:55 -07:00
Jack May a07935371f
Prep token/js for publishing (#165) 2020-07-30 02:07:55 -07:00
Tyera Eulberg 87a0af07b3
TokenInstruction::Approve: source account must be writable (#164)
* Source account must be writable

* Comment fixups
2020-07-30 00:03:40 +00:00
Jack May 0f2226c190
Nits (#159)
* Nits

* nudge
2020-07-28 16:33:34 -07:00
Jack May 324a567b5e
Update README.md 2020-07-28 11:01:34 -07:00
Jack May 691a213524
Add token docs (#158) 2020-07-28 11:00:37 -07:00
Tyera Eulberg 019235c69c
Bump sdk version, and adjust accordingly (#155) 2020-07-24 20:39:15 +00:00
Tyera Eulberg 8580542729
Bump patch versions (#148) 2020-07-22 15:55:46 -06:00
Tyera Eulberg bd2ea9ed55
Bump solana-sdk version (#145)
* Bump solana-sdk version

* Include program feature to enable entrypoint

* Bump default testnet
2020-07-22 20:34:15 +00:00
dependabot[bot] 2c82a97909
Bump lodash from 4.17.14 to 4.17.19 in /token/js (#143)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.14 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.14...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-21 19:14:16 -06:00
Tyera Eulberg f779495689
Remove unused dependencies (#133) 2020-07-21 18:27:02 -06:00
Jack May 96366cb4ff
Improve CI coverage (#141)
* Improve CI coverage

* install fmt
2020-07-21 14:37:34 -07:00