Skip to content

4.2.0-0.2.0: [enhancement] - Expose Watched Items#191

Merged
lnbc1QWFyb24 merged 2 commits intodevelopfrom
enhancement/expose-watched-items
May 31, 2022
Merged

4.2.0-0.2.0: [enhancement] - Expose Watched Items#191
lnbc1QWFyb24 merged 2 commits intodevelopfrom
enhancement/expose-watched-items

Conversation

@lnbc1QWFyb24
Copy link
Copy Markdown
Collaborator

@lnbc1QWFyb24 lnbc1QWFyb24 commented May 30, 2022

Description

This PR:

  • Exposes the lists of watched items (watchedTransactions, watchedAccounts, configurations) to the public API rather than having them marked as private.
  • Fixes types so that this refers to the Blocknative class rather than any

These changes are needed to be able to create a multi-chain SDK that automatically closes connections if there are no longer any subscriptions associated with that connection.

Checklist

  • The version field in package.json is incremented following semantic versioning
  • The box that allows repo maintainers to update this PR is checked
  • I tested locally to make sure this feature/fix works

@lnbc1QWFyb24 lnbc1QWFyb24 changed the title Enhancement/expose watched items 4.2.0-0.2.0: [enhancement] - Expose Watched Items May 30, 2022
Copy link
Copy Markdown
Contributor

@Adamj1232 Adamj1232 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Copy link
Copy Markdown
Contributor

@dmarzzz dmarzzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@lnbc1QWFyb24 lnbc1QWFyb24 merged commit 1145377 into develop May 31, 2022
@lnbc1QWFyb24 lnbc1QWFyb24 deleted the enhancement/expose-watched-items branch May 31, 2022 23:46
dmarzzz added a commit that referenced this pull request Jun 9, 2022
* 4.0.0-0.1.0 : Add fantom network #173

* Add fantom network (fantom-main) to Network type in interfaces.ts  and networks object in defaults.ts

* Update version

* 4.0.0-0.1.1 - Test whether localStorage is accessible before performing operations (#172)

* 4.1.0 Release - Develop (#175)

* Update version

* Add gasGwei values

* Feature/ws simulate (#178)

4.1.0-0.1.0: Handles websocket simulation requests

* DEVELOP - Release/4.2.0 (#180)

4.2.0 Release

* 4.2.0-0.1.0 [Feature] Error Handling for UNSUPPORTED_CHAIN_MSG (#186)

* 4.2.0-0.1.0 [ feature ] : Mumbai testnet support (#185)

* add support for matic-mumbai

* add support for matic-mumbai

* add support for matic-mumbai

* v4.3.0

* Bump ajv from 6.12.2 to 6.12.6 (#182)

Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.12.2 to 6.12.6.
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](ajv-validator/ajv@v6.12.2...v6.12.6)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump minimist from 1.2.5 to 1.2.6 (#179)

Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Create issue-to-notion.yml (#177)

* 4.1.0 Release - Master (#174)

* 4.0.0-0.1.0 : Add fantom network #173

* Add fantom network (fantom-main) to Network type in interfaces.ts  and networks object in defaults.ts

* Update version

* 4.0.0-0.1.1 - Test whether localStorage is accessible before performing operations (#172)

* Update version

* Add gasGwei values

Co-authored-by: Aaron Barnard <abarnard@protonmail.com>
Co-authored-by: Arseniy Ivanov <138289+freeatnet@users.noreply.github.com>

* Create issue-to-notion.yml

Co-authored-by: Adam Carpenter <adamcarpenter86@gmail.com>
Co-authored-by: Aaron Barnard <abarnard@protonmail.com>
Co-authored-by: Arseniy Ivanov <138289+freeatnet@users.noreply.github.com>

* 4.2.0-0.2.0: [enhancement] - Expose Watched Items (#191)

* Expose watchedItems

* Increment version

* Fix eventCode error

Co-authored-by: Aaron Barnard <abarnard@protonmail.com>
Co-authored-by: Adam Carpenter <adamcarpenter86@gmail.com>
Co-authored-by: Arseniy Ivanov <138289+freeatnet@users.noreply.github.com>
Co-authored-by: Julie <julianapeace@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Taylor Dawson <taylorjdawson@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants