chore: update references to packages across the repo (#2565)

This commit is contained in:
Jonas Daniels
2024-03-28 16:50:06 +00:00
committed by GitHub
parent 9543a81d76
commit 18aaf5a1b8
42 changed files with 90 additions and 91 deletions
+7 -7
View File
@@ -22,13 +22,13 @@ We use [Turborepo](https://turborepo.org/docs/getting-started) to manage the mon
You can see a quick outline of each of the projects within this repo below, each living within the [/packages](/packages) directory:
| Package | Description | Latest Version |
| ------------------------------ | -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [/sdk](./packages/sdk) | Best in class web3 SDK for Browser, Node and Mobile apps | <a href="https://www.npmjs.com/package/@thirdweb-dev/sdk"><img src="https://img.shields.io/npm/v/@thirdweb-dev/sdk?color=red&label=npm&logo=npm" alt="npm version"/></a> |
| [/react](./packages/react) | Ultimate collection of React hooks for your web3 apps | <a href="https://www.npmjs.com/package/@thirdweb-dev/react"><img src="https://img.shields.io/npm/v/@thirdweb-dev/react?color=red&label=npm&logo=npm" alt="npm version"/></a> |
| [/auth](./packages/auth) | Best in class wallet authentication for Node backends | <a href="https://www.npmjs.com/package/@thirdweb-dev/auth"><img src="https://img.shields.io/npm/v/@thirdweb-dev/auth?color=red&label=npm&logo=npm" alt="npm version"/></a> |
| [/storage](./packages/storage) | Best in class decentralized storage SDK for Browser and Node | <a href="https://www.npmjs.com/package/@thirdweb-dev/storage"><img src="https://img.shields.io/npm/v/@thirdweb-dev/storage?color=red&label=npm&logo=npm" alt="npm version"/></a> |
| [/cli](./packages/cli) | Publish and deploy smart contracts without dealing with private keys | <a href="https://www.npmjs.com/package/thirdweb"><img src="https://img.shields.io/npm/v/thirdweb?color=red&label=npm&logo=npm" alt="npm version"/></a> |
| Package | Description | Latest Version |
| ------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [/sdk](./legacy_packages/sdk) | Best in class web3 SDK for Browser, Node and Mobile apps | <a href="https://www.npmjs.com/package/@thirdweb-dev/sdk"><img src="https://img.shields.io/npm/v/@thirdweb-dev/sdk?color=red&label=npm&logo=npm" alt="npm version"/></a> |
| [/react](./legacy_packages/react) | Ultimate collection of React hooks for your web3 apps | <a href="https://www.npmjs.com/package/@thirdweb-dev/react"><img src="https://img.shields.io/npm/v/@thirdweb-dev/react?color=red&label=npm&logo=npm" alt="npm version"/></a> |
| [/auth](./legacy_packages/auth) | Best in class wallet authentication for Node backends | <a href="https://www.npmjs.com/package/@thirdweb-dev/auth"><img src="https://img.shields.io/npm/v/@thirdweb-dev/auth?color=red&label=npm&logo=npm" alt="npm version"/></a> |
| [/storage](./legacy_packages/storage) | Best in class decentralized storage SDK for Browser and Node | <a href="https://www.npmjs.com/package/@thirdweb-dev/storage"><img src="https://img.shields.io/npm/v/@thirdweb-dev/storage?color=red&label=npm&logo=npm" alt="npm version"/></a> |
| [/cli](./legacy_packages/cli) | Publish and deploy smart contracts without dealing with private keys | <a href="https://www.npmjs.com/package/thirdweb"><img src="https://img.shields.io/npm/v/thirdweb?color=red&label=npm&logo=npm" alt="npm version"/></a> |
## How to contribute
+1 -1
View File
@@ -120,7 +120,7 @@ jobs:
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
files: ./packages/sdk/coverage/evm/lcov.info,./packages/thirdweb/coverage/lcov.info
files: ./legacy_packages/sdk/coverage/evm/lcov.info,./packages/thirdweb/coverage/lcov.info
e2e:
timeout-minutes: 15
+2 -2
View File
@@ -10,7 +10,7 @@ dist-ssr
.cache
server/dist
public/dist
./packages/contracts-js/abis
./legacy_packages/contracts-js/abis
.idea/
.yalc/
yalc.lock
@@ -20,4 +20,4 @@ playwright-report/
.env/
# Artifacts
packages/cli/artifacts/
legacy_packages/cli/artifacts/
+16 -17
View File
@@ -1,7 +1,7 @@
<p align="center">
<br />
<a href="https://thirdweb.com">
<img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<br />
</p>
@@ -19,7 +19,7 @@
<p align="center"><strong>All-in-one web3 SDK for Browser, Node and Mobile apps</strong></p>
> [!IMPORTANT]
> We rewrote the thirdweb SDK from scratch for performance! Head over to the [Beta version unified SDK](https://github.com/thirdweb-dev/js/tree/beta/packages/thirdweb).
> We rewrote the thirdweb SDK from scratch for performance! Head over to the [v5 SDK](https://github.com/thirdweb-dev/js/tree/main/packages/thirdweb).
## Features
@@ -32,7 +32,7 @@
- High level contract extensions for interacting with common standards
- Automatic ABI resolution
## Library Comparison
## Library Comparison
| | thirdweb | Wagmi | Viem | Ethers@6 |
| ----------------------------------------- | -------- | ------------------ | ------------------ | -------- |
@@ -55,22 +55,22 @@
## Packages
| Package | Description
| -----------------------------------------|-----------------------------------------------------------------------------|
| [/sdk](./packages/sdk) | Best in class web3 SDK for Browser, Node and Mobile apps |
| [/wallets](./packages/wallets) | Unified web3 Wallet library to integrate any wallet into your applications. |
| [/react](./packages/react) | Ultimate collection of React hooks for your web3 apps |
| [/react-native](./packages/react-native) | Ultimate collection of React hooks for your native mobile web3 apps |
| [/auth](./packages/auth) | Best in class wallet authentication for Node backends |
| [/storage](./packages/storage) | Best in class decentralized storage SDK for Browser and Node |
| [/cli](./packages/cli) | Publish and deploy smart contracts without dealing with private keys |
| [/chains](./packages/chains) | All EVM chain information as JS objects for easy handling |
| Package | Description |
| ----------------------------------------------- | --------------------------------------------------------------------------- |
| [/sdk](./legacy_packages/sdk) | Best in class web3 SDK for Browser, Node and Mobile apps |
| [/wallets](./legacy_packages/wallets) | Unified web3 Wallet library to integrate any wallet into your applications. |
| [/react](./legacy_packages/react) | Ultimate collection of React hooks for your web3 apps |
| [/react-native](./legacy_packages/react-native) | Ultimate collection of React hooks for your native mobile web3 apps |
| [/auth](./legacy_packages/auth) | Best in class wallet authentication for Node backends |
| [/storage](./legacy_packages/storage) | Best in class decentralized storage SDK for Browser and Node |
| [/cli](./legacy_packages/cli) | Publish and deploy smart contracts without dealing with private keys |
| [/chains](./legacy_packages/chains) | All EVM chain information as JS objects for easy handling |
## Contributing
We welcome contributions from all developers regardless of experience level. If you are interested in contributing, please read our [Contributing Guide](.github/contributing.md) to learn how the repo works, how to test your changes, and how to submit a pull request.
We welcome contributions from all developers regardless of experience level. If you are interested in contributing, please read our [Contributing Guide](.github/contributing.md) to learn how the repo works, how to test your changes, and how to submit a pull request.
See our [open source page](https://thirdweb.com/open-source) for more information on our open-source bounties and program.
See our [open source page](https://thirdweb.com/open-source) for more information on our open-source bounties and program.
## Additional Resources
@@ -78,8 +78,7 @@ See our [open source page](https://thirdweb.com/open-source) for more informatio
- [Templates](https://thirdweb.com/templates)
- [YouTube](https://www.youtube.com/c/thirdweb_)
## Support
## Support
For help or feedback, please [visit our support site](https://thirdweb.com/support)
+1 -1
View File
@@ -1,6 +1,6 @@
<p align="center">
<br />
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<br />
</p>
<h1 align="center">thirdweb Auth</h1>
+1 -1
View File
@@ -51,7 +51,7 @@
},
"./package.json": "./package.json"
},
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/auth",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/auth",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
"sideEffects": false,
+1 -1
View File
@@ -1,6 +1,6 @@
<p align="center">
<br />
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<br />
</p>
<h1 align="center">thirdweb chains</h1>
+2 -2
View File
@@ -1,6 +1,6 @@
<p align="center">
<br />
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<br />
</p>
<h1 align="center">thirdweb CLI</h1>
@@ -114,7 +114,7 @@ git clone https://github.com/thirdweb-dev/js.git
pnpm i && pnpm build
```
3. From inside `js/packages/cli` Run the `build:watch` command to compile any changes in real time
3. From inside `js/legacy_packages/cli` Run the `build:watch` command to compile any changes in real time
```bash
$ npm install -g ./
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "@thirdweb-dev/cli",
"main": "dist/cli/index.js",
"version": "0.13.56",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/cli",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/cli",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
"engines": {
+1 -1
View File
@@ -423,7 +423,7 @@
"./dist/abis/ContractMetadataImpl.json": "./dist/abis/ContractMetadataImpl.json"
},
"license": "Apache-2.0",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/contracts-js",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/contracts-js",
"dependencies": {
"@thirdweb-dev/contracts": "3.12.1"
},
+1 -1
View File
@@ -1,6 +1,6 @@
<p align="center">
<br />
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<br />
</p>
<h1 align="center">thirdweb crypto</h1>
+1 -1
View File
@@ -10,7 +10,7 @@
},
"./package.json": "./package.json"
},
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/utils",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/utils",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/thirdweb-dev/js/issues"
+1 -1
View File
@@ -16,7 +16,7 @@
},
"./package.json": "./package.json"
},
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/generated-abis",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/generated-abis",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/thirdweb-dev/js/issues"
+1 -1
View File
@@ -1,6 +1,6 @@
<p align="center">
<br />
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<br />
</p>
<h1 align="center">thirdweb merkletree</h1>
+1 -1
View File
@@ -10,7 +10,7 @@
},
"./package.json": "./package.json"
},
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/utils",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/utils",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/thirdweb-dev/js/issues"
+1 -1
View File
@@ -1,6 +1,6 @@
<p align="center">
<br />
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<br />
</p>
<h1 align="center">thirdweb wallets</h1>
+1 -1
View File
@@ -14,7 +14,7 @@
},
"./package.json": "./package.json"
},
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/pay",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/pay",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/thirdweb-dev/js/issues"
+1 -1
View File
@@ -1,6 +1,6 @@
<p align="center">
<br />
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<br />
</p>
<h1 align="center">thirdweb Checkouts SDK</h1>
+1 -1
View File
@@ -17,7 +17,7 @@
},
"./package.json": "./package.json"
},
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/payments",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/payments",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/thirdweb-dev/js/issues"
+1 -1
View File
@@ -1,6 +1,6 @@
<p align="center">
<br />
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<br />
</p>
<h1 align="center">thirdweb React Core SDK</h1>
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@thirdweb-dev/react-core",
"version": "4.4.24",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react-core",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react-core",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
"main": "dist/thirdweb-dev-react-core.cjs.js",
@@ -6,8 +6,8 @@ import { typedoc } from "typedoc-gen";
typedoc({
entryPoints: ["src/index.ts"],
exclude: [
"**/packages/sdk/**",
"**/packages/wallets/**",
"**/packages/chains/**",
"**/legacy_packages/sdk/**",
"**/legacy_packages/wallets/**",
"**/legacy_packages/chains/**",
],
});
@@ -1,6 +1,6 @@
<p align="center">
<br />
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<br />
</p>
<h1 align="center">thirdweb React Native Compat</h1>
@@ -3,7 +3,7 @@
"description": "Shims for Thirdweb in React Native Projects",
"version": "0.7.21",
"author": "thirdweb eng <[email protected]>",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react-native-compat",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react-native-compat",
"license": "Apache-2.0",
"main": "dist/index.js",
"files": [
+1 -1
View File
@@ -1,6 +1,6 @@
<p align="center">
<br />
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<br />
</p>
<h1 align="center">thirdweb React Native SDK</h1>
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@thirdweb-dev/react-native",
"version": "0.7.21",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react-native",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react-native",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
"main": "dist/index.js",
@@ -4,9 +4,9 @@ import { typedoc } from "typedoc-gen";
typedoc({
entryPoints: ["src/index.ts"],
exclude: [
"**/packages/sdk/**",
"**/packages/wallets/**",
"**/packages/react-core/**",
"**/packages/chains/**",
"**/legacy_packages/sdk/**",
"**/legacy_packages/wallets/**",
"**/legacy_packages/react-core/**",
"**/legacy_packages/chains/**",
],
});
+1 -1
View File
@@ -1,6 +1,6 @@
<p align="center">
<br />
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<br />
</p>
<h1 align="center">thirdweb React SDK</h1>
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@thirdweb-dev/react",
"version": "4.4.24",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
"main": "dist/thirdweb-dev-react.cjs.js",
+4 -4
View File
@@ -6,9 +6,9 @@ import { typedoc } from "typedoc-gen";
typedoc({
entryPoints: ["src/index.ts"],
exclude: [
"**/packages/sdk/**",
"**/packages/wallets/**",
"**/packages/react-core/**",
"**/packages/chains/**",
"**/legacy_packages/sdk/**",
"**/legacy_packages/wallets/**",
"**/legacy_packages/react-core/**",
"**/legacy_packages/chains/**",
],
});
+2 -2
View File
@@ -1,6 +1,6 @@
<p align="center">
<br />
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<br />
</p>
<h1 align="center">thirdweb TypeScript SDK</h1>
@@ -116,7 +116,7 @@ node my_script.js
#### 3.2 Frontend usage
For frontend applications, head over to our [React Github repo](https://github.com/thirdweb-dev/js/tree/main/packages/react) which shows you how to connect to a user's wallet like Metamask, and automatically instantiate the thirdweb SDK for you.
For frontend applications, head over to our [React Github repo](https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react) which shows you how to connect to a user's wallet like Metamask, and automatically instantiate the thirdweb SDK for you.
Easiest way to get started on the frontend is using one of our templates in the [thirdweb examples repo](https://github.com/thirdweb-example).
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "@thirdweb-dev/sdk",
"version": "4.0.50",
"description": "The main thirdweb SDK.",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/sdk",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/sdk",
"license": "Apache-2.0",
"main": "dist/thirdweb-dev-sdk.cjs.js",
"module": "dist/thirdweb-dev-sdk.esm.js",
+1 -1
View File
@@ -5,5 +5,5 @@ import { typedoc } from "typedoc-gen";
typedoc({
entryPoints: ["src/index.ts"],
exclude: ["**/packages/storage/**", "**/packages/chains/**"],
exclude: ["**/legacy_packages/storage/**", "**/legacy_packages/chains/**"],
});
+11 -11
View File
@@ -32,7 +32,7 @@ export type { SmartContract } from "./contracts/smart-contract";
// re-export from functions entry point
export * from "./functions";
//#region @r/packages/sdk/src/evm/core
//#region @r/legacy_packages/sdk/src/evm/core
export * from "./core/types";
export * from "./core/classes/contract-encoder";
export * from "./core/classes/contract-metadata";
@@ -69,9 +69,9 @@ export * from "./core/classes/airdrop-erc1155";
export * from "./core/classes/contract-verifier";
export * from "./core/wallet/user-wallet";
export * from "./core/sdk";
//#endregion @r/packages/sdk/src/evm/core
//#endregion @r/legacy_packages/sdk/src/evm/core
//#region @r/packages/sdk/src/evm/common/*
//#region @r/legacy_packages/sdk/src/evm/common/*
export * from "./common/error";
export * from "./common/snapshots";
export * from "./common/role";
@@ -153,9 +153,9 @@ export { getCachedAbiForContract } from "./common/abi";
export * from "./common/ens/resolveEns";
export * from "./common/ens/resolveAddress";
export * from "./common/sign";
//#endregion @r/packages/sdk/src/evm/common/*
//#endregion @r/legacy_packages/sdk/src/evm/common/*
//#region @r/packages/sdk/src/evm/constants/*
//#region @r/legacy_packages/sdk/src/evm/constants/*
export * from "./constants/addresses/LOCAL_NODE_PKEY";
export * from "./constants/addresses/CONTRACT_ADDRESSES";
export * from "./constants/addresses/APPROVED_IMPLEMENTATIONS";
@@ -173,17 +173,17 @@ export * from "./constants/currency";
export * from "./constants/events";
export * from "./constants/urls";
export * from "./constants/contract-features";
//#endregion @r/packages/sdk/src/evm/constants/*
//#endregion @r/legacy_packages/sdk/src/evm/constants/*
//#region @r/packages/sdk/src/evm/enums
//#region @r/legacy_packages/sdk/src/evm/enums
export * from "./enums/marketplace/ListingType";
export * from "./enums/marketplace/Status";
export * from "./enums/vote/ProposalState";
export * from "./enums/vote/Vote";
export * from "./enums/ClaimEligibility";
//#endregion @r/packages/sdk/src/evm/enums
//#endregion @r/legacy_packages/sdk/src/evm/enums
//#region @r/packages/sdk/src/evm/types
//#region @r/legacy_packages/sdk/src/evm/types
export * from "./types/claim-conditions/claim-conditions";
export * from "./types/airdrop/airdrop";
export * from "./types/marketplace/NewDirectListing";
@@ -212,7 +212,7 @@ export * from "./types/contract";
export * from "./types/account";
//#endregion
//#region @r/packages/sdk/src/evm/schema
//#region @r/legacy_packages/sdk/src/evm/schema
export * from "./schema/shared/BigNumberSchema";
export * from "./schema/shared/AddressSchema";
export * from "./schema/shared/AddressOrEnsSchema";
@@ -244,4 +244,4 @@ export * from "./schema/tokens/token";
export * from "./schema/tokens/pack";
export type { DirectListingInputParams } from "./schema/marketplacev3/direct-listings";
export type { EnglishAuctionInputParams } from "./schema/marketplacev3/english-auctions";
//#endregion @r/packages/sdk/src/evm/schema
//#endregion @r/legacy_packages/sdk/src/evm/schema
+1 -1
View File
@@ -1,6 +1,6 @@
<p align="center">
<br />
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<br />
</p>
<h1 align="center">thirdweb Storage</h1>
+1 -1
View File
@@ -10,7 +10,7 @@
},
"./package.json": "./package.json"
},
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/storage",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/storage",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
"sideEffects": false,
+1 -1
View File
@@ -1,6 +1,6 @@
<p align="center">
<br />
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<br />
</p>
<h1 align="center">thirdweb Wallet SDK</h1>
+1 -1
View File
@@ -493,7 +493,7 @@
"./package.json": "./package.json"
},
"types": "dist/thirdweb-dev-wallets.cjs.d.ts",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/wallets",
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/wallets",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/thirdweb-dev/js/issues"
+1 -1
View File
@@ -1,6 +1,6 @@
<p align="center">
<br />
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<br />
</p>
<h1 align="center">thirdweb</h1>
+1 -1
View File
@@ -1,6 +1,6 @@
<p align="center">
<br />
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
<br />
</p>
<h1 align="center">thirdweb Unity JS bridge</h1>
+6 -6
View File
@@ -3,12 +3,12 @@ import fs from "fs";
import createCSharpSnippet from "./utils/create-csharp-snippet.mjs";
import createReactSnippet from "./utils/create-react-snippet-from-mapping.mjs";
// Note: these JSON files are only available after running the `pnpm generate-docs` in root
import typescriptSnippets from "../../packages/sdk/docs/evm/snippets.json" assert { type: "json" };
import reactWebSnippets from "../../packages/react/docs/evm/snippets.json" assert { type: "json" };
import reactCoreSnippets from "../../packages/react-core/docs/evm/snippets.json" assert { type: "json" };
import typescriptFeatureSnippets from "../../packages/sdk/docs/evm/feature_snippets.json" assert { type: "json" };
import reactFeatureSnippets from "../../packages/react/docs/evm/feature_snippets.json" assert { type: "json" };
import reactCoreFeatureSnippets from "../../packages/react-core/docs/evm/feature_snippets.json" assert { type: "json" };
import typescriptSnippets from "../../legacy_packages/sdk/docs/evm/snippets.json" assert { type: "json" };
import reactWebSnippets from "../../legacy_packages/react/docs/evm/snippets.json" assert { type: "json" };
import reactCoreSnippets from "../../legacy_packages/react-core/docs/evm/snippets.json" assert { type: "json" };
import typescriptFeatureSnippets from "../../legacy_packages/sdk/docs/evm/feature_snippets.json" assert { type: "json" };
import reactFeatureSnippets from "../../legacy_packages/react/docs/evm/feature_snippets.json" assert { type: "json" };
import reactCoreFeatureSnippets from "../../legacy_packages/react-core/docs/evm/feature_snippets.json" assert { type: "json" };
// Maybe feature_snippets_sdk.json and feature_snippets_sdk.json is not being used anywhere
// TODO: if that's the case - stop generating them here
@@ -1,6 +1,6 @@
// Read in the react snippets
import reactSnippets from "../../../packages/react/docs/evm/snippets.json" assert { type: "json" };
import reactCoreSnippets from "../../../packages/react-core/docs/evm/snippets.json" assert { type: "json" };
import reactSnippets from "../../../legacy_packages/react/docs/evm/snippets.json" assert { type: "json" };
import reactCoreSnippets from "../../../legacy_packages/react-core/docs/evm/snippets.json" assert { type: "json" };
// Takes in a two keys and returns the react snippet defined here for that value
// TODO: This logic **Probably** doesn't belong here.