@reyaxyz/api-sdk 0.149.2 → 0.150.0
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/clients/modules/tokens/index.js +1 -0
- package/dist/clients/modules/tokens/index.js.map +1 -1
- package/dist/clients/modules/tokens/types.js.map +1 -1
- package/dist/types/clients/modules/tokens/index.d.ts.map +1 -1
- package/dist/types/clients/modules/tokens/types.d.ts +1 -0
- package/dist/types/clients/modules/tokens/types.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/clients/modules/tokens/index.ts +1 -0
- package/src/clients/modules/tokens/types.ts +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"/","sources":["clients/modules/tokens/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAGyB;AAEzB;IAA0C,gCAAU;IAApD;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"/","sources":["clients/modules/tokens/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,0CAGyB;AAEzB;IAA0C,gCAAU;IAApD;;IAiBA,CAAC;IAhBO,uCAAgB,GAAtB,UACE,MAA8B;;;;gBAExB,GAAG,GAAG,sBAAe,MAAM,CAAC,OAAO,oBAAiB,CAAC;gBAC3D,sBAAO,IAAI,CAAC,GAAG,CAAC,GAAG,EAAE;wBACnB,aAAa,EAAE,MAAM,CAAC,aAAa;wBACnC,mBAAmB,EAAE,MAAM,CAAC,mBAAmB;wBAC/C,eAAe,EAAE,MAAM,CAAC,eAAe;wBACvC,iBAAiB,EAAE,MAAM,CAAC,iBAAiB;qBAC5C,CAAC,EAAC;;;KACJ;IAEK,6DAAsC,GAA5C;;;;gBACQ,GAAG,GAAG,uDAAuD,CAAC;gBACpE,sBAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAC;;;KACtB;IACH,mBAAC;AAAD,CAAC,AAjBD,CAA0C,mBAAU,GAiBnD","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 walletAddress: params.walletAddress,\n includeElixirTokens: params.includeElixirTokens,\n includeLmTokens: params.includeLmTokens,\n includePoolTokens: params.includePoolTokens,\n });\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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"/","sources":["clients/modules/tokens/types.ts"],"names":[],"mappings":"","sourcesContent":["import { ReyaChainId, TokenEntityWithMinValue } from '@reyaxyz/common';\n\nexport type GetAllowedTokensParams = {\n chainId: ReyaChainId;\n walletAddress?: string;\n includeElixirTokens?: boolean;\n includeLmTokens?: boolean;\n};\n\nexport type GetAllowedTokenResult = {\n tokens: TokenEntityWithMinValue[]; // Extend TokenEntity with minDepositAmount, minWithdrawAmount, stepSize\n};\n"]}
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"/","sources":["clients/modules/tokens/types.ts"],"names":[],"mappings":"","sourcesContent":["import { ReyaChainId, TokenEntityWithMinValue } from '@reyaxyz/common';\n\nexport type GetAllowedTokensParams = {\n chainId: ReyaChainId;\n walletAddress?: string;\n includeElixirTokens?: boolean;\n includeLmTokens?: boolean;\n includePoolTokens?: boolean;\n};\n\nexport type GetAllowedTokenResult = {\n tokens: TokenEntityWithMinValue[]; // Extend TokenEntity with minDepositAmount, minWithdrawAmount, stepSize\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["clients/modules/tokens/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AACxE,OAAO,EACL,mCAAmC,EACnC,UAAU,EACX,MAAM,iBAAiB,CAAC;AAEzB,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,UAAU;IAC5C,gBAAgB,CACpB,MAAM,EAAE,sBAAsB,GAC7B,OAAO,CAAC,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"/","sources":["clients/modules/tokens/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AACxE,OAAO,EACL,mCAAmC,EACnC,UAAU,EACX,MAAM,iBAAiB,CAAC;AAEzB,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,UAAU;IAC5C,gBAAgB,CACpB,MAAM,EAAE,sBAAsB,GAC7B,OAAO,CAAC,qBAAqB,CAAC;IAU3B,sCAAsC,IAAI,OAAO,CAAC,mCAAmC,CAAC;CAI7F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"/","sources":["clients/modules/tokens/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAEvE,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,eAAe,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"/","sources":["clients/modules/tokens/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAEvE,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE,WAAW,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,uBAAuB,EAAE,CAAC;CACnC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reyaxyz/api-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.150.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"generate:coverage-badges": "npx istanbul-badges-readme --silent"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@reyaxyz/common": "0.
|
|
36
|
+
"@reyaxyz/common": "0.255.0",
|
|
37
37
|
"@simplewebauthn/types": "^10.0.0",
|
|
38
38
|
"axios": "^1.6.2",
|
|
39
39
|
"bignumber.js": "^9.1.2",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"ws": "^8.16.0"
|
|
43
43
|
},
|
|
44
44
|
"packageManager": "pnpm@8.3.1",
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "2ef9485b59c81d95a75db0f1215bb650ad2c5773",
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@reyaxyz/database": "0.118.
|
|
47
|
+
"@reyaxyz/database": "0.118.5"
|
|
48
48
|
}
|
|
49
49
|
}
|