@sigrex/client 2.1.5 → 2.1.6

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/index.d.mts CHANGED
@@ -3965,7 +3965,7 @@ interface paths {
3965
3965
  patch?: never;
3966
3966
  trace?: never;
3967
3967
  };
3968
- "/api/v2/bot/signal/prediction/market/{slug}": {
3968
+ "/api/v2/bot/signal/prediction/market/{exchange}/{slug}": {
3969
3969
  parameters: {
3970
3970
  query?: never;
3971
3971
  header?: never;
@@ -3978,6 +3978,8 @@ interface paths {
3978
3978
  query?: never;
3979
3979
  header?: never;
3980
3980
  path: {
3981
+ /** @description Prediction market exchange */
3982
+ exchange: string;
3981
3983
  slug: string;
3982
3984
  };
3983
3985
  cookie?: never;
@@ -9319,7 +9321,7 @@ declare class PredictionBotsService {
9319
9321
  /**
9320
9322
  * Get prediction market by slug
9321
9323
  */
9322
- getMarket(slug: string | number): Promise<paths['/api/v2/bot/signal/prediction/market/{slug}']['get']['responses']['200']['content']['application/json']>;
9324
+ getMarket(exchange: string, slug: string | number): Promise<paths['/api/v2/bot/signal/prediction/market/{exchange}/{slug}']['get']['responses']['200']['content']['application/json']>;
9323
9325
  /**
9324
9326
  * Get all prediction signal bots
9325
9327
  */
package/dist/index.d.ts CHANGED
@@ -3965,7 +3965,7 @@ interface paths {
3965
3965
  patch?: never;
3966
3966
  trace?: never;
3967
3967
  };
3968
- "/api/v2/bot/signal/prediction/market/{slug}": {
3968
+ "/api/v2/bot/signal/prediction/market/{exchange}/{slug}": {
3969
3969
  parameters: {
3970
3970
  query?: never;
3971
3971
  header?: never;
@@ -3978,6 +3978,8 @@ interface paths {
3978
3978
  query?: never;
3979
3979
  header?: never;
3980
3980
  path: {
3981
+ /** @description Prediction market exchange */
3982
+ exchange: string;
3981
3983
  slug: string;
3982
3984
  };
3983
3985
  cookie?: never;
@@ -9319,7 +9321,7 @@ declare class PredictionBotsService {
9319
9321
  /**
9320
9322
  * Get prediction market by slug
9321
9323
  */
9322
- getMarket(slug: string | number): Promise<paths['/api/v2/bot/signal/prediction/market/{slug}']['get']['responses']['200']['content']['application/json']>;
9324
+ getMarket(exchange: string, slug: string | number): Promise<paths['/api/v2/bot/signal/prediction/market/{exchange}/{slug}']['get']['responses']['200']['content']['application/json']>;
9323
9325
  /**
9324
9326
  * Get all prediction signal bots
9325
9327
  */
package/dist/index.js CHANGED
@@ -921,10 +921,10 @@ var PredictionBotsService = class {
921
921
  /**
922
922
  * Get prediction market by slug
923
923
  */
924
- async getMarket(slug) {
924
+ async getMarket(exchange, slug) {
925
925
  return this.client.request({
926
926
  method: "GET",
927
- path: `/api/v2/bot/signal/prediction/market/${slug}`
927
+ path: `/api/v2/bot/signal/prediction/market/${exchange}/${slug}`
928
928
  });
929
929
  }
930
930
  /**
package/dist/index.mjs CHANGED
@@ -869,10 +869,10 @@ var PredictionBotsService = class {
869
869
  /**
870
870
  * Get prediction market by slug
871
871
  */
872
- async getMarket(slug) {
872
+ async getMarket(exchange, slug) {
873
873
  return this.client.request({
874
874
  method: "GET",
875
- path: `/api/v2/bot/signal/prediction/market/${slug}`
875
+ path: `/api/v2/bot/signal/prediction/market/${exchange}/${slug}`
876
876
  });
877
877
  }
878
878
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sigrex/client",
3
- "version": "2.1.5",
3
+ "version": "2.1.6",
4
4
  "description": "TypeScript API Client for Sigrex with automatic HMAC-SHA256 request signing and support for ML-DSA44",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",