@wildix/wda-stream-client 1.0.32 → 1.0.34

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.
@@ -92,7 +92,7 @@ const se_QueryPresencesCommand = async (input, context) => {
92
92
  const headers = {
93
93
  'content-type': 'application/json',
94
94
  };
95
- b.bp("/v2/stream/query_presences");
95
+ b.bp("/v2/stream/presence/query_multiple");
96
96
  let body;
97
97
  body = JSON.stringify((0, smithy_client_1.take)(input, {
98
98
  'filter': _ => (0, smithy_client_1._json)(_),
@@ -84,7 +84,7 @@ export const se_QueryPresencesCommand = async (input, context) => {
84
84
  const headers = {
85
85
  'content-type': 'application/json',
86
86
  };
87
- b.bp("/v2/stream/query_presences");
87
+ b.bp("/v2/stream/presence/query_multiple");
88
88
  let body;
89
89
  body = JSON.stringify(take(input, {
90
90
  'filter': _ => _json(_),
@@ -3522,7 +3522,7 @@ export interface Presence {
3522
3522
  */
3523
3523
  telephony?: TelephonyStatus;
3524
3524
  /**
3525
- * The flag indicates that the user has just been seen (example: true).
3525
+ * The string shows the time the user was last seen. (example: 2024-08-08T17:16:00Z).
3526
3526
  * @public
3527
3527
  */
3528
3528
  seen?: string;
@@ -3583,7 +3583,7 @@ export interface QueryPresenceOutput {
3583
3583
  */
3584
3584
  export interface QueryPresencesInput {
3585
3585
  /**
3586
- * The maximum filter items
3586
+ * List of filters to match the user presence list.
3587
3587
  * @public
3588
3588
  */
3589
3589
  filter: (PresenceQueryFilter)[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wda-stream-client",
3
3
  "description": "@wildix/wda-stream-client client",
4
- "version": "1.0.32",
4
+ "version": "1.0.34",
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",
@@ -9,7 +9,8 @@
9
9
  "build:types": "tsc -p tsconfig.types.json",
10
10
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
11
11
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
12
- "prepack": "yarn run clean && yarn run build"
12
+ "prepack": "yarn run clean && yarn run build",
13
+ "postpublish": "node ../../scripts/postpublish.js"
13
14
  },
14
15
  "main": "./dist-cjs/index.js",
15
16
  "types": "./dist-types/index.d.ts",