@capgo/capacitor-social-login 8.4.5 → 8.5.0

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/plugin.js CHANGED
@@ -2608,7 +2608,17 @@ var capacitorCapacitorUpdater = (function (exports, core) {
2608
2608
  }
2609
2609
  }
2610
2610
  async providerSpecificCall(options) {
2611
- throw new Error(`Provider specific call for ${options.call} is not implemented`);
2611
+ switch (options.call) {
2612
+ case 'facebook#getProfile':
2613
+ case 'facebook#requestTracking':
2614
+ throw new Error(`Provider specific call for ${options.call} is not implemented on web`);
2615
+ case 'google#createRestoreCredential':
2616
+ case 'google#getRestoreCredential':
2617
+ case 'google#clearRestoreCredential':
2618
+ throw new Error(`${options.call} is only available on Android`);
2619
+ default:
2620
+ throw new Error(`Provider specific call for ${options.call} is not implemented`);
2621
+ }
2612
2622
  }
2613
2623
  async refreshToken(options) {
2614
2624
  if (options.provider !== 'oauth2') {