Skip to content

Commit

Permalink
signer address return type added
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajath-DayFi committed Mar 3, 2023
1 parent 3cc6ab5 commit 24b88c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion helpers/requestHandlers/signerHandlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ const { soketBackendUrl, backendUrl } = require("../../constants");
const getSignerAddress = async ({chainId}) => {
try {
const response = await axios.get(`${backendUrl}/signer/getSignerbyChainId/${chainId}`);
return response.data;
return {
type: "SignerAddress",
result: response.data
};
} catch(error) {
console.error(error);
throw new Error(error.message);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dayfi_sdk",
"version": "0.1.28-alpha.0",
"version": "0.1.29-alpha.0",
"description": "Dayfi SDK allows business/dApps to enable buying NFTs on affordable payment options, rent & loan providing users with 100% utility.",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit 24b88c1

Please sign in to comment.