@net-protocol/bazaar 0.1.14 → 0.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -0
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.mts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.js +15 -0
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +15 -0
- package/dist/react.mjs.map +1 -1
- package/dist/{types-DC9OwxWx.d.mts → types-Da-5LnWj.d.mts} +1 -1
- package/dist/{types-DC9OwxWx.d.ts → types-Da-5LnWj.d.ts} +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PublicClient } from 'viem';
|
|
2
2
|
import { NetMessage } from '@net-protocol/core';
|
|
3
|
-
import { G as GetListingsOptions, L as Listing, a as GetCollectionOffersOptions, C as CollectionOffer, b as GetErc20OffersOptions, E as Erc20Offer, c as GetErc20ListingsOptions, d as Erc20Listing, e as GetSalesOptions, S as Sale, W as WriteTransactionConfig, f as SeaportOrderComponents, P as PreparedFulfillment, g as CreateListingParams, h as PreparedOrder, i as CreateCollectionOfferParams, j as CreateErc20OfferParams, k as CreateErc20ListingParams, l as SeaportOrderParameters, m as SeaportSubmission, n as SeaportOrderStatusInfo, o as SeaportOrderStatus, p as EIP712OrderData } from './types-
|
|
4
|
-
export {
|
|
3
|
+
import { G as GetListingsOptions, L as Listing, a as GetCollectionOffersOptions, C as CollectionOffer, b as GetErc20OffersOptions, E as Erc20Offer, c as GetErc20ListingsOptions, d as Erc20Listing, e as GetSalesOptions, S as Sale, W as WriteTransactionConfig, f as SeaportOrderComponents, P as PreparedFulfillment, g as CreateListingParams, h as PreparedOrder, i as CreateCollectionOfferParams, j as CreateErc20OfferParams, k as CreateErc20ListingParams, l as SeaportOrderParameters, m as SeaportSubmission, n as SeaportOrderStatusInfo, o as SeaportOrderStatus, p as EIP712OrderData } from './types-Da-5LnWj.mjs';
|
|
4
|
+
export { q as ConsiderationItem, I as ItemType, O as OfferItem, r as OrderType } from './types-Da-5LnWj.mjs';
|
|
5
5
|
import { Seaport } from '@opensea/seaport-js';
|
|
6
6
|
|
|
7
7
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PublicClient } from 'viem';
|
|
2
2
|
import { NetMessage } from '@net-protocol/core';
|
|
3
|
-
import { G as GetListingsOptions, L as Listing, a as GetCollectionOffersOptions, C as CollectionOffer, b as GetErc20OffersOptions, E as Erc20Offer, c as GetErc20ListingsOptions, d as Erc20Listing, e as GetSalesOptions, S as Sale, W as WriteTransactionConfig, f as SeaportOrderComponents, P as PreparedFulfillment, g as CreateListingParams, h as PreparedOrder, i as CreateCollectionOfferParams, j as CreateErc20OfferParams, k as CreateErc20ListingParams, l as SeaportOrderParameters, m as SeaportSubmission, n as SeaportOrderStatusInfo, o as SeaportOrderStatus, p as EIP712OrderData } from './types-
|
|
4
|
-
export {
|
|
3
|
+
import { G as GetListingsOptions, L as Listing, a as GetCollectionOffersOptions, C as CollectionOffer, b as GetErc20OffersOptions, E as Erc20Offer, c as GetErc20ListingsOptions, d as Erc20Listing, e as GetSalesOptions, S as Sale, W as WriteTransactionConfig, f as SeaportOrderComponents, P as PreparedFulfillment, g as CreateListingParams, h as PreparedOrder, i as CreateCollectionOfferParams, j as CreateErc20OfferParams, k as CreateErc20ListingParams, l as SeaportOrderParameters, m as SeaportSubmission, n as SeaportOrderStatusInfo, o as SeaportOrderStatus, p as EIP712OrderData } from './types-Da-5LnWj.js';
|
|
4
|
+
export { q as ConsiderationItem, I as ItemType, O as OfferItem, r as OrderType } from './types-Da-5LnWj.js';
|
|
5
5
|
import { Seaport } from '@opensea/seaport-js';
|
|
6
6
|
|
|
7
7
|
/**
|
package/dist/index.js
CHANGED
|
@@ -581,6 +581,20 @@ var NET_SEAPORT_ZONE_ADDRESS = "0x000000007F8c58fbf215bF91Bda7421A806cf3ae";
|
|
|
581
581
|
var NET_SEAPORT_COLLECTION_OFFER_ZONE_ADDRESS = "0x000000B799ec6D7aCC1B578f62bFc324c25DFC5A";
|
|
582
582
|
var NET_SEAPORT_PRIVATE_ORDER_ZONE_ADDRESS = "0x000000bC63761cbb05305632212e2f3AE2BE7a9B";
|
|
583
583
|
var BAZAAR_CHAIN_CONFIGS = {
|
|
584
|
+
// Ethereum Mainnet
|
|
585
|
+
1: {
|
|
586
|
+
bazaarAddress: DEFAULT_BAZAAR_ADDRESS,
|
|
587
|
+
collectionOffersAddress: DEFAULT_COLLECTION_OFFERS_ADDRESS,
|
|
588
|
+
seaportAddress: DEFAULT_SEAPORT_ADDRESS,
|
|
589
|
+
feeCollectorAddress: DEFAULT_FEE_COLLECTOR_ADDRESS,
|
|
590
|
+
nftFeeBps: DEFAULT_NFT_FEE_BPS,
|
|
591
|
+
wrappedNativeCurrency: {
|
|
592
|
+
address: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
593
|
+
name: "Wrapped Ether",
|
|
594
|
+
symbol: "WETH"
|
|
595
|
+
},
|
|
596
|
+
currencySymbol: "eth"
|
|
597
|
+
},
|
|
584
598
|
// Base Mainnet
|
|
585
599
|
8453: {
|
|
586
600
|
bazaarAddress: "0x000000058f3ade587388daf827174d0e6fc97595",
|
|
@@ -1852,6 +1866,7 @@ var ERC721_TOKEN_OWNER_RANGE_HELPER_ABI = [
|
|
|
1852
1866
|
];
|
|
1853
1867
|
var OWNED_TOKENS_BATCH_SIZE = 5000n;
|
|
1854
1868
|
var CHAIN_RPC_URLS = {
|
|
1869
|
+
1: ["https://eth.llamarpc.com", "https://rpc.ankr.com/eth"],
|
|
1855
1870
|
8453: ["https://base-mainnet.public.blastapi.io", "https://mainnet.base.org"],
|
|
1856
1871
|
84532: ["https://sepolia.base.org"],
|
|
1857
1872
|
666666666: ["https://rpc.degen.tips"],
|