Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
363bcad530 | ||
|
|
ee3822c785 | ||
|
|
1cff849b69 | ||
|
|
b5e327e5ec |
@@ -46,12 +46,12 @@
|
||||
"@radix-ui/react-slot": "^1.1.1",
|
||||
"@radix-ui/react-switch": "^1.1.2",
|
||||
"@radix-ui/react-tooltip": "1.1.7",
|
||||
"@sentry/nextjs": "8.52.0",
|
||||
"@sentry/nextjs": "8.51.0",
|
||||
"@shazow/whatsabi": "^0.19.0",
|
||||
"@tanstack/react-query": "5.65.1",
|
||||
"@tanstack/react-query": "5.65.0",
|
||||
"@tanstack/react-table": "^8.20.6",
|
||||
"@thirdweb-dev/service-utils": "workspace:*",
|
||||
"@vercel/functions": "^1.6.0",
|
||||
"@vercel/functions": "^1.5.2",
|
||||
"@vercel/og": "^0.6.5",
|
||||
"abitype": "1.0.8",
|
||||
"chakra-react-select": "^4.7.6",
|
||||
@@ -74,7 +74,7 @@
|
||||
"nextjs-toploader": "^1.6.12",
|
||||
"openapi-types": "^12.1.3",
|
||||
"p-limit": "^6.2.0",
|
||||
"papaparse": "^5.5.2",
|
||||
"papaparse": "^5.5.1",
|
||||
"pluralize": "^8.0.0",
|
||||
"posthog-js": "1.67.1",
|
||||
"qrcode": "^1.5.3",
|
||||
@@ -83,7 +83,7 @@
|
||||
"react-day-picker": "^8.10.1",
|
||||
"react-dom": "19.0.0",
|
||||
"react-dropzone": "^14.3.5",
|
||||
"react-error-boundary": "^5.0.0",
|
||||
"react-error-boundary": "^4.1.2",
|
||||
"react-hook-form": "7.54.2",
|
||||
"react-markdown": "^9.0.1",
|
||||
"react-table": "^7.8.0",
|
||||
@@ -91,9 +91,9 @@
|
||||
"remark-gfm": "^4.0.0",
|
||||
"server-only": "^0.0.1",
|
||||
"shiki": "1.27.0",
|
||||
"sonner": "^1.7.3",
|
||||
"sonner": "^1.7.2",
|
||||
"spdx-correct": "^3.2.0",
|
||||
"swagger-ui-react": "^5.18.3",
|
||||
"swagger-ui-react": "^5.18.2",
|
||||
"tailwind-merge": "^2.6.0",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"thirdweb": "workspace:*",
|
||||
@@ -129,12 +129,12 @@
|
||||
"@typescript-eslint/eslint-plugin": "7.14.1",
|
||||
"@typescript-eslint/parser": "7.14.1",
|
||||
"autoprefixer": "^10.4.19",
|
||||
"checkly": "^4.19.1",
|
||||
"checkly": "^4.18.0",
|
||||
"eslint": "8.57.0",
|
||||
"eslint-config-biome": "1.9.4",
|
||||
"eslint-plugin-react-compiler": "19.0.0-beta-df7b47d-20241124",
|
||||
"eslint-plugin-storybook": "^0.11.1",
|
||||
"knip": "5.43.6",
|
||||
"knip": "5.43.5",
|
||||
"next-sitemap": "^4.2.3",
|
||||
"postcss": "8.5.1",
|
||||
"storybook": "8.5.2",
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@abstract-foundation/agw-client": "^1.3.0",
|
||||
"@abstract-foundation/agw-react": "^1.4.3",
|
||||
"@abstract-foundation/agw-react": "^1.4.2",
|
||||
"@radix-ui/react-accordion": "^1.2.2",
|
||||
"@radix-ui/react-checkbox": "^1.1.3",
|
||||
"@radix-ui/react-dialog": "1.1.5",
|
||||
@@ -29,7 +29,7 @@
|
||||
"@radix-ui/react-switch": "^1.1.2",
|
||||
"@radix-ui/react-tabs": "^1.1.2",
|
||||
"@radix-ui/react-tooltip": "1.1.7",
|
||||
"@tanstack/react-query": "5.65.1",
|
||||
"@tanstack/react-query": "5.65.0",
|
||||
"@thirdweb-dev/engine": "^0.0.18",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
"@radix-ui/react-select": "^2.1.5",
|
||||
"@radix-ui/react-slot": "^1.1.1",
|
||||
"@radix-ui/react-tabs": "^1.1.2",
|
||||
"@tanstack/react-query": "5.65.1",
|
||||
"@tanstack/react-query": "5.65.0",
|
||||
"@tryghost/content-api": "^1.11.21",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
@@ -69,7 +69,7 @@
|
||||
"eslint-plugin-mdx": "^3.1.5",
|
||||
"eslint-plugin-svg-jsx": "^1.2.4",
|
||||
"eslint-plugin-tailwindcss": "^3.18.0",
|
||||
"knip": "5.43.6",
|
||||
"knip": "5.43.5",
|
||||
"next-sitemap": "^4.2.3",
|
||||
"postcss": "8.5.1",
|
||||
"tailwindcss": "3.4.17",
|
||||
|
||||
@@ -4,11 +4,6 @@
|
||||
|
||||
We are rolling out Nebula approval in batches daily - stay tuned!
|
||||
|
||||
### Which contracts does Nebula support?
|
||||
Nebula supports the read and write context of any verified contract or any contract on the thirdweb dashboard. For deploying through Nebula, supported contracts include [Token - ERC20](https://thirdweb.com/thirdweb.eth/TokenERC20), [NFT Collection - ERC721](https://thirdweb.com/thirdweb.eth/TokenERC721), [Edition - ERC1155](https://thirdweb.com/thirdweb.eth/TokenERC1155), and [Split](https://thirdweb.com/thirdweb.eth/Split) contracts.
|
||||
|
||||
If you have a published contract you would like to enable for deployment through Nebula, please [contact us](https://thirdweb.com/contact-us).
|
||||
|
||||
### Does Nebula have memory from past conversations?
|
||||
Nebula retains memory within the confines of a session.
|
||||
|
||||
@@ -21,4 +16,4 @@ Nebula is not currently open source. We are exploring open sourcing Nebula in th
|
||||
|
||||
### When will pricing be available for Nebula?
|
||||
|
||||
Pricing options will be available in beta. Nebula is still being tested in alpha.
|
||||
Pricing options will be available in beta. Nebula is still being tested in alpha.
|
||||
@@ -1,40 +0,0 @@
|
||||
# OpenAI
|
||||
|
||||
### Chat Completions API
|
||||
|
||||
Compatible with OpenAI’s Chat Completion API to process chat history and generate context-aware responses.
|
||||
|
||||
```python
|
||||
from openai import OpenAI
|
||||
|
||||
client = OpenAI(
|
||||
base_url="https://nebula-api.thirdweb.com",
|
||||
api_key="{{THIRDWEB_SECRET_KEY}}",
|
||||
)
|
||||
chat_completion = client.chat.completions.create(
|
||||
model="t0",
|
||||
messages=[{"role": "user", "content": "Hello Nebula!"}],
|
||||
stream=False,
|
||||
extra_body={ "context": { "wallet_address": "0x..." }}
|
||||
)
|
||||
|
||||
print(chat_completion)
|
||||
```
|
||||
|
||||
### Models API
|
||||
|
||||
Compatible with OpenAI’s Models API to list out models used.
|
||||
|
||||
```python
|
||||
from openai import OpenAI
|
||||
|
||||
# https://nebula-api.thirdweb.com/models
|
||||
|
||||
client = OpenAI(
|
||||
base_url="https://nebula-api.thirdweb.com/",
|
||||
api_key="",
|
||||
)
|
||||
|
||||
models = client.models.list()
|
||||
print(models)
|
||||
```
|
||||
@@ -2,7 +2,11 @@ import { Callout } from '@doc'
|
||||
|
||||
# Plugins
|
||||
|
||||
- [OpenAI](/nebula/plugins/openai)
|
||||
- [Eliza](/nebula/plugins/eliza)
|
||||
|
||||
We are actively adding more integrations, for any specific requests please [contact us](https://thirdweb.com/contact).
|
||||
<Callout variant='info' title='Coming Soon'>
|
||||
|
||||
We are actively developing plugins to develop with other frameworks and languages.
|
||||
|
||||
If you have a specific request, please [contact us](https://thirdweb.com/contact).
|
||||
|
||||
</Callout>
|
||||
@@ -110,14 +110,10 @@ export const sidebar: SideBar = {
|
||||
],
|
||||
},
|
||||
{
|
||||
name: "Plugins & Integrations",
|
||||
name: "Plugins",
|
||||
href: "/nebula/plugins",
|
||||
icon: <Blocks />,
|
||||
links: [
|
||||
{
|
||||
name: "OpenAI",
|
||||
href: "/nebula/plugins/openai",
|
||||
},
|
||||
{
|
||||
name: "Eliza",
|
||||
href: "/nebula/plugins/eliza",
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"@radix-ui/react-label": "^2.1.1",
|
||||
"@radix-ui/react-popover": "^1.1.5",
|
||||
"@radix-ui/react-slot": "^1.1.1",
|
||||
"@tanstack/react-query": "5.65.1",
|
||||
"@tanstack/react-query": "5.65.0",
|
||||
"class-variance-authority": "^0.7.1",
|
||||
"clsx": "^2.1.1",
|
||||
"cmdk": "^1.0.4",
|
||||
@@ -26,7 +26,7 @@
|
||||
"react-dom": "19.0.0",
|
||||
"react-hook-form": "7.54.2",
|
||||
"server-only": "^0.0.1",
|
||||
"sonner": "^1.7.3",
|
||||
"sonner": "^1.7.2",
|
||||
"tailwind-merge": "^2.6.0",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"thirdweb": "workspace:*",
|
||||
@@ -43,7 +43,7 @@
|
||||
"eslint": "8.57.0",
|
||||
"eslint-config-biome": "1.9.4",
|
||||
"eslint-plugin-react-compiler": "19.0.0-beta-df7b47d-20241124",
|
||||
"knip": "5.43.6",
|
||||
"knip": "5.43.5",
|
||||
"postcss": "8.5.1",
|
||||
"postcss-load-config": "^6.0.1",
|
||||
"tailwindcss": "3.4.17",
|
||||
|
||||
@@ -1,16 +1,10 @@
|
||||
# @thirdweb-dev/service-utils
|
||||
|
||||
## 0.8.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#6106](https://github.com/thirdweb-dev/js/pull/6106) [`3361140`](https://github.com/thirdweb-dev/js/commit/33611409b0efd58803be4a96194f5872ddf4bde0) Thanks [@jnsdls](https://github.com/jnsdls)! - updated dependencies
|
||||
|
||||
## 0.8.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#6101](https://github.com/thirdweb-dev/js/pull/6101) [`e8892b1`](https://github.com/thirdweb-dev/js/commit/e8892b152f70d3024dfbefcddcfa74a69a12bdd0) Thanks [@jnsdls](https://github.com/jnsdls)! - pass `team` instead of `project` to `rateLimit`
|
||||
- [#6092](https://github.com/thirdweb-dev/js/pull/6092) [`ee3822c`](https://github.com/thirdweb-dev/js/commit/ee3822c7855213fbfc53969b3017cce1010abbce) Thanks [@jnsdls](https://github.com/jnsdls)! - pass `team` instead of `project` to `rateLimit`
|
||||
|
||||
## 0.7.3
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/service-utils",
|
||||
"version": "0.8.1",
|
||||
"version": "0.8.0",
|
||||
"type": "module",
|
||||
"main": "dist/cjs/index.js",
|
||||
"module": "dist/esm/index.js",
|
||||
@@ -50,7 +50,7 @@
|
||||
"zod": "3.24.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cloudflare/workers-types": "4.20250129.0",
|
||||
"@cloudflare/workers-types": "4.20250124.3",
|
||||
"@types/node": "22.10.10",
|
||||
"typescript": "5.7.3",
|
||||
"vitest": "3.0.4"
|
||||
|
||||
@@ -1,13 +1,5 @@
|
||||
# thirdweb
|
||||
|
||||
## 5.87.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#6106](https://github.com/thirdweb-dev/js/pull/6106) [`3361140`](https://github.com/thirdweb-dev/js/commit/33611409b0efd58803be4a96194f5872ddf4bde0) Thanks [@jnsdls](https://github.com/jnsdls)! - updated dependencies
|
||||
|
||||
- [#6105](https://github.com/thirdweb-dev/js/pull/6105) [`ab55aec`](https://github.com/thirdweb-dev/js/commit/ab55aec10ccb078add40bd774d157bc0f19ab0bf) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Allow connecting wallets without setting them as active with useConnect
|
||||
|
||||
## 5.87.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "thirdweb",
|
||||
"version": "5.87.1",
|
||||
"version": "5.87.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/thirdweb-dev/js.git#main"
|
||||
@@ -218,7 +218,7 @@
|
||||
"@radix-ui/react-focus-scope": "1.1.1",
|
||||
"@radix-ui/react-icons": "1.3.2",
|
||||
"@radix-ui/react-tooltip": "1.1.7",
|
||||
"@tanstack/react-query": "5.65.1",
|
||||
"@tanstack/react-query": "5.65.0",
|
||||
"@walletconnect/ethereum-provider": "2.17.5",
|
||||
"@walletconnect/sign-client": "2.17.5",
|
||||
"abitype": "1.0.8",
|
||||
@@ -228,7 +228,7 @@
|
||||
"mipd": "0.0.7",
|
||||
"ox": "0.6.9",
|
||||
"uqr": "0.1.2",
|
||||
"viem": "2.22.17"
|
||||
"viem": "2.22.15"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@aws-sdk/client-lambda": "^3",
|
||||
@@ -362,7 +362,7 @@
|
||||
"expo-linking": "7.0.3",
|
||||
"expo-web-browser": "14.0.1",
|
||||
"happy-dom": "16.7.3",
|
||||
"knip": "5.43.6",
|
||||
"knip": "5.43.5",
|
||||
"msw": "2.7.0",
|
||||
"prettier": "3.3.3",
|
||||
"react": "19.0.0",
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
import type React from "react";
|
||||
import { createContext, useContext } from "react";
|
||||
import type { ThirdwebClient } from "../../../client/client.js";
|
||||
import { isAddress } from "../../../utils/address.js";
|
||||
/**
|
||||
* Props for the <AccountProvider /> component
|
||||
* @component
|
||||
@@ -52,6 +53,9 @@ export function AccountProvider(
|
||||
"AccountProvider: No address passed. Ensure an address is always provided to the AccountProvider",
|
||||
);
|
||||
}
|
||||
if (!isAddress(props.address)) {
|
||||
throw new Error(`AccountProvider: Invalid address: ${props.address}`);
|
||||
}
|
||||
return (
|
||||
<AccountProviderContext.Provider value={props}>
|
||||
{props.children}
|
||||
|
||||
@@ -24,7 +24,7 @@ export function useWalletName(props: {
|
||||
/**
|
||||
* @internal Exported for tests only
|
||||
*/
|
||||
export function getQueryKeys(props: {
|
||||
function getQueryKeys(props: {
|
||||
id: WalletId;
|
||||
formatFn?: (str: string) => string;
|
||||
}) {
|
||||
@@ -41,7 +41,7 @@ export function getQueryKeys(props: {
|
||||
/**
|
||||
* @internal Exported for tests only
|
||||
*/
|
||||
export async function fetchWalletName(props: {
|
||||
async function fetchWalletName(props: {
|
||||
id: WalletId;
|
||||
formatFn?: (str: string) => string;
|
||||
}) {
|
||||
|
||||
@@ -24,7 +24,6 @@ export type ConnectionManager = ReturnType<typeof createConnectionManager>;
|
||||
export type ConnectManagerOptions = {
|
||||
client: ThirdwebClient;
|
||||
accountAbstraction?: SmartWalletOptions;
|
||||
setWalletAsActive?: boolean;
|
||||
onConnect?: (wallet: Wallet) => void;
|
||||
};
|
||||
|
||||
@@ -147,9 +146,7 @@ export function createConnectionManager(storage: AsyncStorage) {
|
||||
// add personal wallet to connected wallets list even if it's not the active one
|
||||
addConnectedWallet(wallet);
|
||||
|
||||
if (options?.setWalletAsActive !== false) {
|
||||
handleSetActiveWallet(activeWallet);
|
||||
}
|
||||
handleSetActiveWallet(activeWallet);
|
||||
|
||||
wallet.subscribe("accountChanged", async () => {
|
||||
// We reimplement connect here to prevent memory leaks
|
||||
|
||||
@@ -1,13 +1,5 @@
|
||||
# @thirdweb-dev/wagmi-adapter
|
||||
|
||||
## 0.2.9
|
||||
|
||||
## 0.2.8
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#6100](https://github.com/thirdweb-dev/js/pull/6100) [`411895c`](https://github.com/thirdweb-dev/js/commit/411895c0027200fc580fcd58a2ac440da6e227a0) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Fix wagmi adapter usage with account factories
|
||||
|
||||
## 0.2.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/wagmi-adapter",
|
||||
"version": "0.2.9",
|
||||
"version": "0.2.7",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/thirdweb-dev/js.git#main"
|
||||
|
||||
@@ -95,10 +95,9 @@ export function inAppWalletConnector(
|
||||
const lastChainId = await config.storage?.getItem("tw.lastChainId");
|
||||
if (params?.isReconnecting) {
|
||||
const { autoConnect } = await import("thirdweb/wallets");
|
||||
const chainId = lastChainId || args.smartAccount?.chain?.id || 1;
|
||||
await autoConnect({
|
||||
client,
|
||||
chain: defineChain(chainId),
|
||||
chain: defineChain(lastChainId || 1),
|
||||
wallets: [wallet],
|
||||
});
|
||||
|
||||
@@ -109,7 +108,7 @@ export function inAppWalletConnector(
|
||||
|
||||
return {
|
||||
accounts: [getAddress(account.address)],
|
||||
chainId: chainId,
|
||||
chainId: lastChainId || 1,
|
||||
};
|
||||
}
|
||||
const inAppOptions = params && "strategy" in params ? params : undefined;
|
||||
@@ -118,12 +117,7 @@ export function inAppWalletConnector(
|
||||
"Missing strategy prop, pass it to connect() when connecting to this connector",
|
||||
);
|
||||
}
|
||||
const chain = defineChain(
|
||||
inAppOptions?.chainId ||
|
||||
lastChainId ||
|
||||
args.smartAccount?.chain?.id ||
|
||||
1,
|
||||
);
|
||||
const chain = defineChain(inAppOptions?.chainId || lastChainId || 1);
|
||||
const decoratedOptions = {
|
||||
...inAppOptions,
|
||||
client,
|
||||
|
||||
Generated
+623
-824
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user