@opexa/portal-sdk 0.59.102 → 0.59.104

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.
@@ -137,11 +137,30 @@ var MEMBER_REBATES_QUERY = gql`
137
137
  }
138
138
  description
139
139
  name
140
- rebatePercentage
141
- rebateSettingsPerMemberLevel {
142
- level
143
- percentage
144
- }
140
+ rebatePercentageMode
141
+ rebatePercentageSettings {
142
+ gameCategories {
143
+ gameProvider
144
+ gameType
145
+ percentage
146
+ }
147
+ games {
148
+ game
149
+ percentage
150
+ }
151
+ }
152
+ rebatePercentageSettingsPerMemberLevel {
153
+ level
154
+ gameCategories {
155
+ gameProvider
156
+ gameType
157
+ percentage
158
+ }
159
+ games {
160
+ game
161
+ percentage
162
+ }
163
+ }
145
164
  type
146
165
  dateTimeCreated
147
166
  }
@@ -4705,7 +4724,7 @@ function isWebPlatform() {
4705
4724
  }
4706
4725
  function isIOSPlatform() {
4707
4726
  try {
4708
- return Capacitor.getPlatform() === "ios";
4727
+ return Capacitor.isNativePlatform() && Capacitor.getPlatform() === "ios";
4709
4728
  } catch {
4710
4729
  return false;
4711
4730
  }
@@ -4801,6 +4820,15 @@ var AuthService = class {
4801
4820
  error: createOperationError("InvalidReCAPTCHAResponseError")
4802
4821
  };
4803
4822
  }
4823
+ if (input.type === "NAME_AND_PASSWORD" && res.status === 401) {
4824
+ return {
4825
+ ok: false,
4826
+ error: statusCodeToOperationError(
4827
+ res.status,
4828
+ "Invalid username or password"
4829
+ )
4830
+ };
4831
+ }
4804
4832
  return {
4805
4833
  ok: false,
4806
4834
  error: statusCodeToOperationError(res.status)
@@ -6891,5 +6919,5 @@ var ExtensionService = class {
6891
6919
  };
6892
6920
 
6893
6921
  export { AccountService, AuthService, CmsPortalService, ExtensionService, FileService, GameService, PortalService, ReportService, TriggerService, WalletService, getFingerPrint, isIOSPlatform };
6894
- //# sourceMappingURL=chunk-3N7UZTY4.js.map
6895
- //# sourceMappingURL=chunk-3N7UZTY4.js.map
6922
+ //# sourceMappingURL=chunk-PJ5KOKMM.js.map
6923
+ //# sourceMappingURL=chunk-PJ5KOKMM.js.map