Commit Graph

243 Commits

Author SHA1 Message Date
Christian Kamm 01106c1bb1 Simulate: Don't require wallet signature 2022-07-14 10:23:44 +02:00
Armani Ferrante 0b4c7b0c73
v0.24.2 (#1788) 2022-04-13 19:44:18 -04:00
Armani Ferrante d491f0ba1d
v0.24.1 (#1779) 2022-04-12 18:50:33 -04:00
Paul fb149f96a1
update yarn lockfile, fix cli template, and fix ci (#1770) 2022-04-12 15:02:06 -04:00
Armani Ferrante b0f263214d
v0.24.0 (#1769) 2022-04-12 10:52:06 -04:00
Paul 537d470954
ts: make `Provider` an interface, add `AnchorProvider` class, and update provider functions (#1707) 2022-04-11 15:48:58 -04:00
Krešimir Klas 12f6541486
ts: export error types (#1756) 2022-04-11 11:25:59 -04:00
DFL Zeke 7d611ac46f
ts: fix program upgrade event crashes existing listeners (#1757) 2022-04-11 09:38:43 -04:00
Armani Ferrante 032525c212
ts: use modern gma api (#1753) 2022-04-10 16:05:52 -04:00
Matthew Callens d1ddf8ee24
ts: add `pubkeys` method builder function to view all instruction account addresses (#1733)
Co-authored-by: Paul Schaaf <paulsimonschaaf@gmail.com>
2022-04-10 13:19:56 -04:00
Armani Ferrante a89d2468d0
Revert "ts: Add data type to clients in `AccountNamespace` (#1358)" (#1739) 2022-04-06 15:39:41 -04:00
Harshal Sheth 423223d5bf
ts: Add data type to clients in `AccountNamespace` (#1358) 2022-04-06 13:16:20 -04:00
Tom Linton 8fb942efd5
ts: Add views (#1695) 2022-04-03 19:15:06 -04:00
matias-la 3e0f641c66
ts: remove find^0.3.0 unused dependency (#1709) 2022-03-30 22:35:13 -04:00
Pierre 237dbbe42e
Add coption to DecodeType (#1699) 2022-03-30 21:43:29 -04:00
Tom Linton 1cb7429fe2
lang: Allow CPI return values (#1598) 2022-03-24 14:40:38 -04:00
Krešimir Klas 946fa23538
ts: fix type for accounts field in Idl (#1542) 2022-03-22 21:43:51 -04:00
Paul 4b4b8007fb
update lockfiles (#1662) 2022-03-21 00:47:56 -04:00
Armani Ferrante e66c0466b6
fix typedoc version (#1661) 2022-03-20 23:51:28 -04:00
Armani Ferrante 77b1afcf2f
v0.23.0 (#1660) 2022-03-20 23:30:55 -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
Armani Ferrante b733610d87
v0.22.1 (#1528) 2022-02-28 11:35:59 -05:00
Armani Ferrante 24ccaea903
v0.22.0 (#1484) 2022-02-20 20:32:38 -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
dependabot[bot] 6d3a7e54ec
build(deps): bump trim-off-newlines from 1.0.1 to 1.0.3 in /ts (#1418) 2022-02-08 17:34:21 -05:00
dependabot[bot] b66761d488
build(deps): bump node-fetch from 2.6.1 to 2.6.7 in /ts (#1417) 2022-02-08 17:34:02 -05:00
Armani Ferrante ef1a58d665
v0.21.0 (#1403) 2022-02-07 20:10:49 -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
Alberto Ruiz 1f95929f1d
docs: add webpack 5 note on @project-serum/anchor (#1320) 2022-01-15 11:32:40 -05:00
xjcaa f34287e399
ts: remove event error log (#1313) 2022-01-14 11:02:15 -05:00