@reyaxyz/community-sdk 0.13.3 → 0.13.4
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.
|
@@ -62,7 +62,7 @@ var LGEModule = /** @class */ (function (_super) {
|
|
|
62
62
|
return __awaiter(this, void 0, void 0, function () {
|
|
63
63
|
var uri;
|
|
64
64
|
return __generator(this, function (_a) {
|
|
65
|
-
uri = "/api/xp/lp-
|
|
65
|
+
uri = "/api/xp/lp-boost";
|
|
66
66
|
return [2 /*return*/, this.get(uri)];
|
|
67
67
|
});
|
|
68
68
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"/","sources":["modules/lge/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0CAA6C;AAQ7C;IAAuC,6BAAU;IAAjD;;IAWA,CAAC;IAVC,6DAA6D;IACvD,mCAAe,GAArB,UAAsB,CAAwB;;;;gBACtC,GAAG,GAAG,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"/","sources":["modules/lge/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,0CAA6C;AAQ7C;IAAuC,6BAAU;IAAjD;;IAWA,CAAC;IAVC,6DAA6D;IACvD,mCAAe,GAArB,UAAsB,CAAwB;;;;gBACtC,GAAG,GAAG,kBAAkB,CAAC;gBAC/B,sBAAO,IAAI,CAAC,GAAG,CAAwB,GAAG,CAAC,EAAC;;;KAC7C;IAEK,uCAAmB,GAAzB,UAA0B,MAAiC;;;;gBACnD,GAAG,GAAG,6BAAsB,MAAM,CAAC,OAAO,CAAE,CAAC;gBACnD,sBAAO,IAAI,CAAC,GAAG,CAA4B,GAAG,CAAC,EAAC;;;KACjD;IACH,gBAAC;AAAD,CAAC,AAXD,CAAuC,mBAAU,GAWhD","sourcesContent":["import { RestClient } from '@reyaxyz/common';\nimport {\n GetAccountLGEStatusParams,\n GetAccountLGEStatusResult,\n GetLGEBoostRateParams,\n GetLGEBoostRateResult,\n} from './types';\n\nexport default class LGEModule extends RestClient {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n async getLGEBoostRate(_: GetLGEBoostRateParams) {\n const uri = `/api/xp/lp-boost`;\n return this.get<GetLGEBoostRateResult>(uri);\n }\n\n async getAccountLGEStatus(params: GetAccountLGEStatusParams) {\n const uri = `/api/xp/lp-profile/${params.address}`;\n return this.get<GetAccountLGEStatusResult>(uri);\n }\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reyaxyz/community-sdk",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"generate:coverage-badges": "npx istanbul-badges-readme --silent"
|
|
39
39
|
},
|
|
40
40
|
"packageManager": "pnpm@8.10.4",
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "230cbf334fba9c01a0705e6546a881f961b98c27"
|
|
42
42
|
}
|
package/src/modules/lge/index.ts
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
export default class LGEModule extends RestClient {
|
|
10
10
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
11
11
|
async getLGEBoostRate(_: GetLGEBoostRateParams) {
|
|
12
|
-
const uri = `/api/xp/lp-
|
|
12
|
+
const uri = `/api/xp/lp-boost`;
|
|
13
13
|
return this.get<GetLGEBoostRateResult>(uri);
|
|
14
14
|
}
|
|
15
15
|
|