@reyaxyz/api-sdk 0.88.11 → 0.88.13

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.
@@ -70,7 +70,7 @@ var TokensClient = /** @class */ (function (_super) {
70
70
  return __awaiter(this, void 0, void 0, function () {
71
71
  var uri;
72
72
  return __generator(this, function (_a) {
73
- uri = 'api/socket/money-in-out-configuration-per-token-name';
73
+ uri = '/api/socket/money-in-out-configuration-per-token-name';
74
74
  return [2 /*return*/, this.get(uri)];
75
75
  });
76
76
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"/","sources":["clients/modules/tokens/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAGyB;AAEzB;IAA0C,gCAAU;IAApD;;IAYA,CAAC;IAXO,uCAAgB,GAAtB,UACE,MAA8B;;;;gBAExB,GAAG,GAAG,sBAAe,MAAM,CAAC,OAAO,oBAAiB,CAAC;gBAC3D,sBAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAC;;;KACtB;IAEK,6DAAsC,GAA5C;;;;gBACQ,GAAG,GAAG,sDAAsD,CAAC;gBACnE,sBAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAC;;;KACtB;IACH,mBAAC;AAAD,CAAC,AAZD,CAA0C,mBAAU,GAYnD","sourcesContent":["import { GetAllowedTokensParams, GetAllowedTokenResult } from './types';\nimport {\n MoneyInOutConfigurationPerTokenName,\n RestClient,\n} from '@reyaxyz/common';\n\nexport default class TokensClient extends RestClient {\n async getAllowedTokens(\n params: GetAllowedTokensParams,\n ): Promise<GetAllowedTokenResult> {\n const uri = `/api/tokens/${params.chainId}/allowed-tokens`;\n return this.get(uri);\n }\n\n async getMoneyInOutConfigurationPerTokenName(): Promise<MoneyInOutConfigurationPerTokenName> {\n const uri = 'api/socket/money-in-out-configuration-per-token-name';\n return this.get(uri);\n }\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"/","sources":["clients/modules/tokens/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAGyB;AAEzB;IAA0C,gCAAU;IAApD;;IAYA,CAAC;IAXO,uCAAgB,GAAtB,UACE,MAA8B;;;;gBAExB,GAAG,GAAG,sBAAe,MAAM,CAAC,OAAO,oBAAiB,CAAC;gBAC3D,sBAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAC;;;KACtB;IAEK,6DAAsC,GAA5C;;;;gBACQ,GAAG,GAAG,uDAAuD,CAAC;gBACpE,sBAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAC;;;KACtB;IACH,mBAAC;AAAD,CAAC,AAZD,CAA0C,mBAAU,GAYnD","sourcesContent":["import { GetAllowedTokensParams, GetAllowedTokenResult } from './types';\nimport {\n MoneyInOutConfigurationPerTokenName,\n RestClient,\n} from '@reyaxyz/common';\n\nexport default class TokensClient extends RestClient {\n async getAllowedTokens(\n params: GetAllowedTokensParams,\n ): Promise<GetAllowedTokenResult> {\n const uri = `/api/tokens/${params.chainId}/allowed-tokens`;\n return this.get(uri);\n }\n\n async getMoneyInOutConfigurationPerTokenName(): Promise<MoneyInOutConfigurationPerTokenName> {\n const uri = '/api/socket/money-in-out-configuration-per-token-name';\n return this.get(uri);\n }\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reyaxyz/api-sdk",
3
- "version": "0.88.11",
3
+ "version": "0.88.13",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -33,13 +33,13 @@
33
33
  "generate:coverage-badges": "npx istanbul-badges-readme --silent"
34
34
  },
35
35
  "dependencies": {
36
- "@reyaxyz/common": "0.114.0",
36
+ "@reyaxyz/common": "0.115.0",
37
37
  "bignumber.js": "^9.1.2",
38
38
  "isomorphic-ws": "^5.0.0",
39
39
  "ws": "^8.16.0"
40
40
  },
41
41
  "packageManager": "pnpm@8.3.1",
42
- "gitHead": "03ac37622a2adb4b0827a2306265c1b3b415e6c3",
42
+ "gitHead": "caf5873970c9e5504155ac492f124d81a63e9d39",
43
43
  "devDependencies": {
44
44
  "@types/ws": "8.5.10"
45
45
  }
@@ -13,7 +13,7 @@ export default class TokensClient extends RestClient {
13
13
  }
14
14
 
15
15
  async getMoneyInOutConfigurationPerTokenName(): Promise<MoneyInOutConfigurationPerTokenName> {
16
- const uri = 'api/socket/money-in-out-configuration-per-token-name';
16
+ const uri = '/api/socket/money-in-out-configuration-per-token-name';
17
17
  return this.get(uri);
18
18
  }
19
19
  }