mPaella
befea2c0a8
token-js: Allow (Signer | PublicKey)[] instead of Signer[] when possible ( #3967 )
...
* Allow PublicKey[] | Signer[] instead of Signer[] when possible
* Change Signer[] | PublicKey[] to (Signer | PublicKey)[]
2023-01-10 20:59:44 +01:00
hanako mumei
980065ec6c
token-js: implement CPI Guard
2022-12-15 17:27:46 -08:00
Athar Mohammad
3dd744d450
js support for permanent delegate authority ( #3833 )
2022-11-23 16:29:09 +01:00
mwrites
f61af23932
[token-js] : JS binding for CreateIdempotent instruction ( #3558 )
...
* JS binding for CreateIdempotent instruction
* revert
* newline
* Removed Idempotent flag and extracted Idempotent logic to its own set of functions
* Conventions
2022-10-06 16:56:32 +02:00
Jordan Sexton
d0277e65dd
organize imports, lint
2022-09-12 18:39:51 -05:00
Sammy Harris
6f4bdaa912
Update token-js with rent-less instructions ( #3590 )
...
* add new token instructions
* add decode helper function
* remove commented out thingy
* fix decode order
* update unit test
* add new unit tests
2022-09-12 17:52:53 -05:00
Athar Mohammad
2fe0ce60f8
[token-js] : Support for UiAmountToAmount and AmountToUiAmount instructions ( #3345 )
...
* suport for amountToUiAmount instruction
* support for uiamount to amount instruction
* upgrade @solana/web3.js to 1.47.4
* move amount.test from e2e-2022 to e2e
* fix and sort imports
Co-authored-by: Jordan Sexton <jordan@jordansexton.com>
2022-08-24 01:54:16 -05:00
Jordan Sexton
29d316e811
Fix Token program ESM exports ( #3508 )
...
* Fix Memo program ESM exports
* fix repository link
* Fix Token program ESM exports
* web3.js is a peer dependency
* memo/ts -> memo/js (same as token)
* add gh-pages dev dep
* add explicit js extensions
* use explicit js imports
* lint fixes for type imports
* fix version
* check in package-lock.json
* check in package-lock.json
* update spl-memo dep
* reorg imports
* move spl-memo to dev deps
* remove editorconfig
* update spl-memo
* update node version in CI
* memo and token use npm now
* use npm ci commands
* reorder imports
2022-08-22 19:07:03 -05:00
Jon Cinque
6b5e7cbbeb
token-js: Add reallocate instruction implementation ( #3447 )
2022-08-09 17:26:31 +02:00
Jon Cinque
c4f10d8d53
token-js: Throw if using token-2022 instructions with tokenkeg ( #3296 )
...
* token-js: Throw if using token-2022 instructions with tokenkeg
* Fixup updated params
2022-06-29 13:39:30 -04:00
Kunal Desai
7caf27cca6
Support interest bearing mint in token-js ( #3266 )
...
* Support interest bearing mint in token-js
* pr feedback
* Add tests + actions.ts
* Update docs
* pr feedback
2022-06-27 18:50:05 -04:00
Jon Cinque
5c478568c6
token-js: Support non-transferable mint ( #3256 )
2022-06-16 09:40:29 -04:00
Jon Cinque
79d2c606b8
CI: Add `--max-warnings 0` to eslint to abort on errors ( #3254 )
...
* CI: Add `--max-warnings 0` to eslint to abort on errors
* Fix lint issue
2022-06-16 09:39:55 -04:00
Kunal Desai
ad97543192
Support InitializeAccount3 in token js ( #3233 )
2022-06-09 13:57:01 +02:00
Kunal Desai
6096ac6f46
Support InitializeAccount2 instruction ( #3229 )
...
* Support InitializeAccount2 instruction
* Add unit test
2022-06-08 22:29:49 +02:00
Ronald Hood Jr
ae2e000434
InitializeImmutableOwner Instruction ( #3068 )
...
* initializeImmutableOwner Instruction
* Immutable Owner Testing
* immutable owner tests
* Creating Mint and Initializing Account
* Parameter Synchronization
* Documentation Update
Co-authored-by: Ronald Hood <ronald.hood@yale.edu>
2022-04-21 20:43:56 +02:00
Jon Cinque
2e1286b06a
token-js: Support MintCloseAuthority ( #2951 )
2022-02-25 00:24:26 -05:00
Jon Cinque
5229a21c6a
token-js: Update instruction enum for UiAmountToAmount / AmountToUiAmount ( #2949 )
...
* token-js: Unflake create native test
* Add UiAmountToAmount and AmountToUiAmount to enum
2022-02-24 15:17:32 -05:00
Jon Cinque
bb6a91c56f
token-js: Support token-2022 in base tests ( #2927 )
2022-02-17 23:26:54 +01:00
Jordan Sexton
118bd047aa
move ts to js
2022-02-15 16:33:36 -06:00