@wildix/wim-voicebots-client 1.0.3 → 1.0.5

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.
@@ -32,6 +32,7 @@ exports.VoiceBotEventType = {
32
32
  COMPLETE: "complete",
33
33
  ENDED: "ended",
34
34
  INTERRUPTION: "interruption",
35
+ PLAYBACK: "playback",
35
36
  REPLY: "reply",
36
37
  STARTED: "started",
37
38
  TRANSCRIPTION: "transcription",
@@ -17,9 +17,9 @@ const se_CreateVoiceBotCommand = async (input, context) => {
17
17
  let body;
18
18
  body = JSON.stringify((0, smithy_client_1.take)(input, {
19
19
  'endpoint': _ => se_BotEndpoint(_, context),
20
- 'maximumDuration': [],
20
+ 'message': [],
21
21
  'name': [],
22
- 'silenceTimeout': [],
22
+ 'pipeline': _ => (0, smithy_client_1._json)(_),
23
23
  }));
24
24
  b.m("POST")
25
25
  .h(headers)
@@ -171,9 +171,9 @@ const se_UpdateVoiceBotCommand = async (input, context) => {
171
171
  let body;
172
172
  body = JSON.stringify((0, smithy_client_1.take)(input, {
173
173
  'endpoint': _ => se_BotEndpoint(_, context),
174
- 'maximumDuration': [],
174
+ 'message': [],
175
175
  'name': [],
176
- 'silenceTimeout': [],
176
+ 'pipeline': _ => (0, smithy_client_1._json)(_),
177
177
  }));
178
178
  b.m("PUT")
179
179
  .h(headers)
@@ -222,6 +222,8 @@ const de_DescribeEventCommand = async (output, context) => {
222
222
  'HangupWebsocketCommand': smithy_client_1._json,
223
223
  'InterruptionWebhookEvent': smithy_client_1._json,
224
224
  'InterruptionWebsocketEvent': smithy_client_1._json,
225
+ 'PlaybackWebhookEvent': smithy_client_1._json,
226
+ 'PlaybackWebsocketEvent': smithy_client_1._json,
225
227
  'ReplyWebhookEvent': smithy_client_1._json,
226
228
  'ReplyWebsocketEvent': smithy_client_1._json,
227
229
  'SayWebsocketCommand': smithy_client_1._json,
@@ -439,9 +441,9 @@ const de_VoiceBot = (output, context) => {
439
441
  'createdAt': smithy_client_1.expectString,
440
442
  'endpoint': (_) => de_BotEndpoint((0, smithy_client_1.expectUnion)(_), context),
441
443
  'id': smithy_client_1.expectString,
442
- 'maximumDuration': smithy_client_1.expectInt32,
444
+ 'message': smithy_client_1.expectString,
443
445
  'name': smithy_client_1.expectString,
444
- 'silenceTimeout': smithy_client_1.expectInt32,
446
+ 'pipeline': smithy_client_1._json,
445
447
  'updatedAt': smithy_client_1.expectString,
446
448
  });
447
449
  };
@@ -27,6 +27,7 @@ export const VoiceBotEventType = {
27
27
  COMPLETE: "complete",
28
28
  ENDED: "ended",
29
29
  INTERRUPTION: "interruption",
30
+ PLAYBACK: "playback",
30
31
  REPLY: "reply",
31
32
  STARTED: "started",
32
33
  TRANSCRIPTION: "transcription",
@@ -1,7 +1,7 @@
1
1
  import { VoiceBotsServiceException as __BaseException } from "../models/VoiceBotsServiceException";
2
2
  import { BotEndpoint, ForbiddenException, ValidationException, VoiceBotNotFoundException, VoiceSessionNotFoundException, } from "../models/models_0";
3
3
  import { requestBuilder as rb } from "@smithy/core";
4
- import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
4
+ import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
5
5
  export const se_CreateVoiceBotCommand = async (input, context) => {
6
6
  const b = rb(input, context);
7
7
  const headers = {
@@ -14,9 +14,9 @@ export const se_CreateVoiceBotCommand = async (input, context) => {
14
14
  let body;
15
15
  body = JSON.stringify(take(input, {
16
16
  'endpoint': _ => se_BotEndpoint(_, context),
17
- 'maximumDuration': [],
17
+ 'message': [],
18
18
  'name': [],
19
- 'silenceTimeout': [],
19
+ 'pipeline': _ => _json(_),
20
20
  }));
21
21
  b.m("POST")
22
22
  .h(headers)
@@ -159,9 +159,9 @@ export const se_UpdateVoiceBotCommand = async (input, context) => {
159
159
  let body;
160
160
  body = JSON.stringify(take(input, {
161
161
  'endpoint': _ => se_BotEndpoint(_, context),
162
- 'maximumDuration': [],
162
+ 'message': [],
163
163
  'name': [],
164
- 'silenceTimeout': [],
164
+ 'pipeline': _ => _json(_),
165
165
  }));
166
166
  b.m("PUT")
167
167
  .h(headers)
@@ -207,6 +207,8 @@ export const de_DescribeEventCommand = async (output, context) => {
207
207
  'HangupWebsocketCommand': _json,
208
208
  'InterruptionWebhookEvent': _json,
209
209
  'InterruptionWebsocketEvent': _json,
210
+ 'PlaybackWebhookEvent': _json,
211
+ 'PlaybackWebsocketEvent': _json,
210
212
  'ReplyWebhookEvent': _json,
211
213
  'ReplyWebsocketEvent': _json,
212
214
  'SayWebsocketCommand': _json,
@@ -416,9 +418,9 @@ const de_VoiceBot = (output, context) => {
416
418
  'createdAt': __expectString,
417
419
  'endpoint': (_) => de_BotEndpoint(__expectUnion(_), context),
418
420
  'id': __expectString,
419
- 'maximumDuration': __expectInt32,
421
+ 'message': __expectString,
420
422
  'name': __expectString,
421
- 'silenceTimeout': __expectInt32,
423
+ 'pipeline': _json,
422
424
  'updatedAt': __expectString,
423
425
  });
424
426
  };
@@ -37,8 +37,14 @@ declare const CreateVoiceBotCommand_base: {
37
37
  * const client = new VoiceBotsClient(config);
38
38
  * const input = { // CreateVoiceBotInput
39
39
  * name: "STRING_VALUE", // required
40
- * maximumDuration: Number("int"),
41
- * silenceTimeout: Number("int"),
40
+ * message: "STRING_VALUE",
41
+ * pipeline: { // VoiceBotPipelineSettings
42
+ * interuptionsEnabled: true || false,
43
+ * maximumDuration: Number("int"),
44
+ * silenceTimeout: Number("int"),
45
+ * endCallEnabled: true || false,
46
+ * endCallPhases: "STRING_VALUE",
47
+ * },
42
48
  * endpoint: { // BotEndpoint Union: only one key present
43
49
  * dialogflowCx: { // BotDialogflowCxEndpoint
44
50
  * credentials: "DOCUMENT_VALUE", // required
@@ -67,8 +73,14 @@ declare const CreateVoiceBotCommand_base: {
67
73
  * // { // CreateVoiceBotOutput
68
74
  * // bot: { // VoiceBot
69
75
  * // name: "STRING_VALUE", // required
70
- * // maximumDuration: Number("int"),
71
- * // silenceTimeout: Number("int"),
76
+ * // message: "STRING_VALUE",
77
+ * // pipeline: { // VoiceBotPipelineSettings
78
+ * // interuptionsEnabled: true || false,
79
+ * // maximumDuration: Number("int"),
80
+ * // silenceTimeout: Number("int"),
81
+ * // endCallEnabled: true || false,
82
+ * // endCallPhases: "STRING_VALUE",
83
+ * // },
72
84
  * // endpoint: { // BotEndpoint Union: only one key present
73
85
  * // dialogflowCx: { // BotDialogflowCxEndpoint
74
86
  * // credentials: "DOCUMENT_VALUE", // required
@@ -42,7 +42,7 @@ declare const DescribeEventCommand_base: {
42
42
  * // TranscriptionWebsocketEvent: { // TranscriptionWebsocketEvent
43
43
  * // type: "STRING_VALUE", // required
44
44
  * // event: { // TranscriptionEvent
45
- * // type: "started" || "ended" || "reply" || "transcription" || "interruption" || "complete", // required
45
+ * // type: "started" || "ended" || "reply" || "playback" || "transcription" || "interruption" || "complete", // required
46
46
  * // id: "STRING_VALUE", // required
47
47
  * // text: "STRING_VALUE", // required
48
48
  * // time: Number("long"), // required
@@ -51,17 +51,28 @@ declare const DescribeEventCommand_base: {
51
51
  * // ReplyWebsocketEvent: { // ReplyWebsocketEvent
52
52
  * // type: "STRING_VALUE", // required
53
53
  * // event: { // ReplyEvent
54
- * // type: "started" || "ended" || "reply" || "transcription" || "interruption" || "complete", // required
54
+ * // type: "started" || "ended" || "reply" || "playback" || "transcription" || "interruption" || "complete", // required
55
55
  * // id: "STRING_VALUE", // required
56
56
  * // text: "STRING_VALUE", // required
57
57
  * // startTime: Number("long"), // required
58
58
  * // endTime: Number("long"), // required
59
59
  * // },
60
60
  * // },
61
+ * // PlaybackWebsocketEvent: { // PlaybackWebsocketEvent
62
+ * // type: "STRING_VALUE", // required
63
+ * // event: { // PlaybackEvent
64
+ * // type: "started" || "ended" || "reply" || "playback" || "transcription" || "interruption" || "complete", // required
65
+ * // replyId: "STRING_VALUE", // required
66
+ * // text: "STRING_VALUE", // required
67
+ * // complete: true || false, // required
68
+ * // startTime: Number("long"), // required
69
+ * // endTime: Number("long"),
70
+ * // },
71
+ * // },
61
72
  * // InterruptionWebsocketEvent: { // InterruptionWebsocketEvent
62
73
  * // type: "STRING_VALUE", // required
63
74
  * // event: { // InterruptionEvent
64
- * // type: "started" || "ended" || "reply" || "transcription" || "interruption" || "complete", // required
75
+ * // type: "started" || "ended" || "reply" || "playback" || "transcription" || "interruption" || "complete", // required
65
76
  * // replyId: "STRING_VALUE", // required
66
77
  * // playedText: "STRING_VALUE", // required
67
78
  * // originalText: "STRING_VALUE", // required
@@ -71,7 +82,8 @@ declare const DescribeEventCommand_base: {
71
82
  * // CompleteWebsocketEvent: { // CompleteWebsocketEvent
72
83
  * // type: "STRING_VALUE", // required
73
84
  * // event: { // CompleteEvent
74
- * // type: "started" || "ended" || "reply" || "transcription" || "interruption" || "complete", // required
85
+ * // type: "started" || "ended" || "reply" || "playback" || "transcription" || "interruption" || "complete", // required
86
+ * // reason: "STRING_VALUE", // required
75
87
  * // time: Number("long"), // required
76
88
  * // },
77
89
  * // },
@@ -105,7 +117,7 @@ declare const DescribeEventCommand_base: {
105
117
  * // callId: "STRING_VALUE", // required
106
118
  * // flowIndex: Number("int"), // required
107
119
  * // event: { // SessionStartedEvent
108
- * // type: "started" || "ended" || "reply" || "transcription" || "interruption" || "complete", // required
120
+ * // type: "started" || "ended" || "reply" || "playback" || "transcription" || "interruption" || "complete", // required
109
121
  * // language: "STRING_VALUE", // required
110
122
  * // time: Number("long"), // required
111
123
  * // },
@@ -116,7 +128,7 @@ declare const DescribeEventCommand_base: {
116
128
  * // callId: "STRING_VALUE", // required
117
129
  * // flowIndex: Number("int"), // required
118
130
  * // event: { // SessionEndedEvent
119
- * // type: "started" || "ended" || "reply" || "transcription" || "interruption" || "complete", // required
131
+ * // type: "started" || "ended" || "reply" || "playback" || "transcription" || "interruption" || "complete", // required
120
132
  * // error: "STRING_VALUE",
121
133
  * // time: Number("long"), // required
122
134
  * // },
@@ -127,7 +139,7 @@ declare const DescribeEventCommand_base: {
127
139
  * // callId: "STRING_VALUE", // required
128
140
  * // flowIndex: Number("int"), // required
129
141
  * // event: {
130
- * // type: "started" || "ended" || "reply" || "transcription" || "interruption" || "complete", // required
142
+ * // type: "started" || "ended" || "reply" || "playback" || "transcription" || "interruption" || "complete", // required
131
143
  * // id: "STRING_VALUE", // required
132
144
  * // text: "STRING_VALUE", // required
133
145
  * // time: Number("long"), // required
@@ -139,20 +151,34 @@ declare const DescribeEventCommand_base: {
139
151
  * // callId: "STRING_VALUE", // required
140
152
  * // flowIndex: Number("int"), // required
141
153
  * // event: {
142
- * // type: "started" || "ended" || "reply" || "transcription" || "interruption" || "complete", // required
154
+ * // type: "started" || "ended" || "reply" || "playback" || "transcription" || "interruption" || "complete", // required
143
155
  * // id: "STRING_VALUE", // required
144
156
  * // text: "STRING_VALUE", // required
145
157
  * // startTime: Number("long"), // required
146
158
  * // endTime: Number("long"), // required
147
159
  * // },
148
160
  * // },
161
+ * // PlaybackWebhookEvent: { // PlaybackWebhookEvent
162
+ * // sessionId: "STRING_VALUE", // required
163
+ * // botId: "STRING_VALUE", // required
164
+ * // callId: "STRING_VALUE", // required
165
+ * // flowIndex: Number("int"), // required
166
+ * // event: {
167
+ * // type: "started" || "ended" || "reply" || "playback" || "transcription" || "interruption" || "complete", // required
168
+ * // replyId: "STRING_VALUE", // required
169
+ * // text: "STRING_VALUE", // required
170
+ * // complete: true || false, // required
171
+ * // startTime: Number("long"), // required
172
+ * // endTime: Number("long"),
173
+ * // },
174
+ * // },
149
175
  * // InterruptionWebhookEvent: { // InterruptionWebhookEvent
150
176
  * // sessionId: "STRING_VALUE", // required
151
177
  * // botId: "STRING_VALUE", // required
152
178
  * // callId: "STRING_VALUE", // required
153
179
  * // flowIndex: Number("int"), // required
154
180
  * // event: {
155
- * // type: "started" || "ended" || "reply" || "transcription" || "interruption" || "complete", // required
181
+ * // type: "started" || "ended" || "reply" || "playback" || "transcription" || "interruption" || "complete", // required
156
182
  * // replyId: "STRING_VALUE", // required
157
183
  * // playedText: "STRING_VALUE", // required
158
184
  * // originalText: "STRING_VALUE", // required
@@ -44,8 +44,14 @@ declare const GetVoiceBotCommand_base: {
44
44
  * // { // GetVoiceBotOutput
45
45
  * // bot: { // VoiceBot
46
46
  * // name: "STRING_VALUE", // required
47
- * // maximumDuration: Number("int"),
48
- * // silenceTimeout: Number("int"),
47
+ * // message: "STRING_VALUE",
48
+ * // pipeline: { // VoiceBotPipelineSettings
49
+ * // interuptionsEnabled: true || false,
50
+ * // maximumDuration: Number("int"),
51
+ * // silenceTimeout: Number("int"),
52
+ * // endCallEnabled: true || false,
53
+ * // endCallPhases: "STRING_VALUE",
54
+ * // },
49
55
  * // endpoint: { // BotEndpoint Union: only one key present
50
56
  * // dialogflowCx: { // BotDialogflowCxEndpoint
51
57
  * // credentials: "DOCUMENT_VALUE", // required
@@ -44,8 +44,14 @@ declare const ListVoiceBotsCommand_base: {
44
44
  * // bots: [ // VoiceBotsList // required
45
45
  * // { // VoiceBot
46
46
  * // name: "STRING_VALUE", // required
47
- * // maximumDuration: Number("int"),
48
- * // silenceTimeout: Number("int"),
47
+ * // message: "STRING_VALUE",
48
+ * // pipeline: { // VoiceBotPipelineSettings
49
+ * // interuptionsEnabled: true || false,
50
+ * // maximumDuration: Number("int"),
51
+ * // silenceTimeout: Number("int"),
52
+ * // endCallEnabled: true || false,
53
+ * // endCallPhases: "STRING_VALUE",
54
+ * // },
49
55
  * // endpoint: { // BotEndpoint Union: only one key present
50
56
  * // dialogflowCx: { // BotDialogflowCxEndpoint
51
57
  * // credentials: "DOCUMENT_VALUE", // required
@@ -37,8 +37,14 @@ declare const UpdateVoiceBotCommand_base: {
37
37
  * const client = new VoiceBotsClient(config);
38
38
  * const input = { // UpdateVoiceBotInput
39
39
  * name: "STRING_VALUE", // required
40
- * maximumDuration: Number("int"),
41
- * silenceTimeout: Number("int"),
40
+ * message: "STRING_VALUE",
41
+ * pipeline: { // VoiceBotPipelineSettings
42
+ * interuptionsEnabled: true || false,
43
+ * maximumDuration: Number("int"),
44
+ * silenceTimeout: Number("int"),
45
+ * endCallEnabled: true || false,
46
+ * endCallPhases: "STRING_VALUE",
47
+ * },
42
48
  * endpoint: { // BotEndpoint Union: only one key present
43
49
  * dialogflowCx: { // BotDialogflowCxEndpoint
44
50
  * credentials: "DOCUMENT_VALUE", // required
@@ -68,8 +74,14 @@ declare const UpdateVoiceBotCommand_base: {
68
74
  * // { // UpdateVoiceBotOutput
69
75
  * // bot: { // VoiceBot
70
76
  * // name: "STRING_VALUE", // required
71
- * // maximumDuration: Number("int"),
72
- * // silenceTimeout: Number("int"),
77
+ * // message: "STRING_VALUE",
78
+ * // pipeline: { // VoiceBotPipelineSettings
79
+ * // interuptionsEnabled: true || false,
80
+ * // maximumDuration: Number("int"),
81
+ * // silenceTimeout: Number("int"),
82
+ * // endCallEnabled: true || false,
83
+ * // endCallPhases: "STRING_VALUE",
84
+ * // },
73
85
  * // endpoint: { // BotEndpoint Union: only one key present
74
86
  * // dialogflowCx: { // BotDialogflowCxEndpoint
75
87
  * // credentials: "DOCUMENT_VALUE", // required
@@ -31,6 +31,7 @@ export declare const VoiceBotEventType: {
31
31
  readonly COMPLETE: "complete";
32
32
  readonly ENDED: "ended";
33
33
  readonly INTERRUPTION: "interruption";
34
+ readonly PLAYBACK: "playback";
34
35
  readonly REPLY: "reply";
35
36
  readonly STARTED: "started";
36
37
  readonly TRANSCRIPTION: "transcription";
@@ -44,6 +45,7 @@ export type VoiceBotEventType = typeof VoiceBotEventType[keyof typeof VoiceBotEv
44
45
  */
45
46
  export interface CompleteEvent {
46
47
  type: VoiceBotEventType;
48
+ reason: string;
47
49
  time: number;
48
50
  }
49
51
  /**
@@ -167,8 +169,12 @@ export declare namespace BotEndpoint {
167
169
  /**
168
170
  * @public
169
171
  */
170
- export interface CreateVoiceBotInput {
171
- name: string;
172
+ export interface VoiceBotPipelineSettings {
173
+ /**
174
+ * If enabled the user can interrupt the the bot playback.
175
+ * @public
176
+ */
177
+ interuptionsEnabled?: boolean;
172
178
  /**
173
179
  * The maximum number of seconds a call will last.
174
180
  * @public
@@ -179,6 +185,28 @@ export interface CreateVoiceBotInput {
179
185
  * @public
180
186
  */
181
187
  silenceTimeout?: number;
188
+ /**
189
+ * If enabled the bot can hangup the call.
190
+ * @public
191
+ */
192
+ endCallEnabled?: boolean;
193
+ /**
194
+ * A list of phases separated by comma, which will end the call matched.
195
+ * @public
196
+ */
197
+ endCallPhases?: string;
198
+ }
199
+ /**
200
+ * @public
201
+ */
202
+ export interface CreateVoiceBotInput {
203
+ name: string;
204
+ /**
205
+ * The initial message that will be played at the start of the session.
206
+ * @public
207
+ */
208
+ message?: string;
209
+ pipeline?: VoiceBotPipelineSettings;
182
210
  /**
183
211
  * An endpoint to use to generate replies during voice bot session.
184
212
  * @public
@@ -192,15 +220,11 @@ export interface CreateVoiceBotInput {
192
220
  export interface VoiceBot {
193
221
  name: string;
194
222
  /**
195
- * The maximum number of seconds a call will last.
196
- * @public
197
- */
198
- maximumDuration?: number;
199
- /**
200
- * How long to wait before a call is automatically ended due to inactivity.
223
+ * The initial message that will be played at the start of the session.
201
224
  * @public
202
225
  */
203
- silenceTimeout?: number;
226
+ message?: string;
227
+ pipeline?: VoiceBotPipelineSettings;
204
228
  /**
205
229
  * An endpoint to use to generate replies during voice bot session.
206
230
  * @public
@@ -287,6 +311,34 @@ export interface InterruptionWebsocketEvent {
287
311
  type: string;
288
312
  event: InterruptionEvent;
289
313
  }
314
+ /**
315
+ * @public
316
+ */
317
+ export interface PlaybackEvent {
318
+ type: VoiceBotEventType;
319
+ replyId: string;
320
+ text: string;
321
+ complete: boolean;
322
+ startTime: number;
323
+ endTime?: number;
324
+ }
325
+ /**
326
+ * @public
327
+ */
328
+ export interface PlaybackWebhookEvent {
329
+ sessionId: string;
330
+ botId: string;
331
+ callId: string;
332
+ flowIndex: number;
333
+ event: PlaybackEvent;
334
+ }
335
+ /**
336
+ * @public
337
+ */
338
+ export interface PlaybackWebsocketEvent {
339
+ type: string;
340
+ event: PlaybackEvent;
341
+ }
290
342
  /**
291
343
  * @public
292
344
  */
@@ -417,6 +469,7 @@ export interface TransferWebsocketCommand {
417
469
  export interface DescribeEventOutput {
418
470
  TranscriptionWebsocketEvent?: TranscriptionWebsocketEvent;
419
471
  ReplyWebsocketEvent?: ReplyWebsocketEvent;
472
+ PlaybackWebsocketEvent?: PlaybackWebsocketEvent;
420
473
  InterruptionWebsocketEvent?: InterruptionWebsocketEvent;
421
474
  CompleteWebsocketEvent?: CompleteWebsocketEvent;
422
475
  SayWebsocketCommand?: SayWebsocketCommand;
@@ -426,6 +479,7 @@ export interface DescribeEventOutput {
426
479
  SessionEndedWebhookEvent?: SessionEndedWebhookEvent;
427
480
  TranscriptionWebhookEvent?: TranscriptionWebhookEvent;
428
481
  ReplyWebhookEvent?: ReplyWebhookEvent;
482
+ PlaybackWebhookEvent?: PlaybackWebhookEvent;
429
483
  InterruptionWebhookEvent?: InterruptionWebhookEvent;
430
484
  CompleteWebhookEvent?: CompleteWebhookEvent;
431
485
  }
@@ -542,15 +596,11 @@ export interface SendTransferOutput {
542
596
  export interface UpdateVoiceBotInput {
543
597
  name: string;
544
598
  /**
545
- * The maximum number of seconds a call will last.
599
+ * The initial message that will be played at the start of the session.
546
600
  * @public
547
601
  */
548
- maximumDuration?: number;
549
- /**
550
- * How long to wait before a call is automatically ended due to inactivity.
551
- * @public
552
- */
553
- silenceTimeout?: number;
602
+ message?: string;
603
+ pipeline?: VoiceBotPipelineSettings;
554
604
  /**
555
605
  * An endpoint to use to generate replies during voice bot session.
556
606
  * @public
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wim-voicebots-client",
3
3
  "description": "@wildix/wim-voicebots-client client",
4
- "version": "1.0.3",
4
+ "version": "1.0.5",
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",