@sunsteel/contracts 0.93.0 → 0.94.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.
package/dist/index.cjs CHANGED
@@ -2039,7 +2039,7 @@ var API_ERROR_MESSAGES = {
2039
2039
  // ── Direct messages (MSG-01) ───────────────────────────────────────────
2040
2040
  MESSAGE_SELF: "You cannot message yourself",
2041
2041
  MESSAGE_LENGTH: "A message must not be empty and may be at most {max} characters.",
2042
- MESSAGE_ONE_ATTACHMENT: "A message can carry one routine or one workout.",
2042
+ MESSAGE_ONE_ATTACHMENT: "A message can carry one routine, one workout or one record.",
2043
2043
  MESSAGES_PER_MINUTE: "You can send at most {max} messages a minute.",
2044
2044
  CONVERSATIONS_PER_DAY: "You can start at most {max} new conversations a day.",
2045
2045
  MESSAGE_NOT_ADMITTED: "This member is not taking messages from you.",
@@ -2148,7 +2148,7 @@ function normalizeMessageBody(body) {
2148
2148
  }
2149
2149
  return text;
2150
2150
  }
2151
- var MESSAGE_ATTACHMENT_KINDS = ["ROUTINE", "WORKOUT"];
2151
+ var MESSAGE_ATTACHMENT_KINDS = ["ROUTINE", "WORKOUT", "RECORD"];
2152
2152
  function messageNote(body, hasAttachment) {
2153
2153
  if ((body ?? "").trim().length === 0) {
2154
2154
  return hasAttachment ? null : void 0;