Skip to content

Commit

Permalink
Merge branch 'main' into openAI-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
saminacodes authored Jan 29, 2025
2 parents 7614a8b + 1cff849 commit 4727e57
Show file tree
Hide file tree
Showing 12 changed files with 156 additions and 98 deletions.
5 changes: 0 additions & 5 deletions .changeset/ninety-maps-sparkle.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/soft-camels-beg.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/tasty-berries-ring.md

This file was deleted.

56 changes: 0 additions & 56 deletions .changeset/tough-dogs-enjoy.md

This file was deleted.

12 changes: 12 additions & 0 deletions packages/service-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @thirdweb-dev/service-utils

## 0.7.3

### Patch Changes

- [#6084](https://github.com/thirdweb-dev/js/pull/6084) [`b5e327e`](https://github.com/thirdweb-dev/js/commit/b5e327e5ec745ce1beb9a79404fa5b11d0c5588e) Thanks [@jnsdls](https://github.com/jnsdls)! - add `billingPlanVersion` to `TeamResponse`

## 0.7.2

### Patch Changes

- [#6079](https://github.com/thirdweb-dev/js/pull/6079) [`1616b7f`](https://github.com/thirdweb-dev/js/commit/1616b7f6198d43fc48a1269b1cca93958cbf7dba) Thanks [@jnsdls](https://github.com/jnsdls)! - updated dependencies

## 0.7.1

### Patch Changes
Expand Down
14 changes: 10 additions & 4 deletions packages/service-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/service-utils",
"version": "0.7.1",
"version": "0.7.3",
"type": "module",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand All @@ -26,8 +26,12 @@
},
"typesVersions": {
"*": {
"node": ["./dist/types/node/index.d.ts"],
"cf-worker": ["./dist/types/cf-worker/index.d.ts"]
"node": [
"./dist/types/node/index.d.ts"
],
"cf-worker": [
"./dist/types/cf-worker/index.d.ts"
]
}
},
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/pay",
Expand All @@ -36,7 +40,9 @@
"url": "https://github.com/thirdweb-dev/js/issues"
},
"author": "thirdweb eng <[email protected]>",
"files": ["dist/"],
"files": [
"dist/"
],
"sideEffects": false,
"dependencies": {
"aws4fetch": "1.0.20",
Expand Down
1 change: 1 addition & 0 deletions packages/service-utils/src/core/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ export type TeamResponse = {
slug: string;
image: string | null;
billingPlan: "free" | "starter" | "growth" | "pro";
billingPlanVersion: number;
createdAt: Date;
updatedAt: Date | null;
billingEmail: string | null;
Expand Down
1 change: 1 addition & 0 deletions packages/service-utils/src/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export const validTeamResponse: TeamResponse = {
createdAt: new Date("2024-06-01"),
updatedAt: new Date("2024-06-01"),
billingPlan: "free",
billingPlanVersion: 1,
billingEmail: "[email protected]",
billingStatus: "noPayment",
growthTrialEligible: false,
Expand Down
67 changes: 67 additions & 0 deletions packages/thirdweb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,72 @@
# thirdweb

## 5.87.0

### Minor Changes

- [#6082](https://github.com/thirdweb-dev/js/pull/6082) [`4550bb2`](https://github.com/thirdweb-dev/js/commit/4550bb26632b88964a298835575af152a355bccd) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Support Account and Wallet headless components in react native

You can now use the Account and Wallet headless components in react native, this lets you build your own UI, styling it however you want, but letting the components handle the logic.

Example Account components usage:

```tsx
<AccountProvider address={account.address} client={client}>
/* avatar */
<AccountAvatar
loadingComponent={
<AccountBlobbie size={92} style={{ borderRadius: 100 }} />
}
fallbackComponent={
<AccountBlobbie size={92} style={{ borderRadius: 100 }} />
}
style={{
width: 92,
height: 92,
borderRadius: 100,
}}
/>
/* address */
<AccountAddress
style={{ fontSize: 16, color: Colors.secondary }}
formatFn={shortenAddress}
/>
/* balance */
<AccountBalance
showBalanceInFiat={"USD"}
chain={chain}
loadingComponent={
<ActivityIndicator size="large" color={Colors.accent} />
}
fallbackComponent={
<Text className="text-primary">Failed to load balance</Text>
}
style={{
color: "white",
fontSize: 48,
fontWeight: "bold",
}}
/>
</AccountProvider>
```

Example Wallet components usage:

```tsx
<WalletProvider id={"io.metamask"}>
<WalletIcon width={32} height={32} />
<WalletName style={{ fontSize: 16, color: Colors.primary }} />
</WalletProvider>
```

### Patch Changes

- [#6079](https://github.com/thirdweb-dev/js/pull/6079) [`1616b7f`](https://github.com/thirdweb-dev/js/commit/1616b7f6198d43fc48a1269b1cca93958cbf7dba) Thanks [@jnsdls](https://github.com/jnsdls)! - export `randomPrivateKey` from `thirdweb/wallets`

- [#6076](https://github.com/thirdweb-dev/js/pull/6076) [`1401f8d`](https://github.com/thirdweb-dev/js/commit/1401f8d0393bbea149e9e09ba686416fc0a7b4f3) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Fix autoconnection of inapp wallets in react native

- [#6079](https://github.com/thirdweb-dev/js/pull/6079) [`1616b7f`](https://github.com/thirdweb-dev/js/commit/1616b7f6198d43fc48a1269b1cca93958cbf7dba) Thanks [@jnsdls](https://github.com/jnsdls)! - updated dependencies

## 5.86.6

### Patch Changes
Expand Down
78 changes: 58 additions & 20 deletions packages/thirdweb/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thirdweb",
"version": "5.86.6",
"version": "5.87.0",
"repository": {
"type": "git",
"url": "git+https://github.com/thirdweb-dev/js.git#main"
Expand Down Expand Up @@ -132,25 +132,63 @@
},
"typesVersions": {
"*": {
"adapters/*": ["./dist/types/exports/adapters/*.d.ts"],
"auth": ["./dist/types/exports/auth.d.ts"],
"chains": ["./dist/types/exports/chains.d.ts"],
"contract": ["./dist/types/exports/contract.d.ts"],
"deploys": ["./dist/types/exports/deploys.d.ts"],
"event": ["./dist/types/exports/event.d.ts"],
"extensions/*": ["./dist/types/exports/extensions/*.d.ts"],
"pay": ["./dist/types/exports/pay.d.ts"],
"react": ["./dist/types/exports/react.d.ts"],
"react-native": ["./dist/types/exports/react-native.d.ts"],
"rpc": ["./dist/types/exports/rpc.d.ts"],
"storage": ["./dist/types/exports/storage.d.ts"],
"transaction": ["./dist/types/exports/transaction.d.ts"],
"utils": ["./dist/types/exports/utils.d.ts"],
"wallets": ["./dist/types/exports/wallets.d.ts"],
"wallets/*": ["./dist/types/exports/wallets/*.d.ts"],
"modules": ["./dist/types/exports/modules.d.ts"],
"social": ["./dist/types/exports/social.d.ts"],
"ai": ["./dist/types/exports/ai.d.ts"]
"adapters/*": [
"./dist/types/exports/adapters/*.d.ts"
],
"auth": [
"./dist/types/exports/auth.d.ts"
],
"chains": [
"./dist/types/exports/chains.d.ts"
],
"contract": [
"./dist/types/exports/contract.d.ts"
],
"deploys": [
"./dist/types/exports/deploys.d.ts"
],
"event": [
"./dist/types/exports/event.d.ts"
],
"extensions/*": [
"./dist/types/exports/extensions/*.d.ts"
],
"pay": [
"./dist/types/exports/pay.d.ts"
],
"react": [
"./dist/types/exports/react.d.ts"
],
"react-native": [
"./dist/types/exports/react-native.d.ts"
],
"rpc": [
"./dist/types/exports/rpc.d.ts"
],
"storage": [
"./dist/types/exports/storage.d.ts"
],
"transaction": [
"./dist/types/exports/transaction.d.ts"
],
"utils": [
"./dist/types/exports/utils.d.ts"
],
"wallets": [
"./dist/types/exports/wallets.d.ts"
],
"wallets/*": [
"./dist/types/exports/wallets/*.d.ts"
],
"modules": [
"./dist/types/exports/modules.d.ts"
],
"social": [
"./dist/types/exports/social.d.ts"
],
"ai": [
"./dist/types/exports/ai.d.ts"
]
}
},
"browser": {
Expand Down
6 changes: 6 additions & 0 deletions packages/wagmi-adapter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @thirdweb-dev/wagmi-adapter

## 0.2.7

### Patch Changes

- [#6079](https://github.com/thirdweb-dev/js/pull/6079) [`1616b7f`](https://github.com/thirdweb-dev/js/commit/1616b7f6198d43fc48a1269b1cca93958cbf7dba) Thanks [@jnsdls](https://github.com/jnsdls)! - updated dependencies

## 0.2.6

## 0.2.5
Expand Down
2 changes: 1 addition & 1 deletion packages/wagmi-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/wagmi-adapter",
"version": "0.2.6",
"version": "0.2.7",
"repository": {
"type": "git",
"url": "git+https://github.com/thirdweb-dev/js.git#main"
Expand Down

0 comments on commit 4727e57

Please sign in to comment.