@rabby-wallet/rabby-api 0.7.16 → 0.7.17
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 +6 -0
- package/dist/index.js +6 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -974,6 +974,12 @@ export class OpenApiService {
|
|
|
974
974
|
const { data } = yield this.request.post('/v1/engine/action/log', body);
|
|
975
975
|
return data;
|
|
976
976
|
});
|
|
977
|
+
this.checkSpoofing = ({ from, to, }) => __awaiter(this, void 0, void 0, function* () {
|
|
978
|
+
const { data } = yield this.request.get('/v1/engine/addr/is_spoofing', {
|
|
979
|
+
params: { user_addr: from, dest_addr: to },
|
|
980
|
+
});
|
|
981
|
+
return data;
|
|
982
|
+
});
|
|
977
983
|
if (store instanceof Promise) {
|
|
978
984
|
store.then((resolvedStore) => {
|
|
979
985
|
this.store = resolvedStore;
|