aws-lex-conversation 4.0.2 → 4.1.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03d9728c4b5f1df6540f4d78885e99bae9c94d7ce3279c370c1b6041095dd55a
4
- data.tar.gz: eb47cc1400d6202a616c1c408b05571ec553202f98a8e94465436e267076cc9f
3
+ metadata.gz: 9735c51e883e99b06c28d4c979b52eb5f5bffe95dcb5bb1eebb138b16ef3aa21
4
+ data.tar.gz: 2cbfd1b527fb7058a7b496d9099edd78087eb69b928ebbc073c9d81bbdf35d80
5
5
  SHA512:
6
- metadata.gz: a23afc87b3d9741252853e76639e9415e47f28ee29dbf3a5010bf497579ddf3da980326e49e51f582b1cb5ce1d950217f3f0138e6cadcde6341c9d5747a54983
7
- data.tar.gz: 829a4f55cab831b4ab96e9f62d3af7f06a78a6e3104100beb9f0aa356323436c91ad2a9a4592a22d25d62196b70bb87894f3c4b2039a655349cd92d19c3d1e5b
6
+ metadata.gz: 263f7eafd97d6c58cd93dcafd8652686e3a6a9909906d6c3bb65ac6e165cf4f94670e3f2f2dc38838758e19e85cfb0ed3806eff5b7521a6184bdbccf296aaeda
7
+ data.tar.gz: 1b9096daf68a211f23c678da9a36fe4e92aa4cacd5c362f79020698870dfcacc2ace8d152b2260dc9f5390e8e4195a07b34c15cf76e4df56e3619e6c50043feb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,8 @@
1
- # 4.0.2 - July 20, 2021
1
+ # 4.1.0 - July 21, 2021
2
2
 
3
- * Defaulted input_transcript in event.rb to an empty string
3
+ * Don't set the `intent` property in the response for `ElicitIntent`
4
+ actions as the field is optional as per [AWS documentation](https://docs.aws.amazon.com/lexv2/latest/dg/lambda.html#lambda-response-format).
5
+ * Add `InProgress` and `ReadyForFulfillment` enumerations to `FulfillmentState`.
4
6
 
5
7
  # 4.0.1 - July 16, 2021
6
8
 
@@ -10,6 +10,8 @@ module Aws
10
10
  def initialize(opts = {})
11
11
  super
12
12
  session_state.dialog_action = dialog_action
13
+ # by default, we set intent as nil unless overridden
14
+ session_state.intent = opts[:intent]
13
15
  end
14
16
 
15
17
  def dialog_action
@@ -9,6 +9,8 @@ module Aws
9
9
 
10
10
  enumeration('Fulfilled')
11
11
  enumeration('Failed')
12
+ enumeration('InProgress')
13
+ enumeration('ReadyForFulfillment')
12
14
  end
13
15
  end
14
16
  end
@@ -3,7 +3,7 @@
3
3
  module Aws
4
4
  module Lex
5
5
  class Conversation
6
- VERSION = '4.0.2'
6
+ VERSION = '4.1.0'
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-lex-conversation
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse Doyle
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: exe
14
14
  cert_chain: []
15
- date: 2021-07-20 00:00:00.000000000 Z
15
+ date: 2021-07-21 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: shrink_wrap