@opexa/portal-sdk 0.34.4 → 0.34.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/dist/index.d.cts CHANGED
@@ -879,6 +879,8 @@ interface DepositBase<T extends DepositType> {
879
879
  vca?: T extends 'ONLINE_BANK' ? string : never;
880
880
  qrCode?: T extends 'QR_PH' ? string : never;
881
881
  checkoutUrl?: T extends 'GCASH' | 'MAYA' | 'MAYA_APP' ? string : never;
882
+ successRedirectionUrl?: T extends 'GCASH_DIRECT_WEBPAY' ? string : never;
883
+ cancelRedirectionUrl?: T extends 'GCASH_DIRECT_WEBPAY' ? string : never;
882
884
  error?: KnownDepositError;
883
885
  }
884
886
  interface GCashDeposit extends DepositBase<'GCASH'> {
package/dist/index.d.ts CHANGED
@@ -879,6 +879,8 @@ interface DepositBase<T extends DepositType> {
879
879
  vca?: T extends 'ONLINE_BANK' ? string : never;
880
880
  qrCode?: T extends 'QR_PH' ? string : never;
881
881
  checkoutUrl?: T extends 'GCASH' | 'MAYA' | 'MAYA_APP' ? string : never;
882
+ successRedirectionUrl?: T extends 'GCASH_DIRECT_WEBPAY' ? string : never;
883
+ cancelRedirectionUrl?: T extends 'GCASH_DIRECT_WEBPAY' ? string : never;
882
884
  error?: KnownDepositError;
883
885
  }
884
886
  interface GCashDeposit extends DepositBase<'GCASH'> {
package/dist/index.js CHANGED
@@ -585,9 +585,6 @@ var CREATE_GCASH_DIRECT_WEBPAY_DEPOSIT_MUTATION = gql`
585
585
  ... on WalletDoesNotExistError {
586
586
  __typename
587
587
  }
588
- ... on GCashDirectApiRequestError {
589
- __typename
590
- }
591
588
  }
592
589
  }
593
590
  `;
@@ -4241,7 +4238,7 @@ var DomainManager = class {
4241
4238
  ) || navigator.userAgent.includes("Mac") && "ontouchend" in window) && this.isNative;
4242
4239
  }
4243
4240
  get isAndroidApp() {
4244
- return /Android/i.test(navigator.userAgent) && (window.Capacitor?.isNativePlatform?.() || window.cordova !== undefined || /(wv|Version\/)/i.test(navigator.userAgent));
4241
+ return this.isNative && /Android/i.test(navigator.userAgent) && (window.Capacitor?.isNativePlatform?.() || window.cordova !== undefined || /(wv|Version\/)/i.test(navigator.userAgent));
4245
4242
  }
4246
4243
  };
4247
4244