@wix/members 1.0.542 → 1.0.544

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.
Files changed (28) hide show
  1. package/build/cjs/context-account-details.d.ts +9 -6
  2. package/build/cjs/context-account-details.js +94 -89
  3. package/build/cjs/context-account-details.js.map +1 -1
  4. package/build/cjs/context-addresses.js +2 -2
  5. package/build/cjs/context-addresses.js.map +1 -1
  6. package/build/es/context-account-details.d.mts +9 -6
  7. package/build/es/context-account-details.mjs +94 -89
  8. package/build/es/context-account-details.mjs.map +1 -1
  9. package/build/es/context-addresses.mjs +2 -2
  10. package/build/es/context-addresses.mjs.map +1 -1
  11. package/build/internal/cjs/context-account-details.d.ts +9 -6
  12. package/build/internal/es/context-account-details.d.mts +9 -6
  13. package/context-runtime/context-account-details/runtime.d.ts +9 -6
  14. package/context-runtime/context-account-details/runtime.js +3 -3
  15. package/context-runtime/context-addresses/runtime.js +3 -3
  16. package/package.json +2 -14
  17. package/account-home-context-provider/package.json +0 -3
  18. package/build/cjs/context-account-home.d.ts +0 -54
  19. package/build/cjs/context-account-home.js +0 -719
  20. package/build/cjs/context-account-home.js.map +0 -1
  21. package/build/es/context-account-home.d.mts +0 -54
  22. package/build/es/context-account-home.mjs +0 -690
  23. package/build/es/context-account-home.mjs.map +0 -1
  24. package/build/internal/cjs/context-account-home.d.ts +0 -54
  25. package/build/internal/es/context-account-home.d.mts +0 -54
  26. package/context/account-home/package.json +0 -3
  27. package/context-runtime/context-account-home/runtime.d.ts +0 -54
  28. package/context-runtime/context-account-home/runtime.js +0 -2
