Skip to content

feat: support passing titleEscrowAddress to fetchEndorsementChain#80

Merged
nghaninn merged 1 commit into
mainfrom
feat/passing-titleEscrowAddress-to-fetchEndorsementChain
Jul 14, 2025
Merged

feat: support passing titleEscrowAddress to fetchEndorsementChain#80
nghaninn merged 1 commit into
mainfrom
feat/passing-titleEscrowAddress-to-fetchEndorsementChain

Conversation

@Moiz47

@Moiz47 Moiz47 commented Jul 10, 2025

Copy link
Copy Markdown
Contributor

Changes

  • fetchEndorsementChain method accepts optional titleEscrowAddress
  • If titleEscrowAddress present in param, removed re computation

Summary by CodeRabbit

  • New Features
    • Enhanced endorsement chain retrieval to optionally accept a title escrow address for greater flexibility.

@Moiz47 Moiz47 requested a review from nghaninn July 10, 2025 05:42
@coderabbitai

coderabbitai Bot commented Jul 10, 2025

Copy link
Copy Markdown
Contributor

Walkthrough

The fetchEndorsementChain function in useEndorsementChain.ts was updated to accept an optional titleEscrowAddress parameter. The function now conditionally uses this parameter or fetches the address as before, updating all internal references to use the resolved address.

Changes

File(s) Change Summary
src/core/endorsement-chain/useEndorsementChain.ts Updated fetchEndorsementChain to accept an optional titleEscrowAddress parameter and use it conditionally throughout the function.

Poem

A chain of trust, with keys in hand,
Now takes an address, just as planned.
If you know the way, you show the path—
If not, we fetch it, do the math!
Rabbits hop with code so neat,
Endorsements resolved, the loop’s complete.
🐇✨

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

npm error Exit handler never called!
npm error This is an error with npm itself. Please report this error at:
npm error https://github.com/npm/cli/issues
npm error A complete log of this run can be found in: /.npm/_logs/2025-07-10T05_43_57_079Z-debug-0.log

✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
src/core/endorsement-chain/useEndorsementChain.ts (1)

213-213: Consider validating the provided titleEscrowAddress.

While the optimization is beneficial, there's no validation that the provided titleEscrowAddress is valid or corresponds to the given tokenRegistryAddress and tokenId. An invalid address could lead to confusing error messages downstream.

Consider adding basic validation:

  const resolvedTitleEscrowAddress =
-    titleEscrowAddress ?? (await getTitleEscrowAddress(tokenRegistryAddress, tokenId, provider));
+    titleEscrowAddress ?? (await getTitleEscrowAddress(tokenRegistryAddress, tokenId, provider));
+
+  // Optional: Validate the provided address is valid
+  if (titleEscrowAddress && !ethers.utils.isAddress(titleEscrowAddress)) {
+    throw new Error('Invalid titleEscrowAddress provided');
+  }
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c125eb2 and ba81a58.

📒 Files selected for processing (1)
  • src/core/endorsement-chain/useEndorsementChain.ts (2 hunks)
🧰 Additional context used
🧬 Code Graph Analysis (1)
src/core/endorsement-chain/useEndorsementChain.ts (3)
src/core/endorsement-chain/types.ts (1)
  • EndorsementChain (63-63)
src/core/endorsement-chain/fetchEscrowTransfer.ts (2)
  • fetchEscrowTransfersV4 (21-40)
  • fetchEscrowTransfersV5 (42-60)
src/core/endorsement-chain/helpers.ts (1)
  • mergeTransfersV4 (28-59)
🔇 Additional comments (5)
src/core/endorsement-chain/useEndorsementChain.ts (5)

203-203: LGTM: Function signature enhancement maintains backward compatibility.

The addition of the optional titleEscrowAddress parameter is well-designed and maintains backward compatibility while enabling the performance optimization described in the PR objectives.


208-209: LGTM: Efficient conditional resolution logic.

The use of the nullish coalescing operator (??) properly implements the optimization by using the provided address when available or falling back to the existing computation logic. This achieves the stated goal of skipping re-computation when the address is already known.


218-218: LGTM: Consistent usage of resolved address.

The function call correctly uses the resolvedTitleEscrowAddress to maintain consistency with the optimization pattern.


