@xoxno/sdk-js 0.1.74-alpha → 0.1.76-alpha
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/out/cjs/collection/index.js +625 -0
- package/out/cjs/collection/index.js.map +1 -0
- package/out/cjs/common/index.js +141 -0
- package/out/cjs/common/index.js.map +1 -0
- package/out/cjs/index.js +26 -0
- package/out/cjs/index.js.map +1 -0
- package/out/cjs/index.large.js +19 -0
- package/out/cjs/index.large.js.map +1 -0
- package/out/cjs/interactions/index.js +678 -0
- package/out/cjs/interactions/index.js.map +1 -0
- package/out/cjs/launchpad/index.js +158 -0
- package/out/cjs/launchpad/index.js.map +1 -0
- package/out/cjs/nft/index.js +121 -0
- package/out/cjs/nft/index.js.map +1 -0
- package/out/cjs/staking/index.js +29 -0
- package/out/cjs/staking/index.js.map +1 -0
- package/{dist → out/cjs}/types/collection.d.ts +7 -1
- package/{dist → out/cjs}/types/collection.js +34 -26
- package/out/cjs/types/collection.js.map +1 -0
- package/out/cjs/types/common.js +3 -0
- package/{dist → out/cjs}/types/common.js.map +1 -1
- package/out/cjs/types/index.js +24 -0
- package/out/cjs/types/index.js.map +1 -0
- package/{dist → out/cjs}/types/interactions.js +5 -2
- package/out/cjs/types/interactions.js.map +1 -0
- package/out/cjs/types/nft.js +3 -0
- package/out/cjs/types/nft.js.map +1 -0
- package/out/cjs/types/staking.js +15 -0
- package/out/cjs/types/staking.js.map +1 -0
- package/{dist → out/cjs}/types/trading.js +9 -6
- package/out/cjs/types/trading.js.map +1 -0
- package/out/cjs/types/user.js +13 -0
- package/out/cjs/types/user.js.map +1 -0
- package/out/cjs/users/index.js +335 -0
- package/out/cjs/users/index.js.map +1 -0
- package/out/cjs/utils/SmartContractAbis.js +103 -0
- package/out/cjs/utils/SmartContractAbis.js.map +1 -0
- package/out/cjs/utils/SmartContractService.js +13 -0
- package/out/cjs/utils/SmartContractService.js.map +1 -0
- package/out/cjs/utils/api.js +79 -0
- package/out/cjs/utils/api.js.map +1 -0
- package/out/cjs/utils/const.js +17 -0
- package/out/cjs/utils/const.js.map +1 -0
- package/out/cjs/utils/getActivity.js +65 -0
- package/out/cjs/utils/getActivity.js.map +1 -0
- package/out/cjs/utils/helpers.js +27 -0
- package/out/cjs/utils/helpers.js.map +1 -0
- package/out/cjs/utils/regex.js +12 -0
- package/out/cjs/utils/regex.js.map +1 -0
- package/out/cjs/utils/scCalls.js +39 -0
- package/out/cjs/utils/scCalls.js.map +1 -0
- package/out/src/collection/__tests__/collection.test.js +2 -0
- package/out/src/collection/__tests__/collection.test.js.map +1 -0
- package/out/src/collection/index.js +2 -0
- package/out/src/collection/index.js.map +1 -0
- package/out/src/common/index.js +2 -0
- package/out/src/common/index.js.map +1 -0
- package/out/src/index.js +2 -0
- package/out/src/index.js.map +1 -0
- package/out/src/index.large.js +2 -0
- package/out/src/index.large.js.map +1 -0
- package/out/src/interactions/__tests__/market.test.js +2 -0
- package/out/src/interactions/__tests__/market.test.js.map +1 -0
- package/out/src/interactions/index.js +2 -0
- package/out/src/interactions/index.js.map +1 -0
- package/out/src/launchpad/__tests__/market.test.js +2 -0
- package/out/src/launchpad/__tests__/market.test.js.map +1 -0
- package/out/src/launchpad/index.js +2 -0
- package/out/src/launchpad/index.js.map +1 -0
- package/out/src/nft/__tests__/nft.test.js +2 -0
- package/out/src/nft/__tests__/nft.test.js.map +1 -0
- package/out/src/nft/index.js +2 -0
- package/out/src/nft/index.js.map +1 -0
- package/out/src/staking/index.js +2 -0
- package/out/src/staking/index.js.map +1 -0
- package/out/src/types/collection.js +2 -0
- package/out/src/types/collection.js.map +1 -0
- package/out/src/types/common.js +2 -0
- package/out/src/types/common.js.map +1 -0
- package/out/src/types/index.js +2 -0
- package/out/src/types/index.js.map +1 -0
- package/out/src/types/interactions.js +2 -0
- package/out/src/types/interactions.js.map +1 -0
- package/out/src/types/nft.js +2 -0
- package/out/src/types/nft.js.map +1 -0
- package/out/src/types/staking.js +2 -0
- package/out/src/types/staking.js.map +1 -0
- package/out/src/types/trading.js +2 -0
- package/out/src/types/trading.js.map +1 -0
- package/out/src/types/user.js +2 -0
- package/out/src/types/user.js.map +1 -0
- package/out/src/users/__tests__/user.test.js +2 -0
- package/out/src/users/__tests__/user.test.js.map +1 -0
- package/out/src/users/index.js +2 -0
- package/out/src/users/index.js.map +1 -0
- package/out/src/utils/SmartContractAbis.js +2 -0
- package/out/src/utils/SmartContractAbis.js.map +1 -0
- package/out/src/utils/SmartContractService.js +2 -0
- package/out/src/utils/SmartContractService.js.map +1 -0
- package/out/src/utils/api.js +2 -0
- package/out/src/utils/api.js.map +1 -0
- package/out/src/utils/const.js +2 -0
- package/out/src/utils/const.js.map +1 -0
- package/out/src/utils/getActivity.js +2 -0
- package/out/src/utils/getActivity.js.map +1 -0
- package/out/src/utils/helpers.js +2 -0
- package/out/src/utils/helpers.js.map +1 -0
- package/out/src/utils/regex.js +2 -0
- package/out/src/utils/regex.js.map +1 -0
- package/out/src/utils/scCalls.js +2 -0
- package/out/src/utils/scCalls.js.map +1 -0
- package/package.json +27 -14
- package/.eslintrc.json +0 -19
- package/dist/collection/index.js +0 -660
- package/dist/collection/index.js.map +0 -1
- package/dist/common/index.js +0 -132
- package/dist/common/index.js.map +0 -1
- package/dist/index.js +0 -10
- package/dist/index.js.map +0 -1
- package/dist/index.large.js +0 -3
- package/dist/index.large.js.map +0 -1
- package/dist/interactions/index.js +0 -619
- package/dist/interactions/index.js.map +0 -1
- package/dist/launchpad/index.js +0 -140
- package/dist/launchpad/index.js.map +0 -1
- package/dist/nft/index.js +0 -109
- package/dist/nft/index.js.map +0 -1
- package/dist/staking/index.js +0 -17
- package/dist/staking/index.js.map +0 -1
- package/dist/types/collection.js.map +0 -1
- package/dist/types/common.js +0 -2
- package/dist/types/index.js +0 -8
- package/dist/types/index.js.map +0 -1
- package/dist/types/interactions.js.map +0 -1
- package/dist/types/nft.js +0 -2
- package/dist/types/nft.js.map +0 -1
- package/dist/types/staking.js +0 -12
- package/dist/types/staking.js.map +0 -1
- package/dist/types/trading.js.map +0 -1
- package/dist/types/user.js +0 -10
- package/dist/types/user.js.map +0 -1
- package/dist/users/index.js +0 -324
- package/dist/users/index.js.map +0 -1
- package/dist/utils/SmartContractAbis.js +0 -84
- package/dist/utils/SmartContractAbis.js.map +0 -1
- package/dist/utils/SmartContractService.js +0 -9
- package/dist/utils/SmartContractService.js.map +0 -1
- package/dist/utils/api.js +0 -82
- package/dist/utils/api.js.map +0 -1
- package/dist/utils/const.js +0 -14
- package/dist/utils/const.js.map +0 -1
- package/dist/utils/getActivity.js +0 -64
- package/dist/utils/getActivity.js.map +0 -1
- package/dist/utils/helpers.js +0 -21
- package/dist/utils/helpers.js.map +0 -1
- package/dist/utils/regex.js +0 -7
- package/dist/utils/regex.js.map +0 -1
- package/dist/utils/scCalls.js +0 -25
- package/dist/utils/scCalls.js.map +0 -1
- /package/{dist → out/cjs}/collection/index.d.ts +0 -0
- /package/{dist → out/cjs}/common/index.d.ts +0 -0
- /package/{dist → out/cjs}/index.d.ts +0 -0
- /package/{dist → out/cjs}/index.large.d.ts +0 -0
- /package/{dist → out/cjs}/interactions/index.d.ts +0 -0
- /package/{dist → out/cjs}/launchpad/index.d.ts +0 -0
- /package/{dist → out/cjs}/nft/index.d.ts +0 -0
- /package/{dist → out/cjs}/staking/index.d.ts +0 -0
- /package/{dist → out/cjs}/types/common.d.ts +0 -0
- /package/{dist → out/cjs}/types/index.d.ts +0 -0
- /package/{dist → out/cjs}/types/interactions.d.ts +0 -0
- /package/{dist → out/cjs}/types/nft.d.ts +0 -0
- /package/{dist → out/cjs}/types/staking.d.ts +0 -0
- /package/{dist → out/cjs}/types/trading.d.ts +0 -0
- /package/{dist → out/cjs}/types/user.d.ts +0 -0
- /package/{dist → out/cjs}/users/index.d.ts +0 -0
- /package/{dist → out/cjs}/utils/SmartContractAbis.d.ts +0 -0
- /package/{dist → out/cjs}/utils/SmartContractService.d.ts +0 -0
- /package/{dist → out/cjs}/utils/api.d.ts +0 -0
- /package/{dist → out/cjs}/utils/const.d.ts +0 -0
- /package/{dist → out/cjs}/utils/getActivity.d.ts +0 -0
- /package/{dist → out/cjs}/utils/helpers.d.ts +0 -0
- /package/{dist → out/cjs}/utils/regex.d.ts +0 -0
- /package/{dist → out/cjs}/utils/scCalls.d.ts +0 -0
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CommonModule = void 0;
|
|
13
|
+
const collection_1 = require("../types/collection");
|
|
14
|
+
const api_1 = require("../utils/api");
|
|
15
|
+
class CommonModule {
|
|
16
|
+
constructor() {
|
|
17
|
+
/** Gets all tokens usd price
|
|
18
|
+
* @returns {TokenUSDPrices} User's creator info
|
|
19
|
+
* */
|
|
20
|
+
this.getTokensUsdPrice = () => __awaiter(this, void 0, void 0, function* () {
|
|
21
|
+
const response = yield this.api.fetchWithTimeout(`/tokens/usd-price`);
|
|
22
|
+
return response;
|
|
23
|
+
});
|
|
24
|
+
/** Gets all tokens usd price
|
|
25
|
+
* @returns {TokenUSDPrices} User's creator info
|
|
26
|
+
* */
|
|
27
|
+
this.getAshSwapAmount = (_a) => __awaiter(this, [_a], void 0, function* ({ originalToken, originalTokenValue, paymentToken, }) {
|
|
28
|
+
const response = yield this.api.fetchWithTimeout(`/ash/min-token-quantity`, {
|
|
29
|
+
params: {
|
|
30
|
+
originalToken: originalToken,
|
|
31
|
+
originalTokenValue: originalTokenValue,
|
|
32
|
+
paymentToken: paymentToken,
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
return response;
|
|
36
|
+
});
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
* @async
|
|
40
|
+
* @function getFungibleTokens
|
|
41
|
+
* @param category - The ticker of the collection.
|
|
42
|
+
* @returns {Promise<FungibleAssetsMap>} A promise that resolves a map of ESDT tokens and their info
|
|
43
|
+
* This function fetches all branded fungible assets and their info
|
|
44
|
+
*/
|
|
45
|
+
this.getFungibleTokens = (...args_1) => __awaiter(this, [...args_1], void 0, function* (categories = [collection_1.AssetCategory.ALL], identifiers) {
|
|
46
|
+
let params = {};
|
|
47
|
+
if (identifiers) {
|
|
48
|
+
params = {
|
|
49
|
+
identifier: identifiers.join(','),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
if (categories) {
|
|
53
|
+
params = Object.assign(Object.assign({}, params), { category: categories.join(',') });
|
|
54
|
+
}
|
|
55
|
+
const response = yield this.api.fetchWithTimeout(`/tokens`, {
|
|
56
|
+
params,
|
|
57
|
+
});
|
|
58
|
+
return response;
|
|
59
|
+
});
|
|
60
|
+
/**
|
|
61
|
+
* @public
|
|
62
|
+
* @async
|
|
63
|
+
* @function getGlobalGraphData
|
|
64
|
+
* @param category - The ticker of the collection.
|
|
65
|
+
* @returns {Promise<AnalyticsGraphs>} A promise the required analytics data
|
|
66
|
+
* This function gets the global graph data
|
|
67
|
+
*/
|
|
68
|
+
this.getGlobalGraphData = (startTime, endTime, bin) => __awaiter(this, void 0, void 0, function* () {
|
|
69
|
+
const response = yield this.api.fetchWithTimeout(`/analytics/volume`, {
|
|
70
|
+
params: {
|
|
71
|
+
startTime: startTime,
|
|
72
|
+
endTime: endTime,
|
|
73
|
+
bin: bin,
|
|
74
|
+
},
|
|
75
|
+
next: {
|
|
76
|
+
tags: ['/analytics/volume'],
|
|
77
|
+
revalidate: 60,
|
|
78
|
+
},
|
|
79
|
+
});
|
|
80
|
+
return response;
|
|
81
|
+
});
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
* @async
|
|
85
|
+
* @function getAnalyticsOverview
|
|
86
|
+
* @returns {Promise<StatisticsSummary>} A promise the required analytics data
|
|
87
|
+
* This function gets the global graph data
|
|
88
|
+
*/
|
|
89
|
+
this.getAnalyticsOverview = () => __awaiter(this, void 0, void 0, function* () {
|
|
90
|
+
const response = yield this.api.fetchWithTimeout(`/analytics/overview`, {
|
|
91
|
+
next: {
|
|
92
|
+
tags: ['/analytics/overview'],
|
|
93
|
+
revalidate: 60,
|
|
94
|
+
},
|
|
95
|
+
});
|
|
96
|
+
return response;
|
|
97
|
+
});
|
|
98
|
+
/**
|
|
99
|
+
* @public
|
|
100
|
+
* @async
|
|
101
|
+
* @function suggestResults
|
|
102
|
+
* @param {SuggestNFTsArgs} args - An object containing the necessary parameters to fetch suggested NFT results.
|
|
103
|
+
* @returns {Promise<SuggestResults>} A promise that resolves to the fetched NFT results.
|
|
104
|
+
*
|
|
105
|
+
* This function fetches suggested NFT results based on the provided arguments. It takes an object with the following properties:
|
|
106
|
+
* - name (string): The name to search for (required).
|
|
107
|
+
* - orderBy (SuggestOrderBy[], optional): An array of ordering preferences for the results.
|
|
108
|
+
* - top (number, optional): The maximum number of results to return (default is 35, cannot be greater than 35).
|
|
109
|
+
* - skip (number, optional): The number of results to skip (default is 0).
|
|
110
|
+
*
|
|
111
|
+
* The function first validates the input arguments and constructs a payload body with the provided parameters.
|
|
112
|
+
* Then, it converts the payload body into a base64 string and fetches the suggested results using the API.
|
|
113
|
+
* Finally, it returns a promise that resolves to the fetched NFT results.
|
|
114
|
+
*/
|
|
115
|
+
this.suggestResults = (args) => __awaiter(this, void 0, void 0, function* () {
|
|
116
|
+
if (args.top && args.top > 35) {
|
|
117
|
+
throw new Error('Top cannot be greater than 35');
|
|
118
|
+
}
|
|
119
|
+
if (!args.name) {
|
|
120
|
+
throw new Error('Name is required');
|
|
121
|
+
}
|
|
122
|
+
const payloadBody = {
|
|
123
|
+
name: args.name,
|
|
124
|
+
top: args.top || 35,
|
|
125
|
+
skip: args.skip || 0,
|
|
126
|
+
};
|
|
127
|
+
return yield this.api.fetchWithTimeout(`/search`, {
|
|
128
|
+
params: {
|
|
129
|
+
filter: JSON.stringify(payloadBody),
|
|
130
|
+
},
|
|
131
|
+
next: {
|
|
132
|
+
tags: ['/search/global'],
|
|
133
|
+
revalidate: 180,
|
|
134
|
+
},
|
|
135
|
+
});
|
|
136
|
+
});
|
|
137
|
+
this.api = api_1.XOXNOClient.init();
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
exports.CommonModule = CommonModule;
|
|
141
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/index.ts"],"names":[],"mappings":"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"}
|
package/out/cjs/index.js
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./collection"), exports);
|
|
19
|
+
__exportStar(require("./nft"), exports);
|
|
20
|
+
__exportStar(require("./users"), exports);
|
|
21
|
+
__exportStar(require("./staking"), exports);
|
|
22
|
+
__exportStar(require("./utils/api"), exports);
|
|
23
|
+
__exportStar(require("./common"), exports);
|
|
24
|
+
__exportStar(require("./interactions"), exports);
|
|
25
|
+
__exportStar(require("./launchpad"), exports);
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,+CAA6B;AAC7B,wCAAsB;AACtB,0CAAwB;AACxB,4CAA0B;AAC1B,8CAA4B;AAC5B,2CAAyB;AACzB,iDAA+B;AAC/B,8CAA4B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
__exportStar(require("./interactions"), exports);
|
|
18
|
+
__exportStar(require("./launchpad"), exports);
|
|
19
|
+
//# sourceMappingURL=index.large.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.large.js","sourceRoot":"","sources":["../../src/index.large.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,8CAA4B"}
|