@@ -113,9 +113,9 @@ interface NamedFieldBinding {
113
113
  //#endregion
114
114
  //#region src/extensions/account-settings/context-providers/account-named-fields.d.ts
115
115
  /**
116
- * The platform's own field vocabulary, named as the Members SDK names each value. A `SYSTEM` or
117
- * `CONTACT` field exists on every site, so each one is addressable by name. Site-specific fields are
118
- * excluded from Phase 0. The contact email is absent on purpose: the API refuses a write to it.
116
+ * The platform's own field vocabulary, each named as the site names it. A `SYSTEM` or `CONTACT` field
117
+ * exists on every site, so each one is addressable by name. Site-specific fields are excluded from
118
+ * Phase 0. The contact email is absent on purpose: the API refuses a write to it.
119
119
  */
120
120
  declare const NAMED_FIELD_KEYS: {
121
121
  readonly firstName: "customfields.system.firstname";
@@ -124,12 +124,15 @@ declare const NAMED_FIELD_KEYS: {
124
124
  readonly title: "customfields.system.title";
125
125
  readonly birthdate: "customfields.contact.birthdate";
126
126
  readonly company: "customfields.contact.company";
127
- readonly jobTitle: "customfields.contact.position";
127
+ readonly position: "customfields.contact.position";
128
128
  };
129
129
  type NamedFieldName = keyof typeof NAMED_FIELD_KEYS;
130
- type NamedValidationErrors = Record<NamedFieldName, MemberFieldValidationError | null>;
130
+ type NamedValidationErrors = Record<NamedFieldName, MemberFieldValidationError | null> & {
131
+ /** @internal `position`'s, under the name pages saved before it still bind. */jobTitle: MemberFieldValidationError | null;
132
+ };
131
133
  type NamedAccountFields = Record<NamedFieldName, NamedFieldBinding> & {
132
- /** Every named field's fault, grouped so the binding picker lists them under one heading. */validationErrors: NamedValidationErrors;
134
+ /** @internal `position`, under the name pages saved before it still bind. */jobTitle: NamedFieldBinding; /** Every named field's fault, grouped so the binding picker lists them under one heading. */
135
+ validationErrors: NamedValidationErrors;
133
136
  };
134
137
  //#endregion
135
138
  //#region src/extensions/account-settings/login-info/credential-restriction.d.ts
@@ -113,9 +113,9 @@ interface NamedFieldBinding {
113
113
  //#endregion
114
114
  //#region src/extensions/account-settings/context-providers/account-named-fields.d.ts
115
115
  /**
116
- * The platform's own field vocabulary, named as the Members SDK names each value. A `SYSTEM` or
117
- * `CONTACT` field exists on every site, so each one is addressable by name. Site-specific fields are
118
- * excluded from Phase 0. The contact email is absent on purpose: the API refuses a write to it.
116
+ * The platform's own field vocabulary, each named as the site names it. A `SYSTEM` or `CONTACT` field
117
+ * exists on every site, so each one is addressable by name. Site-specific fields are excluded from
118
+ * Phase 0. The contact email is absent on purpose: the API refuses a write to it.
119
119
  */
120
120
  declare const NAMED_FIELD_KEYS: {
121
121
  readonly firstName: "customfields.system.firstname";
@@ -124,12 +124,15 @@ declare const NAMED_FIELD_KEYS: {
124
124
  readonly title: "customfields.system.title";
125
125
  readonly birthdate: "customfields.contact.birthdate";
126
126
  readonly company: "customfields.contact.company";
127
- readonly jobTitle: "customfields.contact.position";
127
+ readonly position: "customfields.contact.position";
128
128
  };
129
129
  type NamedFieldName = keyof typeof NAMED_FIELD_KEYS;
130
- type NamedValidationErrors = Record<NamedFieldName, MemberFieldValidationError | null>;
130
+ type NamedValidationErrors = Record<NamedFieldName, MemberFieldValidationError | null> & {
131
+ /** @internal `position`'s, under the name pages saved before it still bind. */jobTitle: MemberFieldValidationError | null;
132
+ };
131
133
  type NamedAccountFields = Record<NamedFieldName, NamedFieldBinding> & {
132
- /** Every named field's fault, grouped so the binding picker lists them under one heading. */validationErrors: NamedValidationErrors;
134
+ /** @internal `position`, under the name pages saved before it still bind. */jobTitle: NamedFieldBinding; /** Every named field's fault, grouped so the binding picker lists them under one heading. */
135
+ validationErrors: NamedValidationErrors;
133
136
  };
134
137
  //#endregion
135
138
  //#region src/extensions/account-settings/login-info/credential-restriction.d.ts
@@ -113,9 +113,9 @@ interface NamedFieldBinding {
113
113
  //#endregion
114
114
  //#region src/extensions/account-settings/context-providers/account-named-fields.d.ts
115
115
  /**
116
- * The platform's own field vocabulary, named as the Members SDK names each value. A `SYSTEM` or
117
- * `CONTACT` field exists on every site, so each one is addressable by name. Site-specific fields are
118
- * excluded from Phase 0. The contact email is absent on purpose: the API refuses a write to it.
116
+ * The platform's own field vocabulary, each named as the site names it. A `SYSTEM` or `CONTACT` field
117
+ * exists on every site, so each one is addressable by name. Site-specific fields are excluded from
118
+ * Phase 0. The contact email is absent on purpose: the API refuses a write to it.
119
119
  */
120
120
  declare const NAMED_FIELD_KEYS: {
121
121
  readonly firstName: "customfields.system.firstname";
@@ -124,12 +124,15 @@ declare const NAMED_FIELD_KEYS: {
124
124
  readonly title: "customfields.system.title";
125
125
  readonly birthdate: "customfields.contact.birthdate";
126
126
  readonly company: "customfields.contact.company";
127
- readonly jobTitle: "customfields.contact.position";
127
+ readonly position: "customfields.contact.position";
128
128
  };
129
129
  type NamedFieldName = keyof typeof NAMED_FIELD_KEYS;
130
- type NamedValidationErrors = Record<NamedFieldName, MemberFieldValidationError | null>;
130
+ type NamedValidationErrors = Record<NamedFieldName, MemberFieldValidationError | null> & {
131
+ /** @internal `position`'s, under the name pages saved before it still bind. */jobTitle: MemberFieldValidationError | null;
132
+ };
131
133
  type NamedAccountFields = Record<NamedFieldName, NamedFieldBinding> & {
132
- /** Every named field's fault, grouped so the binding picker lists them under one heading. */validationErrors: NamedValidationErrors;
134
+ /** @internal `position`, under the name pages saved before it still bind. */jobTitle: NamedFieldBinding; /** Every named field's fault, grouped so the binding picker lists them under one heading. */
135
+ validationErrors: NamedValidationErrors;
133
136
  };
134
137
  //#endregion
135
138
  //#region src/extensions/account-settings/login-info/credential-restriction.d.ts