@spiffcommerce/core 26.29.2-beta.a1b1ab5a-9c7e-5d91-921c-d0b1c4be0ff8 → 26.29.2

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.mjs CHANGED
@@ -10125,14 +10125,14 @@ class io {
10125
10125
  fetchPolicy: "no-cache",
10126
10126
  variables: {
10127
10127
  id: this.transaction.recipient.id,
10128
- firstName: t || this.transaction.recipient.firstName,
10129
- lastName: e || this.transaction.recipient.lastName,
10130
- address: a || this.transaction.recipient.address,
10131
- suburb: n || this.transaction.recipient.suburb,
10132
- state: i || this.transaction.recipient.state,
10133
- email: s || this.transaction.recipient.email,
10134
- postalCode: o || this.transaction.recipient.postalCode,
10135
- country: l || this.transaction.recipient.country
10128
+ firstName: t,
10129
+ lastName: e,
10130
+ address: a,
10131
+ suburb: n,
10132
+ state: i,
10133
+ email: s,
10134
+ postalCode: o,
10135
+ country: l
10136
10136
  }
10137
10137
  });
10138
10138
  else {
@@ -10151,17 +10151,7 @@ class io {
10151
10151
  country: l
10152
10152
  }
10153
10153
  });
10154
- this.transaction.recipient = {
10155
- id: (d = (c = h == null ? void 0 : h.data) == null ? void 0 : c.recipientCreate) == null ? void 0 : d.id,
10156
- firstName: t,
10157
- lastName: e,
10158
- address: a,
10159
- suburb: n,
10160
- state: i,
10161
- email: s,
10162
- postalCode: o,
10163
- country: l
10164
- }, await b.getShadowGraphqlClient().mutate({
10154
+ this.transaction.recipient = { id: (d = (c = h == null ? void 0 : h.data) == null ? void 0 : c.recipientCreate) == null ? void 0 : d.id }, await b.getShadowGraphqlClient().mutate({
10165
10155
  mutation: no,
10166
10156
  errorPolicy: "all",
10167
10157
  fetchPolicy: "no-cache",