@rabby-wallet/rabby-api 0.9.48-3 → 0.9.48-4
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.ts +7 -0
- package/dist/index.js +4 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -607,6 +607,7 @@ export declare class OpenApiService {
|
|
|
607
607
|
}) => Promise<string[]>;
|
|
608
608
|
getHotDapps: (params?: {
|
|
609
609
|
limit: number;
|
|
610
|
+
order_by: string;
|
|
610
611
|
}) => Promise<BasicDappInfo[]>;
|
|
611
612
|
getRabbyClaimText: (params: {
|
|
612
613
|
id: string;
|
|
@@ -1449,5 +1450,11 @@ export declare class OpenApiService {
|
|
|
1449
1450
|
quantity?: number;
|
|
1450
1451
|
include_optional_creator_fees?: boolean;
|
|
1451
1452
|
}) => Promise<PrepareAcceptNFTOfferResponse>;
|
|
1453
|
+
submitAcceptNFTOfferTx: (postData: {
|
|
1454
|
+
tx_id: string;
|
|
1455
|
+
data: Tx;
|
|
1456
|
+
}) => Promise<{
|
|
1457
|
+
success: boolean;
|
|
1458
|
+
}>;
|
|
1452
1459
|
}
|
|
1453
1460
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -1811,6 +1811,10 @@ export class OpenApiService {
|
|
|
1811
1811
|
const { data } = yield this.request.post('/v1/nft/order/offer/accept/prepare', postData);
|
|
1812
1812
|
return data;
|
|
1813
1813
|
});
|
|
1814
|
+
this.submitAcceptNFTOfferTx = (postData) => __awaiter(this, void 0, void 0, function* () {
|
|
1815
|
+
const { data } = yield this.request.post('/v1/nft/order/offer/accept/tx', postData);
|
|
1816
|
+
return data;
|
|
1817
|
+
});
|
|
1814
1818
|
if (store instanceof Promise) {
|
|
1815
1819
|
store.then((resolvedStore) => {
|
|
1816
1820
|
this.store = resolvedStore;
|