[TS SDK] Feature: Accept a string for signature mint UID (#4270)

## Problem solved

Auto-encodes strings passed to `generateSignatureMint` across all token types. This change could cause confusion since the response uid from the contract will still be in hex form.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR allows accepting string UIDs for signature minting in ERC721 and ERC20 contracts.

### Detailed summary
- Updated functions to accept and encode string UIDs for minting signatures
- Added tests for generating mint signatures with custom string UIDs
- Updated dependencies and peer dependencies in package.json

> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`

<!-- end pr-codex -->
This commit is contained in:
gregfromstl
2024-09-01 19:11:35 +00:00
parent a2f2c7e172
commit 5475551e5d
8 changed files with 141 additions and 11 deletions
+5
View File
@@ -0,0 +1,5 @@
---
"thirdweb": patch
---
Allow accepting a string for signature mint UIDs