Commit Graph

155 Commits

Author SHA1 Message Date
Paul 4b4b8007fb
update lockfiles (#1662) 2022-03-21 00:47:56 -04:00
Paul 9afdb17ac2
ts: add error log parsing to ts client (#1640) 2022-03-20 20:29:12 -04:00
robert-balcerowicz 1c7139a9e3
ts: Use return value of `wallet.signTransaction` in `provider.ts` (#1527) 2022-03-20 14:11:41 -04:00
Paul 94b0fec714
fix anchor-lang import in safety-check, add custom-coder to ci, and fix spl-token coder (#1604) 2022-03-16 18:27:57 -04:00
Matthew Callens b376fd4615
lang: add additional `require_x` comparison macros (#1622) 2022-03-16 14:45:09 -04:00
Paul 3b0006b3ce
use sol_log_data for logging events (#1608) 2022-03-16 14:28:19 -04:00
Paul 721fe6693c
lang: add support for logging expected and actual values and pubkeys (#1572) 2022-03-15 11:42:17 -04:00
Armani Ferrante b149fc522a
ts: add provider parameter to spl token client (#1597) 2022-03-10 22:43:33 -05:00
Matthew Callens eee75ab07a
ts: fix methods builder `.accounts` requiring global programs (#1548) 2022-03-03 22:42:45 -05:00
Matthew Callens 80be42803d
ts: fix methods namespace typing loss and deprecate non-methods namespaces (#1539) 2022-03-01 19:26:32 -05:00
Matthew Callens a78c9c0341
lang: add sysvar custom error and failing test case (#1535) 2022-03-01 11:33:18 -05:00
Totoro 9c49e7642d
ts: fix formatIdlData for option defined type (#1439) 2022-02-28 12:15:54 -05:00
Paul 40596824bf
error redesign (#1462) 2022-02-20 17:28:24 -05:00
Pavel Kuzovkin 90bcea1cbe
lang, ts: float types support (#1425) 2022-02-17 14:23:21 -05:00
Paul 1f56a62bab
lang: add check that declared id == program id (#1451) 2022-02-15 18:16:06 -05:00
tuphan-dn 40379eb21f
ts: update SPL IDL (#1450) 2022-02-14 21:28:39 -05:00
Daniel Marin 3838bdeaf0
ts: allow nullable types for option fields (#1428) 2022-02-10 09:46:44 -05:00
Krešimir Klas 580167a1b0
ts: add metadata field to Idl type (#1422) 2022-02-09 16:51:39 -05:00
Armani Ferrante 598c7b0790
lang: error if bump target is given on init (#1380) 2022-02-07 13:26:05 -05:00
Eoin Murphy 9fea72e701
ts: fill in some gaps for ts IDL types (#1393) 2022-02-04 13:11:17 -05:00
Matthew Callens 714f5e6b75
ts: fix `Wallet` class declaration (#1363) 2022-01-31 18:31:21 -05:00
Armani Ferrante 46722953c1
ts: verified build utility (#1371) 2022-01-29 16:46:12 -05:00
Armani Ferrante d8d720067d
lang, ts: automatic client side pda derivation (#1331) 2022-01-24 14:44:24 -05:00
Armani Ferrante e121e4e09d
ts: builder api (#1324) 2022-01-15 17:09:53 -05:00
xjcaa f34287e399
ts: remove event error log (#1313) 2022-01-14 11:02:15 -05:00
Armani Ferrante 84e0852584
ts: `Coder` as interface and SPL token coder (#1259) 2022-01-09 21:10:25 -05:00
Dominic Lee 6f4fe1dd11
ts: add missing types for conditional exports (#1137) 2022-01-03 11:51:27 +01:00
Paul b3720a0b84
lang, ts: fix init_if_needed missing ATA address check (#1221) 2022-01-01 21:47:13 -05:00
John Rees 69299fb723
ts: only read .json files when parsing IDLs (#1214) 2021-12-30 20:26:11 -05:00
Neco 483999e870
ts: remove deprecated commitment settings (#1128) 2021-12-20 10:51:02 +01:00
Paul d353ed133c
ts: ts-ignore crusade (#1174) 2021-12-19 19:16:49 -05:00
Paul af926876c5
ts: add optional commitment arg (#1171) 2021-12-19 11:28:39 -05:00
man0s 561f7cdaa8
Change AccoutNotProgramOwned error to AccountOwnedByWrongProgram (#1154) 2021-12-17 13:34:43 +01:00
0xCryptoSheik a7e80079da
fix: translateAddress should not rely on PublicKey constructor nam (#1138) 2021-12-15 02:20:26 +01:00
Paul 423ddde30a
lang: Always execute constraints for init_if_needed (#1096) 2021-12-08 16:50:08 -05:00
Dominic Lee bef1bd8b80
ts: add getAccountInfo helper method to account namespace/client (#1084) 2021-12-08 15:05:52 +01:00
Jeduan Cornejo 0f8de4f6af
ts: Create a minified browser build (#1108) 2021-12-07 15:16:46 -05:00
Paul 3321a3f9c9
lang: Add ProgramData account (#1095) 2021-12-05 14:14:16 -05:00
Paul 517838e494
ts: Better public key error msgs (#1098) 2021-12-04 15:01:50 -05:00
Tom Linton 6bc59350de
lang: Add constant attribute (#956) 2021-12-03 18:49:38 -05:00
Vladimir Guguiev 5e8d335599
ts: Improve native ESM compatibility (#1053) 2021-11-28 08:02:58 -08:00
Armani Ferrante c868b91e93
ts: Add bool, u128, i128 for idl types (#1042) 2021-11-19 07:14:43 -08:00
Mikhail Gorbachev 2d44654a4b
lang: Add `AccountNotInitialized` error (#1024) 2021-11-18 07:42:07 -08:00
Swift e7e8f4da9b
ts: Remove console logs from Node package (#1031) 2021-11-17 14:58:26 -08:00
SolanaMonkeyBusiness c188846a4b
ts: Add postInstructions (#1007) 2021-11-14 06:45:03 -08:00
Matthew Callens 20726d06bd
lang: Add `SystemAccount<'info>` Account Type (#954) 2021-10-30 11:45:06 -05:00
Matthew Callens ec26966340
ts: Capitalize account discriminator in `AccountCoder` (#931) 2021-10-27 11:09:40 -07:00
Maximilian Schneider 0aeaac7c23
ts: Improve error message (#891) 2021-10-17 17:51:55 -07:00
Pierre 39791dc4af
ts: Fix empty instructions array (#877) 2021-10-13 09:47:16 -07:00
Pierre ee190595ac
ts: Update types to work for vec and array (#862) 2021-10-10 09:04:46 -07:00