Skip to content

Commit

Permalink
fix(aws-amplify): Fix missing ServiceWorker export
Browse files Browse the repository at this point in the history
  • Loading branch information
mlabieniec committed Jun 2, 2018
1 parent 000194e commit acbf754
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 77 deletions.
21 changes: 5 additions & 16 deletions packages/aws-amplify/lib/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
import Analytics, { AnalyticsClass, AnalyticsProvider } from './Analytics';
import Analytics, { AnalyticsClass, AnalyticsProvider, AWSPinpointProvider, AWSKinesisProvider } from './Analytics';
import Auth, { AuthClass } from './Auth';
import Storage, { StorageClass } from './Storage';
import API, { APIClass, graphqlOperation } from './API';
import PubSub from './PubSub';
import Cache from './Cache';
import { ConsoleLogger as Logger, Hub, JS, ClientDevice, Signer, I18n } from './Common';
export default class Amplify {
static Auth: AuthClass;
static Analytics: AnalyticsClass;
static API: APIClass;
static Storage: StorageClass;
static I18n: any;
static Cache: any;
static PubSub: any;
static Logger: any;
static configure(config: any): any;
static addPluggable(pluggable: any): void;
}
export { Auth, Analytics, Storage, API, PubSub, I18n, Logger, Hub, Cache, JS, ClientDevice, Signer };
export { AuthClass, AnalyticsClass, APIClass, StorageClass, AnalyticsProvider };
import { ConsoleLogger as Logger, Hub, JS, ClientDevice, Signer, I18n, Amplify, ServiceWorker } from './Common';
export default Amplify;
export { Auth, Analytics, Storage, API, PubSub, I18n, Logger, Hub, Cache, JS, ClientDevice, Signer, ServiceWorker };
export { AuthClass, AnalyticsClass, APIClass, StorageClass, AnalyticsProvider, AWSPinpointProvider, AWSKinesisProvider };
export { graphqlOperation };
72 changes: 13 additions & 59 deletions packages/aws-amplify/lib/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/aws-amplify/lib/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/aws-amplify/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Amplify.PubSub = PubSub;
Amplify.Logger = Logger;
Amplify.ServiceWorker = ServiceWorker;

export { Auth, Analytics, Storage, API, PubSub, I18n, Logger, Hub, Cache, JS, ClientDevice, Signer };
export { Auth, Analytics, Storage, API, PubSub, I18n, Logger, Hub, Cache, JS, ClientDevice, Signer, ServiceWorker };
export {
AuthClass,
AnalyticsClass,
Expand Down

0 comments on commit acbf754

Please sign in to comment.