Comparing version 0.1.10 to 0.1.11
@@ -65,9 +65,6 @@ "use strict"; | ||
}; | ||
var ConversationBeginningNotice = function () { return (react_2.default.createElement(react_1.Flex, { justifyContent: "center", marginY: "4" }, | ||
react_2.default.createElement(react_1.Text, { fontSize: "sm", fontWeight: "500" }, "This is the beginning of the conversation"))); }; | ||
var MessagesList = function (_a) { | ||
var messages = _a.messages, messagesEndRef = _a.messagesEndRef; | ||
var lastMessageDate; | ||
return (react_2.default.createElement(react_1.Flex, { width: "full", direction: "column", alignSelf: "end", px: 3, py: 4, grow: 1, overflowY: "auto" }, | ||
messages && messages.length ? react_2.default.createElement(ConversationBeginningNotice, null) : null, messages === null || messages === void 0 ? void 0 : | ||
return (react_2.default.createElement(react_1.Flex, { width: "full", direction: "column", alignSelf: "end", px: 3, py: 4, grow: 1, overflowY: "auto" }, messages === null || messages === void 0 ? void 0 : | ||
messages.map(function (msg) { | ||
@@ -74,0 +71,0 @@ var dateHasChanged = !(0, helpers_1.isOnSameDay)(lastMessageDate, msg.sent); |
{ | ||
"name": "@nft/chat", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"description": "Wallet to wallet chat widget", | ||
@@ -5,0 +5,0 @@ "private": false, |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
238681
184
3605
0