44 Commits

Author SHA1 Message Date
Justin Starry
2ef2b6daa0
fix: remove buggy node polyfill plugin (#18531)
* fix: remove buggy node polyfill plugin

* fix websocket test

* remove assert dependency
2021-07-09 00:33:41 -05:00
Justin Starry
4fb1c9da26
fix: update buffer-layout to fix downstream bundler issues (#18529)
* fix: update buffer-layout to fix downstream bundler issues

* chore: run check on generated type declaration
2021-07-08 20:01:11 -05:00
Lieu Zheng Hong
d47990e753
feat: add decodeUnchecked to borsh-schema.ts (#17620) 2021-06-02 13:43:01 +02:00
Alexey Elizarov
94fffee158
feat(web3): add ability to pass different websocket endpoint #17387 (#17556) 2021-05-27 14:57:32 -07:00
Jon Cinque
00e198d169
feat: add borsh utilities and public key support (#17239)
* feat: add borsh utilities and public key support

* fix: make bn internal for flow

* fix: add Buffer import in borsh file
2021-05-18 19:33:06 +02:00
Josh Hundley
0f3045fb68 feat: update api urls 2021-05-14 16:20:39 -06:00
Justin Starry
f43f0afa55
feat: add Keypair class and deprecate Account (#17098)
* feat: add Keypair class and deprecate Account

* chore: fix lint issues

* chore: rename TransactionSigner to Signer
2021-05-07 08:59:51 +00:00
Justin Starry
f912c63b22 chore: migrate to typescript 2021-03-17 10:26:00 +08:00
Justin Starry
08ff2d12f2 feat: add support for browser es modules 2021-02-08 07:57:05 +08:00
Michael Vines
bde1e3d004 fix: default preflight commitment to confirmation commitment 2020-11-16 21:54:02 -08:00
Justin Starry
11b199cccf
feat: use pubsub to confirm transactions (#12095) 2020-09-08 13:12:47 +08:00
Justin Starry
f31f66a7c3 fix: avoid double spend in sendAndConfirmTransaction 2020-06-19 15:25:41 +08:00
Justin Starry
8547ae43ce feat: add skipPreflight option 2020-06-14 21:57:04 -07:00
Justin Starry
839e93480c feat: update transaction confirming apis 2020-06-14 21:57:04 -07:00
Jack May
cd6b48a403 fix: adjust status retry algorithm 2020-06-14 21:57:04 -07:00
Justin Starry
3a2fe7fdbc feat: update getSignatureStatus methods 2020-06-14 21:57:04 -07:00
Justin Starry
b0316f82b5 feat: add err field to status results 2020-06-14 21:57:04 -07:00
Justin Starry
aeedd3867f feat: rename testnet util methods 2020-06-14 21:57:04 -07:00
Justin Starry
a571e3dc65 feat: update getSignatureStatus api 2020-06-14 21:57:04 -07:00
Justin Starry
1c31e527e2 feat: update getSignatureStatus 2020-06-14 21:57:04 -07:00
Michael Vines
65113d3669 fix: update devnet urls 2020-06-14 21:57:04 -07:00
Michael Vines
7d69cad81b fix: rename testnet.solana.com to devnet.solana.com 2020-06-14 21:57:04 -07:00
Justin Starry
6a7115b8bd fix: allow Uint8Array and Array<number> where Buffer is accepted 2020-06-14 21:57:04 -07:00
Justin Starry
189807f5a5 feat: add commitment param to JSON RPC API requests (#549)
* feat: add commitment param to json rpc requests

* fix: tests and examples

* fix: docs

* fix: epoch info test

* fix: budget example

* fix: test timeout

* fix: remove MAX_COMMITMENT and RECENT_COMMITMENT types
2020-06-14 21:57:04 -07:00
Michael Vines
d9f40bb879 fix: support http endpoints (#433) 2020-06-14 21:57:04 -07:00
Michael Vines
4dd8da8d8d fix: remove usage of api.*.testnet.solana.com 2020-06-14 21:57:04 -07:00
Michael Vines
a2cd9180b5 feat: add getSlotLeader()/getClusterNodes() 2020-06-14 21:57:04 -07:00
Tyera Eulberg
507fac06ee fix: Appease flow 2020-06-14 21:57:04 -07:00
Tyera Eulberg
7f72bbeba3 fix: Update signature status result type 2020-06-14 21:57:04 -07:00
Michael Vines
5c6c3a8ea8 fix: consider ticks_per_slot while sleeping 2020-06-14 21:57:04 -07:00
Tyera Eulberg
79bc47a631 fix: Add Transaction method to parse from wire fmt; update Transaction.serialize 2020-06-14 21:57:04 -07:00
Tyera Eulberg
ac6e503b35 fix: Add transaction encoding helper functions 2020-06-14 21:57:04 -07:00
Michael Vines
bc05966765 fix: resend transactions a couple times before giving up 2020-06-14 21:57:04 -07:00
Michael Vines
62c1efc955 fix: add testnetChannelEndpoint() 2020-06-14 21:57:04 -07:00
Michael Vines
2962eef2c7 fix: add sendAndConfirmRawTransaction() 2020-06-14 21:57:04 -07:00
Michael Vines
fa7e2722d1 fix: support multiple Transaction signatures 2020-06-14 21:57:04 -07:00
Michael Vines
1d6abb17cf refactor: employ prettier 2020-06-14 21:57:04 -07:00
Michael Vines
9a043344d5 fix: sendAndConfirmTransaction now returns the transaction signature 2020-06-14 21:57:04 -07:00
Michael Vines
0fbf024c8c fix: improve retry logic on AccountInUse 2020-06-14 21:57:04 -07:00
Michael Vines
4a39d25127 fix: remove circular imports 2020-06-14 21:57:04 -07:00
Michael Vines
90c9df15ef fix: retry transactions on AccountInUse errors 2020-06-14 21:57:04 -07:00
Michael Vines
5a42cadefe fix: fail faster on transaction errors 2020-06-14 21:57:04 -07:00
Michael Vines
70d22476cf fix: report elapsed duration on confirmation failure for better debug 2020-06-14 21:57:04 -07:00
Michael Vines
a596e99b4a feat: Add sendAndConfirmTransaction 2020-06-14 21:57:04 -07:00