Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-bolla committed Sep 26, 2023
1 parent 7f942f2 commit eeab6f1
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/services/XummService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@ class XummService {
if (isInXumm()) {
// eslint-disable-next-line @typescript-eslint/no-var-requires
const { XummSdkJwt } = require("xumm-sdk");
// eslint-disable-next-line @typescript-eslint/no-var-requires
xapp = new xAppSdk();
Sdk = new XummSdkJwt(xummApiKey);

try {
// eslint-disable-next-line @typescript-eslint/no-var-requires
xapp = new xAppSdk();
Sdk = new XummSdkJwt(xummApiKey);
} catch (error) {
console.log("Errir SUmSdk", error);
}
}
}
async getOttData(): Promise<xAppOttData> {
Expand Down

0 comments on commit eeab6f1

Please sign in to comment.