Skip to content

Commit f6cd3c3

Browse files
committed
update
1 parent 03bf859 commit f6cd3c3

File tree

12 files changed

+876
-467
lines changed

12 files changed

+876
-467
lines changed

packages/thirdweb/src/extensions/marketplace/direct-listings/direct-listings.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import { deployERC1155Contract } from "../../prebuilts/deploy-erc1155.js";
2828
import { deployMarketplaceContract } from "../../prebuilts/deploy-marketplace.js";
2929
import { newListingEvent } from "../__generated__/IDirectListings/events/NewListing.js";
3030
import { totalListings } from "../__generated__/IDirectListings/read/totalListings.js";
31+
3132
import { getAllListings } from "./read/getAllListings.js";
3233
import { getAllValidListings } from "./read/getAllValidListings.js";
3334
import { getListing } from "./read/getListing.js";

packages/thirdweb/src/extensions/marketplace/direct-listings/write/createListing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export function createListing(
130130
throw new Error("Start time must be before end time.");
131131
}
132132

133-
// valdiate quantity
133+
// validate quantity
134134
let quantity: bigint;
135135
if (assetIsERC721) {
136136
// force quantity to 1 for ERC721s

packages/thirdweb/src/extensions/marketplace/direct-listings/write/updateListing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ export function updateListing(
142142
throw new Error("Start time must be before end time.");
143143
}
144144

145-
// valdiate quantity
145+
// validate quantity
146146
let quantity: bigint;
147147
if (assetIsERC721) {
148148
// force quantity to 1 for ERC721s

0 commit comments

Comments
 (0)