Jack May
6f887baaed
backport #434 to v2
2020-09-21 17:08:37 -07:00
Jack May
45cebaf754
backport #435 to v2
2020-09-21 17:08:37 -07:00
Jack May
2b1b9de4e7
backport #436 to v2
2020-09-21 17:08:37 -07:00
Jack May
308e027f49
backport #437 to v2
2020-09-21 17:08:37 -07:00
Jack May
36ec1b2689
backport #438 to v2
2020-09-21 17:08:37 -07:00
Jack May
449d74ba90
backport #433 to v2
2020-09-21 17:08:37 -07:00
Jack May
08fe8307f0
Bump solana-sdk to v1.3.12 ( #484 )
2020-09-21 08:38:29 -07:00
dependabot[bot]
dd5447a75c
Bump @rollup/plugin-commonjs from 14.0.0 to 15.1.0 in /token/js ( #491 )
...
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins ) from 14.0.0 to 15.1.0.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Commits](https://github.com/rollup/plugins/compare/commonjs-v14.0.0...commonjs-v15.1.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-21 08:48:52 +00:00
dependabot[bot]
981be23a58
Bump @solana/web3.js from 0.75.2 to 0.76.0 in /token/js ( #490 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.75.2 to 0.76.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.75.2...v0.76.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-21 08:45:36 +00:00
dependabot[bot]
d03aad8464
Bump cbindgen from 0.14.4 to 0.14.5 ( #489 )
...
Bumps [cbindgen](https://github.com/eqrion/cbindgen ) from 0.14.4 to 0.14.5.
- [Release notes](https://github.com/eqrion/cbindgen/releases )
- [Changelog](https://github.com/eqrion/cbindgen/blob/master/CHANGES )
- [Commits](https://github.com/eqrion/cbindgen/compare/v0.14.4...v0.14.5 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-21 08:43:37 +00:00
dependabot[bot]
bc0e3b9b5b
Bump solana-logger from 1.3.11 to 1.3.12 ( #487 )
...
Bumps [solana-logger](https://github.com/solana-labs/solana ) from 1.3.11 to 1.3.12.
- [Release notes](https://github.com/solana-labs/solana/releases )
- [Changelog](https://github.com/solana-labs/solana/blob/master/RELEASE.md )
- [Commits](https://github.com/solana-labs/solana/compare/v1.3.11...v1.3.12 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-21 08:42:11 +00:00
dependabot[bot]
476e89f007
Bump rollup from 2.27.1 to 2.28.1 in /token-swap/js ( #486 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.27.1 to 2.28.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.27.1...v2.28.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-21 08:42:00 +00:00
dependabot[bot]
dfa9cd066f
Bump rollup from 2.27.1 to 2.28.1 in /token/js ( #485 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.27.1 to 2.28.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.27.1...v2.28.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-21 08:41:11 +00:00
Tyera Eulberg
70009b3bc3
Bump spl-token v2 ( #480 )
2020-09-19 00:37:21 +00:00
Jack May
80ea6ff536
Fix multisign check ( #479 )
2020-09-18 15:53:26 -07:00
Michael Vines
7acae7af7d
Use SingleGossip commitment
2020-09-18 13:49:28 -07:00
Jon Cinque
ba76d520eb
token-swap js: Prepare package for npm ( #475 )
...
* Run `pretty` properly
* Add `build:program` like for spl-token
* Add TypeScript to CI
* snake_case -> camelCase variables
* Combine transactions on swap initialization
* Make instruction functions static
2020-09-18 19:10:21 +02:00
dependabot[bot]
e5ae9bbcb9
Bump @babel/cli from 7.10.5 to 7.11.6 in /token/js ( #474 )
...
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli ) from 7.10.5 to 7.11.6.
- [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.6/packages/babel-cli )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-18 08:47:04 +00:00
dependabot[bot]
95f737a897
Bump @rollup/plugin-babel from 5.2.0 to 5.2.1 in /token/js ( #473 )
...
Bumps [@rollup/plugin-babel](https://github.com/rollup/plugins ) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Commits](https://github.com/rollup/plugins/compare/babel-v5.2.0...babel-v5.2.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-18 08:43:23 +00:00
dependabot[bot]
4bacef3e19
Bump solana-client from 1.3.9 to 1.3.11 ( #472 )
...
Bumps [solana-client](https://github.com/solana-labs/solana ) from 1.3.9 to 1.3.11.
- [Release notes](https://github.com/solana-labs/solana/releases )
- [Changelog](https://github.com/solana-labs/solana/blob/master/RELEASE.md )
- [Commits](https://github.com/solana-labs/solana/compare/v1.3.9...v1.3.11 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-18 08:42:12 +00:00
dependabot[bot]
c1dbc1cab9
Bump @solana/web3.js from 0.75.2 to 0.76.0 in /token-swap/js ( #471 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.75.2 to 0.76.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.75.2...v0.76.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-18 08:42:06 +00:00
Daniel Kelleher
23a393801f
Token-swap ts, flow bindings and build using rollup. ( #463 )
...
* Added token-swap ts and flow bindings and build pure JS versions using rollup, to match the token program
* Added references to the built files in token-swap package.json
* Added missing Account import
* Fix flow module syntax errors
2020-09-18 09:31:16 +02:00
Trent Nelson
dfe39d3001
Docs: Describe how to configure spl-token-cli
2020-09-18 01:26:00 +00:00
Michael Vines
096d3d4da5
SPL Token supports NFTs too
2020-09-17 17:05:35 +00:00
Jon Cinque
9edf7304d2
token-swap: Remove tokenSwapAccount as signer ( #462 )
2020-09-17 16:00:23 +02:00
Jon Cinque
84cf55e9ae
Token-swap: add tests for all instructions ( #455 )
...
* token-swap: Add initialize tests
* Cleanup initialize test using helper struct
* Add deposit tests
* Run cargo fmt
* Add withdraw tests, refactor swap in test
* Add swap tests
* Integrate review feedback
2020-09-17 12:11:24 +02:00
dependabot[bot]
ef31275709
Bump solana-clap-utils from 1.3.9 to 1.3.11 ( #460 )
...
Bumps [solana-clap-utils](https://github.com/solana-labs/solana ) from 1.3.9 to 1.3.11.
- [Release notes](https://github.com/solana-labs/solana/releases )
- [Changelog](https://github.com/solana-labs/solana/blob/master/RELEASE.md )
- [Commits](https://github.com/solana-labs/solana/compare/v1.3.9...v1.3.11 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-17 09:27:13 +00:00
dependabot[bot]
5f838ee392
Bump prettier from 2.1.1 to 2.1.2 in /token/js ( #459 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.1.1...2.1.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-17 08:40:51 +00:00
dependabot[bot]
6716e0f09f
Bump solana-account-decoder from 1.3.9 to 1.3.11 ( #461 )
...
Bumps [solana-account-decoder](https://github.com/solana-labs/solana ) from 1.3.9 to 1.3.11.
- [Release notes](https://github.com/solana-labs/solana/releases )
- [Changelog](https://github.com/solana-labs/solana/blob/master/RELEASE.md )
- [Commits](https://github.com/solana-labs/solana/compare/v1.3.9...v1.3.11 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-17 08:40:45 +00:00
dependabot[bot]
1e3a66b001
Bump @babel/cli from 7.11.5 to 7.11.6 in /token-swap/js ( #457 )
...
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli ) from 7.11.5 to 7.11.6.
- [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.6/packages/babel-cli )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-17 08:40:04 +00:00
dependabot[bot]
fc86af0165
Bump rollup from 2.26.11 to 2.27.1 in /token/js ( #458 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.26.11 to 2.27.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.26.11...v2.27.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-17 08:39:12 +00:00
Jack May
0070aeb099
Clarify token freeze authority documentation ( #456 )
2020-09-16 23:20:06 +00:00
Michael Vines
b89b0c81d2
Nit: add current
2020-09-16 08:55:03 -07:00
dependabot[bot]
9d9545c98d
Bump solana-sdk from 1.3.9 to 1.3.11 ( #454 )
...
Bumps [solana-sdk](https://github.com/solana-labs/solana ) from 1.3.9 to 1.3.11.
- [Release notes](https://github.com/solana-labs/solana/releases )
- [Changelog](https://github.com/solana-labs/solana/blob/master/RELEASE.md )
- [Commits](https://github.com/solana-labs/solana/compare/v1.3.9...v1.3.11 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 09:22:53 +00:00
dependabot[bot]
75145e1ada
Bump solana-logger from 1.3.9 to 1.3.11 ( #453 )
...
Bumps [solana-logger](https://github.com/solana-labs/solana ) from 1.3.9 to 1.3.11.
- [Release notes](https://github.com/solana-labs/solana/releases )
- [Changelog](https://github.com/solana-labs/solana/blob/master/RELEASE.md )
- [Commits](https://github.com/solana-labs/solana/compare/v1.3.9...v1.3.11 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 08:42:08 +00:00
dependabot[bot]
f229456e15
Bump solana-cli-config from 1.3.9 to 1.3.11 ( #451 )
...
Bumps [solana-cli-config](https://github.com/solana-labs/solana ) from 1.3.9 to 1.3.11.
- [Release notes](https://github.com/solana-labs/solana/releases )
- [Changelog](https://github.com/solana-labs/solana/blob/master/RELEASE.md )
- [Commits](https://github.com/solana-labs/solana/compare/v1.3.9...v1.3.11 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 08:41:57 +00:00
dependabot[bot]
6cc41494c4
Bump prettier from 2.1.1 to 2.1.2 in /token-swap/js ( #449 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.1.1...2.1.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 08:39:56 +00:00
dependabot[bot]
8aa6767355
Bump @babel/plugin-transform-runtime from 7.11.0 to 7.11.5 in /token/js ( #452 )
...
Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime ) from 7.11.0 to 7.11.5.
- [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.5/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-09-16 08:39:50 +00:00
dependabot[bot]
7f5388a94d
Bump eslint from 7.8.1 to 7.9.0 in /token/js ( #450 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.8.1 to 7.9.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.8.1...v7.9.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-16 08:38:09 +00:00
Jack May
157936c6c5
Remove pack's dependency on TokenError ( #448 )
...
* Remove pack's dependency on TokenError
* nudge
2020-09-16 00:59:37 +00:00
Tyera Eulberg
6cd83ce1da
Bump npm spl-token version
2020-09-15 18:17:22 -06:00
dependabot[bot]
59676cb8d1
Bump @solana/web3.js from 0.75.0 to 0.75.2 in /token/js ( #447 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.75.0 to 0.75.2.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.75.0...v0.75.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-15 08:41:02 +00:00
dependabot[bot]
e1ea855f36
Bump @babel/core from 7.11.4 to 7.11.6 in /token/js ( #446 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.11.4 to 7.11.6.
- [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.6/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-15 08:40:29 +00:00
dependabot[bot]
30b29320ac
Bump eslint from 7.8.1 to 7.9.0 in /token-swap/js ( #445 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.8.1 to 7.9.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.8.1...v7.9.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-15 08:39:47 +00:00
Tyera Eulberg
e7a876f280
Remove Pack mutable unpack methods ( #443 )
...
* Remove Pack::unpack_mut
* Remove Pack::unpack_unchecked_mut
2020-09-14 15:08:14 -06:00
Michael Vines
cf50a55586
create-token/create-account now accept an optional keypair
2020-09-14 19:11:05 +00:00
Jon Cinque
4dd9754624
Re-enable token-swap ci ( #442 )
2020-09-14 16:56:00 +02:00
dependabot[bot]
3899b8ee7b
Bump @babel/preset-env from 7.11.0 to 7.11.5 in /token/js ( #440 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.11.0 to 7.11.5.
- [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.5/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-09-14 08:50:33 +00:00
dependabot[bot]
c3631d2592
Bump @solana/web3.js from 0.75.0 to 0.75.2 in /token-swap/js ( #439 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 0.75.0 to 0.75.2.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.75.0...v0.75.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-14 08:50:27 +00:00
Tyera Eulberg
7515187d17
Allow source account to be its own owner in Approve, Approve2, and Revoke ( #434 )
...
* Add failing test
* No need to hold source RefMut in process_approve
* Add revoke cases
* No need to hold source RefMut in process_revoke
2020-09-11 20:53:23 -06:00