Skip to content

Conversation

@martiliones
Copy link
Collaborator

Fixed

transforms object from:

const blocks = await api.getTransactions({
  fromHeight: 7585271,
  and: {
    toHeight: 7586280,
  },
  or: {
    senderId: 'U18132012621449491414',
  }
});

to

fromHeight=7585271&and:toHeight=7586280&or:senderId=U18132012621449491414

Added

  • Export transformTransactionQuery function

@martiliones martiliones requested a review from bludnic January 26, 2024 04:04
@adamant-al
Copy link
Member

@martiliones

Check it.

@martiliones martiliones requested a review from bludnic February 29, 2024 20:49
@martiliones martiliones merged commit 5621fd4 into dev Mar 2, 2024
martiliones added a commit that referenced this pull request Mar 18, 2024
* feat: export validator utils

* chore: bump a version

* fix(typescript): represent transaction id as a string (#52)

* fix: remove preinstall npm script (#53)

* fix: remove preinstall npm script

* chore: bump a version

* Fix/transaction query (#51)

* chore(CHANGELOG): v2.3.0
martiliones added a commit that referenced this pull request Apr 29, 2024
* feat: export validator utils

* chore: bump a version

* fix(typescript): represent transaction id as a string (#52)

* fix: remove preinstall npm script (#53)

* fix: remove preinstall npm script

* chore: bump a version

* Fix/transaction query (#51)

* chore(CHANGELOG): v2.3.0

* fix: health check bugs

* fix: health check works only for one random node

* fix(healthCheck): logging non existing extra attempt

* fix(healthCheck): logging right amount of total nodes

* fix(healthCheck): node failed with `undefined` status code

* chore: fix grammar

* chore: bump a version

* docs: update changelog
martiliones added a commit that referenced this pull request Jun 6, 2024
* feat: export validator utils

* chore: bump a version

* fix(typescript): represent transaction id as a string (#52)

* fix: remove preinstall npm script (#53)

* fix: remove preinstall npm script

* chore: bump a version

* Fix/transaction query (#51)

* chore(CHANGELOG): v2.3.0

* fix: health check bugs

* fix: health check works only for one random node

* fix(healthCheck): logging non existing extra attempt

* fix(healthCheck): logging right amount of total nodes

* fix(healthCheck): node failed with `undefined` status code

* chore: fix grammar

* chore: bump a version

* docs: update changelog

* fix: `api.voteForDelegate()` (#57)

* fix(): vote validation for public keys and delegate names

* chore(): update JSDoc example

* chore: bump a version

* chore: clean up

* chore(`api.voteForDelegate`): make validation errors more clear

* fix: double error message

* feat(`voteForDelegate`): validate votes directions

* chore(`voteForDelegate`): add JSDoc for `passphrase` param

* feat(`voteForDelegate`): check if address is a delegate

* chore: bump a version and update CHANGELOG (#60)

* chore: bump a version and update CHANGELOG

* chore: update dependencies
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.

4 participants