@nuskin/ns-shop 7.1.6 → 7.1.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/ns-shop",
3
- "version": "7.1.6",
3
+ "version": "7.1.7",
4
4
  "description": "The description that will amaze and astound your audience when they read it",
5
5
  "main": "src/shop.js",
6
6
  "scripts": {
@@ -139,7 +139,7 @@ const populateAttribution = (salesOrder) => {
139
139
  const sponsorId = util.getSponsorId();
140
140
 
141
141
  if (sponsorId) {
142
- if (sponsorId.match(/^[A-Z]{2}(:?\d{7}|\d{8})$/)) {
142
+ if (sponsorId.match(/^[A-Z]{2,3}(:?\d{7}|\d{8})$/)) {
143
143
  salesOrder.Shipping.ShippingParty.push({
144
144
  Type: "RTL_SELLER",
145
145
  ShippingMemberID: sponsorId,