@rabby-wallet/rabby-api 0.7.20 → 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 +4 -0
- package/dist/index.js +8 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
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;
|