@reyaxyz/api-sdk 0.29.0 → 0.30.1

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 { SupportedChainId, TokenEntity } from '@reyaxyz/common';\n\nexport type GetAllowedTokensParams = {\n chainId: SupportedChainId;\n};\n\nexport type GetAllowedTokenResult = {\n tokens: TokenEntity[];\n};\n"]}
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['id'][];\n};\n"]}
@@ -1,7 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CandlesResolution = void 0;
3
+ exports.MoneyInOutChainId = exports.ReyaChainId = exports.CandlesResolution = void 0;
4
4
  // reexporting what we want to share with integrators
5
5
  var common_1 = require("@reyaxyz/common");
6
6
  Object.defineProperty(exports, "CandlesResolution", { enumerable: true, get: function () { return common_1.CandlesResolution; } });
7
+ Object.defineProperty(exports, "ReyaChainId", { enumerable: true, get: function () { return common_1.ReyaChainId; } });
8
+ Object.defineProperty(exports, "MoneyInOutChainId", { enumerable: true, get: function () { return common_1.MoneyInOutChainId; } });
7
9
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"/","sources":["clients/types.ts"],"names":[],"mappings":";;;AAAA,qDAAqD;AACrD,0CAcyB;AAZvB,2GAAA,iBAAiB,OAAA","sourcesContent":["// reexporting what we want to share with integrators\nexport {\n Candle,\n CandlesResolution,\n MarketEntity,\n LpTransactionHistoryEntity,\n TradingHistoryEntity,\n PositionHistoryEntity,\n PositionEntity,\n TransactionHistoryType,\n MarginAccountTransactionHistoryType,\n MarginAccountTransactionHistoryEntity,\n MarginAccountEntity,\n LpPositionEntity,\n LpPoolEntity,\n} from '@reyaxyz/common';\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"/","sources":["clients/types.ts"],"names":[],"mappings":";;;AAAA,qDAAqD;AACrD,0CAgByB;AAdvB,2GAAA,iBAAiB,OAAA;AAYjB,qGAAA,WAAW,OAAA;AACX,2GAAA,iBAAiB,OAAA","sourcesContent":["// reexporting what we want to share with integrators\nexport {\n Candle,\n CandlesResolution,\n MarketEntity,\n LpTransactionHistoryEntity,\n TradingHistoryEntity,\n PositionHistoryEntity,\n PositionEntity,\n TransactionHistoryType,\n MarginAccountTransactionHistoryType,\n MarginAccountTransactionHistoryEntity,\n MarginAccountEntity,\n LpPositionEntity,\n LpPoolEntity,\n ReyaChainId,\n MoneyInOutChainId,\n} from '@reyaxyz/common';\n"]}
@@ -1,8 +1,8 @@
1
- import { SupportedChainId, TokenEntity } from '@reyaxyz/common';
1
+ import { ReyaChainId, TokenEntity } from '@reyaxyz/common';
2
2
  export type GetAllowedTokensParams = {
3
- chainId: SupportedChainId;
3
+ chainId: ReyaChainId;
4
4
  };
5
5
  export type GetAllowedTokenResult = {
6
- tokens: TokenEntity[];
6
+ tokens: TokenEntity['id'][];
7
7
  };
8
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,gBAAgB,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEhE,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE,gBAAgB,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,WAAW,EAAE,CAAC;CACvB,CAAC"}
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,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC;CAC7B,CAAC"}
@@ -1,2 +1,2 @@
1
- export { Candle, CandlesResolution, MarketEntity, LpTransactionHistoryEntity, TradingHistoryEntity, PositionHistoryEntity, PositionEntity, TransactionHistoryType, MarginAccountTransactionHistoryType, MarginAccountTransactionHistoryEntity, MarginAccountEntity, LpPositionEntity, LpPoolEntity, } from '@reyaxyz/common';
1
+ export { Candle, CandlesResolution, MarketEntity, LpTransactionHistoryEntity, TradingHistoryEntity, PositionHistoryEntity, PositionEntity, TransactionHistoryType, MarginAccountTransactionHistoryType, MarginAccountTransactionHistoryEntity, MarginAccountEntity, LpPositionEntity, LpPoolEntity, ReyaChainId, MoneyInOutChainId, } from '@reyaxyz/common';
2
2
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"/","sources":["clients/types.ts"],"names":[],"mappings":"AACA,OAAO,EACL,MAAM,EACN,iBAAiB,EACjB,YAAY,EACZ,0BAA0B,EAC1B,oBAAoB,EACpB,qBAAqB,EACrB,cAAc,EACd,sBAAsB,EACtB,mCAAmC,EACnC,qCAAqC,EACrC,mBAAmB,EACnB,gBAAgB,EAChB,YAAY,GACb,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"/","sources":["clients/types.ts"],"names":[],"mappings":"AACA,OAAO,EACL,MAAM,EACN,iBAAiB,EACjB,YAAY,EACZ,0BAA0B,EAC1B,oBAAoB,EACpB,qBAAqB,EACrB,cAAc,EACd,sBAAsB,EACtB,mCAAmC,EACnC,qCAAqC,EACrC,mBAAmB,EACnB,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACX,iBAAiB,GAClB,MAAM,iBAAiB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reyaxyz/api-sdk",
3
- "version": "0.29.0",
3
+ "version": "0.30.1",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -33,10 +33,10 @@
33
33
  "generate:coverage-badges": "npx istanbul-badges-readme --silent"
34
34
  },
35
35
  "dependencies": {
36
- "@reyaxyz/common": "0.1.0",
36
+ "@reyaxyz/common": "0.2.0",
37
37
  "axios": "^1.6.2",
38
38
  "bignumber.js": "^9.1.2"
39
39
  },
40
40
  "packageManager": "pnpm@8.10.4",
41
- "gitHead": "5019db70f29333faa41f046769a55f9d320b5f7f"
41
+ "gitHead": "c7c78d233a3e4aea15d063c0d2f64e62398e707c"
42
42
  }
@@ -1,9 +1,9 @@
1
- import { SupportedChainId, TokenEntity } from '@reyaxyz/common';
1
+ import { ReyaChainId, TokenEntity } from '@reyaxyz/common';
2
2
 
3
3
  export type GetAllowedTokensParams = {
4
- chainId: SupportedChainId;
4
+ chainId: ReyaChainId;
5
5
  };
6
6
 
7
7
  export type GetAllowedTokenResult = {
8
- tokens: TokenEntity[];
8
+ tokens: TokenEntity['id'][];
9
9
  };
@@ -13,4 +13,6 @@ export {
13
13
  MarginAccountEntity,
14
14
  LpPositionEntity,
15
15
  LpPoolEntity,
16
+ ReyaChainId,
17
+ MoneyInOutChainId,
16
18
  } from '@reyaxyz/common';