@rabby-wallet/rabby-api 0.8.2 → 0.8.3
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 +3 -0
- package/dist/index.js +8 -0
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -924,6 +924,9 @@ export declare class OpenApiService {
|
|
|
924
924
|
account_id: string;
|
|
925
925
|
tx_list: Tx[];
|
|
926
926
|
}) => Promise<GasAccountCheckResult>;
|
|
927
|
+
getGasAccountAml: (id: string) => Promise<{
|
|
928
|
+
is_risk: boolean;
|
|
929
|
+
}>;
|
|
927
930
|
parseCommon: (params: {
|
|
928
931
|
typed_data: Record<string, any>;
|
|
929
932
|
origin: string;
|
package/dist/index.js
CHANGED
|
@@ -1269,6 +1269,14 @@ export class OpenApiService {
|
|
|
1269
1269
|
});
|
|
1270
1270
|
return data;
|
|
1271
1271
|
});
|
|
1272
|
+
this.getGasAccountAml = (id) => __awaiter(this, void 0, void 0, function* () {
|
|
1273
|
+
const { data } = yield this.request.get('/v1/gas_account/aml', {
|
|
1274
|
+
params: {
|
|
1275
|
+
id,
|
|
1276
|
+
},
|
|
1277
|
+
});
|
|
1278
|
+
return data;
|
|
1279
|
+
});
|
|
1272
1280
|
this.parseCommon = (params) => __awaiter(this, void 0, void 0, function* () {
|
|
1273
1281
|
const { data } = yield this.request.post('/v1/engine/action/parse_common', params);
|
|
1274
1282
|
return data;
|
package/dist/types.d.ts
CHANGED