@sunsteel/contracts 0.92.0 → 0.93.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.js CHANGED
@@ -1702,6 +1702,7 @@ var API_ERROR_MESSAGES = {
1702
1702
  // ── Direct messages (MSG-01) ───────────────────────────────────────────
1703
1703
  MESSAGE_SELF: "You cannot message yourself",
1704
1704
  MESSAGE_LENGTH: "A message must not be empty and may be at most {max} characters.",
1705
+ MESSAGE_ONE_ATTACHMENT: "A message can carry one routine or one workout.",
1705
1706
  MESSAGES_PER_MINUTE: "You can send at most {max} messages a minute.",
1706
1707
  CONVERSATIONS_PER_DAY: "You can start at most {max} new conversations a day.",
1707
1708
  MESSAGE_NOT_ADMITTED: "This member is not taking messages from you.",
@@ -1810,7 +1811,7 @@ function normalizeMessageBody(body) {
1810
1811
  }
1811
1812
  return text;
1812
1813
  }
1813
- var MESSAGE_ATTACHMENT_KINDS = ["ROUTINE"];
1814
+ var MESSAGE_ATTACHMENT_KINDS = ["ROUTINE", "WORKOUT"];
1814
1815
  function messageNote(body, hasAttachment) {
1815
1816
  if ((body ?? "").trim().length === 0) {
1816
1817
  return hasAttachment ? null : void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunsteel/contracts",
3
- "version": "0.92.0",
3
+ "version": "0.93.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ezee969/sunsteel-contracts.git"