@talkjs/core 1.5.0 → 1.5.2

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.
package/README.md CHANGED
@@ -69,12 +69,21 @@ If you encounter any problems with `@talkjs/core`, please open a [chat with supp
69
69
 
70
70
  ## Changelog
71
71
 
72
+ ### 1.5.2
73
+
74
+ - Added `browser` field to `package.json`
75
+
76
+ ### 1.5.1
77
+
78
+ - When passing markup text to `ConversationRef.send`, it now ignores formatted links and action buttons/links. Previously it parsed those nodes and tried to send them, which caused an error because users do not have permission to send those nodes.
79
+
72
80
  ### 1.5.0
73
81
 
74
82
  - Fixed a bug where `MessageRef.get()` would always set `MessageSnapshot.referencedMessage` to null
75
83
  - Added support for getting and setting emoji reactions on messages.
76
84
  - Added `ReactionRef` which is created via `MessageRef.reaction`.
77
85
  - Added `ReactionSnapshot` which is available in `MessageSnapshot.reactions`.
86
+ - `Session.user`, `Session.conversation`, `ConversationRef.message`, `ConversationRef.participant`, and `MessageRef.reaction` now all perform type validation on the argument and will throw an error if you use an invalid type or an empty string.
78
87
 
79
88
  ### 1.4.2
80
89