* chore: create a first-class type to distinguish client subscription ids from server subscription ids * chore: add fast-stable-stringify as a dependency to web3.js * fix: reimplement the subscription tracker as a state machine * test: updated tests to recognize that signatureUnsubscribe happens synchronously * chore: add sinon-chai so that we can make assertions on calling spies * test: coverage for the full range of subscription state transitions * fix: special case auto-disposing subscriptions like signatureSubscribe * fix: document Subscription type (SQUASH THIS) * fix: strict undefined checks (SQUASH THIS) * fix: naming (SQUASH THIS) * fix: move defaulting to source (SQUASH THIS) * fix: build RPC args first, then produce the subscription topic hash (SQUASH THIS) * fix: dispose handles no longer track whether they've been called (SQUASH THIS) * fix: shore up the auto-disposing sub tests now that double-free doesn't fatal (SQUASH THIS) * fix: write documentation explaining how and why to apply a default commitment (SQUASH THIS) * fix: skip subscriptions that have been deleted when recursing (SQUASH THIS) * fix: bail on async responses when the connection has been recycled (SQUASH THIS) * fix: typo in comment (SQUASH THIS) * chore: comment on why notification callbacks are ts-ignored * chore: start all the new stuff out as private members of the Connection class |
||
---|---|---|
.. | ||
fixtures/noop-program | ||
mocks | ||
.gitignore | ||
account.test.ts | ||
agent-manager.test.ts | ||
bpf-loader.test.ts | ||
cluster.test.ts | ||
compute-budget.test.ts | ||
connection-subscriptions.test.ts | ||
connection.test.ts | ||
ed25519-program.test.ts | ||
epoch-schedule.test.ts | ||
keypair.test.ts | ||
nonce.test.ts | ||
publickey.test.ts | ||
secp256k1-program.test.ts | ||
shortvec-encoding.test.ts | ||
stake-program.test.ts | ||
system-program.test.ts | ||
transaction-payer.test.ts | ||
transaction.test.ts | ||
url.ts | ||
validator-info.test.ts | ||
vote-program.test.ts | ||
websocket.test.ts |