UNPKG

@aws-amplify/pubsub

Version:

Pubsub category of aws-amplify

1 lines 1.03 kB
{"version":3,"file":"PubSub.mjs","sources":["../../../src/Providers/PubSub.ts"],"sourcesContent":["import { ConsoleLogger } from '@aws-amplify/core';\nconst logger = new ConsoleLogger('AbstractPubSubProvider');\nexport class AbstractPubSub {\n constructor(options) {\n this._config = options;\n }\n configure(config) {\n this._config = { ...config, ...this._config };\n logger.debug(`configure`, this._config);\n return this.options;\n }\n get options() {\n return { ...this._config };\n }\n}\n"],"names":[],"mappings":";;AACA,MAAM,MAAM,GAAG,IAAI,aAAa,CAAC,wBAAwB,CAAC;AACnD,MAAM,cAAc,CAAC;AAC5B,IAAI,WAAW,CAAC,OAAO,EAAE;AACzB,QAAQ,IAAI,CAAC,OAAO,GAAG,OAAO;AAC9B,IAAI;AACJ,IAAI,SAAS,CAAC,MAAM,EAAE;AACtB,QAAQ,IAAI,CAAC,OAAO,GAAG,EAAE,GAAG,MAAM,EAAE,GAAG,IAAI,CAAC,OAAO,EAAE;AACrD,QAAQ,MAAM,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC;AAC/C,QAAQ,OAAO,IAAI,CAAC,OAAO;AAC3B,IAAI;AACJ,IAAI,IAAI,OAAO,GAAG;AAClB,QAAQ,OAAO,EAAE,GAAG,IAAI,CAAC,OAAO,EAAE;AAClC,IAAI;AACJ;;;;"}