@sigrex/client 2.1.5 → 2.1.7

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;
@@ -8108,7 +8110,7 @@ interface components {
8108
8110
  * @description The key of the bot hook
8109
8111
  * @example 23n9c22c2vjk2cjn2opv8l2vhi
8110
8112
  */
8111
- has_key?: string;
8113
+ hash_key?: string;
8112
8114
  };
8113
8115
  UpdateBotWebhookRequest: {
8114
8116
  /**
@@ -8130,7 +8132,7 @@ interface components {
8130
8132
  * @description The key of the bot hook
8131
8133
  * @example 23n9c22c2vjk2cjn2opv8l2vhi
8132
8134
  */
8133
- has_key?: string;
8135
+ hash_key?: string;
8134
8136
  };
8135
8137
  CreateDataWebhookRequest: {
8136
8138
  /**
@@ -8152,7 +8154,7 @@ interface components {
8152
8154
  * @description The key of the data hook
8153
8155
  * @example 23n9c22c2vjk2cjn2opv8l2vhi
8154
8156
  */
8155
- has_key?: string;
8157
+ hash_key?: string;
8156
8158
  };
8157
8159
  UpdateDataWebhookRequest: {
8158
8160
  /**
@@ -8174,7 +8176,7 @@ interface components {
8174
8176
  * @description The key of the data hook
8175
8177
  * @example 23n9c22c2vjk2cjn2opv8l2vhi
8176
8178
  */
8177
- has_key?: string;
8179
+ hash_key?: string;
8178
8180
  };
8179
8181
  UpdatePublicRequest: {
8180
8182
  /**
@@ -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;
@@ -8108,7 +8110,7 @@ interface components {
8108
8110
  * @description The key of the bot hook
8109
8111
  * @example 23n9c22c2vjk2cjn2opv8l2vhi
8110
8112
  */
8111
- has_key?: string;
8113
+ hash_key?: string;
8112
8114
  };
8113
8115
  UpdateBotWebhookRequest: {
8114
8116
  /**
@@ -8130,7 +8132,7 @@ interface components {
8130
8132
  * @description The key of the bot hook
8131
8133
  * @example 23n9c22c2vjk2cjn2opv8l2vhi
8132
8134
  */
8133
- has_key?: string;
8135
+ hash_key?: string;
8134
8136
  };
8135
8137
  CreateDataWebhookRequest: {
8136
8138
  /**
@@ -8152,7 +8154,7 @@ interface components {
8152
8154
  * @description The key of the data hook
8153
8155
  * @example 23n9c22c2vjk2cjn2opv8l2vhi
8154
8156
  */
8155
- has_key?: string;
8157
+ hash_key?: string;
8156
8158
  };
8157
8159
  UpdateDataWebhookRequest: {
8158
8160
  /**
@@ -8174,7 +8176,7 @@ interface components {
8174
8176
  * @description The key of the data hook
8175
8177
  * @example 23n9c22c2vjk2cjn2opv8l2vhi
8176
8178
  */
8177
- has_key?: string;
8179
+ hash_key?: string;
8178
8180
  };
8179
8181
  UpdatePublicRequest: {
8180
8182
  /**
@@ -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.7",
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",