@alexein/n8n-nodes-alexein 0.3.2 → 0.3.3

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.
@@ -154,7 +154,7 @@ exports.operations = [
154
154
  default: '',
155
155
  placeholder: 'e.g. user_42',
156
156
  displayOptions: { hide: { operation: ['users'] } },
157
- description: "Your ID for the person whose memory this is, usually an expression from the trigger, such as the Telegram user. Each app user has a memory of their own. 1 to 35 letters, digits, '.', '_' and '-', beginning with a letter or digit.",
157
+ description: 'Your ID for the person whose memory this is, usually an expression from the trigger, such as the Telegram user. Each app user has a memory of their own. Any ID you already have, such as a UUID or an email address: up to 128 characters, ASCII only.',
158
158
  },
159
159
  ];
160
160
  const origin = [
@@ -21,11 +21,11 @@ exports.PAGED = {
21
21
  };
22
22
  const host = (baseUrl) => String(baseUrl !== null && baseUrl !== void 0 ? baseUrl : '').replace(/(?:\/v2)?\/*$/, '');
23
23
  exports.host = host;
24
- const USER_ID = /^[A-Za-z0-9][A-Za-z0-9._-]{0,34}$/;
24
+ const USER_ID = /^[!-~](?:[ -~]{0,126}[!-~])?$/;
25
25
  function checkedUser(value) {
26
26
  const user = String(value !== null && value !== void 0 ? value : '').trim();
27
27
  if (!USER_ID.test(user)) {
28
- throw new Error(`App User "${user}" is not a usable ID: 1 to 35 letters, digits, '.', '_' and '-', beginning with a letter or digit`);
28
+ throw new Error(`App User "${user}" is not a usable ID: up to 128 characters, no control characters, ASCII only`);
29
29
  }
30
30
  return user;
31
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexein/n8n-nodes-alexein",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "n8n node for Alexein: long-term memory for your users and AI agents.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://docs.alexein.ai/integrations/n8n",