@sparkvault/sdk-js 15.11.9 → 15.13.0

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
@@ -818,12 +818,20 @@ interface NotifyInboxRow {
818
818
  * building a URL from the code.
819
819
  */
820
820
  pointer_url?: string;
821
+ /**
822
+ * True for a SEALED send's row, for good, whether or not its reveal still
823
+ * opens. A row is plain text, its `body` the whole message, only when
824
+ * `sealed` is false and it is not `recalled`; a sealed row's `body` is its
825
+ * sender's instructions about the reveal.
826
+ */
827
+ sealed: boolean;
821
828
  /**
822
829
  * True only when there is a secure part left to reveal — exactly when
823
- * `sparklink_code` is present. `false` does NOT mean "cleartext row": a sealed
824
- * row whose reveal no longer opens (opened, answered, expired or gone) is
825
- * unlocked too, and so is a recalled one, with nothing behind it. Branch on
826
- * `recalled` before treating an unlocked row as plain text.
830
+ * `sparklink_code` is present. `false` does NOT mean "cleartext row": a
831
+ * `sealed` row whose reveal no longer opens (opened, answered, expired or
832
+ * gone) is unlocked too, and so is a recalled one, with nothing behind it.
833
+ * Show such a sealed row as no longer available rather than its
834
+ * instructions, which describe a link that opens nothing.
827
835
  */
828
836
  locked: boolean;
829
837
  /**
@@ -2035,9 +2043,9 @@ interface NotifySendSummary {
2035
2043
  state: NotifySendState;
2036
2044
  /**
2037
2045
  * The state of each of your organization's destinations the send was routed
2038
- * to, in `NotifyDestinationKind` order (empty when none was), as
2039
- * `getSendStatus` reports it; null when the send's delivery record is gone
2040
- * (`state: 'unknown'`).
2046
+ * to, in `NotifyDestinationKind` order (empty when none was), with the reason
2047
+ * beside a `skipped` or `failed` one, as `getSendStatus` reports them; null
2048
+ * when the send's delivery record is gone (`state: 'unknown'`).
2041
2049
  */
2042
2050
  destinations: NotifySendSummaryDestination[] | null;
2043
2051
  }
@@ -2045,6 +2053,8 @@ interface NotifySendSummary {
2045
2053
  interface NotifySendSummaryDestination {
2046
2054
  kind: NotifyDestinationKind;
2047
2055
  state: NotifyDestinationState;
2056
+ /** Beside a `skipped` or `failed` state; null otherwise. */
2057
+ reason: NotifyDestinationReason | null;
2048
2058
  }
2049
2059
  interface ListNotifySendsOptions {
2050
2060
  /** Page size, 1-100 (server default 50). */
package/dist/index.mjs CHANGED
@@ -26329,7 +26329,7 @@ class SparkVault {
26329
26329
  }
26330
26330
  /** Get the SDK version */
26331
26331
  static get version() {
26332
- return '15.11.9';
26332
+ return '15.13.0';
26333
26333
  }
26334
26334
  }
26335
26335
  if (typeof window !== 'undefined') {