@wildix/stream-client 0.0.11 → 0.0.13

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.
@@ -368,6 +368,7 @@ exports.MessageUnsetFields = {
368
368
  };
369
369
  exports.SearchSort = {
370
370
  RECENCY: "recency",
371
+ RECENCY_ASC: "recency_asc",
371
372
  RELEVANCE: "relevance",
372
373
  };
373
374
  var SystemMessage;
@@ -350,6 +350,7 @@ export const MessageUnsetFields = {
350
350
  };
351
351
  export const SearchSort = {
352
352
  RECENCY: "recency",
353
+ RECENCY_ASC: "recency_asc",
353
354
  RELEVANCE: "relevance",
354
355
  };
355
356
  export var SystemMessage;
@@ -41,7 +41,7 @@ declare const SearchMessagesCommand_base: {
41
41
  * channelId: "STRING_VALUE",
42
42
  * size: Number("int"),
43
43
  * cursor: "STRING_VALUE",
44
- * sort: "relevance" || "recency",
44
+ * sort: "relevance" || "recency" || "recency_asc",
45
45
  * };
46
46
  * const command = new SearchMessagesCommand(input);
47
47
  * const response = await client.send(command);
@@ -3414,6 +3414,7 @@ export interface SearchMessageHit {
3414
3414
  */
3415
3415
  export declare const SearchSort: {
3416
3416
  readonly RECENCY: "recency";
3417
+ readonly RECENCY_ASC: "recency_asc";
3417
3418
  readonly RELEVANCE: "relevance";
3418
3419
  };
3419
3420
  /**
@@ -3455,7 +3456,7 @@ export interface SearchMessagesInput {
3455
3456
  */
3456
3457
  cursor?: string | undefined;
3457
3458
  /**
3458
- * Result ordering. `relevance` (default) or `recency`.
3459
+ * Result ordering. `relevance` (default), `recency` (newest first), or `recency_asc` (oldest first).
3459
3460
  * @public
3460
3461
  */
3461
3462
  sort?: SearchSort | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/stream-client",
3
3
  "description": "@wildix/stream-client client",
4
- "version": "0.0.11",
4
+ "version": "0.0.13",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -80,4 +80,4 @@
80
80
  "react-native": {
81
81
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
82
82
  }
83
- }
83
+ }