Commit Graph

136 Commits

Author SHA1 Message Date
Jon Cinque 56a1e97c95
token-js: Update @solana/web3.js dependency (#3001) 2022-03-10 22:32:31 +01:00
Jon Cinque 2e1286b06a
token-js: Support MintCloseAuthority (#2951) 2022-02-25 00:24:26 -05:00
Jon Cinque bb6a91c56f
token-js: Support token-2022 in base tests (#2927) 2022-02-17 23:26:54 +01:00
Jordan Sexton b5f3dfe0e4 token: fix gh-pages deploy path 2022-02-15 16:57:16 -06:00
Jordan Sexton d525d1ea2e token: fix gh-pages 2022-02-15 16:38:39 -06:00
Jordan Sexton 00371383e8 update gh-pages config and link 2022-02-15 16:33:36 -06:00
Jon Cinque f9a93e5636 Port e2e tests to mocha 2022-02-15 16:33:36 -06:00
Jordan Sexton 70f2333e98 update version 2022-02-15 16:33:36 -06:00
Jordan Sexton 118bd047aa move ts to js 2022-02-15 16:33:36 -06:00
Jordan Sexton ca17166471 move js to js-old 2022-02-15 16:33:36 -06:00
Harsh Ghodkar 37a6db89db shifted dotenv to dev dependancies 2022-02-07 08:57:37 -08:00
Abhimanyu Singh Gaur e29bc53c5f
Migrate to @solana/buffer-layout (#2624)
* Update package.json

* Fix build errors

* More fixes

* Add flow definitions
2021-12-09 16:26:14 +01:00
dependabot[bot] a0e32c7baf
build(deps-dev): bump flow-bin from 0.158.0 to 0.160.0 in /token/js (#2418)
Bumps [flow-bin](https://github.com/flowtype/flow-bin) from 0.158.0 to 0.160.0.
- [Release notes](https://github.com/flowtype/flow-bin/releases)
- [Commits](https://github.com/flowtype/flow-bin/commits)

---
updated-dependencies:
- dependency-name: flow-bin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-16 08:16:59 +00:00
dependabot[bot] 7761bcd1ec
build(deps-dev): bump flow-bin from 0.157.0 to 0.158.0 in /token/js (#2341)
Bumps [flow-bin](https://github.com/flowtype/flow-bin) from 0.157.0 to 0.158.0.
- [Release notes](https://github.com/flowtype/flow-bin/releases)
- [Commits](https://github.com/flowtype/flow-bin/commits)

---
updated-dependencies:
- dependency-name: flow-bin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-27 11:11:40 +00:00
dependabot[bot] 1ce492317f
build(deps-dev): bump http-server from 0.12.3 to 13.0.1 in /token/js (#2336)
Bumps [http-server](https://github.com/http-party/http-server) from 0.12.3 to 13.0.1.
- [Release notes](https://github.com/http-party/http-server/releases)
- [Commits](https://github.com/http-party/http-server/compare/v0.12.3...v13.0.1)

---
updated-dependencies:
- dependency-name: http-server
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-27 10:10:41 +00:00
Michael Vines 50f165ba03 Bump version to 0.1.8 2021-08-16 12:06:57 -07:00
Michael Vines ce570f2caa Bump version to 0.1.7 2021-08-16 10:53:17 -07:00
dependabot[bot] e9cc7ef77f
build(deps-dev): bump flow-bin from 0.156.0 to 0.157.0 in /token/js (#2230)
Bumps [flow-bin](https://github.com/flowtype/flow-bin) from 0.156.0 to 0.157.0.
- [Release notes](https://github.com/flowtype/flow-bin/releases)
- [Commits](https://github.com/flowtype/flow-bin/commits)

---
updated-dependencies:
- dependency-name: flow-bin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-06 08:14:47 +00:00
dependabot[bot] 98904becaa
build(deps-dev): bump @rollup/plugin-commonjs in /token/js (#2190)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 19.0.2 to 20.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v20.0.0/packages/commonjs)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-commonjs"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-02 08:16:06 +00:00
dependabot[bot] 974804b73a
build(deps-dev): bump flow-bin from 0.155.0 to 0.156.0 in /token/js (#2172)
Bumps [flow-bin](https://github.com/flowtype/flow-bin) from 0.155.0 to 0.156.0.
- [Release notes](https://github.com/flowtype/flow-bin/releases)
- [Commits](https://github.com/flowtype/flow-bin/commits)

---
updated-dependencies:
- dependency-name: flow-bin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-29 14:56:17 +00:00
Jon Cinque d1827f5c93
token-js: Use `flow check-contents` to not trip on others' issues (#2088)
* token-js: Use `flow check-contents` to not trip on others' issues

* lending: Bump compute budget on init test
2021-07-15 03:38:47 +02:00
dependabot[bot] f7e78c4e93
build(deps-dev): bump flow-bin from 0.154.0 to 0.155.0 in /token/js (#2047)
Bumps [flow-bin](https://github.com/flowtype/flow-bin) from 0.154.0 to 0.155.0.
- [Release notes](https://github.com/flowtype/flow-bin/releases)
- [Commits](https://github.com/flowtype/flow-bin/commits)

---
updated-dependencies:
- dependency-name: flow-bin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-09 08:13:07 +00:00
dependabot[bot] fa4ea78640
build(deps-dev): bump flow-bin from 0.145.0 to 0.154.0 in /token/js (#1954)
Bumps [flow-bin](https://github.com/flowtype/flow-bin) from 0.145.0 to 0.154.0.
- [Release notes](https://github.com/flowtype/flow-bin/releases)
- [Commits](https://github.com/flowtype/flow-bin/commits)

---
updated-dependencies:
- dependency-name: flow-bin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-24 08:15:06 +00:00
dependabot[bot] a92fd2f928
build(deps-dev): bump mocha from 8.4.0 to 9.0.0 in /token/js (#1920)
Bumps [mocha](https://github.com/mochajs/mocha) from 8.4.0 to 9.0.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.4.0...v9.0.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-15 20:49:22 +00:00
Tyera Eulberg 02a6854f68
token/js: Bump version to v1.0.6 (#1916) 2021-06-15 13:24:26 -06:00
dependabot[bot] 3af3414481
build(deps-dev): bump eslint-plugin-mocha in /token/js (#1818)
Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha) from 8.1.0 to 9.0.0.
- [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases)
- [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/lo1tuma/eslint-plugin-mocha/compare/8.1.0...9.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-28 08:01:58 +00:00
Trent Nelson da2c3d00ae token/js: Bump version to v1.0.5 2021-05-28 05:51:16 +00:00
dependabot[bot] 73c3ea2bd5
build(deps): bump dotenv from 9.0.2 to 10.0.0 in /token/js (#1782)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 9.0.2 to 10.0.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v9.0.2...v10.0.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-24 14:29:18 +00:00
Trent Nelson d4dd97b3b1 fix: token/js bump web3.js to 1.12.0 2021-05-21 00:53:46 +00:00
dependabot[bot] 893ab9f2f5
build(deps): bump dotenv from 8.2.0 to 9.0.2 in /token/js (#1728)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 8.2.0 to 9.0.2.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v8.2.0...v9.0.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 15:34:36 +00:00
dependabot[bot] ba389f9581
build(deps-dev): bump @rollup/plugin-commonjs in /token/js (#1726)
Bumps [@rollup/plugin-commonjs](https://github.com/rollup/plugins/tree/HEAD/packages/commonjs) from 17.1.0 to 19.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/commonjs/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v19.0.0/packages/commonjs)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 14:21:30 +00:00
Trent Nelson 9482f8d4e3 token/js: Bump version to v0.1.4 2021-05-07 06:39:04 +00:00
dependabot[bot] 9aa238e0b4
build(deps-dev): bump @rollup/plugin-node-resolve in /token/js (#1667)
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve) from 11.2.0 to 13.0.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/commonjs-v13.0.0/packages/node-resolve)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 09:40:44 +00:00
Trent Nelson 3d04aa0109 chore: add negative test for ATA creation with off-curve owner 2021-05-05 15:48:59 -06:00
Trent Nelson 975b524487 chore: bump solana web3 to v1.9.1 2021-05-05 15:48:59 -06:00
Ryo Onodera 0cfc42eeed
Bump @solana/spl-token to v0.1.3 (#1543) 2021-03-31 15:42:15 +09:00
Justin Starry 7550748bd2
Bump @solana/spl-token to v0.1.2 (#1520) 2021-03-30 10:40:00 +08:00
Justin Starry 5473494f24
spl-token: Bump web3.js to v1.2.2 (#1516) 2021-03-30 00:11:12 +08:00
dependabot[bot] d83d3f2774
build(deps): bump @solana/web3.js from 0.93.0 to 0.94.2 in /token/js (#1384)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.93.0 to 0.94.2.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.93.0...v0.94.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 09:56:29 +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
dependabot[bot] bff28fadfc
build(deps): bump @solana/web3.js from 0.92.2 to 0.93.0 in /token/js (#1342)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.92.2 to 0.93.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.92.2...v0.93.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-26 09:36:25 +00:00
Justin Starry 6eac7bc331
fix: add support for browser modules to @solana/spl-token (#1337)
* fix: add support for browser modules

* chore: format and lint

* chore: fix flow
2021-02-25 14:56:09 +08:00
dependabot[bot] 65f71cc0d4
build(deps): bump @solana/web3.js from 0.91.3 to 0.92.1 in /token/js (#1270)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.91.3 to 0.92.1.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.91.3...v0.92.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-18 10:01:25 +00:00
dependabot[bot] ddae16cb4d
build(deps-dev): bump flow-bin from 0.142.0 to 0.145.0 in /token/js (#1269)
Bumps [flow-bin](https://github.com/flowtype/flow-bin) from 0.142.0 to 0.145.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>
2021-02-18 09:30:55 +00:00
dependabot[bot] de672dbfa6
build(deps): bump buffer from 6.0.1 to 6.0.3 in /token/js (#1235)
Bumps [buffer](https://github.com/feross/buffer) from 6.0.1 to 6.0.3.
- [Release notes](https://github.com/feross/buffer/releases)
- [Commits](https://github.com/feross/buffer/compare/v6.0.1...v6.0.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 10:14:55 +00:00
Justin Starry 80b93879e9 fix: fix flow typedefs in token js 2021-02-13 17:03:42 +08:00
Justin Starry bdbfe25980 chore: fix defs check 2021-02-13 17:03:42 +08:00
Justin Starry 6cd9c768ad chore: add defs check 2021-02-13 17:03:42 +08:00
dummytester123 d1e5fcfc7e
Add types for bnjs (#1194)
* Add types for bnjs

* Vers bump

* Fix for js test token

* Update web3js lib

* Bump to 0.1.0
2021-02-11 09:34:32 +08:00
dependabot[bot] 0077fb421f
build(deps): bump @solana/web3.js from 0.90.5 to 0.91.0 in /token/js (#1195)
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js) from 0.90.5 to 0.91.0.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases)
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v0.90.5...v0.91.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-08 09:32:30 +00:00