@reyaxyz/api-sdk 0.61.1 → 0.62.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.
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"/","sources":["clients/modules/tokens/types.ts"],"names":[],"mappings":"","sourcesContent":["import { ReyaChainId, TokenEntity } from '@reyaxyz/common';\n\nexport type GetAllowedTokensParams = {\n chainId: ReyaChainId;\n};\n\nexport type GetAllowedTokenResult = {\n tokens: (TokenEntity & {\n minDepositAmount: number;\n minWithdrawAmount: number;\n stepSize: number;\n })[]; // 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};\n\nexport type GetAllowedTokenResult = {\n tokens: TokenEntityWithMinValue[]; // Extend TokenEntity with minDepositAmount, minWithdrawAmount, stepSize\n};\n"]}
@@ -1,12 +1,8 @@
1
- import { ReyaChainId, TokenEntity } from '@reyaxyz/common';
1
+ import { ReyaChainId, TokenEntityWithMinValue } from '@reyaxyz/common';
2
2
  export type GetAllowedTokensParams = {
3
3
  chainId: ReyaChainId;
4
4
  };
5
5
  export type GetAllowedTokenResult = {
6
- tokens: (TokenEntity & {
7
- minDepositAmount: number;
8
- minWithdrawAmount: number;
9
- stepSize: number;
10
- })[];
6
+ tokens: TokenEntityWithMinValue[];
11
7
  };
12
8
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"/","sources":["clients/modules/tokens/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE3D,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE,WAAW,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,CAAC,WAAW,GAAG;QACrB,gBAAgB,EAAE,MAAM,CAAC;QACzB,iBAAiB,EAAE,MAAM,CAAC;QAC1B,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC,EAAE,CAAC;CACN,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;CACtB,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.61.1",
3
+ "version": "0.62.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -33,9 +33,9 @@
33
33
  "generate:coverage-badges": "npx istanbul-badges-readme --silent"
34
34
  },
35
35
  "dependencies": {
36
- "@reyaxyz/common": "0.46.1",
36
+ "@reyaxyz/common": "0.47.0",
37
37
  "bignumber.js": "^9.1.2"
38
38
  },
39
39
  "packageManager": "pnpm@8.10.4",
40
- "gitHead": "83f7cb08208032055d2050b3cc4da26b07510c36"
40
+ "gitHead": "ea8ef18cda7e17a851d4c7eda0c807a85413d423"
41
41
  }
@@ -1,13 +1,9 @@
1
- import { ReyaChainId, TokenEntity } from '@reyaxyz/common';
1
+ import { ReyaChainId, TokenEntityWithMinValue } from '@reyaxyz/common';
2
2
 
3
3
  export type GetAllowedTokensParams = {
4
4
  chainId: ReyaChainId;
5
5
  };
6
6
 
7
7
  export type GetAllowedTokenResult = {
8
- tokens: (TokenEntity & {
9
- minDepositAmount: number;
10
- minWithdrawAmount: number;
11
- stepSize: number;
12
- })[]; // Extend TokenEntity with minDepositAmount, minWithdrawAmount, stepSize
8
+ tokens: TokenEntityWithMinValue[]; // Extend TokenEntity with minDepositAmount, minWithdrawAmount, stepSize
13
9
  };