233-233: LGTM: Proper integration with V4 transfer fetching.

The call to fetchEscrowTransfersV4 correctly uses the resolved address, maintaining the optimization benefit.


240-240: LGTM: Proper integration with V5 transfer fetching.

The call to fetchEscrowTransfersV5 correctly uses the resolved address, completing the optimization implementation across both versions.

@nghaninn nghaninn merged commit aa7b4f0 into main Jul 14, 2025
20 checks passed
@nghaninn nghaninn deleted the feat/passing-titleEscrowAddress-to-fetchEndorsementChain branch July 14, 2025 07:52
nghaninn pushed a commit that referenced this pull request Jul 14, 2025
## [1.6.0](v1.5.5...v1.6.0) (2025-07-14)

### Features

* support passing titleEscrowAddress to fetchEndorsementChain ([#80](#80)) ([aa7b4f0](aa7b4f0))
@nghaninn

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

RishabhS7 added a commit that referenced this pull request Jul 23, 2025
* fix: add w3c credential status check (#72)

* fix: add w3c credential status check

* fix: update test

* fix: update enum status codes

* fix: remove console

* chore(release): 1.5.4 [skip ci]

## [1.5.4](v1.5.3...v1.5.4) (2025-06-17)

### Bug Fixes

* add w3c credential status check ([#72](#72)) ([0111cb3](0111cb3))

* fix: upgrade package (#73)

* chore(release): 1.5.5 [skip ci]

## [1.5.5](v1.5.4...v1.5.5) (2025-06-18)

### Bug Fixes

* upgrade package ([#73](#73)) ([3c6c9c7](3c6c9c7))

* feat: support passing titleEscrowAddress to fetchEndorsementChain (#80)

Co-authored-by: moiz-sgtradex <moiz.shaikh@sgtradextech.com>

* chore(release): 1.6.0 [skip ci]

## [1.6.0](v1.5.5...v1.6.0) (2025-07-14)

### Features

* support passing titleEscrowAddress to fetchEndorsementChain ([#80](#80)) ([aa7b4f0](aa7b4f0))

* feat: add astron v5 (#81)

Co-authored-by: maxufeng <maxufeng@caict.ac.cn>

* chore(release): 1.7.0 [skip ci]

## [1.7.0](v1.6.0...v1.7.0) (2025-07-15)

### Features

* add astron v5 ([#81](#81)) ([0bebeae](0bebeae))

---------

Co-authored-by: RishabhS7 <59636880+RishabhS7@users.noreply.github.com>
Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: Ng Han Inn <43451336+nghaninn@users.noreply.github.com>
Co-authored-by: moiz-sgtradex <moiz.shaikh@sgtradextech.com>
Co-authored-by: caict-develop-zhangbo <68949988+caict-develop-zhangbo@users.noreply.github.com>
Co-authored-by: maxufeng <maxufeng@caict.ac.cn>
nghaninn pushed a commit that referenced this pull request Jul 23, 2025
## [1.6.0-alpha.4](v1.6.0-alpha.3...v1.6.0-alpha.4) (2025-07-23)

### Bug Fixes

* trigger release ([#86](#86)) ([d2fb6fb](d2fb6fb))

### Miscellaneous Chores

* merge main into v1  ([#85](#85)) ([b81b422](b81b422)), closes [#72](#72) [#72](#72) [#73](#73) [#73](#73) [#80](#80) [#80](#80) [#81](#81) [#81](#81)
Moiz47 added a commit that referenced this pull request Jul 30, 2025
* fix: add w3c credential status check (#72)

* fix: add w3c credential status check

* fix: update test

* fix: update enum status codes

* fix: remove console

* chore(release): 1.5.4 [skip ci]

## [1.5.4](v1.5.3...v1.5.4) (2025-06-17)

### Bug Fixes

* add w3c credential status check ([#72](#72)) ([0111cb3](0111cb3))

* fix: upgrade package (#73)

* chore(release): 1.5.5 [skip ci]

## [1.5.5](v1.5.4...v1.5.5) (2025-06-18)

### Bug Fixes

* upgrade package ([#73](#73)) ([3c6c9c7](3c6c9c7))

* feat: support passing titleEscrowAddress to fetchEndorsementChain (#80)

Co-authored-by: moiz-sgtradex <moiz.shaikh@sgtradextech.com>

* chore(release): 1.6.0 [skip ci]

## [1.6.0](v1.5.5...v1.6.0) (2025-07-14)

### Features

* support passing titleEscrowAddress to fetchEndorsementChain ([#80](#80)) ([aa7b4f0](aa7b4f0))

* feat: add astron v5 (#81)

Co-authored-by: maxufeng <maxufeng@caict.ac.cn>

* chore(release): 1.7.0 [skip ci]

## [1.7.0](v1.6.0...v1.7.0) (2025-07-15)

### Features

* add astron v5 ([#81](#81)) ([0bebeae](0bebeae))

* fix: update tradetrust-tt/tradetrust package (#87)

* fix: update tradetrust-tt/tradetrust package

* fix: update version

* fix: update imports

* chore(release): 1.7.1 [skip ci]

## [1.7.1](v1.7.0...v1.7.1) (2025-07-25)

### Bug Fixes

* update tradetrust-tt/tradetrust package ([#87](#87)) ([e4f75a4](e4f75a4))

* fix: upgrade packages (#88)

* chore(release): 1.7.2 [skip ci]

## [1.7.2](v1.7.1...v1.7.2) (2025-07-28)

### Bug Fixes

* upgrade packages ([#88](#88)) ([0cc314e](0cc314e))

* fix: error message types (#89)

* chore(release): 1.7.3 [skip ci]

## [1.7.3](v1.7.2...v1.7.3) (2025-07-28)

### Bug Fixes

* error message types ([#89](#89)) ([d83bada](d83bada))

* fix: upgrade packages (#90)

* chore(release): 1.7.4 [skip ci]

## [1.7.4](v1.7.3...v1.7.4) (2025-07-29)

### Bug Fixes

* upgrade packages ([#90](#90)) ([758651d](758651d))

---------

Co-authored-by: RishabhS7 <59636880+RishabhS7@users.noreply.github.com>
Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: Ng Han Inn <43451336+nghaninn@users.noreply.github.com>
Co-authored-by: moiz-sgtradex <moiz.shaikh@sgtradextech.com>
Co-authored-by: caict-develop-zhangbo <68949988+caict-develop-zhangbo@users.noreply.github.com>
Co-authored-by: maxufeng <maxufeng@caict.ac.cn>
nghaninn added a commit that referenced this pull request Jul 30, 2025
* fix: add w3c credential status check (#72)

* fix: add w3c credential status check

* fix: update test

* fix: update enum status codes

* fix: remove console

* chore(release): 1.5.4 [skip ci]

## [1.5.4](v1.5.3...v1.5.4) (2025-06-17)

### Bug Fixes

* add w3c credential status check ([#72](#72)) ([0111cb3](0111cb3))

* fix: upgrade package (#73)

* chore(release): 1.5.5 [skip ci]

## [1.5.5](v1.5.4...v1.5.5) (2025-06-18)

### Bug Fixes

* upgrade package ([#73](#73)) ([3c6c9c7](3c6c9c7))

* feat: support passing titleEscrowAddress to fetchEndorsementChain (#80)

Co-authored-by: moiz-sgtradex <moiz.shaikh@sgtradextech.com>

* chore(release): 1.6.0 [skip ci]

## [1.6.0](v1.5.5...v1.6.0) (2025-07-14)

### Features

* support passing titleEscrowAddress to fetchEndorsementChain ([#80](#80)) ([aa7b4f0](aa7b4f0))

* feat: add astron v5 (#81)

Co-authored-by: maxufeng <maxufeng@caict.ac.cn>

* chore(release): 1.7.0 [skip ci]

## [1.7.0](v1.6.0...v1.7.0) (2025-07-15)

### Features

* add astron v5 ([#81](#81)) ([0bebeae](0bebeae))

* fix: update tradetrust-tt/tradetrust package (#87)

* fix: update tradetrust-tt/tradetrust package

* fix: update version

* fix: update imports

* chore(release): 1.7.1 [skip ci]

## [1.7.1](v1.7.0...v1.7.1) (2025-07-25)

### Bug Fixes

* update tradetrust-tt/tradetrust package ([#87](#87)) ([e4f75a4](e4f75a4))

* fix: upgrade packages (#88)

* chore(release): 1.7.2 [skip ci]

## [1.7.2](v1.7.1...v1.7.2) (2025-07-28)

### Bug Fixes

* upgrade packages ([#88](#88)) ([0cc314e](0cc314e))

* fix: error message types (#89)

* chore(release): 1.7.3 [skip ci]

## [1.7.3](v1.7.2...v1.7.3) (2025-07-28)

### Bug Fixes

* error message types ([#89](#89)) ([d83bada](d83bada))

* fix: upgrade packages (#90)

* chore(release): 1.7.4 [skip ci]

## [1.7.4](v1.7.3...v1.7.4) (2025-07-29)

### Bug Fixes

* upgrade packages ([#90](#90)) ([758651d](758651d))

---------

Co-authored-by: RishabhS7 <59636880+RishabhS7@users.noreply.github.com>
Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: Ng Han Inn <43451336+nghaninn@users.noreply.github.com>
Co-authored-by: moiz-sgtradex <moiz.shaikh@sgtradextech.com>
Co-authored-by: caict-develop-zhangbo <68949988+caict-develop-zhangbo@users.noreply.github.com>
Co-authored-by: maxufeng <maxufeng@caict.ac.cn>
RishabhS7 added a commit that referenced this pull request Aug 14, 2025
* fix: add w3c credential status check (#72)

* fix: add w3c credential status check

* fix: update test

* fix: update enum status codes

* fix: remove console

* chore(release): 1.5.4 [skip ci]

## [1.5.4](v1.5.3...v1.5.4) (2025-06-17)

### Bug Fixes

* add w3c credential status check ([#72](#72)) ([0111cb3](0111cb3))

* fix: upgrade package (#73)

* chore(release): 1.5.5 [skip ci]

## [1.5.5](v1.5.4...v1.5.5) (2025-06-18)

### Bug Fixes

* upgrade package ([#73](#73)) ([3c6c9c7](3c6c9c7))

* feat: support passing titleEscrowAddress to fetchEndorsementChain (#80)

Co-authored-by: moiz-sgtradex <moiz.shaikh@sgtradextech.com>

* chore(release): 1.6.0 [skip ci]

## [1.6.0](v1.5.5...v1.6.0) (2025-07-14)

### Features

* support passing titleEscrowAddress to fetchEndorsementChain ([#80](#80)) ([aa7b4f0](aa7b4f0))

* feat: add astron v5 (#81)

Co-authored-by: maxufeng <maxufeng@caict.ac.cn>

* chore(release): 1.7.0 [skip ci]

## [1.7.0](v1.6.0...v1.7.0) (2025-07-15)

### Features

* add astron v5 ([#81](#81)) ([0bebeae](0bebeae))

---------

Co-authored-by: RishabhS7 <59636880+RishabhS7@users.noreply.github.com>
Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: Ng Han Inn <43451336+nghaninn@users.noreply.github.com>
Co-authored-by: moiz-sgtradex <moiz.shaikh@sgtradextech.com>
Co-authored-by: caict-develop-zhangbo <68949988+caict-develop-zhangbo@users.noreply.github.com>
Co-authored-by: maxufeng <maxufeng@caict.ac.cn>
RishabhS7 pushed a commit that referenced this pull request Aug 14, 2025
## [1.6.0-alpha.4](v1.6.0-alpha.3...v1.6.0-alpha.4) (2025-07-23)

### Bug Fixes

* trigger release ([#86](#86)) ([d2fb6fb](d2fb6fb))

### Miscellaneous Chores

* merge main into v1  ([#85](#85)) ([b81b422](b81b422)), closes [#72](#72) [#72](#72) [#73](#73) [#73](#73) [#80](#80) [#80](#80) [#81](#81) [#81](#81)
RishabhS7 added a commit that referenced this pull request Aug 14, 2025
* fix: add w3c credential status check (#72)

* fix: add w3c credential status check

* fix: update test

* fix: update enum status codes

* fix: remove console

* chore(release): 1.5.4 [skip ci]

* add w3c credential status check ([#72](#72)) ([0111cb3](0111cb3))

* fix: upgrade package (#73)

* chore(release): 1.5.5 [skip ci]

* upgrade package ([#73](#73)) ([3c6c9c7](3c6c9c7))

* feat: support passing titleEscrowAddress to fetchEndorsementChain (#80)

Co-authored-by: moiz-sgtradex <moiz.shaikh@sgtradextech.com>

* chore(release): 1.6.0 [skip ci]

* support passing titleEscrowAddress to fetchEndorsementChain ([#80](#80)) ([aa7b4f0](aa7b4f0))

* feat: add astron v5 (#81)

Co-authored-by: maxufeng <maxufeng@caict.ac.cn>

* chore(release): 1.7.0 [skip ci]

* add astron v5 ([#81](#81)) ([0bebeae](0bebeae))

* fix: update tradetrust-tt/tradetrust package (#87)

* fix: update tradetrust-tt/tradetrust package

* fix: update version

* fix: update imports

* chore(release): 1.7.1 [skip ci]

* update tradetrust-tt/tradetrust package ([#87](#87)) ([e4f75a4](e4f75a4))

* fix: upgrade packages (#88)

* chore(release): 1.7.2 [skip ci]

* upgrade packages ([#88](#88)) ([0cc314e](0cc314e))

* fix: error message types (#89)

* chore(release): 1.7.3 [skip ci]

* error message types ([#89](#89)) ([d83bada](d83bada))

* fix: upgrade packages (#90)

* chore(release): 1.7.4 [skip ci]

* upgrade packages ([#90](#90)) ([758651d](758651d))

---------

Co-authored-by: RishabhS7 <59636880+RishabhS7@users.noreply.github.com>
Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: Ng Han Inn <43451336+nghaninn@users.noreply.github.com>
Co-authored-by: moiz-sgtradex <moiz.shaikh@sgtradextech.com>
Co-authored-by: caict-develop-zhangbo <68949988+caict-develop-zhangbo@users.noreply.github.com>
Co-authored-by: maxufeng <maxufeng@caict.ac.cn>
rongquan1 added a commit that referenced this pull request Aug 15, 2025
* fix: add w3c credential status check (#72)

* fix: add w3c credential status check

* fix: update test

* fix: update enum status codes

* fix: remove console

* chore(release): 1.5.4 [skip ci]

## [1.5.4](v1.5.3...v1.5.4) (2025-06-17)

### Bug Fixes

* add w3c credential status check ([#72](#72)) ([0111cb3](0111cb3))

* fix: upgrade package (#73)

* chore(release): 1.5.5 [skip ci]

## [1.5.5](v1.5.4...v1.5.5) (2025-06-18)

### Bug Fixes

* upgrade package ([#73](#73)) ([3c6c9c7](3c6c9c7))

* feat: support passing titleEscrowAddress to fetchEndorsementChain (#80)

Co-authored-by: moiz-sgtradex <moiz.shaikh@sgtradextech.com>

* chore(release): 1.6.0 [skip ci]

## [1.6.0](v1.5.5...v1.6.0) (2025-07-14)

### Features

* support passing titleEscrowAddress to fetchEndorsementChain ([#80](#80)) ([aa7b4f0](aa7b4f0))

* feat: add astron v5 (#81)

Co-authored-by: maxufeng <maxufeng@caict.ac.cn>

* chore(release): 1.7.0 [skip ci]

## [1.7.0](v1.6.0...v1.7.0) (2025-07-15)

### Features

* add astron v5 ([#81](#81)) ([0bebeae](0bebeae))

* fix: update tradetrust-tt/tradetrust package (#87)

* fix: update tradetrust-tt/tradetrust package

* fix: update version

* fix: update imports

* chore(release): 1.7.1 [skip ci]

## [1.7.1](v1.7.0...v1.7.1) (2025-07-25)

### Bug Fixes

* update tradetrust-tt/tradetrust package ([#87](#87)) ([e4f75a4](e4f75a4))

* fix: upgrade packages (#88)

* chore(release): 1.7.2 [skip ci]

## [1.7.2](v1.7.1...v1.7.2) (2025-07-28)

### Bug Fixes

* upgrade packages ([#88](#88)) ([0cc314e](0cc314e))

* fix: error message types (#89)

* chore(release): 1.7.3 [skip ci]

## [1.7.3](v1.7.2...v1.7.3) (2025-07-28)

### Bug Fixes

* error message types ([#89](#89)) ([d83bada](d83bada))

* fix: upgrade packages (#90)

* chore(release): 1.7.4 [skip ci]

## [1.7.4](v1.7.3...v1.7.4) (2025-07-29)

### Bug Fixes

* upgrade packages ([#90](#90)) ([758651d](758651d))

* feat: token registry functions (#96)

* chore(release): 1.8.0 [skip ci]

## [1.8.0](v1.7.4...v1.8.0) (2025-07-30)

### Features

* token registry functions ([#96](#96)) ([6c379e9](6c379e9))

* fix: accept return function (#97)

* chore(release): 1.8.1 [skip ci]

## [1.8.1](v1.8.0...v1.8.1) (2025-08-07)

### Bug Fixes

* accept return function ([#97](#97)) ([6398017](6398017))

* fix: update edsa w3c verifier

* fix: update vefiable doc v2.0

* feat: token registry functions (#74)

* chore(release): 1.6.0-alpha.1 [skip ci]

## [1.6.0-alpha.1](v1.5.3...v1.6.0-alpha.1) (2025-06-30)

### Features

* token registry functions ([#74](#74)) ([5690fcd](5690fcd))

### Miscellaneous Chores

* back merge ([#75](#75)) ([7cc1891](7cc1891)), closes [#72](#72) [#72](#72) [#73](#73) [#73](#73)

* feat: mint function (#78)

* fix: add w3c credential status check (#72)

* fix: add w3c credential status check

* fix: update test

* fix: update enum status codes

* fix: remove console

* chore(release): 1.5.4 [skip ci]

## [1.5.4](v1.5.3...v1.5.4) (2025-06-17)

### Bug Fixes

* add w3c credential status check ([#72](#72)) ([0111cb3](0111cb3))

* fix: upgrade package (#73)

* chore(release): 1.5.5 [skip ci]

## [1.5.5](v1.5.4...v1.5.5) (2025-06-18)

### Bug Fixes

* upgrade package ([#73](#73)) ([3c6c9c7](3c6c9c7))

* feat: add transfer holder function

* feat: add transfer owners beneficiary

* chore: tests cleanup

* chore: tests cleanup

* fix: remove console

* fix: rever useendorement chain

* fix: remove console

* feat: add reject transfer functions

* chore: trigger rebuild after rebase

* chore(release): 1.5.4 [skip ci]

* add w3c credential status check ([#72](#72)) ([0111cb3](0111cb3))

* feat: add transfer holder function

* feat: add transfer owners beneficiary

* chore: tests cleanup

* fix: remove console

* fix: rever useendorement chain

* feat: add reject transfer functions

* chore: trigger rebuild after rebase

* chore: trigger rebuild after rebase

* feat: token registry return functions

* feat: add mint function

* fix: update fixes

* fix: update tests

* revert: revert changes

---------

Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: Ng Han Inn <43451336+nghaninn@users.noreply.github.com>

* feat: owner of function (#79)

* feat: add ownerOf function

* feat: add test cases

* fix: update test cases for ownerof function

* fix: update imports

* fix: update imports

* chore(release): 1.6.0-alpha.2 [skip ci]

## [1.6.0-alpha.2](v1.6.0-alpha.1...v1.6.0-alpha.2) (2025-07-15)

### Features

* mint function ([#78](#78)) ([2ea52ce](2ea52ce)), closes [#72](#72) [#72](#72) [#73](#73) [#73](#73) [#72](#72)
* owner of function ([#79](#79)) ([81d0e36](81d0e36))

* chore: e2e transfers tests (#82)

* feat: add ownerOf function

* feat: add test cases

* fix: update test cases for ownerof function

* chore: add e2e test for transfer functions

* chore: add e2e test for transfer functions

* feat: add ownerOf function

* feat: add test cases

* fix: update test cases for ownerof function

* chore: add e2e test for transfer functions

* chore: add e2e test for transfer functions

* fix: update mock tests

* fix: update mock test fixtures

* fix: update mock tests for mint and return

* fix: update test script

* fix: update imports

* fix: update gitignore

* fix: delete cache

* fix: update imports

* chore: e2e tests reject transfer (#83)

* chore: e2e tests for reject functions

* fix: reject function ethers v6 compatible

* fix: update imports

* fix: mock test cases

* fix: import fixed

* fix: e2e return token tests (#84)

* chore: e2e tests for reject functions

* fix: reject function ethers v6 compatible

* fix: update imports

* fix: mock test cases

* fix: static call fixes

* chore: add e2e test cases

* fix: update imports

* fix: update imports

* fix: tests

* fix: mock functions

* fix: change name

* fix: update imports

* fix: update src imports

* chore(release): 1.6.0-alpha.3 [skip ci]

## [1.6.0-alpha.3](v1.6.0-alpha.2...v1.6.0-alpha.3) (2025-07-18)

### Bug Fixes

* e2e return token tests ([#84](#84)) ([703be01](703be01))

### Miscellaneous Chores

* e2e tests reject transfer ([#83](#83)) ([58a8da2](58a8da2))
* e2e transfers tests ([#82](#82)) ([145e763](145e763))

* chore: merge main into v1  (#85)

* fix: add w3c credential status check (#72)

* fix: add w3c credential status check

* fix: update test

* fix: update enum status codes

* fix: remove console

* chore(release): 1.5.4 [skip ci]

## [1.5.4](v1.5.3...v1.5.4) (2025-06-17)

### Bug Fixes

* add w3c credential status check ([#72](#72)) ([0111cb3](0111cb3))

* fix: upgrade package (#73)

* chore(release): 1.5.5 [skip ci]

## [1.5.5](v1.5.4...v1.5.5) (2025-06-18)

### Bug Fixes

* upgrade package ([#73](#73)) ([3c6c9c7](3c6c9c7))

* feat: support passing titleEscrowAddress to fetchEndorsementChain (#80)

Co-authored-by: moiz-sgtradex <moiz.shaikh@sgtradextech.com>

* chore(release): 1.6.0 [skip ci]

## [1.6.0](v1.5.5...v1.6.0) (2025-07-14)

### Features

* support passing titleEscrowAddress to fetchEndorsementChain ([#80](#80)) ([aa7b4f0](aa7b4f0))

* feat: add astron v5 (#81)

Co-authored-by: maxufeng <maxufeng@caict.ac.cn>

* chore(release): 1.7.0 [skip ci]

## [1.7.0](v1.6.0...v1.7.0) (2025-07-15)

### Features

* add astron v5 ([#81](#81)) ([0bebeae](0bebeae))

---------

Co-authored-by: RishabhS7 <59636880+RishabhS7@users.noreply.github.com>
Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: Ng Han Inn <43451336+nghaninn@users.noreply.github.com>
Co-authored-by: moiz-sgtradex <moiz.shaikh@sgtradextech.com>
Co-authored-by: caict-develop-zhangbo <68949988+caict-develop-zhangbo@users.noreply.github.com>
Co-authored-by: maxufeng <maxufeng@caict.ac.cn>

* fix: trigger release (#86)

Co-authored-by: moiz-sgtradex <moiz.shaikh@sgtradextech.com>

* chore(release): 1.6.0-alpha.4 [skip ci]

## [1.6.0-alpha.4](v1.6.0-alpha.3...v1.6.0-alpha.4) (2025-07-23)

### Bug Fixes

* trigger release ([#86](#86)) ([d2fb6fb](d2fb6fb))

### Miscellaneous Chores

* merge main into v1  ([#85](#85)) ([b81b422](b81b422)), closes [#72](#72) [#72](#72) [#73](#73) [#73](#73) [#80](#80) [#80](#80) [#81](#81) [#81](#81)

* chore: rebase v1 with main (#95)

* fix: add w3c credential status check (#72)

* fix: add w3c credential status check

* fix: update test

* fix: update enum status codes

* fix: remove console

* chore(release): 1.5.4 [skip ci]

* add w3c credential status check ([#72](#72)) ([0111cb3](0111cb3))

* fix: upgrade package (#73)

* chore(release): 1.5.5 [skip ci]

* upgrade package ([#73](#73)) ([3c6c9c7](3c6c9c7))

* feat: support passing titleEscrowAddress to fetchEndorsementChain (#80)

Co-authored-by: moiz-sgtradex <moiz.shaikh@sgtradextech.com>

* chore(release): 1.6.0 [skip ci]

* support passing titleEscrowAddress to fetchEndorsementChain ([#80](#80)) ([aa7b4f0](aa7b4f0))

* feat: add astron v5 (#81)

Co-authored-by: maxufeng <maxufeng@caict.ac.cn>

* chore(release): 1.7.0 [skip ci]

* add astron v5 ([#81](#81)) ([0bebeae](0bebeae))

* fix: update tradetrust-tt/tradetrust package (#87)

* fix: update tradetrust-tt/tradetrust package

* fix: update version

* fix: update imports

* chore(release): 1.7.1 [skip ci]

* update tradetrust-tt/tradetrust package ([#87](#87)) ([e4f75a4](e4f75a4))

* fix: upgrade packages (#88)

* chore(release): 1.7.2 [skip ci]

* upgrade packages ([#88](#88)) ([0cc314e](0cc314e))

* fix: error message types (#89)

* chore(release): 1.7.3 [skip ci]

* error message types ([#89](#89)) ([d83bada](d83bada))

* fix: upgrade packages (#90)

* chore(release): 1.7.4 [skip ci]

* upgrade packages ([#90](#90)) ([758651d](758651d))

---------

Co-authored-by: RishabhS7 <59636880+RishabhS7@users.noreply.github.com>
Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: Ng Han Inn <43451336+nghaninn@users.noreply.github.com>
Co-authored-by: moiz-sgtradex <moiz.shaikh@sgtradextech.com>
Co-authored-by: caict-develop-zhangbo <68949988+caict-develop-zhangbo@users.noreply.github.com>
Co-authored-by: maxufeng <maxufeng@caict.ac.cn>

* fix: add w3c credential status check (#72)

* fix: add w3c credential status check

* fix: update test

* fix: update enum status codes

* fix: remove console

* chore(release): 1.5.4 [skip ci]

* add w3c credential status check ([#72](#72)) ([0111cb3](0111cb3))

* fix: upgrade package (#73)

* chore(release): 1.5.5 [skip ci]

* upgrade package ([#73](#73)) ([3c6c9c7](3c6c9c7))

* fix: update edsa w3c verifier

* fix: resolve conflicts

* fix: rebase

* fix: resolve conflicts

* fix: update package lock

* fix: resolve conflicts

* fix: verify test

* fix: cryptosuit types

---------

Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: Ng Han Inn <43451336+nghaninn@users.noreply.github.com>
Co-authored-by: Moiz Shaikh <58319530+Moiz47@users.noreply.github.com>
Co-authored-by: moiz-sgtradex <moiz.shaikh@sgtradextech.com>
Co-authored-by: caict-develop-zhangbo <68949988+caict-develop-zhangbo@users.noreply.github.com>
Co-authored-by: maxufeng <maxufeng@caict.ac.cn>
Co-authored-by: rongquan1 <rongquan.low@gmail.com>
nghaninn pushed a commit that referenced this pull request Aug 19, 2025
## [1.6.0-alpha.5](v1.6.0-alpha.4...v1.6.0-alpha.5) (2025-08-19)

### Bug Fixes

* add w3c version detection function ([#103](#103)) ([3270cc6](3270cc6))

### Miscellaneous Chores

* ecdsa w3c verify ([#100](#100)) ([484e1ff](484e1ff)), closes [#72](#72) [#72](#72) [#73](#73) [#73](#73) [#80](#80) [#80](#80) [#81](#81) [#81](#81) [#87](#87) [#87](#87) [#88](#88) [#88](#88) [#89](#89) [#89](#89) [#90](#90) [#90](#90) [#96](#96) [#96](#96) [#97](#97) [#97](#97) [#74](#74) [#74](#74) [#72](#72) [#72](#72) [#73](#73) [#73](#73) [#78](#78) [#72](#72) [#72](#72) [#73](#73) [#73](#73) [#72](#72)
* rebase v1 with main ([#95](#95)) ([b54b146](b54b146)), closes [#72](#72) [#72](#72) [#73](#73) [#73](#73) [#80](#80) [#80](#80) [#81](#81) [#81](#81) [#87](#87) [#87](#87) [#88](#88) [#88](#88) [#89](#89) [#89](#89) [#90](#90) [#90](#90)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants