Skip to content

Commit bbe12f5

Browse files
committed
Merge branch 'main' into greg/cnct-2302-viem-ox-signed-typed-data
2 parents e3cda43 + 7488102 commit bbe12f5

File tree

825 files changed

+9146
-29580
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

825 files changed

+9146
-29580
lines changed

.changeset/clever-carrots-march.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": minor
3+
---
4+
5+
Add headless components: ChainProvider, ChainIcon & ChainName

.changeset/metal-cows-hear.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/pink-ducks-flash.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
Fix UI issue when assetTabs is set to an empty array

.changeset/plenty-dragons-carry.md

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
"thirdweb": minor
3+
---
4+
5+
Adds LoyaltyCard extensions and support for ERC721 deployment.
6+
7+
```ts
8+
import { deployERC721Contract } from "thirdweb/deploys";
9+
10+
const loyaltyCardContractAddress = await deployERC721Contract({
11+
chain: "your-chain-id", // replace with your chain ID
12+
client: yourThirdwebClient, // replace with your Thirdweb client instance
13+
account: yourAccount, // replace with your account details
14+
type: "LoyaltyCard",
15+
params: {
16+
name: "MyLoyaltyCard",
17+
symbol: "LOYAL",
18+
description: "A loyalty card NFT contract",
19+
image: "path/to/image.png", // replace with your image path
20+
defaultAdmin: "0xYourAdminAddress", // replace with your admin address
21+
royaltyRecipient: "0xYourRoyaltyRecipient", // replace with your royalty recipient address
22+
royaltyBps: 500n, // 5% royalty
23+
trustedForwarders: ["0xTrustedForwarderAddress"], // replace with your trusted forwarder addresses
24+
saleRecipient: "0xYourSaleRecipient", // replace with your sale recipient address
25+
platformFeeBps: 200n, // 2% platform fee
26+
platformFeeRecipient: "0xYourPlatformFeeRecipient", // replace with your platform fee recipient address
27+
},
28+
});
29+
30+
```

.changeset/tall-pots-live.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

.changeset/tame-walls-live.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787

8888
- run: pnpm test
8989

90-
- name: Upload coverage reports to Codecov
90+
- name: Code Coverage
9191
uses: codecov/codecov-action@v5
9292
with:
9393
directory: packages/

.github/workflows/issue.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Linked Issue
2+
3+
on:
4+
pull_request:
5+
types: [opened, edited]
6+
7+
env:
8+
VALID_ISSUE_PREFIXES: "CNCT|DASH"
9+
10+
jobs:
11+
linear:
12+
name: Linear
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Check for linked issue
16+
uses: actions/github-script@v7
17+
with:
18+
script: |
19+
const pr = await github.rest.pulls.get({
20+
owner: context.repo.owner,
21+
repo: context.repo.repo,
22+
pull_number: context.issue.number
23+
});
24+
25+
const body = pr.data.body || '';
26+
const branchName = pr.data.head.ref;
27+
const issueRegex = new RegExp(`(${process.env.VALID_ISSUE_PREFIXES})-\\d+`, 'i');
28+
const branchIssueRegex = new RegExp(`(${process.env.VALID_ISSUE_PREFIXES.toLowerCase()})-\\d+`, 'i');
29+
30+
if (!issueRegex.test(body) && !branchIssueRegex.test(branchName)) {
31+
core.setFailed(
32+
`No valid issue reference found. PR body or branch name must contain an issue ID with one of these prefixes: ${process.env.VALID_ISSUE_PREFIXES}`
33+
);
34+
return;
35+
}
36+
37+
const matches = body.match(issueRegex) || branchName.match(branchIssueRegex);
38+
console.log(`Found issue reference: ${matches[0]}`);

.github/workflows/linear.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)