@dcl/schemas 12.0.0 → 12.1.0
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/dapps/bid.d.ts +18 -2
- package/dist/dapps/bid.d.ts.map +1 -1
- package/dist/dapps/bid.js.map +1 -1
- package/dist/dapps/common.d.ts +12 -0
- package/dist/dapps/common.d.ts.map +1 -0
- package/dist/dapps/common.js +3 -0
- package/dist/dapps/common.js.map +1 -0
- package/dist/dapps/index.d.ts +29 -0
- package/dist/dapps/index.d.ts.map +1 -0
- package/dist/dapps/index.js +88 -0
- package/dist/dapps/index.js.map +1 -0
- package/dist/dapps/trade.d.ts +26 -3
- package/dist/dapps/trade.d.ts.map +1 -1
- package/dist/dapps/trade.js +3 -2
- package/dist/dapps/trade.js.map +1 -1
- package/dist/index.d.ts +1 -26
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -76
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +64 -8
- package/package.json +2 -2
package/dist/dapps/bid.d.ts
CHANGED
|
@@ -1,22 +1,30 @@
|
|
|
1
1
|
import { JSONSchema, ValidateFunction } from '../validation';
|
|
2
2
|
import { ChainId } from './chain-id';
|
|
3
|
+
import { PaginatedParameters } from './common';
|
|
3
4
|
import { ListingStatus } from './listing-status';
|
|
4
5
|
import { Network } from './network';
|
|
5
6
|
export type BaseBid = {
|
|
6
7
|
id: string;
|
|
7
8
|
bidder: string;
|
|
9
|
+
/**
|
|
10
|
+
* When the bid is on an item, this is the address of the creator of the collection
|
|
11
|
+
* When the bid is on an NFT, this is the address of the owner of the NFT
|
|
12
|
+
*/
|
|
8
13
|
seller: string;
|
|
9
14
|
price: string;
|
|
10
15
|
status: ListingStatus;
|
|
16
|
+
/** expiration date in milliseconds */
|
|
11
17
|
expiresAt: number;
|
|
18
|
+
/** creation date in milliseconds */
|
|
12
19
|
createdAt: number;
|
|
20
|
+
/** updated date in milliseconds */
|
|
13
21
|
updatedAt: number;
|
|
14
22
|
contractAddress: string;
|
|
15
23
|
network: Network.ETHEREUM | Network.MATIC;
|
|
16
24
|
chainId: ChainId;
|
|
17
25
|
fingerprint: string;
|
|
18
26
|
};
|
|
19
|
-
type LegacyBid = BaseBid & {
|
|
27
|
+
export type LegacyBid = BaseBid & {
|
|
20
28
|
bidAddress: string;
|
|
21
29
|
blockchainId: string;
|
|
22
30
|
blockNumber: string;
|
|
@@ -49,9 +57,17 @@ export type BidFilters = {
|
|
|
49
57
|
status?: ListingStatus;
|
|
50
58
|
network?: Network;
|
|
51
59
|
};
|
|
60
|
+
export type GetBidsParameters = PaginatedParameters & {
|
|
61
|
+
bidder?: string;
|
|
62
|
+
seller?: string;
|
|
63
|
+
sortBy?: BidSortBy;
|
|
64
|
+
contractAddress?: string;
|
|
65
|
+
tokenId?: string;
|
|
66
|
+
status?: ListingStatus;
|
|
67
|
+
network?: Network;
|
|
68
|
+
};
|
|
52
69
|
export declare namespace Bid {
|
|
53
70
|
const schema: JSONSchema<Bid>;
|
|
54
71
|
const validate: ValidateFunction<Bid>;
|
|
55
72
|
}
|
|
56
|
-
export {};
|
|
57
73
|
//# sourceMappingURL=bid.d.ts.map
|
package/dist/dapps/bid.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bid.d.ts","sourceRoot":"","sources":["../../src/dapps/bid.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,UAAU,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AACnF,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,MAAM,MAAM,OAAO,GAAG;IACpB,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,MAAM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AM,MAAM,EAAE,UAAU,CAAC,GAAG,CAiDlC,CAAA;IAEM,MAAM,QAAQ,EAAE,gBAAgB,CAAC,GAAG,CAAiC,CAAA;CAC7E"}
|
package/dist/dapps/bid.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bid.js","sourceRoot":"","sources":["../../src/dapps/bid.ts"],"names":[],"mappings":";;;AAAA,8CAAmF;AACnF,yCAAoC;
|
|
1
|
+
{"version":3,"file":"bid.js","sourceRoot":"","sources":["../../src/dapps/bid.ts"],"names":[],"mappings":";;;AAAA,8CAAmF;AACnF,yCAAoC;AAEpC,qDAAgD;AAChD,uCAAmC;AA6CnC,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,kDAAqC,CAAA;IACrC,kDAAqC,CAAA;IACrC,8CAAiC,CAAA;AACnC,CAAC,EAJW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAIpB;AAyBD,IAAiB,GAAG,CAuGnB;AAvGD,WAAiB,GAAG;IAClB,MAAM,aAAa,GAAwB;QACzC,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;aACf;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;aACf;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;aACf;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;aACf;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;aACf;YACD,MAAM,EAAE,8BAAa,CAAC,MAAM;YAC5B,eAAe,EAAE;gBACf,IAAI,EAAE,QAAQ;aACf;YACD,OAAO,EAAE,iBAAO,CAAC,MAAM;YACvB,OAAO,EAAE,kBAAO,CAAC,MAAM;YACvB,SAAS,EAAE;gBACT,IAAI,EAAE,SAAS;aAChB;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,SAAS;aAChB;YACD,SAAS,EAAE;gBACT,IAAI,EAAE,SAAS;aAChB;SACF;QACD,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,GAAH,WAAG,KAAH,WAAG,QAuGnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/dapps/common.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,CAAC,CAAC,IAAI;IACjC,OAAO,EAAE,CAAC,EAAE,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../src/dapps/common.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export { PaginatedResponse, PaginatedParameters } from './common';
|
|
2
|
+
export { Account, AccountFilters, AccountSortBy } from './account';
|
|
3
|
+
export { ChainId, getChainName, getURNProtocol } from './chain-id';
|
|
4
|
+
export { ChainName, getChainId } from './chain-name';
|
|
5
|
+
export { Collection, CollectionFilters, CollectionSortBy } from './collection';
|
|
6
|
+
export { Contract, ContractFilters, ContractSortBy } from './contract';
|
|
7
|
+
export { Item, ItemFilters, ItemSortBy } from './item';
|
|
8
|
+
export { ListingStatus } from './listing-status';
|
|
9
|
+
export { MetaTransaction } from './meta-transactions';
|
|
10
|
+
export { Mint, MintFilters, MintSortBy } from './mint';
|
|
11
|
+
export { Network } from './network';
|
|
12
|
+
export { NFTCategory } from './nft-category';
|
|
13
|
+
export { NFT, NFTFilters, NFTSortBy } from './nft';
|
|
14
|
+
export { CatalogFilters, CatalogSortBy, CatalogSortDirection } from './catalog';
|
|
15
|
+
export { Order, OrderFilters, OrderSortBy } from './order';
|
|
16
|
+
export { ProviderType } from './provider-type';
|
|
17
|
+
export { Rarity } from './rarity';
|
|
18
|
+
export { SaleType } from './sale-type';
|
|
19
|
+
export { Sale, SaleFilters, SaleSortBy } from './sale';
|
|
20
|
+
export { RentalStatus, RentalsListingSortDirection, RentalsListingsFilterByCategory, RentalsListingsSortBy, RentalsListingsFilterByPeriod, RentalsListingsFilterBy, RentalListing, RentalListingPeriod, RentalListingCreation, PeriodCreation } from './rentals-listings';
|
|
21
|
+
export { AnalyticsDayData, AnalyticsDayDataFilters, AnalyticsDayDataSortBy } from './analyticsDayData';
|
|
22
|
+
export { Store } from './store';
|
|
23
|
+
export { WearableGender, GenderFilterOption } from './wearable-gender';
|
|
24
|
+
export { World, ValidWorldRange, getWorld, isInsideWorldLimits } from './world';
|
|
25
|
+
export * from './bid';
|
|
26
|
+
export * from './common';
|
|
27
|
+
export * from './trade';
|
|
28
|
+
export * from './preview';
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dapps/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AACjE,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAClE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAClE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACpD,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAC9E,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AACtE,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,O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,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.isInsideWorldLimits = exports.getWorld = exports.World = exports.GenderFilterOption = exports.WearableGender = exports.Store = exports.AnalyticsDayDataSortBy = exports.PeriodCreation = exports.RentalListingCreation = exports.RentalsListingsSortBy = exports.RentalsListingsFilterByCategory = exports.RentalsListingSortDirection = exports.RentalStatus = exports.SaleSortBy = exports.Sale = exports.SaleType = exports.Rarity = exports.ProviderType = exports.OrderSortBy = exports.Order = exports.CatalogSortDirection = exports.CatalogSortBy = exports.NFTSortBy = exports.NFT = exports.NFTCategory = exports.Network = exports.MintSortBy = exports.Mint = exports.MetaTransaction = exports.ListingStatus = exports.ItemSortBy = exports.Item = exports.ContractSortBy = exports.Contract = exports.CollectionSortBy = exports.Collection = exports.getChainId = exports.ChainName = exports.getURNProtocol = exports.getChainName = exports.ChainId = exports.AccountSortBy = exports.Account = void 0;
|
|
18
|
+
var account_1 = require("./account");
|
|
19
|
+
Object.defineProperty(exports, "Account", { enumerable: true, get: function () { return account_1.Account; } });
|
|
20
|
+
Object.defineProperty(exports, "AccountSortBy", { enumerable: true, get: function () { return account_1.AccountSortBy; } });
|
|
21
|
+
var chain_id_1 = require("./chain-id");
|
|
22
|
+
Object.defineProperty(exports, "ChainId", { enumerable: true, get: function () { return chain_id_1.ChainId; } });
|
|
23
|
+
Object.defineProperty(exports, "getChainName", { enumerable: true, get: function () { return chain_id_1.getChainName; } });
|
|
24
|
+
Object.defineProperty(exports, "getURNProtocol", { enumerable: true, get: function () { return chain_id_1.getURNProtocol; } });
|
|
25
|
+
var chain_name_1 = require("./chain-name");
|
|
26
|
+
Object.defineProperty(exports, "ChainName", { enumerable: true, get: function () { return chain_name_1.ChainName; } });
|
|
27
|
+
Object.defineProperty(exports, "getChainId", { enumerable: true, get: function () { return chain_name_1.getChainId; } });
|
|
28
|
+
var collection_1 = require("./collection");
|
|
29
|
+
Object.defineProperty(exports, "Collection", { enumerable: true, get: function () { return collection_1.Collection; } });
|
|
30
|
+
Object.defineProperty(exports, "CollectionSortBy", { enumerable: true, get: function () { return collection_1.CollectionSortBy; } });
|
|
31
|
+
var contract_1 = require("./contract");
|
|
32
|
+
Object.defineProperty(exports, "Contract", { enumerable: true, get: function () { return contract_1.Contract; } });
|
|
33
|
+
Object.defineProperty(exports, "ContractSortBy", { enumerable: true, get: function () { return contract_1.ContractSortBy; } });
|
|
34
|
+
var item_1 = require("./item");
|
|
35
|
+
Object.defineProperty(exports, "Item", { enumerable: true, get: function () { return item_1.Item; } });
|
|
36
|
+
Object.defineProperty(exports, "ItemSortBy", { enumerable: true, get: function () { return item_1.ItemSortBy; } });
|
|
37
|
+
var listing_status_1 = require("./listing-status");
|
|
38
|
+
Object.defineProperty(exports, "ListingStatus", { enumerable: true, get: function () { return listing_status_1.ListingStatus; } });
|
|
39
|
+
var meta_transactions_1 = require("./meta-transactions");
|
|
40
|
+
Object.defineProperty(exports, "MetaTransaction", { enumerable: true, get: function () { return meta_transactions_1.MetaTransaction; } });
|
|
41
|
+
var mint_1 = require("./mint");
|
|
42
|
+
Object.defineProperty(exports, "Mint", { enumerable: true, get: function () { return mint_1.Mint; } });
|
|
43
|
+
Object.defineProperty(exports, "MintSortBy", { enumerable: true, get: function () { return mint_1.MintSortBy; } });
|
|
44
|
+
var network_1 = require("./network");
|
|
45
|
+
Object.defineProperty(exports, "Network", { enumerable: true, get: function () { return network_1.Network; } });
|
|
46
|
+
var nft_category_1 = require("./nft-category");
|
|
47
|
+
Object.defineProperty(exports, "NFTCategory", { enumerable: true, get: function () { return nft_category_1.NFTCategory; } });
|
|
48
|
+
var nft_1 = require("./nft");
|
|
49
|
+
Object.defineProperty(exports, "NFT", { enumerable: true, get: function () { return nft_1.NFT; } });
|
|
50
|
+
Object.defineProperty(exports, "NFTSortBy", { enumerable: true, get: function () { return nft_1.NFTSortBy; } });
|
|
51
|
+
var catalog_1 = require("./catalog");
|
|
52
|
+
Object.defineProperty(exports, "CatalogSortBy", { enumerable: true, get: function () { return catalog_1.CatalogSortBy; } });
|
|
53
|
+
Object.defineProperty(exports, "CatalogSortDirection", { enumerable: true, get: function () { return catalog_1.CatalogSortDirection; } });
|
|
54
|
+
var order_1 = require("./order");
|
|
55
|
+
Object.defineProperty(exports, "Order", { enumerable: true, get: function () { return order_1.Order; } });
|
|
56
|
+
Object.defineProperty(exports, "OrderSortBy", { enumerable: true, get: function () { return order_1.OrderSortBy; } });
|
|
57
|
+
var provider_type_1 = require("./provider-type");
|
|
58
|
+
Object.defineProperty(exports, "ProviderType", { enumerable: true, get: function () { return provider_type_1.ProviderType; } });
|
|
59
|
+
var rarity_1 = require("./rarity");
|
|
60
|
+
Object.defineProperty(exports, "Rarity", { enumerable: true, get: function () { return rarity_1.Rarity; } });
|
|
61
|
+
var sale_type_1 = require("./sale-type");
|
|
62
|
+
Object.defineProperty(exports, "SaleType", { enumerable: true, get: function () { return sale_type_1.SaleType; } });
|
|
63
|
+
var sale_1 = require("./sale");
|
|
64
|
+
Object.defineProperty(exports, "Sale", { enumerable: true, get: function () { return sale_1.Sale; } });
|
|
65
|
+
Object.defineProperty(exports, "SaleSortBy", { enumerable: true, get: function () { return sale_1.SaleSortBy; } });
|
|
66
|
+
var rentals_listings_1 = require("./rentals-listings");
|
|
67
|
+
Object.defineProperty(exports, "RentalStatus", { enumerable: true, get: function () { return rentals_listings_1.RentalStatus; } });
|
|
68
|
+
Object.defineProperty(exports, "RentalsListingSortDirection", { enumerable: true, get: function () { return rentals_listings_1.RentalsListingSortDirection; } });
|
|
69
|
+
Object.defineProperty(exports, "RentalsListingsFilterByCategory", { enumerable: true, get: function () { return rentals_listings_1.RentalsListingsFilterByCategory; } });
|
|
70
|
+
Object.defineProperty(exports, "RentalsListingsSortBy", { enumerable: true, get: function () { return rentals_listings_1.RentalsListingsSortBy; } });
|
|
71
|
+
Object.defineProperty(exports, "RentalListingCreation", { enumerable: true, get: function () { return rentals_listings_1.RentalListingCreation; } });
|
|
72
|
+
Object.defineProperty(exports, "PeriodCreation", { enumerable: true, get: function () { return rentals_listings_1.PeriodCreation; } });
|
|
73
|
+
var analyticsDayData_1 = require("./analyticsDayData");
|
|
74
|
+
Object.defineProperty(exports, "AnalyticsDayDataSortBy", { enumerable: true, get: function () { return analyticsDayData_1.AnalyticsDayDataSortBy; } });
|
|
75
|
+
var store_1 = require("./store");
|
|
76
|
+
Object.defineProperty(exports, "Store", { enumerable: true, get: function () { return store_1.Store; } });
|
|
77
|
+
var wearable_gender_1 = require("./wearable-gender");
|
|
78
|
+
Object.defineProperty(exports, "WearableGender", { enumerable: true, get: function () { return wearable_gender_1.WearableGender; } });
|
|
79
|
+
Object.defineProperty(exports, "GenderFilterOption", { enumerable: true, get: function () { return wearable_gender_1.GenderFilterOption; } });
|
|
80
|
+
var world_1 = require("./world");
|
|
81
|
+
Object.defineProperty(exports, "World", { enumerable: true, get: function () { return world_1.World; } });
|
|
82
|
+
Object.defineProperty(exports, "getWorld", { enumerable: true, get: function () { return world_1.getWorld; } });
|
|
83
|
+
Object.defineProperty(exports, "isInsideWorldLimits", { enumerable: true, get: function () { return world_1.isInsideWorldLimits; } });
|
|
84
|
+
__exportStar(require("./bid"), exports);
|
|
85
|
+
__exportStar(require("./common"), exports);
|
|
86
|
+
__exportStar(require("./trade"), exports);
|
|
87
|
+
__exportStar(require("./preview"), exports);
|
|
88
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dapps/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,qCAAkE;AAAzD,kGAAA,OAAO,OAAA;AAAkB,wGAAA,aAAa,OAAA;AAC/C,uCAAkE;AAAzD,mGAAA,OAAO,OAAA;AAAE,wGAAA,YAAY,OAAA;AAAE,0GAAA,cAAc,OAAA;AAC9C,2CAAoD;AAA3C,uGAAA,SAAS,OAAA;AAAE,wGAAA,UAAU,OAAA;AAC9B,2CAA8E;AAArE,wGAAA,UAAU,OAAA;AAAqB,8GAAA,gBAAgB,OAAA;AACxD,uCAAsE;AAA7D,oGAAA,QAAQ,OAAA;AAAmB,0GAAA,cAAc,OAAA;AAClD,+BAAsD;AAA7C,4FAAA,IAAI,OAAA;AAAe,kGAAA,UAAU,OAAA;AACtC,mDAAgD;AAAvC,+GAAA,aAAa,OAAA;AACtB,yDAAqD;AAA5C,oHAAA,eAAe,OAAA;AACxB,+BAAsD;AAA7C,4FAAA,IAAI,OAAA;AAAe,kGAAA,UAAU,OAAA;AACtC,qCAAmC;AAA1B,kGAAA,OAAO,OAAA;AAChB,+CAA4C;AAAnC,2GAAA,WAAW,OAAA;AACpB,6BAAkD;AAAzC,0FAAA,GAAG,OAAA;AAAc,gGAAA,SAAS,OAAA;AACnC,qCAA+E;AAAtD,wGAAA,aAAa,OAAA;AAAE,+GAAA,oBAAoB,OAAA;AAC5D,iCAA0D;AAAjD,8FAAA,KAAK,OAAA;AAAgB,oGAAA,WAAW,OAAA;AACzC,iDAA8C;AAArC,6GAAA,YAAY,OAAA;AACrB,mCAAiC;AAAxB,gGAAA,MAAM,OAAA;AACf,yCAAsC;AAA7B,qGAAA,QAAQ,OAAA;AACjB,+BAAsD;AAA7C,4FAAA,IAAI,OAAA;AAAe,kGAAA,UAAU,OAAA;AACtC,uDAW2B;AAVzB,gHAAA,YAAY,OAAA;AACZ,+HAAA,2BAA2B,OAAA;AAC3B,mIAAA,+BAA+B,OAAA;AAC/B,yHAAA,qBAAqB,OAAA;AAKrB,yHAAA,qBAAqB,OAAA;AACrB,kHAAA,cAAc,OAAA;AAEhB,uDAAsG;AAAlD,0HAAA,sBAAsB,OAAA;AAC1E,iCAA+B;AAAtB,8FAAA,KAAK,OAAA;AACd,qDAAsE;AAA7D,iHAAA,cAAc,OAAA;AAAE,qHAAA,kBAAkB,OAAA;AAC3C,iCAA+E;AAAtE,8FAAA,KAAK,OAAA;AAAmB,iGAAA,QAAQ,OAAA;AAAE,4GAAA,mBAAmB,OAAA;AAC9D,wCAAqB;AACrB,2CAAwB;AACxB,0CAAuB;AACvB,4CAAyB"}
|
package/dist/dapps/trade.d.ts
CHANGED
|
@@ -12,7 +12,9 @@ export type TradeExternalCheck = {
|
|
|
12
12
|
};
|
|
13
13
|
export type TradeChecks = {
|
|
14
14
|
uses: number;
|
|
15
|
+
/** Expiration in milliseconds */
|
|
15
16
|
expiration: number;
|
|
17
|
+
/** Effective since date in milliseconds */
|
|
16
18
|
effective: number;
|
|
17
19
|
salt: string;
|
|
18
20
|
contractSignatureIndex: number;
|
|
@@ -23,8 +25,9 @@ export type TradeChecks = {
|
|
|
23
25
|
};
|
|
24
26
|
export declare enum TradeAssetType {
|
|
25
27
|
ERC20 = 1,
|
|
26
|
-
|
|
27
|
-
|
|
28
|
+
USD_PEGGED_MANA = 2,
|
|
29
|
+
ERC721 = 3,
|
|
30
|
+
COLLECTION_ITEM = 4
|
|
28
31
|
}
|
|
29
32
|
export declare enum TradeAssetDirection {
|
|
30
33
|
SENT = "sent",
|
|
@@ -43,11 +46,15 @@ export type ERC20TradeAsset = BaseTradeAsset & {
|
|
|
43
46
|
assetType: TradeAssetType.ERC20;
|
|
44
47
|
amount: string;
|
|
45
48
|
};
|
|
49
|
+
export type USDPeggedManaTradeAsset = BaseTradeAsset & {
|
|
50
|
+
assetType: TradeAssetType.USD_PEGGED_MANA;
|
|
51
|
+
amount: string;
|
|
52
|
+
};
|
|
46
53
|
export type ERC721TradeAsset = BaseTradeAsset & {
|
|
47
54
|
assetType: TradeAssetType.ERC721;
|
|
48
55
|
tokenId: string;
|
|
49
56
|
};
|
|
50
|
-
export type TradeAsset = CollectionItemTradeAsset | ERC20TradeAsset | ERC721TradeAsset;
|
|
57
|
+
export type TradeAsset = CollectionItemTradeAsset | ERC20TradeAsset | ERC721TradeAsset | USDPeggedManaTradeAsset;
|
|
51
58
|
export type TradeAssetWithBeneficiary = TradeAsset & {
|
|
52
59
|
beneficiary: string;
|
|
53
60
|
};
|
|
@@ -73,4 +80,20 @@ export type TradeCreation = {
|
|
|
73
80
|
sent: TradeAsset[];
|
|
74
81
|
received: TradeAssetWithBeneficiary[];
|
|
75
82
|
};
|
|
83
|
+
export type OnChainTradeAsset = {
|
|
84
|
+
assetType: TradeAssetType;
|
|
85
|
+
contractAddress: string;
|
|
86
|
+
value: string;
|
|
87
|
+
extra: string;
|
|
88
|
+
beneficiary: string;
|
|
89
|
+
};
|
|
90
|
+
export type OnChainTrade = {
|
|
91
|
+
signer: string;
|
|
92
|
+
signature: string;
|
|
93
|
+
checks: TradeChecks & {
|
|
94
|
+
allowedProof: string[];
|
|
95
|
+
};
|
|
96
|
+
sent: OnChainTradeAsset[];
|
|
97
|
+
received: OnChainTradeAsset[];
|
|
98
|
+
};
|
|
76
99
|
//# sourceMappingURL=trade.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trade.d.ts","sourceRoot":"","sources":["../../src/dapps/trade.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACpC,OAAO,EAAE,OAAO,EA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AAA;CACtC,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,SAAS,EAAE,cAAc,CAAA;IACzB,eAAe,EAAE,MAAM,CAAA;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,WAAW,GAAG;QAAE,YAAY,EAAE,MAAM,EAAE,CAAA;KAAE,CAAA;IAChD,IAAI,EAAE,iBAAiB,EAAE,CAAA;IACzB,QAAQ,EAAE,iBAAiB,EAAE,CAAA;CAC9B,CAAA"}
|
package/dist/dapps/trade.js
CHANGED
|
@@ -9,8 +9,9 @@ var TradeType;
|
|
|
9
9
|
var TradeAssetType;
|
|
10
10
|
(function (TradeAssetType) {
|
|
11
11
|
TradeAssetType[TradeAssetType["ERC20"] = 1] = "ERC20";
|
|
12
|
-
TradeAssetType[TradeAssetType["
|
|
13
|
-
TradeAssetType[TradeAssetType["
|
|
12
|
+
TradeAssetType[TradeAssetType["USD_PEGGED_MANA"] = 2] = "USD_PEGGED_MANA";
|
|
13
|
+
TradeAssetType[TradeAssetType["ERC721"] = 3] = "ERC721";
|
|
14
|
+
TradeAssetType[TradeAssetType["COLLECTION_ITEM"] = 4] = "COLLECTION_ITEM";
|
|
14
15
|
})(TradeAssetType = exports.TradeAssetType || (exports.TradeAssetType = {}));
|
|
15
16
|
var TradeAssetDirection;
|
|
16
17
|
(function (TradeAssetDirection) {
|
package/dist/dapps/trade.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trade.js","sourceRoot":"","sources":["../../src/dapps/trade.ts"],"names":[],"mappings":";;;AAGA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0CAA6B,CAAA;AAC/B,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;
|
|
1
|
+
{"version":3,"file":"trade.js","sourceRoot":"","sources":["../../src/dapps/trade.ts"],"names":[],"mappings":";;;AAGA,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0CAA6B,CAAA;AAC/B,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AAuBD,IAAY,cAKX;AALD,WAAY,cAAc;IACxB,qDAAS,CAAA;IACT,yEAAmB,CAAA;IACnB,uDAAU,CAAA;IACV,yEAAmB,CAAA;AACrB,CAAC,EALW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAKzB;AAED,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,oCAAa,CAAA;IACb,4CAAqB,CAAA;AACvB,CAAC,EAHW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAG9B"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,31 +1,6 @@
|
|
|
1
1
|
import * as sdk from './sdk';
|
|
2
2
|
export * from './validation';
|
|
3
|
-
export
|
|
4
|
-
export { Account, AccountFilters, AccountSortBy } from './dapps/account';
|
|
5
|
-
export { ChainId, getChainName, getURNProtocol } from './dapps/chain-id';
|
|
6
|
-
export { ChainName, getChainId } from './dapps/chain-name';
|
|
7
|
-
export { Collection, CollectionFilters, CollectionSortBy } from './dapps/collection';
|
|
8
|
-
export { Contract, ContractFilters, ContractSortBy } from './dapps/contract';
|
|
9
|
-
export { Item, ItemFilters, ItemSortBy } from './dapps/item';
|
|
10
|
-
export { ListingStatus } from './dapps/listing-status';
|
|
11
|
-
export { MetaTransaction } from './dapps/meta-transactions';
|
|
12
|
-
export { Mint, MintFilters, MintSortBy } from './dapps/mint';
|
|
13
|
-
export { Network } from './dapps/network';
|
|
14
|
-
export { NFTCategory } from './dapps/nft-category';
|
|
15
|
-
export { NFT, NFTFilters, NFTSortBy } from './dapps/nft';
|
|
16
|
-
export { CatalogFilters, CatalogSortBy, CatalogSortDirection } from './dapps/catalog';
|
|
17
|
-
export { Order, OrderFilters, OrderSortBy } from './dapps/order';
|
|
18
|
-
export { ProviderType } from './dapps/provider-type';
|
|
19
|
-
export { Rarity } from './dapps/rarity';
|
|
20
|
-
export { SaleType } from './dapps/sale-type';
|
|
21
|
-
export { Sale, SaleFilters, SaleSortBy } from './dapps/sale';
|
|
22
|
-
export { Trade, TradeAsset, TradeAssetType, TradeAssetDirection, TradeChecks, TradeExternalCheck, TradeCreation, TradeType, TradeAssetWithBeneficiary, BaseTradeAsset, ERC20TradeAsset, ERC721TradeAsset, CollectionItemTradeAsset } from './dapps/trade';
|
|
23
|
-
export { RentalStatus, RentalsListingSortDirection, RentalsListingsFilterByCategory, RentalsListingsSortBy, RentalsListingsFilterByPeriod, RentalsListingsFilterBy, RentalListing, RentalListingPeriod, RentalListingCreation, PeriodCreation } from './dapps/rentals-listings';
|
|
24
|
-
export { AnalyticsDayData, AnalyticsDayDataFilters, AnalyticsDayDataSortBy } from './dapps/analyticsDayData';
|
|
25
|
-
export { Store } from './dapps/store';
|
|
26
|
-
export { WearableGender, GenderFilterOption } from './dapps/wearable-gender';
|
|
27
|
-
export { World, ValidWorldRange, getWorld, isInsideWorldLimits } from './dapps/world';
|
|
28
|
-
export * from './dapps/preview';
|
|
3
|
+
export * from './dapps';
|
|
29
4
|
export * from './platform';
|
|
30
5
|
export * from './misc';
|
|
31
6
|
export * from './misc/linker-authorization';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,OAAO,CAAA;AAG5B,cAAc,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,OAAO,CAAA;AAG5B,cAAc,cAAc,CAAA;AAC5B,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,cAAc,QAAQ,CAAA;AACtB,cAAc,6BAA6B,CAAA;AAC3C,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,cAAc,CAAA;AAC5B,OAAO,EAAE,GAAG,EAAE,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -26,86 +26,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.sdk =
|
|
29
|
+
exports.sdk = void 0;
|
|
30
30
|
const sdk = __importStar(require("./sdk"));
|
|
31
31
|
exports.sdk = sdk;
|
|
32
32
|
// export the utils
|
|
33
33
|
__exportStar(require("./validation"), exports);
|
|
34
|
-
|
|
35
|
-
var bid_1 = require("./dapps/bid");
|
|
36
|
-
Object.defineProperty(exports, "Bid", { enumerable: true, get: function () { return bid_1.Bid; } });
|
|
37
|
-
Object.defineProperty(exports, "BidSortBy", { enumerable: true, get: function () { return bid_1.BidSortBy; } });
|
|
38
|
-
var account_1 = require("./dapps/account");
|
|
39
|
-
Object.defineProperty(exports, "Account", { enumerable: true, get: function () { return account_1.Account; } });
|
|
40
|
-
Object.defineProperty(exports, "AccountSortBy", { enumerable: true, get: function () { return account_1.AccountSortBy; } });
|
|
41
|
-
var chain_id_1 = require("./dapps/chain-id");
|
|
42
|
-
Object.defineProperty(exports, "ChainId", { enumerable: true, get: function () { return chain_id_1.ChainId; } });
|
|
43
|
-
Object.defineProperty(exports, "getChainName", { enumerable: true, get: function () { return chain_id_1.getChainName; } });
|
|
44
|
-
Object.defineProperty(exports, "getURNProtocol", { enumerable: true, get: function () { return chain_id_1.getURNProtocol; } });
|
|
45
|
-
var chain_name_1 = require("./dapps/chain-name");
|
|
46
|
-
Object.defineProperty(exports, "ChainName", { enumerable: true, get: function () { return chain_name_1.ChainName; } });
|
|
47
|
-
Object.defineProperty(exports, "getChainId", { enumerable: true, get: function () { return chain_name_1.getChainId; } });
|
|
48
|
-
var collection_1 = require("./dapps/collection");
|
|
49
|
-
Object.defineProperty(exports, "Collection", { enumerable: true, get: function () { return collection_1.Collection; } });
|
|
50
|
-
Object.defineProperty(exports, "CollectionSortBy", { enumerable: true, get: function () { return collection_1.CollectionSortBy; } });
|
|
51
|
-
var contract_1 = require("./dapps/contract");
|
|
52
|
-
Object.defineProperty(exports, "Contract", { enumerable: true, get: function () { return contract_1.Contract; } });
|
|
53
|
-
Object.defineProperty(exports, "ContractSortBy", { enumerable: true, get: function () { return contract_1.ContractSortBy; } });
|
|
54
|
-
var item_1 = require("./dapps/item");
|
|
55
|
-
Object.defineProperty(exports, "Item", { enumerable: true, get: function () { return item_1.Item; } });
|
|
56
|
-
Object.defineProperty(exports, "ItemSortBy", { enumerable: true, get: function () { return item_1.ItemSortBy; } });
|
|
57
|
-
var listing_status_1 = require("./dapps/listing-status");
|
|
58
|
-
Object.defineProperty(exports, "ListingStatus", { enumerable: true, get: function () { return listing_status_1.ListingStatus; } });
|
|
59
|
-
var meta_transactions_1 = require("./dapps/meta-transactions");
|
|
60
|
-
Object.defineProperty(exports, "MetaTransaction", { enumerable: true, get: function () { return meta_transactions_1.MetaTransaction; } });
|
|
61
|
-
var mint_1 = require("./dapps/mint");
|
|
62
|
-
Object.defineProperty(exports, "Mint", { enumerable: true, get: function () { return mint_1.Mint; } });
|
|
63
|
-
Object.defineProperty(exports, "MintSortBy", { enumerable: true, get: function () { return mint_1.MintSortBy; } });
|
|
64
|
-
var network_1 = require("./dapps/network");
|
|
65
|
-
Object.defineProperty(exports, "Network", { enumerable: true, get: function () { return network_1.Network; } });
|
|
66
|
-
var nft_category_1 = require("./dapps/nft-category");
|
|
67
|
-
Object.defineProperty(exports, "NFTCategory", { enumerable: true, get: function () { return nft_category_1.NFTCategory; } });
|
|
68
|
-
var nft_1 = require("./dapps/nft");
|
|
69
|
-
Object.defineProperty(exports, "NFT", { enumerable: true, get: function () { return nft_1.NFT; } });
|
|
70
|
-
Object.defineProperty(exports, "NFTSortBy", { enumerable: true, get: function () { return nft_1.NFTSortBy; } });
|
|
71
|
-
var catalog_1 = require("./dapps/catalog");
|
|
72
|
-
Object.defineProperty(exports, "CatalogSortBy", { enumerable: true, get: function () { return catalog_1.CatalogSortBy; } });
|
|
73
|
-
Object.defineProperty(exports, "CatalogSortDirection", { enumerable: true, get: function () { return catalog_1.CatalogSortDirection; } });
|
|
74
|
-
var order_1 = require("./dapps/order");
|
|
75
|
-
Object.defineProperty(exports, "Order", { enumerable: true, get: function () { return order_1.Order; } });
|
|
76
|
-
Object.defineProperty(exports, "OrderSortBy", { enumerable: true, get: function () { return order_1.OrderSortBy; } });
|
|
77
|
-
var provider_type_1 = require("./dapps/provider-type");
|
|
78
|
-
Object.defineProperty(exports, "ProviderType", { enumerable: true, get: function () { return provider_type_1.ProviderType; } });
|
|
79
|
-
var rarity_1 = require("./dapps/rarity");
|
|
80
|
-
Object.defineProperty(exports, "Rarity", { enumerable: true, get: function () { return rarity_1.Rarity; } });
|
|
81
|
-
var sale_type_1 = require("./dapps/sale-type");
|
|
82
|
-
Object.defineProperty(exports, "SaleType", { enumerable: true, get: function () { return sale_type_1.SaleType; } });
|
|
83
|
-
var sale_1 = require("./dapps/sale");
|
|
84
|
-
Object.defineProperty(exports, "Sale", { enumerable: true, get: function () { return sale_1.Sale; } });
|
|
85
|
-
Object.defineProperty(exports, "SaleSortBy", { enumerable: true, get: function () { return sale_1.SaleSortBy; } });
|
|
86
|
-
var trade_1 = require("./dapps/trade");
|
|
87
|
-
Object.defineProperty(exports, "TradeAssetType", { enumerable: true, get: function () { return trade_1.TradeAssetType; } });
|
|
88
|
-
Object.defineProperty(exports, "TradeAssetDirection", { enumerable: true, get: function () { return trade_1.TradeAssetDirection; } });
|
|
89
|
-
Object.defineProperty(exports, "TradeType", { enumerable: true, get: function () { return trade_1.TradeType; } });
|
|
90
|
-
var rentals_listings_1 = require("./dapps/rentals-listings");
|
|
91
|
-
Object.defineProperty(exports, "RentalStatus", { enumerable: true, get: function () { return rentals_listings_1.RentalStatus; } });
|
|
92
|
-
Object.defineProperty(exports, "RentalsListingSortDirection", { enumerable: true, get: function () { return rentals_listings_1.RentalsListingSortDirection; } });
|
|
93
|
-
Object.defineProperty(exports, "RentalsListingsFilterByCategory", { enumerable: true, get: function () { return rentals_listings_1.RentalsListingsFilterByCategory; } });
|
|
94
|
-
Object.defineProperty(exports, "RentalsListingsSortBy", { enumerable: true, get: function () { return rentals_listings_1.RentalsListingsSortBy; } });
|
|
95
|
-
Object.defineProperty(exports, "RentalListingCreation", { enumerable: true, get: function () { return rentals_listings_1.RentalListingCreation; } });
|
|
96
|
-
Object.defineProperty(exports, "PeriodCreation", { enumerable: true, get: function () { return rentals_listings_1.PeriodCreation; } });
|
|
97
|
-
var analyticsDayData_1 = require("./dapps/analyticsDayData");
|
|
98
|
-
Object.defineProperty(exports, "AnalyticsDayDataSortBy", { enumerable: true, get: function () { return analyticsDayData_1.AnalyticsDayDataSortBy; } });
|
|
99
|
-
var store_1 = require("./dapps/store");
|
|
100
|
-
Object.defineProperty(exports, "Store", { enumerable: true, get: function () { return store_1.Store; } });
|
|
101
|
-
var wearable_gender_1 = require("./dapps/wearable-gender");
|
|
102
|
-
Object.defineProperty(exports, "WearableGender", { enumerable: true, get: function () { return wearable_gender_1.WearableGender; } });
|
|
103
|
-
Object.defineProperty(exports, "GenderFilterOption", { enumerable: true, get: function () { return wearable_gender_1.GenderFilterOption; } });
|
|
104
|
-
var world_1 = require("./dapps/world");
|
|
105
|
-
Object.defineProperty(exports, "World", { enumerable: true, get: function () { return world_1.World; } });
|
|
106
|
-
Object.defineProperty(exports, "getWorld", { enumerable: true, get: function () { return world_1.getWorld; } });
|
|
107
|
-
Object.defineProperty(exports, "isInsideWorldLimits", { enumerable: true, get: function () { return world_1.isInsideWorldLimits; } });
|
|
108
|
-
__exportStar(require("./dapps/preview"), exports);
|
|
34
|
+
__exportStar(require("./dapps"), exports);
|
|
109
35
|
__exportStar(require("./platform"), exports);
|
|
110
36
|
__exportStar(require("./misc"), exports);
|
|
111
37
|
__exportStar(require("./misc/linker-authorization"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA4B;AAWnB,kBAAG;AATZ,mBAAmB;AACnB,+CAA4B;AAC5B,0CAAuB;AACvB,6CAA0B;AAC1B,yCAAsB;AACtB,8DAA2C;AAC3C,oDAAiC;AACjC,yDAAsC;AACtC,+CAA4B"}
|
package/dist/schemas.d.ts
CHANGED
|
@@ -215,14 +215,21 @@ export declare namespace AvatarInfo {
|
|
|
215
215
|
const validate: ValidateFunction<AvatarInfo>;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
declare type BaseBid = {
|
|
218
|
+
export declare type BaseBid = {
|
|
219
219
|
id: string;
|
|
220
220
|
bidder: string;
|
|
221
|
+
/**
|
|
222
|
+
* When the bid is on an item, this is the address of the creator of the collection
|
|
223
|
+
* When the bid is on an NFT, this is the address of the owner of the NFT
|
|
224
|
+
*/
|
|
221
225
|
seller: string;
|
|
222
226
|
price: string;
|
|
223
227
|
status: ListingStatus;
|
|
228
|
+
/** expiration date in milliseconds */
|
|
224
229
|
expiresAt: number;
|
|
230
|
+
/** creation date in milliseconds */
|
|
225
231
|
createdAt: number;
|
|
232
|
+
/** updated date in milliseconds */
|
|
226
233
|
updatedAt: number;
|
|
227
234
|
contractAddress: string;
|
|
228
235
|
network: Network.ETHEREUM | Network.MATIC;
|
|
@@ -307,7 +314,7 @@ export declare enum BidSortBy {
|
|
|
307
314
|
MOST_EXPENSIVE = "most_expensive"
|
|
308
315
|
}
|
|
309
316
|
|
|
310
|
-
declare type BidTrade = NFTBid | ItemBid;
|
|
317
|
+
export declare type BidTrade = NFTBid | ItemBid;
|
|
311
318
|
|
|
312
319
|
export declare enum BodyPartCategory {
|
|
313
320
|
HEAD = "head",
|
|
@@ -787,6 +794,16 @@ export declare enum GenderFilterOption {
|
|
|
787
794
|
*/
|
|
788
795
|
export declare function generateLazyValidator<T>(schema: JSONSchema<T>, keywordDefinitions?: KeywordDefinition[]): ValidateFunction<T>;
|
|
789
796
|
|
|
797
|
+
export declare type GetBidsParameters = PaginatedParameters & {
|
|
798
|
+
bidder?: string;
|
|
799
|
+
seller?: string;
|
|
800
|
+
sortBy?: BidSortBy;
|
|
801
|
+
contractAddress?: string;
|
|
802
|
+
tokenId?: string;
|
|
803
|
+
status?: ListingStatus;
|
|
804
|
+
network?: Network;
|
|
805
|
+
};
|
|
806
|
+
|
|
790
807
|
/**
|
|
791
808
|
* Get chain id by chain name
|
|
792
809
|
* @alpha
|
|
@@ -946,7 +963,7 @@ export declare namespace Item {
|
|
|
946
963
|
const validate: ValidateFunction<Item>;
|
|
947
964
|
}
|
|
948
965
|
|
|
949
|
-
declare type ItemBid = BaseBid & {
|
|
966
|
+
export declare type ItemBid = BaseBid & {
|
|
950
967
|
tradeId: string;
|
|
951
968
|
itemId: string;
|
|
952
969
|
};
|
|
@@ -1024,7 +1041,7 @@ export declare enum ItemSortBy {
|
|
|
1024
1041
|
*/
|
|
1025
1042
|
export declare type JSONSchema<T> = JSONSchemaType<T>;
|
|
1026
1043
|
|
|
1027
|
-
declare type LegacyBid = BaseBid & {
|
|
1044
|
+
export declare type LegacyBid = BaseBid & {
|
|
1028
1045
|
bidAddress: string;
|
|
1029
1046
|
blockchainId: string;
|
|
1030
1047
|
blockNumber: string;
|
|
@@ -1344,7 +1361,7 @@ export declare namespace NFT {
|
|
|
1344
1361
|
const validate: ValidateFunction<NFT>;
|
|
1345
1362
|
}
|
|
1346
1363
|
|
|
1347
|
-
declare type NFTBid = BaseBid & {
|
|
1364
|
+
export declare type NFTBid = BaseBid & {
|
|
1348
1365
|
tradeId: string;
|
|
1349
1366
|
tokenId: string;
|
|
1350
1367
|
};
|
|
@@ -1464,6 +1481,24 @@ export declare enum NotificationType {
|
|
|
1464
1481
|
BADGE_GRANTED = "badge_granted"
|
|
1465
1482
|
}
|
|
1466
1483
|
|
|
1484
|
+
export declare type OnChainTrade = {
|
|
1485
|
+
signer: string;
|
|
1486
|
+
signature: string;
|
|
1487
|
+
checks: TradeChecks & {
|
|
1488
|
+
allowedProof: string[];
|
|
1489
|
+
};
|
|
1490
|
+
sent: OnChainTradeAsset[];
|
|
1491
|
+
received: OnChainTradeAsset[];
|
|
1492
|
+
};
|
|
1493
|
+
|
|
1494
|
+
export declare type OnChainTradeAsset = {
|
|
1495
|
+
assetType: TradeAssetType;
|
|
1496
|
+
contractAddress: string;
|
|
1497
|
+
value: string;
|
|
1498
|
+
extra: string;
|
|
1499
|
+
beneficiary: string;
|
|
1500
|
+
};
|
|
1501
|
+
|
|
1467
1502
|
export declare type Order = {
|
|
1468
1503
|
id: string;
|
|
1469
1504
|
marketplaceAddress: string;
|
|
@@ -1557,6 +1592,19 @@ export declare namespace Outfits {
|
|
|
1557
1592
|
const validate: ValidateFunction<Outfits>;
|
|
1558
1593
|
}
|
|
1559
1594
|
|
|
1595
|
+
export declare type PaginatedParameters = {
|
|
1596
|
+
limit?: number;
|
|
1597
|
+
offset?: number;
|
|
1598
|
+
};
|
|
1599
|
+
|
|
1600
|
+
export declare type PaginatedResponse<T> = {
|
|
1601
|
+
results: T[];
|
|
1602
|
+
total: number;
|
|
1603
|
+
page: number;
|
|
1604
|
+
pages: number;
|
|
1605
|
+
limit: number;
|
|
1606
|
+
};
|
|
1607
|
+
|
|
1560
1608
|
/**
|
|
1561
1609
|
* The input that is required to create a rental listing period.
|
|
1562
1610
|
*/
|
|
@@ -2459,7 +2507,7 @@ export declare type Trade = {
|
|
|
2459
2507
|
received: TradeAssetWithBeneficiary[];
|
|
2460
2508
|
};
|
|
2461
2509
|
|
|
2462
|
-
export declare type TradeAsset = CollectionItemTradeAsset | ERC20TradeAsset | ERC721TradeAsset;
|
|
2510
|
+
export declare type TradeAsset = CollectionItemTradeAsset | ERC20TradeAsset | ERC721TradeAsset | USDPeggedManaTradeAsset;
|
|
2463
2511
|
|
|
2464
2512
|
export declare enum TradeAssetDirection {
|
|
2465
2513
|
SENT = "sent",
|
|
@@ -2468,8 +2516,9 @@ export declare enum TradeAssetDirection {
|
|
|
2468
2516
|
|
|
2469
2517
|
export declare enum TradeAssetType {
|
|
2470
2518
|
ERC20 = 1,
|
|
2471
|
-
|
|
2472
|
-
|
|
2519
|
+
USD_PEGGED_MANA = 2,
|
|
2520
|
+
ERC721 = 3,
|
|
2521
|
+
COLLECTION_ITEM = 4
|
|
2473
2522
|
}
|
|
2474
2523
|
|
|
2475
2524
|
export declare type TradeAssetWithBeneficiary = TradeAsset & {
|
|
@@ -2478,7 +2527,9 @@ export declare type TradeAssetWithBeneficiary = TradeAsset & {
|
|
|
2478
2527
|
|
|
2479
2528
|
export declare type TradeChecks = {
|
|
2480
2529
|
uses: number;
|
|
2530
|
+
/** Expiration in milliseconds */
|
|
2481
2531
|
expiration: number;
|
|
2532
|
+
/** Effective since date in milliseconds */
|
|
2482
2533
|
effective: number;
|
|
2483
2534
|
salt: string;
|
|
2484
2535
|
contractSignatureIndex: number;
|
|
@@ -2525,6 +2576,11 @@ declare namespace Update {
|
|
|
2525
2576
|
const validate: ValidateFunction<Update>;
|
|
2526
2577
|
}
|
|
2527
2578
|
|
|
2579
|
+
export declare type USDPeggedManaTradeAsset = BaseTradeAsset & {
|
|
2580
|
+
assetType: TradeAssetType.USD_PEGGED_MANA;
|
|
2581
|
+
amount: string;
|
|
2582
|
+
};
|
|
2583
|
+
|
|
2528
2584
|
/**
|
|
2529
2585
|
* This type is a subset of AJV's ValidateFunction, it exists to make
|
|
2530
2586
|
* .d.ts bundles smaller and to not expose all of AJV context to the
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "12.
|
|
2
|
+
"version": "12.1.0",
|
|
3
3
|
"name": "@dcl/schemas",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"typings": "./dist/index.d.ts",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"files": [
|
|
45
45
|
"dist"
|
|
46
46
|
],
|
|
47
|
-
"commit": "
|
|
47
|
+
"commit": "25b8919f72bac9196301391d7b854b319a8e5315"
|
|
48
48
|
}
|