@madewithremy/admin 0.1.28 → 0.1.29

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.d.ts CHANGED
@@ -4111,13 +4111,22 @@ interface OutboundEmailDomainView extends EmailDomainBase {
4111
4111
  }
4112
4112
  /** Visual verification status on the inbound-domains settings UI. */
4113
4113
  type InboundEmailDomainUiStatus = 'verified' | 'action_needed' | 'pending';
4114
- /** DNS record to create at the customer's DNS host for inbound mail routing. */
4114
+ /** DNS records to create at the customer's DNS host for inbound mail routing. */
4115
4115
  interface InboundDnsInstructions {
4116
4116
  mxRecord: {
4117
4117
  name: string;
4118
4118
  priority: number;
4119
4119
  target: string;
4120
4120
  };
4121
+ /**
4122
+ * Present when the claim owes ownership proof: the domain was already aimed
4123
+ * at the platform (or another app held it) before this claim, so it verifies
4124
+ * only once this TXT record is published beside the MX.
4125
+ */
4126
+ ownershipTxt?: {
4127
+ name: string;
4128
+ value: string;
4129
+ };
4121
4130
  }
4122
4131
  /** Inbound domain view shape (emailDomains.ts toView). */
4123
4132
  interface InboundEmailDomainView extends EmailDomainBase {
package/dist/index.js CHANGED
@@ -2871,7 +2871,7 @@ function createAdminClient(options = {}) {
2871
2871
  // src/index.ts
2872
2872
  var _default;
2873
2873
  var admin = new Proxy({}, {
2874
- get(_, prop, receiver) {
2874
+ get(_, prop) {
2875
2875
  _default ??= createAdminClient();
2876
2876
  const value = Reflect.get(_default, prop, _default);
2877
2877
  return typeof value === "function" ? value.bind(_default) : value;