Skip to content

Commit 1379fa8

Browse files
Version Packages
1 parent b10f306 commit 1379fa8

13 files changed

+175
-156
lines changed

.changeset/blue-ears-sit.md

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

.changeset/breezy-items-relate.md

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

.changeset/cool-pianos-walk.md

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

.changeset/green-rockets-lie.md

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

.changeset/happy-carrots-appear.md

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

.changeset/hip-llamas-wash.md

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

.changeset/serious-geese-chew.md

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

.changeset/six-snails-reflect.md

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

.changeset/warm-dodos-destroy.md

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

packages/thirdweb/CHANGELOG.md

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,119 @@
11
# thirdweb
22

3+
## 5.84.0
4+
5+
### Minor Changes
6+
7+
- [#5889](https://github.com/thirdweb-dev/js/pull/5889) [`7a3dff0`](https://github.com/thirdweb-dev/js/commit/7a3dff01cd4ef1b20b783312f4cb755dd2fddcbd) Thanks [@ElasticBottle](https://github.com/ElasticBottle)! - Exposes autoConnect as a standalone function for use outside of react.
8+
9+
```tsx
10+
import { autoConnect } from "thirdweb/wallets";
11+
12+
const autoConnected = await autoConnect({
13+
client,
14+
onConnect: (wallet) => {
15+
console.log("wallet", wallet); /// wallet that is have been auto connected.
16+
},
17+
});
18+
console.log("isAutoConnected", isAutoConnected); // true or false
19+
```
20+
21+
- [#5947](https://github.com/thirdweb-dev/js/pull/5947) [`d1c03b0`](https://github.com/thirdweb-dev/js/commit/d1c03b0cbc524d39d827f1e0d48f3532a837efb0) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Introducing `engineAccount()` for backend usage
22+
23+
You can now use `engineAccount()` on the backend to create an account that can send transactions via your engine instance.
24+
25+
This lets you use the full catalog of thirdweb SDK functions and extensions on the backend, with the performance, reliability, and monitoring of your engine instance.
26+
27+
```ts
28+
// get your engine url, auth token, and wallet address from your engine instance on the dashboard
29+
const engine = engineAccount({
30+
engineUrl: process.env.ENGINE_URL,
31+
authToken: process.env.ENGINE_AUTH_TOKEN,
32+
walletAddress: process.env.ENGINE_WALLET_ADDRESS,
33+
});
34+
35+
// Now you can use engineAcc to send transactions, deploy contracts, etc.
36+
// For example, you can prepare extension functions:
37+
const tx = await claimTo({
38+
contract: getContract({ client, chain, address: "0x..." }),
39+
to: "0x...",
40+
tokenId: 0n,
41+
quantity: 1n,
42+
});
43+
44+
// And then send the transaction via engine
45+
// this will automatically wait for the transaction to be mined and return the transaction hash
46+
const result = await sendTransaction({
47+
account: engine, // forward the transaction to your engine instance
48+
transaction: tx,
49+
});
50+
51+
console.log(result.transactionHash);
52+
```
53+
54+
- [#5948](https://github.com/thirdweb-dev/js/pull/5948) [`b10f306`](https://github.com/thirdweb-dev/js/commit/b10f306fba2140cf7a702d4fc5c55c316986a6b6) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Introducing Nebula API
55+
56+
You can now chat with Nebula and ask it to execute transactions with your wallet.
57+
58+
Ask questions about real time blockchain data.
59+
60+
```ts
61+
import { Nebula } from "thirdweb/ai";
62+
63+
const response = await Nebula.chat({
64+
client: TEST_CLIENT,
65+
prompt:
66+
"What's the symbol of this contract: 0xe2cb0eb5147b42095c2FfA6F7ec953bb0bE347D8",
67+
context: {
68+
chains: [sepolia],
69+
},
70+
});
71+
72+
console.log("chat response:", response.message);
73+
```
74+
75+
Ask it to execute transactions with your wallet.
76+
77+
```ts
78+
import { Nebula } from "thirdweb/ai";
79+
80+
const wallet = createWallet("io.metamask");
81+
const account = await wallet.connect({ client });
82+
83+
const result = await Nebula.execute({
84+
client,
85+
prompt: "send 0.0001 ETH to vitalik.eth",
86+
account,
87+
context: {
88+
chains: [sepolia],
89+
},
90+
});
91+
92+
console.log("executed transaction:", result.transactionHash);
93+
```
94+
95+
### Patch Changes
96+
97+
- [#5926](https://github.com/thirdweb-dev/js/pull/5926) [`4b5661b`](https://github.com/thirdweb-dev/js/commit/4b5661b9817d1e0d67a8574d7c5931d3e892a006) Thanks [@MananTank](https://github.com/MananTank)! - Export `toEventSelector` utility function from "thirdweb/utils"
98+
99+
- [#5923](https://github.com/thirdweb-dev/js/pull/5923) [`42a313f`](https://github.com/thirdweb-dev/js/commit/42a313f3b2d89696d5374e5a705e9f144bf46ebe) Thanks [@kumaryash90](https://github.com/kumaryash90)! - Fix deploy version for published contracts
100+
101+
- [#5924](https://github.com/thirdweb-dev/js/pull/5924) [`7fb5ce1`](https://github.com/thirdweb-dev/js/commit/7fb5ce1cc3af8bc9d99fef52018d3e1c7b558eaa) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Ensure resetting deploy flag on bundler errors
102+
103+
- [#5937](https://github.com/thirdweb-dev/js/pull/5937) [`0e2b3df`](https://github.com/thirdweb-dev/js/commit/0e2b3df42aee57f30b7e8c32dbf034f5deb37303) Thanks [@MananTank](https://github.com/MananTank)! - Add `isValidENSName` utility function for checking if a string is a valid ENS name. It does not check if the name is actually registered, it only checks if the string is in a valid format.
104+
105+
```ts
106+
import { isValidENSName } from "thirdweb/utils";
107+
108+
isValidENSName("thirdweb.eth"); // true
109+
isValidENSName("foo.bar.com"); // true
110+
isValidENSName("foo"); // false
111+
```
112+
113+
- [#5790](https://github.com/thirdweb-dev/js/pull/5790) [`e331e43`](https://github.com/thirdweb-dev/js/commit/e331e433ac90920fc3bd710d8aa00bc9ec03fa22) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Migrated underlying functionality to Ox
114+
115+
- [#5914](https://github.com/thirdweb-dev/js/pull/5914) [`c5c6f9d`](https://github.com/thirdweb-dev/js/commit/c5c6f9d7415a438ddb0823764884d9c77b687163) Thanks [@MananTank](https://github.com/MananTank)! - Do not prompt user for signing message for SIWE auth in Connect UI for Ecosystem wallets
116+
3117
## 5.83.1
4118

5119
### Patch Changes

packages/thirdweb/package.json

Lines changed: 58 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "thirdweb",
3-
"version": "5.83.1",
3+
"version": "5.84.0",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/thirdweb-dev/js.git#main"
@@ -132,25 +132,63 @@
132132
},
133133
"typesVersions": {
134134
"*": {
135-
"adapters/*": ["./dist/types/exports/adapters/*.d.ts"],
136-
"auth": ["./dist/types/exports/auth.d.ts"],
137-
"chains": ["./dist/types/exports/chains.d.ts"],
138-
"contract": ["./dist/types/exports/contract.d.ts"],
139-
"deploys": ["./dist/types/exports/deploys.d.ts"],
140-
"event": ["./dist/types/exports/event.d.ts"],
141-
"extensions/*": ["./dist/types/exports/extensions/*.d.ts"],
142-
"pay": ["./dist/types/exports/pay.d.ts"],
143-
"react": ["./dist/types/exports/react.d.ts"],
144-
"react-native": ["./dist/types/exports/react-native.d.ts"],
145-
"rpc": ["./dist/types/exports/rpc.d.ts"],
146-
"storage": ["./dist/types/exports/storage.d.ts"],
147-
"transaction": ["./dist/types/exports/transaction.d.ts"],
148-
"utils": ["./dist/types/exports/utils.d.ts"],
149-
"wallets": ["./dist/types/exports/wallets.d.ts"],
150-
"wallets/*": ["./dist/types/exports/wallets/*.d.ts"],
151-
"modules": ["./dist/types/exports/modules.d.ts"],
152-
"social": ["./dist/types/exports/social.d.ts"],
153-
"ai": ["./dist/types/exports/ai.d.ts"]
135+
"adapters/*": [
136+
"./dist/types/exports/adapters/*.d.ts"
137+
],
138+
"auth": [
139+
"./dist/types/exports/auth.d.ts"
140+
],
141+
"chains": [
142+
"./dist/types/exports/chains.d.ts"
143+
],
144+
"contract": [
145+
"./dist/types/exports/contract.d.ts"
146+
],
147+
"deploys": [
148+
"./dist/types/exports/deploys.d.ts"
149+
],
150+
"event": [
151+
"./dist/types/exports/event.d.ts"
152+
],
153+
"extensions/*": [
154+
"./dist/types/exports/extensions/*.d.ts"
155+
],
156+
"pay": [
157+
"./dist/types/exports/pay.d.ts"
158+
],
159+
"react": [
160+
"./dist/types/exports/react.d.ts"
161+
],
162+
"react-native": [
163+
"./dist/types/exports/react-native.d.ts"
164+
],
165+
"rpc": [
166+
"./dist/types/exports/rpc.d.ts"
167+
],
168+
"storage": [
169+
"./dist/types/exports/storage.d.ts"
170+
],
171+
"transaction": [
172+
"./dist/types/exports/transaction.d.ts"
173+
],
174+
"utils": [
175+
"./dist/types/exports/utils.d.ts"
176+
],
177+
"wallets": [
178+
"./dist/types/exports/wallets.d.ts"
179+
],
180+
"wallets/*": [
181+
"./dist/types/exports/wallets/*.d.ts"
182+
],
183+
"modules": [
184+
"./dist/types/exports/modules.d.ts"
185+
],
186+
"social": [
187+
"./dist/types/exports/social.d.ts"
188+
],
189+
"ai": [
190+
"./dist/types/exports/ai.d.ts"
191+
]
154192
}
155193
},
156194
"browser": {

packages/wagmi-adapter/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# @thirdweb-dev/wagmi-adapter
22

3+
## 0.1.8
4+
35
## 0.1.7
46

57
## 0.1.6

packages/wagmi-adapter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@thirdweb-dev/wagmi-adapter",
3-
"version": "0.1.7",
3+
"version": "0.1.8",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/thirdweb-dev/js.git#main"

0 commit comments

Comments
 (0)