@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:
|
|
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 = /^[
|
|
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:
|
|
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