@rabby-wallet/rabby-api 0.7.3 → 0.7.5
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 +8 -0
- package/dist/index.js +9 -0
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -236,6 +236,14 @@ export declare class OpenApiService {
|
|
|
236
236
|
}[];
|
|
237
237
|
}>;
|
|
238
238
|
getSummarizedAssetList: (id: string, chain_id?: string) => Promise<Summary>;
|
|
239
|
+
unexpectedAddrList: ({ chainId, tx, origin, addr, }: {
|
|
240
|
+
chainId: string;
|
|
241
|
+
tx: Tx;
|
|
242
|
+
origin: string;
|
|
243
|
+
addr: string;
|
|
244
|
+
}) => Promise<{
|
|
245
|
+
id: string;
|
|
246
|
+
}[]>;
|
|
239
247
|
parseTx: ({ chainId, tx, origin, addr, }: {
|
|
240
248
|
chainId: string;
|
|
241
249
|
tx: Tx;
|
package/dist/index.js
CHANGED
|
@@ -566,6 +566,15 @@ export class OpenApiService {
|
|
|
566
566
|
} }, this._getRequestOptions(chain_id)));
|
|
567
567
|
return data;
|
|
568
568
|
});
|
|
569
|
+
this.unexpectedAddrList = ({ chainId, tx, origin, addr, }) => __awaiter(this, void 0, void 0, function* () {
|
|
570
|
+
const { data } = yield this.request.post('/v1/engine/addr/unexpected_list', {
|
|
571
|
+
chain_id: chainId,
|
|
572
|
+
tx,
|
|
573
|
+
origin,
|
|
574
|
+
user_addr: addr,
|
|
575
|
+
}, this._getRequestOptions(chainId));
|
|
576
|
+
return data;
|
|
577
|
+
});
|
|
569
578
|
this.parseTx = ({ chainId, tx, origin, addr, }) => __awaiter(this, void 0, void 0, function* () {
|
|
570
579
|
const { data } = yield this.request.post('/v1/engine/action/parse_tx', {
|
|
571
580
|
chain_id: chainId,
|
package/dist/types.d.ts
CHANGED