aws-lex-conversation 6.4.0 → 6.4.1

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: 61c4edf66e617becb5f2c7aa3611e32c7eeef58ab2cb9533f1816abcaf675ab8
4
- data.tar.gz: 485e85d4c07d25527752e2451e99c02af1eae808dfd9e048efa147a8042d76aa
3
+ metadata.gz: 8bc369a5b10d48b9936644b0ddc62d8ac660104fa1878576db52874636096850
4
+ data.tar.gz: 2dd17222a07d8a6a33d6fa5e4102bfb309f412368e7e884c55e630481fabe53b
5
5
  SHA512:
6
- metadata.gz: 03f8814a82e0f6cea94033ef13d4f59ade4bb74a1cee26fe554151bff1b0785f32f0c3aef17e2a2293a1c71dd4442679ee516a9d16bd1bc94069e0e00dccfb3f
7
- data.tar.gz: 360cb550a21e90e6063722c676071ed59d083e6a03eb44281f2517b79b8e2a70ccfeb435ad0df4b37b1c46a8e6e9e4258505622b6396f3168a140eb9e2998524
6
+ metadata.gz: c5991a4fae628d07e6a1801b1ccbc08668f72b22849c45431fb92564cda744ce2af5cb7216b1b456dd215d42839c4d31160bc96dc73479be1d76d47a7f223f02
7
+ data.tar.gz: 28634d75eb37f2984fe84bacdea066d0dec2f33757fbbaed517d032353896ef19387c9bc63fb1eb26c55760543e91683c3b429fe42948ac2d26498abb5491824
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 6.4.1 - Feb 10, 2022
2
+
3
+ * There was a bug with the way we were building the structure for the `resolved_slots` with the recent release of transcription confidence scores in 6.4.0.
4
+ * The bug would result in an `ArgumentError` being raised during the input event validation phase when creating a conversation instance.
5
+ * To resolve this bug, we now correctly coerce the `resolved_slots` value as a Hash.
6
+
1
7
  # 6.4.0 - Feb 10, 2022
2
8
 
3
9
  * Add support for the new protocol properties of `proposedNextState` and `transcriptions`. This enables support for [transcription confidence scores](https://docs.aws.amazon.com/lexv2/latest/dg/using-transcript-confidence-scores.html).
@@ -15,7 +15,11 @@ module Aws
15
15
 
16
16
  coerce(
17
17
  resolved_context: Transcription::ResolvedContext,
18
- resolved_slots: Array[Slot]
18
+ resolved_slots: ->(slots) do
19
+ slots.each_with_object({}) do |(name, data), hash|
20
+ hash[name.to_sym] = Slot.shrink_wrap(data)
21
+ end
22
+ end
19
23
  )
20
24
  end
21
25
  end
@@ -3,7 +3,7 @@
3
3
  module Aws
4
4
  module Lex
5
5
  class Conversation
6
- VERSION = '6.4.0'
6
+ VERSION = '6.4.1'
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: 6.4.0
4
+ version: 6.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesse Doyle