Commit Graph

349 Commits

Author SHA1 Message Date
czkz c96846fce2
ts: Fix incorrect `maxSupportedTransactionVersion` in `AnchorProvider.send*()` methods (#2922) 2024-04-23 18:39:18 +02:00
acheron fefa69519f
ts: Upgrade `@babel/traverse` to 7.24.1 (#2919) 2024-04-20 19:03:16 +02:00
acheron 852fcc77be
v0.30.0 (#2909) 2024-04-15 17:20:01 +02:00
acheron 95c4959287
ts: Add missing errors (#2906) 2024-04-14 00:00:41 +02:00
acheron da2d9a4045
idl: Store deployment addresses for other clusters (#2892) 2024-04-06 23:39:53 +02:00
dongjinlong c2cd5a99aa
Fix typos in comments (#2868) 2024-03-27 23:59:38 +01:00
Taylor Johnson 4393d73d3d
ts: Add optional `prepend` parameter to `preInstructions` method (#2863) 2024-03-24 14:39:57 +01:00
acheron 7c424ee58a
ts: Remove `programId` parameter of the `Program` constructor (#2864) 2024-03-22 01:51:26 +01:00
acheron ddcb3b8260
ts: Make `opts` parameter of `AnchorProvider` constructor optional (#2843) 2024-03-14 23:59:39 +01:00
acheron d9a9f19394
Fix IDL (#2824)
* Rewrite IDL type spec

* Rewrite IDL generation

* Partially rewrite the TS package with the new IDL, improved account resolution and types
2024-03-10 14:22:23 +01:00
cui fliter 3e2cd0004c
Fix typos in comments (#2830) 2024-03-05 22:42:14 +01:00
Jayden Park 253501aa89
ts: Correctly construct field layout for type aliases (#2821) 2024-02-19 20:59:48 +01:00
0xabhinav 211982affc
ts: Fix formatting enums (#2763)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2024-01-09 13:47:59 +01:00
Neutron 1a6b5066df
ts: Add IDL seed types (#2752)
Signed-off-by: Shiva953 <b22070@students.iitmandi.ac.in>
Co-authored-by: acheron <acheroncrypto@gmail.com>
2024-01-04 18:42:29 +01:00
acheron de9901b5fd
ts: Remove deprecated `associated` methods (#2749) 2023-12-27 18:35:54 +01:00
Joe C 13fc0bb915
lang: Add `#[interface]` attribute for overriding the default discriminator (#2728) 2023-12-17 23:57:57 +01:00
chalda 61244a86dc
Change default local test-validator address from localhost to 127.0.0.1 (#2725) 2023-12-11 23:29:01 +01:00
acheron dfee9589fd
ts: Remove `anchor-deprecated-state` feature (#2717) 2023-12-03 11:24:40 +01:00
acheron 5a655b0f65
ts: Use workspace dependencies and fix tests (#2685) 2023-10-27 00:59:11 +02:00
Sean Young 749c45a2d9
Fixes for Solidity/Solang (#2677) 2023-10-24 15:59:34 +02:00
acheron fc9fd6d24b
v0.29.0 (#2672) 2023-10-16 18:35:17 +02:00
acheron d1e32674d5
Add type alias support (#2637) 2023-09-27 22:59:29 +02:00
acheron 28adaf2343
ts: Remove `base64-js` dependency (#2635) 2023-09-25 23:36:58 +02:00
acheron fdda604d41
ts: Add strong type support for `addEventListener` (#2627) 2023-09-13 00:12:41 +02:00
acheron a5e4c02de0
ts: Bump packages to `0.28.1-beta.2` (#2616) 2023-08-27 10:21:17 +02:00
acheron 454f1dd044
ts: Add support for unnamed(tuple) enum in accounts (#2601) 2023-08-13 16:50:28 +02:00
Pierre df3e95925b
chore: Use @noble/hashes/sha256 rather than obscure package (#2580) 2023-07-26 23:56:12 +02:00
acheron 5eb678a8bf
ts: Lazy load workspace programs and improve program name accessor (#2579) 2023-07-25 23:52:26 +02:00
acheron d41e513351
ts: Bump packages to `0.28.1-beta.1` (#2539) 2023-06-21 23:32:14 +02:00
acheron 9d947cb26b
ts: Remove usage of `assert` (#2535) 2023-06-17 21:19:42 +02:00
acheron e1afcbf71e
v0.28.0 (#2527) 2023-06-09 18:00:35 +02:00
Sergo a88be4209a
ts: Validate `error.data` exists on simulation response (#2508) 2023-06-06 13:07:33 +02:00
Noah Gundotra 23b90bffc0
Feature: CPI Events API (#2438)
Co-authored-by: acheron <acheroncrypto@gmail.com>
2023-05-26 18:36:46 +02:00
James 9a93a2eccc
ts: Improve IDL typing (#2482)
* Use XOR pattern for enum variants to prevent two variants being used at the same time.

* Fix unknown for types like Option<[u8; 32]>
2023-05-08 11:17:51 +02:00
Marquelle N f307729bdc
Narrow AccountClient to it's appropriate type (#2440) 2023-03-24 13:09:34 -05:00
Henry-E 3b45144787
v0.27.0 (#2428) 2023-03-08 13:28:23 +00:00
Henry-E 30083bd83c
Simple versioned transaction support (#2427) 2023-03-07 15:08:29 +00:00
Henry-E 1dc16d6642
Revert "Simple Versioned Transaction Support (#2407)" (#2426)
This reverts commit 064dde4b1a.
2023-03-06 12:22:58 +00:00
Henry-E 064dde4b1a
Simple Versioned Transaction Support (#2407) 2023-03-06 12:07:24 +00:00
dependabot[bot] 975e38960b
Bump json5 from 2.2.1 to 2.2.3 in /ts (#2410)
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-01 16:01:12 +00:00
Marquelle Nesbitt 37cc99c2b6
Make the return type of `AccountClient.fetchMultiple` consistent (#2390) 2023-02-07 20:28:43 +00:00
nojob1 cb680809f0
make idl enum fields which are snake case have proper typing to camel case (#2378) 2023-02-01 11:56:12 +00:00
Jean Marchand (Exotic Markets) 5f9b5905dc
ts: remove duplicate functions (#2357) 2023-01-24 10:39:31 +00:00
Andrey Frolov 79a066661c
inroduce idl account getter (#2367) 2023-01-23 12:25:28 +00:00
Christian Kamm e3fe24f925
Simulate: Don't attempt to sign transaction (#2331) 2023-01-17 09:57:47 +00:00
Jean Marchand (Exotic Markets) 38bbb21c33
lang: remove the state and interface attributes (#2285) 2022-12-22 16:33:44 +00:00
Henry-E 4bef8c40ef
Switch to using @coral-xyz/anchor packages (#2318) 2022-12-16 13:21:50 +00:00
Henry-E 9f3d66ff8c
post release clean up (#2317)
Co-authored-by: henrye <henry@notanemail>
2022-12-15 18:44:12 +00:00
Henry-E 347c225a27
v0.26.0 (#2315)
* v0.26.0

* update packages

* typedocs

Co-authored-by: henrye <henry@notanemail>
2022-12-15 16:12:22 +00:00
Jean Marchand (Exotic Markets) fad05805d8
spl: change serum-dex to openbook-dex (#2308)
* Change serum-dex by openbook-dex

* Change serum-dex by openbook-dex in tests

* Fix swap

* Fix cfo

* Downgrade openbook

* Disable cfo and update changelog

* Revert lock file

* minor grammar

* update the pubkey to open dex

* Remove @solana/web3.js from ts package.json

Co-authored-by: Henry-E <henry.elder@adaptcentre.ie>
Co-authored-by: henrye <henry@notanemail>
2022-12-12 16:12:33 +00:00