@rebilly/instruments 9.75.0 → 9.75.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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
- ## [9.75.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v9.74.6...instruments/core-v9.75.0) (2024-08-26)
1
+ ## [9.75.2](https://github.com/Rebilly/rebilly/compare/instruments/core-v9.75.1...instruments/core-v9.75.2) (2024-08-27)
2
2
 
3
3
 
4
- ### Features
4
+ ### Bug Fixes
5
5
 
6
- * **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#7168](https://github.com/Rebilly/rebilly/issues/7168)) ([777c9f5](https://github.com/Rebilly/rebilly/commit/777c9f5afc7909edd03e18216dc5ad078dcea5b2))
6
+ * **instruments:** Customer address not properly populating ([#7279](https://github.com/Rebilly/rebilly/issues/7279)) ([03d394f](https://github.com/Rebilly/rebilly/commit/03d394fb49ce4c70c1dcf69ca487f04f6f44a99b))
package/dist/index.js CHANGED
@@ -16475,7 +16475,6 @@ class AddressModel {
16475
16475
  emails = [],
16476
16476
  phoneNumbers = []
16477
16477
  } = {}) {
16478
- var _a, _b;
16479
16478
  this.firstName = firstName;
16480
16479
  this.lastName = lastName;
16481
16480
  this.organization = organization;
@@ -16485,8 +16484,8 @@ class AddressModel {
16485
16484
  this.region = region;
16486
16485
  this.country = country;
16487
16486
  this.postalCode = postalCode;
16488
- this.email = ((_a = emails.find((v2) => v2.primary)) == null ? void 0 : _a.value) || null;
16489
- this.phoneNumber = ((_b = phoneNumbers.find((v2) => v2.primary)) == null ? void 0 : _b.value) || null;
16487
+ this.emails = emails;
16488
+ this.phoneNumbers = phoneNumbers;
16490
16489
  }
16491
16490
  }
16492
16491
  class AccountModel extends BaseModel {