@aws-amplify/core 6.0.1-api-v6-models.891fe0d.0 → 6.0.1-api-v6-models.c495d1b.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.
@@ -1 +1 @@
1
- export declare const version = "6.0.1-api-v6-models.891fe0d.0+891fe0d";
1
+ export declare const version = "6.0.1-api-v6-models.c495d1b.0+c495d1b";
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
4
  // generated by genversion
5
- exports.version = '6.0.1-api-v6-models.891fe0d.0+891fe0d';
5
+ exports.version = '6.0.1-api-v6-models.c495d1b.0+c495d1b';
@@ -203,7 +203,7 @@ const parseAWSExports = (config = {}) => {
203
203
  return amplifyConfig;
204
204
  };
205
205
  exports.parseAWSExports = parseAWSExports;
206
- const getRedirectUrl = (redirectStr) => redirectStr.split(',');
206
+ const getRedirectUrl = (redirectStr) => redirectStr?.split(',') ?? [];
207
207
  const getOAuthConfig = ({ domain, scope, redirectSignIn, redirectSignOut, responseType, }) => ({
208
208
  domain,
209
209
  scopes: scope,