@aws-amplify/core 6.0.1-console-preview.7919075.0 → 6.0.1-console-preview.f63250a.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-console-preview.7919075.0+7919075";
1
+ export declare const version = "6.0.1-console-preview.f63250a.0+f63250a";
@@ -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-console-preview.7919075.0+7919075';
5
+ exports.version = '6.0.1-console-preview.f63250a.0+f63250a';
@@ -27,26 +27,13 @@ exports.fetchAuthSession = exports.AmplifyV6 = void 0;
27
27
  // SPDX-License-Identifier: Apache-2.0
28
28
  var Auth_1 = require("./Auth");
29
29
  var Hub_1 = require("../Hub");
30
- var Errors_1 = require("../Errors");
31
30
  // TODO(v6): add default AuthTokenStore for each platform
32
31
  var AmplifyClass = /** @class */ (function () {
33
32
  function AmplifyClass() {
34
33
  this.resourcesConfig = {};
35
34
  this.Auth = new Auth_1.AuthClass();
36
35
  // TODO(v6): add default providers for getting started
37
- this.libraryOptions = {
38
- Auth: {
39
- tokenProvider: {
40
- getTokens: function () {
41
- throw new Errors_1.AmplifyError({
42
- message: 'No tokenProvider provided',
43
- name: 'MissingTokenProvider',
44
- recoverySuggestion: 'Make sure to call Amplify.configure in your app with a tokenProvider',
45
- });
46
- },
47
- },
48
- },
49
- };
36
+ this.libraryOptions = {};
50
37
  }
51
38
  /**
52
39
  * Configures Amplify for use with your back-end resources.