@medialane/sdk 0.9.1 → 0.9.2
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.cjs.map +1 -1
- package/dist/index.d.cts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -359,7 +359,7 @@ interface ApiCollectionsQuery {
|
|
|
359
359
|
}
|
|
360
360
|
type OrderStatus = "ACTIVE" | "FULFILLED" | "CANCELLED" | "EXPIRED" | "COUNTER_OFFERED";
|
|
361
361
|
type SortOrder = "price_asc" | "price_desc" | "recent";
|
|
362
|
-
type ActivityType = "transfer" | "sale" | "listing" | "offer" | "cancelled";
|
|
362
|
+
type ActivityType = "mint" | "transfer" | "sale" | "listing" | "offer" | "cancelled";
|
|
363
363
|
type IntentType = "CREATE_LISTING" | "MAKE_OFFER" | "FULFILL_ORDER" | "CANCEL_ORDER" | "MINT" | "CREATE_COLLECTION" | "COUNTER_OFFER";
|
|
364
364
|
type IntentStatus = "PENDING" | "SIGNED" | "SUBMITTED" | "CONFIRMED" | "FAILED" | "EXPIRED";
|
|
365
365
|
type WebhookEventType = "ORDER_CREATED" | "ORDER_FULFILLED" | "ORDER_CANCELLED" | "TRANSFER";
|
|
@@ -553,14 +553,23 @@ interface ApiActivity {
|
|
|
553
553
|
from?: string;
|
|
554
554
|
to?: string;
|
|
555
555
|
blockNumber?: string;
|
|
556
|
+
/** ERC-1155 quantity (transfer/mint rows). "1" for ERC-721. */
|
|
557
|
+
amount?: string;
|
|
556
558
|
orderHash?: string;
|
|
557
559
|
nftContract?: string;
|
|
558
560
|
nftTokenId?: string;
|
|
559
561
|
offerer?: string;
|
|
560
562
|
fulfiller?: string | null;
|
|
561
563
|
price?: ApiActivityPrice;
|
|
564
|
+
/** Token standard — present on order rows. */
|
|
565
|
+
tokenStandard?: "ERC721" | "ERC1155";
|
|
562
566
|
txHash: string | null;
|
|
563
567
|
timestamp: string;
|
|
568
|
+
/** Batch-enriched token metadata — avoids per-row fetches. */
|
|
569
|
+
token?: {
|
|
570
|
+
name: string | null;
|
|
571
|
+
image: string | null;
|
|
572
|
+
} | null;
|
|
564
573
|
}
|
|
565
574
|
interface ApiActivitiesQuery {
|
|
566
575
|
type?: ActivityType;
|
package/dist/index.d.ts
CHANGED
|
@@ -359,7 +359,7 @@ interface ApiCollectionsQuery {
|
|
|
359
359
|
}
|
|
360
360
|
type OrderStatus = "ACTIVE" | "FULFILLED" | "CANCELLED" | "EXPIRED" | "COUNTER_OFFERED";
|
|
361
361
|
type SortOrder = "price_asc" | "price_desc" | "recent";
|
|
362
|
-
type ActivityType = "transfer" | "sale" | "listing" | "offer" | "cancelled";
|
|
362
|
+
type ActivityType = "mint" | "transfer" | "sale" | "listing" | "offer" | "cancelled";
|
|
363
363
|
type IntentType = "CREATE_LISTING" | "MAKE_OFFER" | "FULFILL_ORDER" | "CANCEL_ORDER" | "MINT" | "CREATE_COLLECTION" | "COUNTER_OFFER";
|
|
364
364
|
type IntentStatus = "PENDING" | "SIGNED" | "SUBMITTED" | "CONFIRMED" | "FAILED" | "EXPIRED";
|
|
365
365
|
type WebhookEventType = "ORDER_CREATED" | "ORDER_FULFILLED" | "ORDER_CANCELLED" | "TRANSFER";
|
|
@@ -553,14 +553,23 @@ interface ApiActivity {
|
|
|
553
553
|
from?: string;
|
|
554
554
|
to?: string;
|
|
555
555
|
blockNumber?: string;
|
|
556
|
+
/** ERC-1155 quantity (transfer/mint rows). "1" for ERC-721. */
|
|
557
|
+
amount?: string;
|
|
556
558
|
orderHash?: string;
|
|
557
559
|
nftContract?: string;
|
|
558
560
|
nftTokenId?: string;
|
|
559
561
|
offerer?: string;
|
|
560
562
|
fulfiller?: string | null;
|
|
561
563
|
price?: ApiActivityPrice;
|
|
564
|
+
/** Token standard — present on order rows. */
|
|
565
|
+
tokenStandard?: "ERC721" | "ERC1155";
|
|
562
566
|
txHash: string | null;
|
|
563
567
|
timestamp: string;
|
|
568
|
+
/** Batch-enriched token metadata — avoids per-row fetches. */
|
|
569
|
+
token?: {
|
|
570
|
+
name: string | null;
|
|
571
|
+
image: string | null;
|
|
572
|
+
} | null;
|
|
564
573
|
}
|
|
565
574
|
interface ApiActivitiesQuery {
|
|
566
575
|
type?: ActivityType;
|