@wildix/xbees-conversations-client 1.0.20 → 1.0.21

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,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MemberNotFoundException = exports.MessageType = exports.MessageSmsStatus = exports.ChannelUnsetFields = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelType = exports.ChannelAccess = exports.ValidationException = void 0;
3
+ exports.MemberNotFoundException = exports.MessageType = exports.MessageSmsStatus = exports.ChannelUnsetFields = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelAccess = exports.ChannelType = exports.ValidationException = void 0;
4
4
  const ConversationsServiceException_1 = require("./ConversationsServiceException");
5
5
  class ValidationException extends ConversationsServiceException_1.ConversationsServiceException {
6
6
  constructor(opts) {
@@ -15,14 +15,14 @@ class ValidationException extends ConversationsServiceException_1.ConversationsS
15
15
  }
16
16
  }
17
17
  exports.ValidationException = ValidationException;
18
- exports.ChannelAccess = {
19
- PRIVATE: "private",
20
- PUBLIC: "public",
21
- };
22
18
  exports.ChannelType = {
23
19
  DIRECT: "direct",
24
20
  GROUP: "group",
25
21
  };
22
+ exports.ChannelAccess = {
23
+ PRIVATE: "private",
24
+ PUBLIC: "public",
25
+ };
26
26
  exports.ChannelContextEventAttendeeStatus = {
27
27
  ACCEPTED: "accepted",
28
28
  DECLINED: "declined",
@@ -11,14 +11,14 @@ export class ValidationException extends __BaseException {
11
11
  Object.setPrototypeOf(this, ValidationException.prototype);
12
12
  }
13
13
  }
14
- export const ChannelAccess = {
15
- PRIVATE: "private",
16
- PUBLIC: "public",
17
- };
18
14
  export const ChannelType = {
19
15
  DIRECT: "direct",
20
16
  GROUP: "group",
21
17
  };
18
+ export const ChannelAccess = {
19
+ PRIVATE: "private",
20
+ PUBLIC: "public",
21
+ };
22
22
  export const ChannelContextEventAttendeeStatus = {
23
23
  ACCEPTED: "accepted",
24
24
  DECLINED: "declined",
@@ -15,14 +15,14 @@ export declare class ValidationException extends __BaseException {
15
15
  * @public
16
16
  * @enum
17
17
  */
18
- export declare const ChannelAccess: {
19
- readonly PRIVATE: "private";
20
- readonly PUBLIC: "public";
18
+ export declare const ChannelType: {
19
+ readonly DIRECT: "direct";
20
+ readonly GROUP: "group";
21
21
  };
22
22
  /**
23
23
  * @public
24
24
  */
25
- export type ChannelAccess = typeof ChannelAccess[keyof typeof ChannelAccess];
25
+ export type ChannelType = typeof ChannelType[keyof typeof ChannelType];
26
26
  /**
27
27
  * @public
28
28
  */
@@ -45,14 +45,14 @@ export interface User {
45
45
  * @public
46
46
  * @enum
47
47
  */
48
- export declare const ChannelType: {
49
- readonly DIRECT: "direct";
50
- readonly GROUP: "group";
48
+ export declare const ChannelAccess: {
49
+ readonly PRIVATE: "private";
50
+ readonly PUBLIC: "public";
51
51
  };
52
52
  /**
53
53
  * @public
54
54
  */
55
- export type ChannelType = typeof ChannelType[keyof typeof ChannelType];
55
+ export type ChannelAccess = typeof ChannelAccess[keyof typeof ChannelAccess];
56
56
  /**
57
57
  * @public
58
58
  * @enum
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/xbees-conversations-client",
3
3
  "description": "@wildix/xbees-conversations-client client",
4
- "version": "1.0.20",
4
+ "version": "1.0.21",
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",
@@ -17,6 +17,7 @@
17
17
  "module": "./dist-es/index.js",
18
18
  "sideEffects": false,
19
19
  "dependencies": {
20
+ "tslib": "^2.5.0",
20
21
  "@aws-crypto/sha256-browser": "3.0.0",
21
22
  "@aws-crypto/sha256-js": "3.0.0",
22
23
  "@aws-sdk/types": "latest",
@@ -41,18 +42,17 @@
41
42
  "@smithy/util-defaults-mode-node": "^2.0.15",
42
43
  "@smithy/util-retry": "^2.0.3",
43
44
  "@smithy/util-utf8": "^2.0.0",
44
- "@wildix/smithy-utils": "latest",
45
- "tslib": "^2.5.0"
45
+ "@wildix/smithy-utils": "latest"
46
46
  },
47
47
  "devDependencies": {
48
- "@smithy/service-client-documentation-generator": "^2.0.0",
49
48
  "@tsconfig/node14": "1.0.3",
50
- "@types/node": "^14.14.31",
51
49
  "concurrently": "7.0.0",
52
50
  "downlevel-dts": "0.10.1",
53
51
  "rimraf": "^3.0.0",
54
52
  "typedoc": "0.23.23",
55
- "typescript": "~4.9.5"
53
+ "typescript": "~4.9.5",
54
+ "@smithy/service-client-documentation-generator": "^2.0.0",
55
+ "@types/node": "^14.14.31"
56
56
  },
57
57
  "engines": {
58
58
  "node": ">=14.0.0"
@@ -73,6 +73,5 @@
73
73
  },
74
74
  "react-native": {
75
75
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
76
- },
77
- "gitHead": "272a3d0abc6d05ec40d3613908a26f49379fadc4"
76
+ }
78
77
  }