@mx-cartographer/experiences 6.5.4 → 6.5.6

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/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [6.5.6] - 06-16-2025
2
+
3
+ - ** FIXED** - Another issue preventing Recurring Transactions from being created
4
+
5
+ ## [6.5.5] - 06-16-2025
6
+
7
+ - **ADDED** - API integration for user communication profile, aka `Delivery Methods`.
8
+
1
9
  ## [6.5.4] - 06-16-2025
2
10
 
3
11
  - **FIXED** - Issue preventing Recurring Transactions from being created
@@ -30,6 +30,7 @@ export declare enum RepeatingType {
30
30
  export interface RepeatingTransaction {
31
31
  guid: string;
32
32
  account_guid: string;
33
+ created_by: number;
33
34
  member_guid: string;
34
35
  merchant_guid: string;
35
36
  user_guid: string;
package/dist/index.es.js CHANGED
@@ -8189,6 +8189,8 @@ const Gs = ({ transaction: e }) => {
8189
8189
  const G = ka(C, $e(v.date)), O = {
8190
8190
  account_guid: v.account_guid,
8191
8191
  amount: v.amount,
8192
+ created_by: 0,
8193
+ // User
8192
8194
  merchant_guid: v.merchant_guid,
8193
8195
  description: v.payee || v.description || v.feed_description,
8194
8196
  predicted_occurs_on: Zi(G, { representation: "date" }),
@@ -14471,6 +14473,7 @@ class Nr {
14471
14473
  verifyPhoneToken = async (n) => this.fetchInstance.post(k.PHONE_VERIFICATIONS + "/verify", { sms_verification_token: n }).then((i) => ({ verified: i.verified }));
14472
14474
  updateDevice = async (n) => this.fetchInstance.put(`${k.DEVICES}/${n.guid}`, n).then((i) => i.device);
14473
14475
  updateNotificationProfile = async (n) => this.fetchInstance.put(`${k.NOTIFICATION_PROFILES}/${n.guid}`, n).then((i) => i.notification_profile);
14476
+ updateUserCommunicationProfile = async (n) => this.fetchInstance.put(k.USER_COMMUNICATION_PROFILE, n).then((i) => i.user_communication_profile);
14474
14477
  }
14475
14478
  const Dr = "PARENT-ENTITY", zp = (e, n) => {
14476
14479
  switch (e) {
@@ -14673,11 +14676,12 @@ class jp {
14673
14676
  this.setAlert(this.copy.information_updated_error, "error");
14674
14677
  });
14675
14678
  };
14676
- updateUserCommunicationsProfile = async (n) => {
14679
+ updateUserCommunicationProfile = async (n) => {
14677
14680
  try {
14678
- this.globalStore.appDataStore.setUserCommunicationProfile(n);
14681
+ const i = await this.api.updateUserCommunicationProfile(n);
14682
+ this.globalStore.appDataStore.setUserCommunicationProfile(i);
14679
14683
  } catch (i) {
14680
- console.error(`Error updating user communications profile: ${i}`);
14684
+ console.error(`Error occurred while updating user communication profile: ${i}`);
14681
14685
  }
14682
14686
  };
14683
14687
  verifyPhoneToken = async (n) => {
@@ -18775,7 +18779,7 @@ const B1 = ({
18775
18779
  /* @__PURE__ */ t(oe, { children: i.map((r, s) => /* @__PURE__ */ t(z1, { rule: r }, s)) })
18776
18780
  ] });
18777
18781
  }), j1 = A(({ posthog: e }) => {
18778
- const { settings: n } = I(), { clientCommunicationProfile: i, updateUserCommunicationsProfile: a, userCommunicationsProfile: o } = Lt(), { user: r } = Mt(), s = async (c, d) => {
18782
+ const { settings: n } = I(), { clientCommunicationProfile: i, updateUserCommunicationProfile: a, userCommunicationsProfile: o } = Lt(), { user: r } = Mt(), s = async (c, d) => {
18779
18783
  const _ = {
18780
18784
  ...o,
18781
18785
  [c]: d