-
Notifications
You must be signed in to change notification settings - Fork 546
Version Packages #5955
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version Packages #5955
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,87 @@ | ||
# thirdweb | ||
|
||
## 5.85.0 | ||
|
||
### Minor Changes | ||
|
||
- [#5972](https://github.com/thirdweb-dev/js/pull/5972) [`0b62397`](https://github.com/thirdweb-dev/js/commit/0b6239735ea01b68533784d629a7bd5ab8752b94) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Support multiple messages for Nebula API, updated input props. | ||
|
||
Some prop names have been updated: | ||
|
||
`prompt -> messsage` | ||
`context -> contextFilter` | ||
|
||
```ts | ||
Nebula.chat({ | ||
client, | ||
// prompt is now message | ||
message: | ||
"What's the total supply of this contract: 0xe2cb0eb5147b42095c2FfA6F7ec953bb0bE347D8", | ||
// contextFilter is now contextFilter | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The comment Spotted by Graphite Reviewer |
||
contextFilter: { | ||
chains: [sepolia], | ||
}, | ||
}); | ||
``` | ||
|
||
The Nebula.chat and Nebula.execute functions now support multiple input messages, and the input properties have been updated to match the http API. | ||
|
||
```ts | ||
Nebula.chat({ | ||
client, | ||
// multi message format | ||
messages: [ | ||
{ | ||
role: "user", | ||
content: | ||
"Tell me the name of this contract: 0xe2cb0eb5147b42095c2FfA6F7ec953bb0bE347D8", | ||
}, | ||
{ | ||
role: "assistant", | ||
content: "The name of the contract is My NFT Collection", | ||
}, | ||
{ | ||
role: "user", | ||
content: "What's the symbol of this contract?", | ||
}, | ||
], | ||
contextFilter: { | ||
chains: [sepolia], | ||
}, | ||
}); | ||
``` | ||
|
||
Same changes apply to Nebula.execute. | ||
|
||
```ts | ||
Nebula.execute({ | ||
client, | ||
account, | ||
messages: [ | ||
{ role: "user", content: "What's the address of vitalik.eth" }, | ||
{ | ||
role: "assistant", | ||
content: | ||
"The address of vitalik.eth is 0xd8dA6BF26964aF8E437eEa5e3616511D7G3a3298", | ||
}, | ||
{ role: "user", content: "Send them 0.0001 ETH" }, | ||
], | ||
contextFilter: { | ||
chains: [sepolia], | ||
}, | ||
}); | ||
``` | ||
|
||
### Patch Changes | ||
|
||
- [#5966](https://github.com/thirdweb-dev/js/pull/5966) [`4ffcf30`](https://github.com/thirdweb-dev/js/commit/4ffcf305abdced715a76638a3af47d0f91e24e01) Thanks [@MananTank](https://github.com/MananTank)! - Fix NFT components not displaying correct metadata if multiple contracts with same token id is rendered because of incorrect caching | ||
|
||
- [#5973](https://github.com/thirdweb-dev/js/pull/5973) [`dbb64ea`](https://github.com/thirdweb-dev/js/commit/dbb64ea190b248c5e4e04c98b0e6bc178fd729a0) Thanks [@kumaryash90](https://github.com/kumaryash90)! - Update implementations | ||
|
||
- [#5982](https://github.com/thirdweb-dev/js/pull/5982) [`b6d65cf`](https://github.com/thirdweb-dev/js/commit/b6d65cf1c42a6c6707489e2d3ab3510f137c1b35) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Added `mode` as a predefined chain | ||
|
||
- [#5967](https://github.com/thirdweb-dev/js/pull/5967) [`9cbcbe7`](https://github.com/thirdweb-dev/js/commit/9cbcbe776032556717b3d0b30e774323f75c63ee) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Added overrides for Lumia Testnet to use pre-EIP1559 gas values | ||
|
||
## 5.84.0 | ||
|
||
### Minor Changes | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# @thirdweb-dev/wagmi-adapter | ||
|
||
## 0.1.9 | ||
|
||
## 0.1.8 | ||
|
||
## 0.1.7 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There appears to be a typo in the documentation - the property name is written as
messsage
(with 3 s's) but is correctly shown asmessage
in all the code examples below. This should be corrected to maintain consistency and prevent confusion.Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.