@wtfalch/foundry 0.51.4 → 0.51.5

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/org.d.ts CHANGED
@@ -911,7 +911,8 @@ export interface OwnerIdentity {
911
911
  /**
912
912
  * `null` when the owner's sign-in name (the part of the work address before the
913
913
  * `@`) and display names may be used; otherwise a fixed sentence. The sign-in
914
- * name gets the broker's whole check, reserved names included. The given and
914
+ * name gets the broker's whole check except reserved names: an operator declaring
915
+ * the owner gives them the name, which is what a reserved name waits for. The given and
915
916
  * family names are free text and only refuse a slur. The sentence never holds
916
917
  * the value.
917
918
  */
package/dist/org.js CHANGED
@@ -1153,7 +1153,8 @@ const ANY_TEXT = { minLength: 0, maxLength: Number.MAX_SAFE_INTEGER, pattern: /^
1153
1153
  /**
1154
1154
  * `null` when the owner's sign-in name (the part of the work address before the
1155
1155
  * `@`) and display names may be used; otherwise a fixed sentence. The sign-in
1156
- * name gets the broker's whole check, reserved names included. The given and
1156
+ * name gets the broker's whole check except reserved names: an operator declaring
1157
+ * the owner gives them the name, which is what a reserved name waits for. The given and
1157
1158
  * family names are free text and only refuse a slur. The sentence never holds
1158
1159
  * the value.
1159
1160
  */
@@ -1161,7 +1162,7 @@ export function ownerNameProblem(mailboxAddress, givenName, familyName) {
1161
1162
  if (mailboxAddress) {
1162
1163
  const local = mailboxAddress.slice(0, mailboxAddress.lastIndexOf('@'));
1163
1164
  const verdict = checkName(local, DEFAULT_RULES);
1164
- if (!verdict.ok)
1165
+ if (!verdict.ok && verdict.reason !== 'reserved')
1165
1166
  return `the work address name before the @ is refused: ${explain(verdict.reason)}`;
1166
1167
  }
1167
1168
  for (const [label, value] of [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wtfalch/foundry",
3
- "version": "0.51.4",
3
+ "version": "0.51.5",
4
4
  "description": "Foundry's SDK: the declared org's types, the plan and apply contracts, and the state store's interface.",
5
5
  "repository": {
6
6
  "type": "git",