forked from DAVFoundation/dav-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfig.js.map
1 lines (1 loc) · 1.43 KB
/
Config.js.map
1
{"version":3,"sources":["../src/Config.ts"],"names":[],"mappings":";;AACA,iDAAgD;AAEhD,MAAM,aAAa,GAAG;IACpB,UAAU,EAAE,gDAAgD;IAC5D,WAAW,EAAE,CAAC,EAAE,CAAC;IACjB,aAAa,EAAE,CAAC,EAAE,CAAC;IACnB,WAAW,EAAE,KAAK;IAClB,WAAW,EAAE,KAAK;IAClB,OAAO,EAAE,KAAK;IACd,kBAAkB,EAAE,KAAK;IACzB,kBAAkB,EAAE,KAAK;IACzB,2BAA2B,EAAE,IAAI;IACjC,0BAA0B,EAAE,GAAG;IAC/B,cAAc,EAAE,6BAAc,CAAC,IAAI;CACpC,CAAC;AACF;;GAEG;AACH;IACE;;;OAGG;IACH,YAAY,KAAuB;QACjC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC;IAC5C,CAAC;CACF;AARD,yBAQC;AAEY,QAAA,oBAAoB,GAAG,aAAa,CAAC","file":"Config.js","sourcesContent":["import IConfig from './IConfig';\nimport { BlockchainType } from './common-enums';\n\nconst defaultValues = {\n ethNodeUrl: 'https://ropsten.infura.io/wUiZtmeZ1KwjFrcC8zRO',\n apiSeedUrls: [''],\n kafkaSeedUrls: [''],\n identityTtl: 10000,\n needTypeTtl: 10000,\n needTtl: 10000,\n missionConsumerTtl: 10000,\n missionProviderTtl: 10000,\n kafkaBrowserPollingInterval: 1000,\n kafkaBrowserRequestTimeout: 500,\n blockchainType: BlockchainType.test,\n};\n/**\n * @class The DavSDK Config Class is used to create configuration object to the SDK.\n */\nexport default class Config implements IConfig {\n /**\n * @param props Partial configuration object\n * @returns DavSDK configuration object.\n */\n constructor(props: Partial<IConfig>) {\n Object.assign(this, defaultValues, props);\n }\n}\n\nexport const defaultConfiguration = defaultValues;\n"]}