@rabby-wallet/rabby-api 0.7.19 → 0.7.21
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 +5 -1
- package/dist/index.js +8 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -639,7 +639,7 @@ export declare class OpenApiService {
|
|
|
639
639
|
extra_bouns: number;
|
|
640
640
|
claimed: boolean;
|
|
641
641
|
snapshot_at: number;
|
|
642
|
-
|
|
642
|
+
claimed_points: number;
|
|
643
643
|
}>;
|
|
644
644
|
checkRabbyPointClaimableV2: (params: {
|
|
645
645
|
id: string;
|
|
@@ -706,5 +706,9 @@ export declare class OpenApiService {
|
|
|
706
706
|
}) => Promise<{
|
|
707
707
|
is_spoofing: boolean;
|
|
708
708
|
}>;
|
|
709
|
+
getAddressByDeBankId: (name: string) => Promise<{
|
|
710
|
+
addr: string;
|
|
711
|
+
web3_id: string;
|
|
712
|
+
}>;
|
|
709
713
|
}
|
|
710
714
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -1071,6 +1071,14 @@ export class OpenApiService {
|
|
|
1071
1071
|
});
|
|
1072
1072
|
return data;
|
|
1073
1073
|
});
|
|
1074
|
+
this.getAddressByDeBankId = (name) => __awaiter(this, void 0, void 0, function* () {
|
|
1075
|
+
const { data } = yield this.request.get('/v1/user/web3_id', {
|
|
1076
|
+
params: {
|
|
1077
|
+
text: name,
|
|
1078
|
+
},
|
|
1079
|
+
});
|
|
1080
|
+
return data;
|
|
1081
|
+
});
|
|
1074
1082
|
if (store instanceof Promise) {
|
|
1075
1083
|
store.then((resolvedStore) => {
|
|
1076
1084
|
this.store = resolvedStore;
|