@iota-pico/core
Advanced tools
Comparing version 0.9.6 to 0.9.7
# Changelog | ||
## v0.9.7 | ||
* Reduced umd module size with externals | ||
* Extended the range of ASCII characters that can keep their default values in StringHelper:encodeNonAscii | ||
## v0.9.6 | ||
@@ -4,0 +9,0 @@ |
@@ -38,3 +38,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
static encodeNonASCII(value) { | ||
return StringHelper.isString(value) ? value.replace(/[\u007F-\uFFFF]/g, (chr) => `\\u${(`0000${chr.charCodeAt(0).toString(16)}`).substr(-4)}`) : undefined; | ||
return StringHelper.isString(value) ? value.replace(/[\u0100-\uFFFF]/g, (chr) => `\\u${(`0000${chr.charCodeAt(0).toString(16)}`).substr(-4)}`) : undefined; | ||
} | ||
@@ -41,0 +41,0 @@ /** |
@@ -29,3 +29,3 @@ [@iota-pico/core](../README.md) > [ArrayHelper](../classes/arrayhelper.md) | ||
*Defined in [helpers/arrayHelper.ts:12](https://github.com/iota-pico/core/blob/36f6f34/src/helpers/arrayHelper.ts#L12)* | ||
*Defined in [helpers/arrayHelper.ts:12](https://github.com/iota-pico/core/tree/master/src/helpers/arrayHelper.ts#L12* | ||
@@ -50,3 +50,3 @@ Is the value an array. | ||
*Defined in [helpers/arrayHelper.ts:22](https://github.com/iota-pico/core/blob/36f6f34/src/helpers/arrayHelper.ts#L22)* | ||
*Defined in [helpers/arrayHelper.ts:22](https://github.com/iota-pico/core/tree/master/src/helpers/arrayHelper.ts#L22* | ||
@@ -71,3 +71,3 @@ Is the value a empty array. | ||
*Defined in [helpers/arrayHelper.ts:32](https://github.com/iota-pico/core/blob/36f6f34/src/helpers/arrayHelper.ts#L32)* | ||
*Defined in [helpers/arrayHelper.ts:32](https://github.com/iota-pico/core/tree/master/src/helpers/arrayHelper.ts#L32* | ||
@@ -74,0 +74,0 @@ Is the value a non empty array of specific type. |
@@ -31,3 +31,3 @@ [@iota-pico/core](../README.md) > [BackgroundTaskService](../classes/backgroundtaskservice.md) | ||
*Defined in [services/backgroundTaskService.ts:13](https://github.com/iota-pico/core/blob/36f6f34/src/services/backgroundTaskService.ts#L13)* | ||
*Defined in [services/backgroundTaskService.ts:13](https://github.com/iota-pico/core/tree/master/src/services/backgroundTaskService.ts#L13* | ||
@@ -34,0 +34,0 @@ Create a background task. |
@@ -39,3 +39,3 @@ [@iota-pico/core](../README.md) > [ConsoleLogger](../classes/consolelogger.md) | ||
*Defined in [loggers/consoleLogger.ts:13](https://github.com/iota-pico/core/blob/36f6f34/src/loggers/consoleLogger.ts#L13)* | ||
*Defined in [loggers/consoleLogger.ts:13](https://github.com/iota-pico/core/tree/master/src/loggers/consoleLogger.ts#L13* | ||
@@ -65,3 +65,3 @@ Create and instance of the console logger. | ||
*Defined in [loggers/consoleLogger.ts:29](https://github.com/iota-pico/core/blob/36f6f34/src/loggers/consoleLogger.ts#L29)* | ||
*Defined in [loggers/consoleLogger.ts:29](https://github.com/iota-pico/core/tree/master/src/loggers/consoleLogger.ts#L29* | ||
@@ -88,3 +88,3 @@ Send banner to the logger. | ||
*Defined in [loggers/consoleLogger.ts:72](https://github.com/iota-pico/core/blob/36f6f34/src/loggers/consoleLogger.ts#L72)* | ||
*Defined in [loggers/consoleLogger.ts:72](https://github.com/iota-pico/core/tree/master/src/loggers/consoleLogger.ts#L72* | ||
@@ -112,3 +112,3 @@ Send error to the logger. | ||
*Defined in [loggers/consoleLogger.ts:51](https://github.com/iota-pico/core/blob/36f6f34/src/loggers/consoleLogger.ts#L51)* | ||
*Defined in [loggers/consoleLogger.ts:51](https://github.com/iota-pico/core/tree/master/src/loggers/consoleLogger.ts#L51* | ||
@@ -135,3 +135,3 @@ Send information to the logger. | ||
*Defined in [loggers/consoleLogger.ts:41](https://github.com/iota-pico/core/blob/36f6f34/src/loggers/consoleLogger.ts#L41)* | ||
*Defined in [loggers/consoleLogger.ts:41](https://github.com/iota-pico/core/tree/master/src/loggers/consoleLogger.ts#L41* | ||
@@ -158,3 +158,3 @@ Send log to the logger. | ||
*Defined in [loggers/consoleLogger.ts:61](https://github.com/iota-pico/core/blob/36f6f34/src/loggers/consoleLogger.ts#L61)* | ||
*Defined in [loggers/consoleLogger.ts:61](https://github.com/iota-pico/core/tree/master/src/loggers/consoleLogger.ts#L61* | ||
@@ -161,0 +161,0 @@ Send warning to the logger. |
@@ -48,3 +48,3 @@ [@iota-pico/core](../README.md) > [CoreError](../classes/coreerror.md) | ||
*Defined in [error/coreError.ts:21](https://github.com/iota-pico/core/blob/36f6f34/src/error/coreError.ts#L21)* | ||
*Defined in [error/coreError.ts:21](https://github.com/iota-pico/core/tree/master/src/error/coreError.ts#L21* | ||
@@ -73,3 +73,3 @@ Create an instance of CoreError. | ||
*Defined in [error/coreError.ts:16](https://github.com/iota-pico/core/blob/36f6f34/src/error/coreError.ts#L16)* | ||
*Defined in [error/coreError.ts:16](https://github.com/iota-pico/core/tree/master/src/error/coreError.ts#L16* | ||
@@ -89,3 +89,3 @@ Additional details about the error. | ||
*Defined in [error/coreError.ts:11](https://github.com/iota-pico/core/blob/36f6f34/src/error/coreError.ts#L11)* | ||
*Defined in [error/coreError.ts:11](https://github.com/iota-pico/core/tree/master/src/error/coreError.ts#L11* | ||
@@ -101,3 +101,3 @@ The domain of the error. | ||
*Defined in [error/coreError.ts:21](https://github.com/iota-pico/core/blob/36f6f34/src/error/coreError.ts#L21)* | ||
*Defined in [error/coreError.ts:21](https://github.com/iota-pico/core/tree/master/src/error/coreError.ts#L21* | ||
@@ -158,3 +158,3 @@ The inner error if there was one. | ||
*Defined in [error/coreError.ts:49](https://github.com/iota-pico/core/blob/36f6f34/src/error/coreError.ts#L49)* | ||
*Defined in [error/coreError.ts:49](https://github.com/iota-pico/core/tree/master/src/error/coreError.ts#L49* | ||
@@ -173,3 +173,3 @@ Format the error to a readable version. | ||
*Defined in [error/coreError.ts:41](https://github.com/iota-pico/core/blob/36f6f34/src/error/coreError.ts#L41)* | ||
*Defined in [error/coreError.ts:41](https://github.com/iota-pico/core/tree/master/src/error/coreError.ts#L41* | ||
@@ -176,0 +176,0 @@ Check if an object could be a CoreError. |
@@ -27,3 +27,3 @@ [@iota-pico/core](../README.md) > [ErrorHelper](../classes/errorhelper.md) | ||
*Defined in [helpers/errorHelper.ts:16](https://github.com/iota-pico/core/blob/36f6f34/src/helpers/errorHelper.ts#L16)* | ||
*Defined in [helpers/errorHelper.ts:16](https://github.com/iota-pico/core/tree/master/src/helpers/errorHelper.ts#L16* | ||
@@ -30,0 +30,0 @@ Format an error object into something readable. |
@@ -43,3 +43,3 @@ [@iota-pico/core](../README.md) > [FactoryBase](../classes/factorybase.md) | ||
*Defined in [factories/factoryBase.ts:50](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L50)* | ||
*Defined in [factories/factoryBase.ts:50](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L50* | ||
@@ -65,3 +65,3 @@ Create an instance of an object from the factory. | ||
*Defined in [factories/factoryBase.ts:31](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L31)* | ||
*Defined in [factories/factoryBase.ts:31](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L31* | ||
@@ -86,3 +86,3 @@ Does the factory contain a specific type. | ||
*Defined in [factories/factoryBase.ts:60](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L60)* | ||
*Defined in [factories/factoryBase.ts:60](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L60* | ||
@@ -98,3 +98,3 @@ **Returns:** [FactoryBase](factorybase.md)<`T`> | ||
*Defined in [factories/factoryBase.ts:14](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L14)* | ||
*Defined in [factories/factoryBase.ts:14](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L14* | ||
@@ -119,3 +119,3 @@ Register a new type with the factory. | ||
*Defined in [factories/factoryBase.ts:40](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L40)* | ||
*Defined in [factories/factoryBase.ts:40](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L40* | ||
@@ -134,3 +134,3 @@ List the types in the factory. | ||
*Defined in [factories/factoryBase.ts:22](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L22)* | ||
*Defined in [factories/factoryBase.ts:22](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L22* | ||
@@ -137,0 +137,0 @@ Unregister a type from the factory. |
@@ -27,3 +27,3 @@ [@iota-pico/core](../README.md) > [JsonHelper](../classes/jsonhelper.md) | ||
*Defined in [helpers/jsonHelper.ts:12](https://github.com/iota-pico/core/blob/36f6f34/src/helpers/jsonHelper.ts#L12)* | ||
*Defined in [helpers/jsonHelper.ts:12](https://github.com/iota-pico/core/tree/master/src/helpers/jsonHelper.ts#L12* | ||
@@ -30,0 +30,0 @@ Stringify an object with recursion breaking. |
@@ -37,3 +37,3 @@ [@iota-pico/core](../README.md) > [NetworkClientFactory](../classes/networkclientfactory.md) | ||
*Defined in [factories/factoryBase.ts:50](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L50)* | ||
*Defined in [factories/factoryBase.ts:50](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L50* | ||
@@ -61,3 +61,3 @@ Create an instance of an object from the factory. | ||
*Defined in [factories/factoryBase.ts:31](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L31)* | ||
*Defined in [factories/factoryBase.ts:31](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L31* | ||
@@ -84,3 +84,3 @@ Does the factory contain a specific type. | ||
*Defined in [factories/networkClientFactory.ts:31](https://github.com/iota-pico/core/blob/36f6f34/src/factories/networkClientFactory.ts#L31)* | ||
*Defined in [factories/networkClientFactory.ts:31](https://github.com/iota-pico/core/tree/master/src/factories/networkClientFactory.ts#L31* | ||
@@ -98,3 +98,3 @@ **Returns:** [FactoryBase](factorybase.md)<[INetworkClient](../interfaces/inetworkclient.md)> | ||
*Defined in [factories/factoryBase.ts:14](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L14)* | ||
*Defined in [factories/factoryBase.ts:14](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L14* | ||
@@ -121,3 +121,3 @@ Register a new type with the factory. | ||
*Defined in [factories/factoryBase.ts:40](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L40)* | ||
*Defined in [factories/factoryBase.ts:40](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L40* | ||
@@ -138,3 +138,3 @@ List the types in the factory. | ||
*Defined in [factories/factoryBase.ts:22](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L22)* | ||
*Defined in [factories/factoryBase.ts:22](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L22* | ||
@@ -158,3 +158,3 @@ Unregister a type from the factory. | ||
*Defined in [factories/networkClientFactory.ts:23](https://github.com/iota-pico/core/blob/36f6f34/src/factories/networkClientFactory.ts#L23)* | ||
*Defined in [factories/networkClientFactory.ts:23](https://github.com/iota-pico/core/tree/master/src/factories/networkClientFactory.ts#L23* | ||
@@ -161,0 +161,0 @@ Get the instance of the factory. |
@@ -39,3 +39,3 @@ [@iota-pico/core](../README.md) > [NetworkEndPoint](../classes/networkendpoint.md) | ||
*Defined in [network/networkEndPoint.ts:19](https://github.com/iota-pico/core/blob/36f6f34/src/network/networkEndPoint.ts#L19)* | ||
*Defined in [network/networkEndPoint.ts:19](https://github.com/iota-pico/core/tree/master/src/network/networkEndPoint.ts#L19* | ||
@@ -67,3 +67,3 @@ Create an instance of NetworkEndPoint. | ||
*Defined in [network/networkEndPoint.ts:59](https://github.com/iota-pico/core/blob/36f6f34/src/network/networkEndPoint.ts#L59)* | ||
*Defined in [network/networkEndPoint.ts:59](https://github.com/iota-pico/core/tree/master/src/network/networkEndPoint.ts#L59* | ||
@@ -84,3 +84,3 @@ The host name or ip of the endpoint. | ||
*Defined in [network/networkEndPoint.ts:75](https://github.com/iota-pico/core/blob/36f6f34/src/network/networkEndPoint.ts#L75)* | ||
*Defined in [network/networkEndPoint.ts:75](https://github.com/iota-pico/core/tree/master/src/network/networkEndPoint.ts#L75* | ||
@@ -101,3 +101,3 @@ The port of the endpoint. | ||
*Defined in [network/networkEndPoint.ts:51](https://github.com/iota-pico/core/blob/36f6f34/src/network/networkEndPoint.ts#L51)* | ||
*Defined in [network/networkEndPoint.ts:51](https://github.com/iota-pico/core/tree/master/src/network/networkEndPoint.ts#L51* | ||
@@ -118,3 +118,3 @@ The protocol to access the endpoint with. | ||
*Defined in [network/networkEndPoint.ts:67](https://github.com/iota-pico/core/blob/36f6f34/src/network/networkEndPoint.ts#L67)* | ||
*Defined in [network/networkEndPoint.ts:67](https://github.com/iota-pico/core/tree/master/src/network/networkEndPoint.ts#L67* | ||
@@ -135,3 +135,3 @@ The path to the endpoint. | ||
*Defined in [network/networkEndPoint.ts:83](https://github.com/iota-pico/core/blob/36f6f34/src/network/networkEndPoint.ts#L83)* | ||
*Defined in [network/networkEndPoint.ts:83](https://github.com/iota-pico/core/tree/master/src/network/networkEndPoint.ts#L83* | ||
@@ -138,0 +138,0 @@ The complete uri. |
@@ -45,3 +45,3 @@ [@iota-pico/core](../README.md) > [NetworkError](../classes/networkerror.md) | ||
*Defined in [error/networkError.ts:6](https://github.com/iota-pico/core/blob/36f6f34/src/error/networkError.ts#L6)* | ||
*Defined in [error/networkError.ts:6](https://github.com/iota-pico/core/tree/master/src/error/networkError.ts#L6* | ||
@@ -72,3 +72,3 @@ Create an instance of NetworkError. | ||
*Defined in [error/coreError.ts:16](https://github.com/iota-pico/core/blob/36f6f34/src/error/coreError.ts#L16)* | ||
*Defined in [error/coreError.ts:16](https://github.com/iota-pico/core/tree/master/src/error/coreError.ts#L16* | ||
@@ -90,3 +90,3 @@ Additional details about the error. | ||
*Defined in [error/coreError.ts:11](https://github.com/iota-pico/core/blob/36f6f34/src/error/coreError.ts#L11)* | ||
*Defined in [error/coreError.ts:11](https://github.com/iota-pico/core/tree/master/src/error/coreError.ts#L11* | ||
@@ -104,3 +104,3 @@ The domain of the error. | ||
*Defined in [error/coreError.ts:21](https://github.com/iota-pico/core/blob/36f6f34/src/error/coreError.ts#L21)* | ||
*Defined in [error/coreError.ts:21](https://github.com/iota-pico/core/tree/master/src/error/coreError.ts#L21* | ||
@@ -154,3 +154,3 @@ The inner error if there was one. | ||
*Defined in [error/coreError.ts:49](https://github.com/iota-pico/core/blob/36f6f34/src/error/coreError.ts#L49)* | ||
*Defined in [error/coreError.ts:49](https://github.com/iota-pico/core/tree/master/src/error/coreError.ts#L49* | ||
@@ -171,3 +171,3 @@ Format the error to a readable version. | ||
*Defined in [error/coreError.ts:41](https://github.com/iota-pico/core/blob/36f6f34/src/error/coreError.ts#L41)* | ||
*Defined in [error/coreError.ts:41](https://github.com/iota-pico/core/tree/master/src/error/coreError.ts#L41* | ||
@@ -174,0 +174,0 @@ Check if an object could be a CoreError. |
@@ -37,3 +37,3 @@ [@iota-pico/core](../README.md) > [NullLogger](../classes/nulllogger.md) | ||
*Defined in [loggers/nullLogger.ts:12](https://github.com/iota-pico/core/blob/36f6f34/src/loggers/nullLogger.ts#L12)* | ||
*Defined in [loggers/nullLogger.ts:12](https://github.com/iota-pico/core/tree/master/src/loggers/nullLogger.ts#L12* | ||
@@ -60,3 +60,3 @@ Send banner to the logger. | ||
*Defined in [loggers/nullLogger.ts:45](https://github.com/iota-pico/core/blob/36f6f34/src/loggers/nullLogger.ts#L45)* | ||
*Defined in [loggers/nullLogger.ts:45](https://github.com/iota-pico/core/tree/master/src/loggers/nullLogger.ts#L45* | ||
@@ -84,3 +84,3 @@ Send error to the logger. | ||
*Defined in [loggers/nullLogger.ts:28](https://github.com/iota-pico/core/blob/36f6f34/src/loggers/nullLogger.ts#L28)* | ||
*Defined in [loggers/nullLogger.ts:28](https://github.com/iota-pico/core/tree/master/src/loggers/nullLogger.ts#L28* | ||
@@ -107,3 +107,3 @@ Send information to the logger. | ||
*Defined in [loggers/nullLogger.ts:20](https://github.com/iota-pico/core/blob/36f6f34/src/loggers/nullLogger.ts#L20)* | ||
*Defined in [loggers/nullLogger.ts:20](https://github.com/iota-pico/core/tree/master/src/loggers/nullLogger.ts#L20* | ||
@@ -130,3 +130,3 @@ Send log to the logger. | ||
*Defined in [loggers/nullLogger.ts:36](https://github.com/iota-pico/core/blob/36f6f34/src/loggers/nullLogger.ts#L36)* | ||
*Defined in [loggers/nullLogger.ts:36](https://github.com/iota-pico/core/tree/master/src/loggers/nullLogger.ts#L36* | ||
@@ -133,0 +133,0 @@ Send warning to the logger. |
@@ -30,3 +30,3 @@ [@iota-pico/core](../README.md) > [NumberHelper](../classes/numberhelper.md) | ||
*Defined in [helpers/numberHelper.ts:28](https://github.com/iota-pico/core/blob/36f6f34/src/helpers/numberHelper.ts#L28)* | ||
*Defined in [helpers/numberHelper.ts:28](https://github.com/iota-pico/core/tree/master/src/helpers/numberHelper.ts#L28* | ||
@@ -51,3 +51,3 @@ Is the value a float number formatted as a string, can be used for big numbers that would overflow parseFloat. | ||
*Defined in [helpers/numberHelper.ts:10](https://github.com/iota-pico/core/blob/36f6f34/src/helpers/numberHelper.ts#L10)* | ||
*Defined in [helpers/numberHelper.ts:10](https://github.com/iota-pico/core/tree/master/src/helpers/numberHelper.ts#L10* | ||
@@ -72,3 +72,3 @@ Is the value an integer. | ||
*Defined in [helpers/numberHelper.ts:37](https://github.com/iota-pico/core/blob/36f6f34/src/helpers/numberHelper.ts#L37)* | ||
*Defined in [helpers/numberHelper.ts:37](https://github.com/iota-pico/core/tree/master/src/helpers/numberHelper.ts#L37* | ||
@@ -93,3 +93,3 @@ Is the value a integer number formatted as a string, can be used for big numbers that would overflow parseInt. | ||
*Defined in [helpers/numberHelper.ts:19](https://github.com/iota-pico/core/blob/36f6f34/src/helpers/numberHelper.ts#L19)* | ||
*Defined in [helpers/numberHelper.ts:19](https://github.com/iota-pico/core/tree/master/src/helpers/numberHelper.ts#L19* | ||
@@ -96,0 +96,0 @@ Is the value a number. |
@@ -30,3 +30,3 @@ [@iota-pico/core](../README.md) > [ObjectHelper](../classes/objecthelper.md) | ||
*Defined in [helpers/objectHelper.ts:40](https://github.com/iota-pico/core/blob/36f6f34/src/helpers/objectHelper.ts#L40)* | ||
*Defined in [helpers/objectHelper.ts:40](https://github.com/iota-pico/core/tree/master/src/helpers/objectHelper.ts#L40* | ||
@@ -51,3 +51,3 @@ Get the class name of an object if it has one. | ||
*Defined in [helpers/objectHelper.ts:10](https://github.com/iota-pico/core/blob/36f6f34/src/helpers/objectHelper.ts#L10)* | ||
*Defined in [helpers/objectHelper.ts:10](https://github.com/iota-pico/core/tree/master/src/helpers/objectHelper.ts#L10* | ||
@@ -72,3 +72,3 @@ Is the value empty. | ||
*Defined in [helpers/objectHelper.ts:19](https://github.com/iota-pico/core/blob/36f6f34/src/helpers/objectHelper.ts#L19)* | ||
*Defined in [helpers/objectHelper.ts:19](https://github.com/iota-pico/core/tree/master/src/helpers/objectHelper.ts#L19* | ||
@@ -93,3 +93,3 @@ Is the value an object. | ||
*Defined in [helpers/objectHelper.ts:30](https://github.com/iota-pico/core/blob/36f6f34/src/helpers/objectHelper.ts#L30)* | ||
*Defined in [helpers/objectHelper.ts:30](https://github.com/iota-pico/core/tree/master/src/helpers/objectHelper.ts#L30* | ||
@@ -96,0 +96,0 @@ Is the value an object if given type. |
@@ -37,3 +37,3 @@ [@iota-pico/core](../README.md) > [PlatformCryptoFactory](../classes/platformcryptofactory.md) | ||
*Defined in [factories/factoryBase.ts:50](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L50)* | ||
*Defined in [factories/factoryBase.ts:50](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L50* | ||
@@ -61,3 +61,3 @@ Create an instance of an object from the factory. | ||
*Defined in [factories/factoryBase.ts:31](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L31)* | ||
*Defined in [factories/factoryBase.ts:31](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L31* | ||
@@ -84,3 +84,3 @@ Does the factory contain a specific type. | ||
*Defined in [factories/platformCryptoFactory.ts:31](https://github.com/iota-pico/core/blob/36f6f34/src/factories/platformCryptoFactory.ts#L31)* | ||
*Defined in [factories/platformCryptoFactory.ts:31](https://github.com/iota-pico/core/tree/master/src/factories/platformCryptoFactory.ts#L31* | ||
@@ -98,3 +98,3 @@ **Returns:** [FactoryBase](factorybase.md)<[IPlatformCrypto](../interfaces/iplatformcrypto.md)> | ||
*Defined in [factories/factoryBase.ts:14](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L14)* | ||
*Defined in [factories/factoryBase.ts:14](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L14* | ||
@@ -121,3 +121,3 @@ Register a new type with the factory. | ||
*Defined in [factories/factoryBase.ts:40](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L40)* | ||
*Defined in [factories/factoryBase.ts:40](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L40* | ||
@@ -138,3 +138,3 @@ List the types in the factory. | ||
*Defined in [factories/factoryBase.ts:22](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L22)* | ||
*Defined in [factories/factoryBase.ts:22](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L22* | ||
@@ -158,3 +158,3 @@ Unregister a type from the factory. | ||
*Defined in [factories/platformCryptoFactory.ts:23](https://github.com/iota-pico/core/blob/36f6f34/src/factories/platformCryptoFactory.ts#L23)* | ||
*Defined in [factories/platformCryptoFactory.ts:23](https://github.com/iota-pico/core/tree/master/src/factories/platformCryptoFactory.ts#L23* | ||
@@ -161,0 +161,0 @@ Get the instance of the factory. |
@@ -45,3 +45,3 @@ [@iota-pico/core](../README.md) > [PlatformError](../classes/platformerror.md) | ||
*Defined in [error/platformError.ts:6](https://github.com/iota-pico/core/blob/36f6f34/src/error/platformError.ts#L6)* | ||
*Defined in [error/platformError.ts:6](https://github.com/iota-pico/core/tree/master/src/error/platformError.ts#L6* | ||
@@ -72,3 +72,3 @@ Create an instance of PlatformError. | ||
*Defined in [error/coreError.ts:16](https://github.com/iota-pico/core/blob/36f6f34/src/error/coreError.ts#L16)* | ||
*Defined in [error/coreError.ts:16](https://github.com/iota-pico/core/tree/master/src/error/coreError.ts#L16* | ||
@@ -90,3 +90,3 @@ Additional details about the error. | ||
*Defined in [error/coreError.ts:11](https://github.com/iota-pico/core/blob/36f6f34/src/error/coreError.ts#L11)* | ||
*Defined in [error/coreError.ts:11](https://github.com/iota-pico/core/tree/master/src/error/coreError.ts#L11* | ||
@@ -104,3 +104,3 @@ The domain of the error. | ||
*Defined in [error/coreError.ts:21](https://github.com/iota-pico/core/blob/36f6f34/src/error/coreError.ts#L21)* | ||
*Defined in [error/coreError.ts:21](https://github.com/iota-pico/core/tree/master/src/error/coreError.ts#L21* | ||
@@ -154,3 +154,3 @@ The inner error if there was one. | ||
*Defined in [error/coreError.ts:49](https://github.com/iota-pico/core/blob/36f6f34/src/error/coreError.ts#L49)* | ||
*Defined in [error/coreError.ts:49](https://github.com/iota-pico/core/tree/master/src/error/coreError.ts#L49* | ||
@@ -171,3 +171,3 @@ Format the error to a readable version. | ||
*Defined in [error/coreError.ts:41](https://github.com/iota-pico/core/blob/36f6f34/src/error/coreError.ts#L41)* | ||
*Defined in [error/coreError.ts:41](https://github.com/iota-pico/core/tree/master/src/error/coreError.ts#L41* | ||
@@ -174,0 +174,0 @@ Check if an object could be a CoreError. |
@@ -37,3 +37,3 @@ [@iota-pico/core](../README.md) > [RngServiceFactory](../classes/rngservicefactory.md) | ||
*Defined in [factories/factoryBase.ts:50](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L50)* | ||
*Defined in [factories/factoryBase.ts:50](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L50* | ||
@@ -61,3 +61,3 @@ Create an instance of an object from the factory. | ||
*Defined in [factories/factoryBase.ts:31](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L31)* | ||
*Defined in [factories/factoryBase.ts:31](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L31* | ||
@@ -84,3 +84,3 @@ Does the factory contain a specific type. | ||
*Defined in [factories/rngServiceFactory.ts:31](https://github.com/iota-pico/core/blob/36f6f34/src/factories/rngServiceFactory.ts#L31)* | ||
*Defined in [factories/rngServiceFactory.ts:31](https://github.com/iota-pico/core/tree/master/src/factories/rngServiceFactory.ts#L31* | ||
@@ -98,3 +98,3 @@ **Returns:** [FactoryBase](factorybase.md)<[IRngService](../interfaces/irngservice.md)> | ||
*Defined in [factories/factoryBase.ts:14](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L14)* | ||
*Defined in [factories/factoryBase.ts:14](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L14* | ||
@@ -121,3 +121,3 @@ Register a new type with the factory. | ||
*Defined in [factories/factoryBase.ts:40](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L40)* | ||
*Defined in [factories/factoryBase.ts:40](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L40* | ||
@@ -138,3 +138,3 @@ List the types in the factory. | ||
*Defined in [factories/factoryBase.ts:22](https://github.com/iota-pico/core/blob/36f6f34/src/factories/factoryBase.ts#L22)* | ||
*Defined in [factories/factoryBase.ts:22](https://github.com/iota-pico/core/tree/master/src/factories/factoryBase.ts#L22* | ||
@@ -158,3 +158,3 @@ Unregister a type from the factory. | ||
*Defined in [factories/rngServiceFactory.ts:23](https://github.com/iota-pico/core/blob/36f6f34/src/factories/rngServiceFactory.ts#L23)* | ||
*Defined in [factories/rngServiceFactory.ts:23](https://github.com/iota-pico/core/tree/master/src/factories/rngServiceFactory.ts#L23* | ||
@@ -161,0 +161,0 @@ Get the instance of the factory. |
@@ -31,3 +31,3 @@ [@iota-pico/core](../README.md) > [StringHelper](../classes/stringhelper.md) | ||
*Defined in [helpers/stringHelper.ts:48](https://github.com/iota-pico/core/blob/36f6f34/src/helpers/stringHelper.ts#L48)* | ||
*Defined in [helpers/stringHelper.ts:48](https://github.com/iota-pico/core/tree/master/src/helpers/stringHelper.ts#L48* | ||
@@ -52,3 +52,3 @@ Decode control characters to ASCII. | ||
*Defined in [helpers/stringHelper.ts:39](https://github.com/iota-pico/core/blob/36f6f34/src/helpers/stringHelper.ts#L39)* | ||
*Defined in [helpers/stringHelper.ts:39](https://github.com/iota-pico/core/tree/master/src/helpers/stringHelper.ts#L39* | ||
@@ -73,3 +73,3 @@ Encode non ASCII characters with control characters. | ||
*Defined in [helpers/stringHelper.ts:29](https://github.com/iota-pico/core/blob/36f6f34/src/helpers/stringHelper.ts#L29)* | ||
*Defined in [helpers/stringHelper.ts:29](https://github.com/iota-pico/core/tree/master/src/helpers/stringHelper.ts#L29* | ||
@@ -94,3 +94,3 @@ Is the string all ASCII characters. | ||
*Defined in [helpers/stringHelper.ts:20](https://github.com/iota-pico/core/blob/36f6f34/src/helpers/stringHelper.ts#L20)* | ||
*Defined in [helpers/stringHelper.ts:20](https://github.com/iota-pico/core/tree/master/src/helpers/stringHelper.ts#L20* | ||
@@ -115,3 +115,3 @@ Is the value a string that is empty. | ||
*Defined in [helpers/stringHelper.ts:10](https://github.com/iota-pico/core/blob/36f6f34/src/helpers/stringHelper.ts#L10)* | ||
*Defined in [helpers/stringHelper.ts:10](https://github.com/iota-pico/core/tree/master/src/helpers/stringHelper.ts#L10* | ||
@@ -118,0 +118,0 @@ Is the value a string. |
@@ -33,3 +33,3 @@ [@iota-pico/core](../README.md) > [TimeService](../classes/timeservice.md) | ||
*Defined in [services/timeService.ts:11](https://github.com/iota-pico/core/blob/36f6f34/src/services/timeService.ts#L11)* | ||
*Defined in [services/timeService.ts:11](https://github.com/iota-pico/core/tree/master/src/services/timeService.ts#L11* | ||
@@ -36,0 +36,0 @@ Returns the number of milliseconds since 1970/01/01. |
@@ -32,3 +32,3 @@ [@iota-pico/core](../README.md) > [IBackgroundTaskService](../interfaces/ibackgroundtaskservice.md) | ||
*Defined in [interfaces/IBackgroundTaskService.ts:11](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/IBackgroundTaskService.ts#L11)* | ||
*Defined in [interfaces/IBackgroundTaskService.ts:11](https://github.com/iota-pico/core/tree/master/src/interfaces/IBackgroundTaskService.ts#L11* | ||
@@ -35,0 +35,0 @@ Create a background task. |
@@ -37,3 +37,3 @@ [@iota-pico/core](../README.md) > [ILogger](../interfaces/ilogger.md) | ||
*Defined in [interfaces/ILogger.ts:11](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/ILogger.ts#L11)* | ||
*Defined in [interfaces/ILogger.ts:11](https://github.com/iota-pico/core/tree/master/src/interfaces/ILogger.ts#L11* | ||
@@ -58,3 +58,3 @@ Send banner to the logger. | ||
*Defined in [interfaces/ILogger.ts:36](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/ILogger.ts#L36)* | ||
*Defined in [interfaces/ILogger.ts:36](https://github.com/iota-pico/core/tree/master/src/interfaces/ILogger.ts#L36* | ||
@@ -80,3 +80,3 @@ Send error to the logger. | ||
*Defined in [interfaces/ILogger.ts:23](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/ILogger.ts#L23)* | ||
*Defined in [interfaces/ILogger.ts:23](https://github.com/iota-pico/core/tree/master/src/interfaces/ILogger.ts#L23* | ||
@@ -101,3 +101,3 @@ Send information to the logger. | ||
*Defined in [interfaces/ILogger.ts:17](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/ILogger.ts#L17)* | ||
*Defined in [interfaces/ILogger.ts:17](https://github.com/iota-pico/core/tree/master/src/interfaces/ILogger.ts#L17* | ||
@@ -122,3 +122,3 @@ Send log to the logger. | ||
*Defined in [interfaces/ILogger.ts:29](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/ILogger.ts#L29)* | ||
*Defined in [interfaces/ILogger.ts:29](https://github.com/iota-pico/core/tree/master/src/interfaces/ILogger.ts#L29* | ||
@@ -125,0 +125,0 @@ Send warning to the logger. |
@@ -32,3 +32,3 @@ [@iota-pico/core](../README.md) > [INetworkClient](../interfaces/inetworkclient.md) | ||
*Defined in [interfaces/INetworkClient.ts:51](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/INetworkClient.ts#L51)* | ||
*Defined in [interfaces/INetworkClient.ts:51](https://github.com/iota-pico/core/tree/master/src/interfaces/INetworkClient.ts#L51* | ||
@@ -56,3 +56,3 @@ Perform a request asynchronously. | ||
*Defined in [interfaces/INetworkClient.ts:12](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/INetworkClient.ts#L12)* | ||
*Defined in [interfaces/INetworkClient.ts:12](https://github.com/iota-pico/core/tree/master/src/interfaces/INetworkClient.ts#L12* | ||
@@ -78,3 +78,3 @@ Get data asynchronously. | ||
*Defined in [interfaces/INetworkClient.ts:30](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/INetworkClient.ts#L30)* | ||
*Defined in [interfaces/INetworkClient.ts:30](https://github.com/iota-pico/core/tree/master/src/interfaces/INetworkClient.ts#L30* | ||
@@ -106,3 +106,3 @@ Get data as JSON asynchronously. | ||
*Defined in [interfaces/INetworkClient.ts:21](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/INetworkClient.ts#L21)* | ||
*Defined in [interfaces/INetworkClient.ts:21](https://github.com/iota-pico/core/tree/master/src/interfaces/INetworkClient.ts#L21* | ||
@@ -129,3 +129,3 @@ Post data asynchronously. | ||
*Defined in [interfaces/INetworkClient.ts:41](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/INetworkClient.ts#L41)* | ||
*Defined in [interfaces/INetworkClient.ts:41](https://github.com/iota-pico/core/tree/master/src/interfaces/INetworkClient.ts#L41* | ||
@@ -132,0 +132,0 @@ Post data as JSON asynchronously. |
@@ -36,3 +36,3 @@ [@iota-pico/core](../README.md) > [INetworkEndPoint](../interfaces/inetworkendpoint.md) | ||
*Defined in [interfaces/INetworkEndPoint.ts:17](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/INetworkEndPoint.ts#L17)* | ||
*Defined in [interfaces/INetworkEndPoint.ts:17](https://github.com/iota-pico/core/tree/master/src/interfaces/INetworkEndPoint.ts#L17* | ||
@@ -51,3 +51,3 @@ The host name or ip of the endpoint. | ||
*Defined in [interfaces/INetworkEndPoint.ts:22](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/INetworkEndPoint.ts#L22)* | ||
*Defined in [interfaces/INetworkEndPoint.ts:22](https://github.com/iota-pico/core/tree/master/src/interfaces/INetworkEndPoint.ts#L22* | ||
@@ -66,3 +66,3 @@ The port of the endpoint. | ||
*Defined in [interfaces/INetworkEndPoint.ts:12](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/INetworkEndPoint.ts#L12)* | ||
*Defined in [interfaces/INetworkEndPoint.ts:12](https://github.com/iota-pico/core/tree/master/src/interfaces/INetworkEndPoint.ts#L12* | ||
@@ -81,3 +81,3 @@ The protocol to access the endpoint with. | ||
*Defined in [interfaces/INetworkEndPoint.ts:27](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/INetworkEndPoint.ts#L27)* | ||
*Defined in [interfaces/INetworkEndPoint.ts:27](https://github.com/iota-pico/core/tree/master/src/interfaces/INetworkEndPoint.ts#L27* | ||
@@ -96,3 +96,3 @@ The path to the endpoint. | ||
*Defined in [interfaces/INetworkEndPoint.ts:32](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/INetworkEndPoint.ts#L32)* | ||
*Defined in [interfaces/INetworkEndPoint.ts:32](https://github.com/iota-pico/core/tree/master/src/interfaces/INetworkEndPoint.ts#L32* | ||
@@ -99,0 +99,0 @@ The complete uri. |
@@ -33,3 +33,3 @@ [@iota-pico/core](../README.md) > [IPlatformCrypto](../interfaces/iplatformcrypto.md) | ||
*Defined in [interfaces/IPlatformCrypto.ts:20](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/IPlatformCrypto.ts#L20)* | ||
*Defined in [interfaces/IPlatformCrypto.ts:20](https://github.com/iota-pico/core/tree/master/src/interfaces/IPlatformCrypto.ts#L20* | ||
@@ -55,3 +55,3 @@ Decrypt the given data. | ||
*Defined in [interfaces/IPlatformCrypto.ts:12](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/IPlatformCrypto.ts#L12)* | ||
*Defined in [interfaces/IPlatformCrypto.ts:12](https://github.com/iota-pico/core/tree/master/src/interfaces/IPlatformCrypto.ts#L12* | ||
@@ -77,3 +77,3 @@ Encrypt the given data. | ||
*Defined in [interfaces/IPlatformCrypto.ts:47](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/IPlatformCrypto.ts#L47)* | ||
*Defined in [interfaces/IPlatformCrypto.ts:47](https://github.com/iota-pico/core/tree/master/src/interfaces/IPlatformCrypto.ts#L47* | ||
@@ -101,3 +101,3 @@ Hash the data. | ||
*Defined in [interfaces/IPlatformCrypto.ts:61](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/IPlatformCrypto.ts#L61)* | ||
*Defined in [interfaces/IPlatformCrypto.ts:61](https://github.com/iota-pico/core/tree/master/src/interfaces/IPlatformCrypto.ts#L61* | ||
@@ -126,3 +126,3 @@ HMAC the data. | ||
*Defined in [interfaces/IPlatformCrypto.ts:28](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/IPlatformCrypto.ts#L28)* | ||
*Defined in [interfaces/IPlatformCrypto.ts:28](https://github.com/iota-pico/core/tree/master/src/interfaces/IPlatformCrypto.ts#L28* | ||
@@ -148,3 +148,3 @@ Sign the given data. | ||
*Defined in [interfaces/IPlatformCrypto.ts:37](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/IPlatformCrypto.ts#L37)* | ||
*Defined in [interfaces/IPlatformCrypto.ts:37](https://github.com/iota-pico/core/tree/master/src/interfaces/IPlatformCrypto.ts#L37* | ||
@@ -151,0 +151,0 @@ Verify the given data with the signature. |
@@ -28,3 +28,3 @@ [@iota-pico/core](../README.md) > [IRngService](../interfaces/irngservice.md) | ||
*Defined in [interfaces/IRngService.ts:11](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/IRngService.ts#L11)* | ||
*Defined in [interfaces/IRngService.ts:11](https://github.com/iota-pico/core/tree/master/src/interfaces/IRngService.ts#L11* | ||
@@ -31,0 +31,0 @@ Generate an array of random numbers. |
@@ -32,3 +32,3 @@ [@iota-pico/core](../README.md) > [ITimeService](../interfaces/itimeservice.md) | ||
*Defined in [interfaces/ITimeService.ts:10](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/ITimeService.ts#L10)* | ||
*Defined in [interfaces/ITimeService.ts:10](https://github.com/iota-pico/core/tree/master/src/interfaces/ITimeService.ts#L10* | ||
@@ -35,0 +35,0 @@ Returns the number of milliseconds since 1970/01/01. |
@@ -52,3 +52,3 @@ | ||
*Defined in [interfaces/networkProtocol.ts:4](https://github.com/iota-pico/core/blob/36f6f34/src/interfaces/networkProtocol.ts#L4)* | ||
*Defined in [interfaces/networkProtocol.ts:4](https://github.com/iota-pico/core/tree/master/src/interfaces/networkProtocol.ts#L4* | ||
@@ -55,0 +55,0 @@ Represents the protocols for communicating. |
{ | ||
"name": "@iota-pico/core", | ||
"version": "0.9.6", | ||
"version": "0.9.7", | ||
"description": "IOTA Pico Framework Core", | ||
@@ -37,7 +37,9 @@ "typings": "dist/index.d.ts", | ||
"test-run": "nyc mocha", | ||
"test": "npm-run-all test-clean test-lint test-run", | ||
"test-post": "replace-in-file \"/(istanbul<\\/a>) at.*/g\" \"$1\" coverage/**/*.html --isRegex", | ||
"test": "npm-run-all test-clean test-lint test-run test-post", | ||
"test-publish": "minicat ./coverage/lcov.info | coveralls", | ||
"docs-clean": "rimraf ./docs/*", | ||
"docs-generate": "typedoc --module commonjs --excludePrivate --theme markdown --readme none --hideGenerator --mode file --target es5 --exclude ./**/src/index.ts --out ./docs ./src", | ||
"docs": "npm-run-all docs-clean docs-generate", | ||
"docs-post": "replace-in-file \"/(Defined in \\[.*\\]\\(https:\\/\\/github.com\\/.*?\\/.*?\\/).*?\\/.*?\\/(.*)\\)/g\" \"$1tree/master/$2\" docs/**/*.md --isRegex", | ||
"docs": "npm-run-all docs-clean docs-generate docs-post", | ||
"pkg-clean": "rimraf ./pkg/*", | ||
@@ -56,4 +58,4 @@ "pkg-dev": "cross-env NODE_ENV=development webpack --progress", | ||
"@types/chai": "^4.1.4", | ||
"@types/mocha": "^5.2.0", | ||
"babel-loader": "^8.0.0-beta.0", | ||
"@types/mocha": "^5.2.3", | ||
"babel-loader": "^8.0.0-beta.4", | ||
"babel-plugin-transform-builtin-extend": "^1.1.2", | ||
@@ -68,5 +70,6 @@ "chai": "^4.1.2", | ||
"nyc": "^12.0.2", | ||
"replace-in-file": "^3.4.0", | ||
"rimraf": "^2.6.2", | ||
"source-map-support": "^0.5.6", | ||
"ts-node": "^6.0.3", | ||
"ts-node": "^7.0.0", | ||
"tslint": "^5.10.0", | ||
@@ -78,6 +81,6 @@ "tslint-eslint-rules": "^5.3.1", | ||
"typescript": "^2.9.2", | ||
"uglifyjs-webpack-plugin": "^1.2.5", | ||
"webpack": "^4.8.3", | ||
"uglifyjs-webpack-plugin": "^1.2.7", | ||
"webpack": "^4.12.2", | ||
"webpack-cli": "^3.0.8" | ||
} | ||
} |
@@ -1,1 +0,1 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("@iota-pico/core",[],e):"object"==typeof exports?exports["@iota-pico/core"]=e():t.IotaPicoCore=e()}("undefined"!=typeof self?self:this,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=21)}([function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,n=[{key:"isEmpty",value:function(t){return null===t||void 0===t}},{key:"isObject",value:function(t){return null!==t&&void 0!==t&&"object"===r(t)&&!Array.isArray(t)}},{key:"isType",value:function(e,n){var r=t.getClassName(e);return void 0!==r&&r===t.getClassName(n)}},{key:"getClassName",value:function(t){if(null!==t&&void 0!==t){var e=("function"==typeof t?t.toString():t.constructor.toString()).match(/\w+/g);return e&&e.length>1?e[1]:void 0}}}],null&&o(e.prototype,null),n&&o(e,n),t}();e.ObjectHelper=i},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,n=[{key:"isString",value:function(t){return null!==t&&void 0!==t&&"[object String]"===Object.prototype.toString.call(t)}},{key:"isEmpty",value:function(e){return!t.isString(e)||0===e.length}},{key:"isAscii",value:function(t){return null!==t&&void 0!==t&&/^[\x00-\xFF]*$/.test(t)}},{key:"encodeNonASCII",value:function(e){return t.isString(e)?e.replace(/[\u007F-\uFFFF]/g,function(t){return"\\u".concat("0000".concat(t.charCodeAt(0).toString(16)).substr(-4))}):void 0}},{key:"decodeNonASCII",value:function(e){return t.isString(e)?e.replace(/\\u([\d\w]{4})/gi,function(t,e){return String.fromCharCode(parseInt(e,16))}):void 0}}],null&&r(e.prototype,null),n&&r(e,n),t}();e.StringHelper=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._types={}}var e,n;return e=t,(n=[{key:"register",value:function(t,e){this.getInstance()._types[t]=e}},{key:"unregister",value:function(t){delete this.getInstance()._types[t]}},{key:"exists",value:function(t){return void 0!==this.getInstance()._types[t]}},{key:"types",value:function(){return Object.keys(this.getInstance()._types)}},{key:"create",value:function(t){var e=this.getInstance();if(e._types[t]){for(var n,r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return(n=e._types)[t].apply(n,o)}}}])&&r(e.prototype,n),t}();e.FactoryBase=o},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(4),f=n(1),l=function(t){function e(t,n,r){var o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(o=i(this,u(e).call(this,t))).additional=n||{},o.innerError=r,o.domain="Core",o}var n,l,s;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(e,function(t){function e(){var e=Reflect.construct(t,Array.from(arguments));return Object.setPrototypeOf(e,Object.getPrototypeOf(this)),e}return e.prototype=Object.create(t.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t,e}(Error)),n=e,s=[{key:"isError",value:function(t){return void 0!==t&&null!==t&&"object"===r(t)&&"message"in t&&"additional"in t}}],(l=[{key:"format",value:function(){var t=this,e="";f.StringHelper.isEmpty(this.domain)||(e+="".concat(this.domain,": ")),f.StringHelper.isEmpty(this.message)||(e+="".concat(this.message));var n=Object.keys(this.additional);return n.length>0&&(e.length>0&&(e+="\n"),n.forEach(function(n){e+="\t".concat(n,": ").concat(a.JsonHelper.stringify(t.additional[n]),"\n")})),e}}])&&o(n.prototype,l),s&&o(n,s),e}();e.CoreError=l},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,n=[{key:"stringify",value:function(t,e,n){var o=[];return JSON.stringify(t,function(n,i){if("object"===r(i)&&null!==t&&void 0!==i){if(-1!==o.indexOf(i))return;o.push(i)}return e?e(n,i):i},n)}}],null&&o(e.prototype,null),n&&o(e,n),t}();e.JsonHelper=i},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,n=[{key:"isInteger",value:function(t){return Number.isInteger(t)&&!Number.isNaN(t)&&Number.isFinite(t)}},{key:"isNumber",value:function(t){return void 0!==t&&null!==t&&"number"==typeof t&&!Number.isNaN(t)&&Number.isFinite(t)}},{key:"isFloatString",value:function(t){return/^-?\d*\.?\d+$/.test(t)}},{key:"isIntegerString",value:function(t){return/^-?\d+$/.test(t)}}],null&&r(e.prototype,null),n&&r(e,n),t}();e.NumberHelper=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(3),i=n(4),u=n(0),c=n(1),a=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,n=[{key:"format",value:function(t,e){if(null===t||void 0===t)return"unknown error";if(o.CoreError.isError(t)){var n=t.format();if(e&&t.stack){n+="\nStack Trace";var r=t.stack.split("\n");r.shift(),n+="\n".concat(r.join("\n"))}return u.ObjectHelper.isEmpty(t.innerError)||(e&&!u.ObjectHelper.isEmpty(t.innerError.stack)?(n+="\n\n-----------------------------------------------",n+="\nInner Stack Trace\n",n+=t.innerError.stack):n+="\nInner Error: ".concat(t.innerError.message,"\n")),n}if(t instanceof Error){var a="";return e&&!u.ObjectHelper.isEmpty(t.stack)?a+=t.stack:a+=t.message,a}return c.StringHelper.isString(t)?t:i.JsonHelper.stringify(t,void 0,"\t")}}],null&&r(e.prototype,null),n&&r(e,n),t}();e.ErrorHelper=a},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),i=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,n=[{key:"isArray",value:function(t){return null!==t&&void 0!==t&&Array.isArray(t)}},{key:"isEmpty",value:function(e){return!t.isArray(e)||0===e.length}},{key:"isTyped",value:function(e,n){return!t.isEmpty(e)&&!e.includes(void 0)&&!e.includes(null)&&e.every(function(t){return o.ObjectHelper.isType(t,n)})}}],null&&r(e.prototype,null),n&&r(e,n),t}();e.ArrayHelper=i},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function i(t){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0});var c=n(3),a=function(t){function e(t,n,r){var u;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(u=o(this,i(e).call(this,t,n,r))).domain="Network",u}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(e,c.CoreError),e}();e.NetworkError=a},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,(n=[{key:"msSinceEpoch",value:function(){return Date.now()}}])&&r(e.prototype,n),t}();e.TimeService=o},function(t,e){!function(e){"use strict";var n,r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag",f="object"==typeof t,l=e.regeneratorRuntime;if(l)f&&(t.exports=l);else{(l=e.regeneratorRuntime=f?t.exports:{}).wrap=w;var s="suspendedStart",y="suspendedYield",p="executing",h="completed",b={},v={};v[u]=function(){return this};var g=Object.getPrototypeOf,m=g&&g(g(C([])));m&&m!==r&&o.call(m,u)&&(v=m);var d=E.prototype=O.prototype=Object.create(v);j.prototype=d.constructor=E,E.constructor=j,E[a]=j.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===j||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,a in t||(t[a]="GeneratorFunction")),t.prototype=Object.create(d),t},l.awrap=function(t){return{__await:t}},k(S.prototype),S.prototype[c]=function(){return this},l.AsyncIterator=S,l.async=function(t,e,n,r){var o=new S(w(t,e,n,r));return l.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},k(d),d[a]="Generator",d[u]=function(){return this},d.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=C,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(T),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return c.type="throw",c.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var u=this.tryEntries[i],c=u.completion;if("root"===u.tryLoc)return r("end");if(u.tryLoc<=this.prev){var a=o.call(u,"catchLoc"),f=o.call(u,"finallyLoc");if(a&&f){if(this.prev<u.catchLoc)return r(u.catchLoc,!0);if(this.prev<u.finallyLoc)return r(u.finallyLoc)}else if(a){if(this.prev<u.catchLoc)return r(u.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<u.finallyLoc)return r(u.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var u=i?i.completion:{};return u.type=t,u.arg=e,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(u)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),b},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:C(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),b}}}function w(t,e,n,r){var o=e&&e.prototype instanceof O?e:O,i=Object.create(o.prototype),u=new N(r||[]);return i._invoke=function(t,e,n){var r=s;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return H()}for(n.method=o,n.arg=i;;){var u=n.delegate;if(u){var c=P(u,n);if(c){if(c===b)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===s)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var a=_(t,e,n);if("normal"===a.type){if(r=n.done?h:y,a.arg===b)continue;return{value:a.arg,done:n.done}}"throw"===a.type&&(r=h,n.method="throw",n.arg=a.arg)}}}(t,n,u),i}function _(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function O(){}function j(){}function E(){}function k(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function S(t){var e;this._invoke=function(n,r){function i(){return new Promise(function(e,i){!function e(n,r,i,u){var c=_(t[n],t,r);if("throw"!==c.type){var a=c.arg,f=a.value;return f&&"object"==typeof f&&o.call(f,"__await")?Promise.resolve(f.__await).then(function(t){e("next",t,i,u)},function(t){e("throw",t,i,u)}):Promise.resolve(f).then(function(t){a.value=t,i(a)},u)}u(c.arg)}(n,r,e,i)})}return e=e?e.then(i,i):i()}}function P(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,P(t,e),"throw"===e.method))return b;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=_(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,b;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,b):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,b)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function C(t){if(t){var e=t[u];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=n,e.done=!0,e};return i.next=i}}return{next:H}}function H(){return{value:n,done:!0}}}(function(){return this}()||Function("return this")())},function(t,e,n){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(10),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},function(t,e,n){t.exports=n(11)},function(t,e,n){"use strict";var r,o=(r=n(12))&&r.__esModule?r:{default:r};function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var u=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r,u;return e=t,(n=[{key:"create",value:(r=o.default.mark(function t(e,n){return o.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise(function(t,r){setTimeout(function(){try{t(e())}catch(t){r(t)}},n)}));case 1:case"end":return t.stop()}},t,this)}),u=function(){var t=this,e=arguments;return new Promise(function(n,o){var i=r.apply(t,e);function u(t,e){try{var r=i[t](e),u=r.value}catch(t){return void o(t)}r.done?n(u):Promise.resolve(u).then(c,a)}function c(t){u("next",t)}function a(t){u("throw",t)}c()})},function(t,e){return u.apply(this,arguments)})}])&&i(e.prototype,n),t}();e.BackgroundTaskService=u},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(8),i=n(5),u=n(0),c=n(1),a=function(){function t(e,n,r,a){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!c.StringHelper.isString(e)||!/http|https/.test(e))throw new o.NetworkError("The protocol must be defined as http or https");if(!c.StringHelper.isString(n))throw new o.NetworkError("The host must be defined");if(!i.NumberHelper.isInteger(r)||r<=0)throw new o.NetworkError("The port must be a number greater than zero");if(!u.ObjectHelper.isEmpty(a)&&!c.StringHelper.isString(a))throw new o.NetworkError("The rootPath must be a valid string");this._protocol=e,this._host=n.replace(/^\/*/,"").replace(/\/*$/,""),this._port=r,this._rootPath=(a||"").replace(/^\/*/,"").replace(/\/*$/,"")}var e,n;return e=t,(n=[{key:"getProtocol",value:function(){return this._protocol}},{key:"getHost",value:function(){return this._host}},{key:"getRootPath",value:function(){return this._rootPath}},{key:"getPort",value:function(){return this._port}},{key:"getUri",value:function(){var t="".concat(this._protocol,"://").concat(this._host,":").concat(this._port);return this._rootPath.length>0&&(t+="/".concat(this._rootPath)),t}}])&&r(e.prototype,n),t}();e.NetworkEndPoint=a},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n;return e=t,(n=[{key:"banner",value:function(t){}},{key:"log",value:function(t){}},{key:"info",value:function(t){}},{key:"warning",value:function(t){}},{key:"error",value:function(t,e){}}])&&r(e.prototype,n),t}();e.NullLogger=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(7),i=n(6),u=n(0),c=n(1),a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._loggingObject=e||console}var e,n;return e=t,(n=[{key:"banner",value:function(t){this._loggingObject.log("=".repeat(80)),this._loggingObject.log(t);for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];this.logArgs(this._loggingObject.log,n),this._loggingObject.log("=".repeat(80))}},{key:"log",value:function(t){this._loggingObject.log(t);for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];this.logArgs(this._loggingObject.log,n)}},{key:"info",value:function(t){this._loggingObject.info(t);for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];this.logArgs(this._loggingObject.info,n)}},{key:"warning",value:function(t){this._loggingObject.warn(t);for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];this.logArgs(this._loggingObject.warn,n)}},{key:"error",value:function(t,e){var n=this;this._loggingObject.error(t),u.ObjectHelper.isEmpty(e)||i.ErrorHelper.format(e,!0).split("\n").forEach(function(t){n._loggingObject.error("\t".concat(t))});for(var r=arguments.length,o=new Array(r>2?r-2:0),c=2;c<r;c++)o[c-2]=arguments[c];this.logArgs(this._loggingObject.error,o)}},{key:"logArgs",value:function(t,e){var n=this;if(!o.ArrayHelper.isEmpty(e)){var r="";e.forEach(function(t,o){r+=n.createItem("\t","",t),o<e.length-1&&(r+="".concat("\t").concat("-".repeat(70),"\n"))}),t(r)}}},{key:"createItem",value:function(t,e,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"\n",a="";if(o.ArrayHelper.isArray(n)){var f="".concat(t,"\t");c.StringHelper.isEmpty(e)?a+="".concat(t,"[\n"):a+="".concat(t).concat(e,": [\n"),n.forEach(function(t,e){a+=r.createItem(f,"",t,"".concat(e<n.length-1?",":"","\n"))}),a+="".concat(t,"]\n")}else if(u.ObjectHelper.isObject(n)){var l=n.toString();if("[object Object]"===l){var s="".concat(t,"\t");c.StringHelper.isEmpty(e)?a+="".concat(t,"{\n"):a+="".concat(t).concat(e,": {\n");var y=Object.keys(n);y.forEach(function(t,e){a+=r.createItem(s,t,n[t],"".concat(e<y.length-1?",":"","\n"))}),a+="".concat(t,"}\n")}else a+=this.createItem(t,e,l.replace(/\n/g,"\n".concat(t)),i)}else c.StringHelper.isEmpty(e)?a+="".concat(t).concat(u.ObjectHelper.isEmpty(n)?n:n.toString()).concat(i):a+="".concat(t).concat(e,": ").concat(u.ObjectHelper.isEmpty(n)?n:n.toString()).concat(i);return a}}])&&r(e.prototype,n),t}();e.ConsoleLogger=a},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(2),f=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,u(e).call(this))}var n,r,f;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(e,a.FactoryBase),n=e,f=[{key:"instance",value:function(){return e._instance||(e._instance=new e),e._instance}}],(r=[{key:"getInstance",value:function(){return e.instance()}}])&&o(n.prototype,r),f&&o(n,f),e}();e.RngServiceFactory=f},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(2),f=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,u(e).call(this))}var n,r,f;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(e,a.FactoryBase),n=e,f=[{key:"instance",value:function(){return e._instance||(e._instance=new e),e._instance}}],(r=[{key:"getInstance",value:function(){return e.instance()}}])&&o(n.prototype,r),f&&o(n,f),e}();e.PlatformCryptoFactory=f},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function u(t){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(2),f=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,u(e).call(this))}var n,r,f;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(e,a.FactoryBase),n=e,f=[{key:"instance",value:function(){return e._instance||(e._instance=new e),e._instance}}],(r=[{key:"getInstance",value:function(){return e.instance()}}])&&o(n.prototype,r),f&&o(n,f),e}();e.NetworkClientFactory=f},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function i(t){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0});var c=n(3),a=function(t){function e(t,n,r){var u;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(u=o(this,i(e).call(this,t,n,r))).domain="Platform",u}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(e,c.CoreError),e}();e.PlatformError=a},function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),r(n(3)),r(n(8)),r(n(20)),r(n(2)),r(n(19)),r(n(18)),r(n(17)),r(n(7)),r(n(6)),r(n(4)),r(n(5)),r(n(1)),r(n(0)),r(n(16)),r(n(15)),r(n(14)),r(n(13)),r(n(9))}])}); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("@iota-pico/core",[],e):"object"==typeof exports?exports["@iota-pico/core"]=e():t.IotaPicoCore=e()}("undefined"!=typeof self?self:this,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=21)}([function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e,n){n&&o(t,n)}(t,0,[{key:"isEmpty",value:function(t){return null===t||void 0===t}},{key:"isObject",value:function(t){return null!==t&&void 0!==t&&"object"===r(t)&&!Array.isArray(t)}},{key:"isType",value:function(e,n){var r=t.getClassName(e);return void 0!==r&&r===t.getClassName(n)}},{key:"getClassName",value:function(t){if(null!==t&&void 0!==t){var e=("function"==typeof t?t.toString():t.constructor.toString()).match(/\w+/g);return e&&e.length>1?e[1]:void 0}}}]),t}();e.ObjectHelper=i},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e,n){n&&r(t,n)}(t,0,[{key:"isString",value:function(t){return null!==t&&void 0!==t&&"[object String]"===Object.prototype.toString.call(t)}},{key:"isEmpty",value:function(e){return!t.isString(e)||0===e.length}},{key:"isAscii",value:function(t){return null!==t&&void 0!==t&&/^[\x00-\xFF]*$/.test(t)}},{key:"encodeNonASCII",value:function(e){return t.isString(e)?e.replace(/[\u0100-\uFFFF]/g,function(t){return"\\u".concat("0000".concat(t.charCodeAt(0).toString(16)).substr(-4))}):void 0}},{key:"decodeNonASCII",value:function(e){return t.isString(e)?e.replace(/\\u([\d\w]{4})/gi,function(t,e){return String.fromCharCode(parseInt(e,16))}):void 0}}]),t}();e.StringHelper=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._types={}}return function(t,e,n){e&&r(t.prototype,e)}(t,[{key:"register",value:function(t,e){this.getInstance()._types[t]=e}},{key:"unregister",value:function(t){delete this.getInstance()._types[t]}},{key:"exists",value:function(t){return void 0!==this.getInstance()._types[t]}},{key:"types",value:function(){return Object.keys(this.getInstance()._types)}},{key:"create",value:function(t){var e=this.getInstance();if(e._types[t]){for(var n,r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return(n=e._types)[t].apply(n,o)}}}]),t}();e.FactoryBase=o},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function c(t){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0});var a=n(4),f=n(1),l=function(t){function e(t,n,r){var o;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(o=i(this,c(e).call(this,t))).additional=n||{},o.innerError=r,o.domain="Core",o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(e,function(t){function e(){var e=Reflect.construct(t,Array.from(arguments));return Object.setPrototypeOf(e,Object.getPrototypeOf(this)),e}return e.prototype=Object.create(t.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t,e}(Error)),function(t,e,n){e&&o(t.prototype,e),n&&o(t,n)}(e,[{key:"format",value:function(){var t=this,e="";f.StringHelper.isEmpty(this.domain)||(e+="".concat(this.domain,": ")),f.StringHelper.isEmpty(this.message)||(e+="".concat(this.message));var n=Object.keys(this.additional);return n.length>0&&(e.length>0&&(e+="\n"),n.forEach(function(n){e+="\t".concat(n,": ").concat(a.JsonHelper.stringify(t.additional[n]),"\n")})),e}}],[{key:"isError",value:function(t){return void 0!==t&&null!==t&&"object"===r(t)&&"message"in t&&"additional"in t}}]),e}();e.CoreError=l},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e,n){n&&o(t,n)}(t,0,[{key:"stringify",value:function(t,e,n){var o=[];return JSON.stringify(t,function(n,i){if("object"===r(i)&&null!==t&&void 0!==i){if(-1!==o.indexOf(i))return;o.push(i)}return e?e(n,i):i},n)}}]),t}();e.JsonHelper=i},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e,n){n&&r(t,n)}(t,0,[{key:"isInteger",value:function(t){return Number.isInteger(t)&&!Number.isNaN(t)&&Number.isFinite(t)}},{key:"isNumber",value:function(t){return void 0!==t&&null!==t&&"number"==typeof t&&!Number.isNaN(t)&&Number.isFinite(t)}},{key:"isFloatString",value:function(t){return/^-?\d*\.?\d+$/.test(t)}},{key:"isIntegerString",value:function(t){return/^-?\d+$/.test(t)}}]),t}();e.NumberHelper=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(3),i=n(4),c=n(0),u=n(1),a=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e,n){n&&r(t,n)}(t,0,[{key:"format",value:function(t,e){if(null===t||void 0===t)return"unknown error";if(o.CoreError.isError(t)){var n=t.format();if(e&&t.stack){n+="\nStack Trace";var r=t.stack.split("\n");r.shift(),n+="\n".concat(r.join("\n"))}return c.ObjectHelper.isEmpty(t.innerError)||(e&&!c.ObjectHelper.isEmpty(t.innerError.stack)?(n+="\n\n-----------------------------------------------",n+="\nInner Stack Trace\n",n+=t.innerError.stack):n+="\nInner Error: ".concat(t.innerError.message,"\n")),n}if(t instanceof Error){var a="";return e&&!c.ObjectHelper.isEmpty(t.stack)?a+=t.stack:a+=t.message,a}return u.StringHelper.isString(t)?t:i.JsonHelper.stringify(t,void 0,"\t")}}]),t}();e.ErrorHelper=a},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),i=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e,n){n&&r(t,n)}(t,0,[{key:"isArray",value:function(t){return null!==t&&void 0!==t&&Array.isArray(t)}},{key:"isEmpty",value:function(e){return!t.isArray(e)||0===e.length}},{key:"isTyped",value:function(e,n){return!t.isEmpty(e)&&!e.includes(void 0)&&!e.includes(null)&&e.every(function(t){return o.ObjectHelper.isType(t,n)})}}]),t}();e.ArrayHelper=i},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function i(t){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0});var u=n(3),a=function(t){function e(t,n,r){var c;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(c=o(this,i(e).call(this,t,n,r))).domain="Network",c}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(e,u.CoreError),e}();e.NetworkError=a},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e,n){e&&r(t.prototype,e)}(t,[{key:"msSinceEpoch",value:function(){return Date.now()}}]),t}();e.TimeService=o},function(t,e){!function(e){"use strict";var n,r=Object.prototype,o=r.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag",f="object"==typeof t,l=e.regeneratorRuntime;if(l)f&&(t.exports=l);else{(l=e.regeneratorRuntime=f?t.exports:{}).wrap=w;var s="suspendedStart",y="suspendedYield",p="executing",h="completed",b={},v={};v[c]=function(){return this};var g=Object.getPrototypeOf,m=g&&g(g(C([])));m&&m!==r&&o.call(m,c)&&(v=m);var d=E.prototype=O.prototype=Object.create(v);j.prototype=d.constructor=E,E.constructor=j,E[a]=j.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===j||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,a in t||(t[a]="GeneratorFunction")),t.prototype=Object.create(d),t},l.awrap=function(t){return{__await:t}},k(S.prototype),S.prototype[u]=function(){return this},l.AsyncIterator=S,l.async=function(t,e,n,r){var o=new S(w(t,e,n,r));return l.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},k(d),d[a]="Generator",d[c]=function(){return this},d.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=C,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(T),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return u.type="throw",u.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],u=c.completion;if("root"===c.tryLoc)return r("end");if(c.tryLoc<=this.prev){var a=o.call(c,"catchLoc"),f=o.call(c,"finallyLoc");if(a&&f){if(this.prev<c.catchLoc)return r(c.catchLoc,!0);if(this.prev<c.finallyLoc)return r(c.finallyLoc)}else if(a){if(this.prev<c.catchLoc)return r(c.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return r(c.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var c=i?i.completion:{};return c.type=t,c.arg=e,i?(this.method="next",this.next=i.finallyLoc,b):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),b},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),b}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:C(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),b}}}function w(t,e,n,r){var o=e&&e.prototype instanceof O?e:O,i=Object.create(o.prototype),c=new N(r||[]);return i._invoke=function(t,e,n){var r=s;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return H()}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var u=P(c,n);if(u){if(u===b)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===s)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var a=_(t,e,n);if("normal"===a.type){if(r=n.done?h:y,a.arg===b)continue;return{value:a.arg,done:n.done}}"throw"===a.type&&(r=h,n.method="throw",n.arg=a.arg)}}}(t,n,c),i}function _(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function O(){}function j(){}function E(){}function k(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function S(t){var e;this._invoke=function(n,r){function i(){return new Promise(function(e,i){!function e(n,r,i,c){var u=_(t[n],t,r);if("throw"!==u.type){var a=u.arg,f=a.value;return f&&"object"==typeof f&&o.call(f,"__await")?Promise.resolve(f.__await).then(function(t){e("next",t,i,c)},function(t){e("throw",t,i,c)}):Promise.resolve(f).then(function(t){a.value=t,i(a)},c)}c(u.arg)}(n,r,e,i)})}return e=e?e.then(i,i):i()}}function P(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,P(t,e),"throw"===e.method))return b;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return b}var o=_(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,b;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,b):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,b)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function C(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=n,e.done=!0,e};return i.next=i}}return{next:H}}function H(){return{value:n,done:!0}}}(function(){return this}()||Function("return this")())},function(t,e,n){var r=function(){return this}()||Function("return this")(),o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,i=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=n(10),o)r.regeneratorRuntime=i;else try{delete r.regeneratorRuntime}catch(t){r.regeneratorRuntime=void 0}},function(t,e,n){t.exports=n(11)},function(t,e,n){"use strict";var r=function(t){return t&&t.__esModule?t:{default:t}}(n(12));function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e,n){e&&o(t.prototype,e)}(t,[{key:"create",value:function(){var t=function(t){return function(){var e=this,n=arguments;return new Promise(function(r,o){var i=t.apply(e,n);function c(t,e){try{var n=i[t](e),c=n.value}catch(t){return void o(t)}n.done?r(c):Promise.resolve(c).then(u,a)}function u(t){c("next",t)}function a(t){c("throw",t)}u()})}}(r.default.mark(function t(e,n){return r.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise(function(t,r){setTimeout(function(){try{t(e())}catch(t){r(t)}},n)}));case 1:case"end":return t.stop()}},t,this)}));return function(e,n){return t.apply(this,arguments)}}()}]),t}();e.BackgroundTaskService=i},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(8),i=n(5),c=n(0),u=n(1),a=function(){function t(e,n,r,a){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!u.StringHelper.isString(e)||!/http|https/.test(e))throw new o.NetworkError("The protocol must be defined as http or https");if(!u.StringHelper.isString(n))throw new o.NetworkError("The host must be defined");if(!i.NumberHelper.isInteger(r)||r<=0)throw new o.NetworkError("The port must be a number greater than zero");if(!c.ObjectHelper.isEmpty(a)&&!u.StringHelper.isString(a))throw new o.NetworkError("The rootPath must be a valid string");this._protocol=e,this._host=n.replace(/^\/*/,"").replace(/\/*$/,""),this._port=r,this._rootPath=(a||"").replace(/^\/*/,"").replace(/\/*$/,"")}return function(t,e,n){e&&r(t.prototype,e)}(t,[{key:"getProtocol",value:function(){return this._protocol}},{key:"getHost",value:function(){return this._host}},{key:"getRootPath",value:function(){return this._rootPath}},{key:"getPort",value:function(){return this._port}},{key:"getUri",value:function(){var t="".concat(this._protocol,"://").concat(this._host,":").concat(this._port);return this._rootPath.length>0&&(t+="/".concat(this._rootPath)),t}}]),t}();e.NetworkEndPoint=a},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return function(t,e,n){e&&r(t.prototype,e)}(t,[{key:"banner",value:function(t){}},{key:"log",value:function(t){}},{key:"info",value:function(t){}},{key:"warning",value:function(t){}},{key:"error",value:function(t,e){}}]),t}();e.NullLogger=o},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var o=n(7),i=n(6),c=n(0),u=n(1),a=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._loggingObject=e||console}return function(t,e,n){e&&r(t.prototype,e)}(t,[{key:"banner",value:function(t){this._loggingObject.log("=".repeat(80)),this._loggingObject.log(t);for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];this.logArgs(this._loggingObject.log,n),this._loggingObject.log("=".repeat(80))}},{key:"log",value:function(t){this._loggingObject.log(t);for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];this.logArgs(this._loggingObject.log,n)}},{key:"info",value:function(t){this._loggingObject.info(t);for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];this.logArgs(this._loggingObject.info,n)}},{key:"warning",value:function(t){this._loggingObject.warn(t);for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];this.logArgs(this._loggingObject.warn,n)}},{key:"error",value:function(t,e){var n=this;this._loggingObject.error(t),c.ObjectHelper.isEmpty(e)||i.ErrorHelper.format(e,!0).split("\n").forEach(function(t){n._loggingObject.error("\t".concat(t))});for(var r=arguments.length,o=new Array(r>2?r-2:0),u=2;u<r;u++)o[u-2]=arguments[u];this.logArgs(this._loggingObject.error,o)}},{key:"logArgs",value:function(t,e){var n=this;if(!o.ArrayHelper.isEmpty(e)){var r="";e.forEach(function(t,o){r+=n.createItem("\t","",t),o<e.length-1&&(r+="".concat("\t").concat("-".repeat(70),"\n"))}),t(r)}}},{key:"createItem",value:function(t,e,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"\n",a="";if(o.ArrayHelper.isArray(n)){var f="".concat(t,"\t");u.StringHelper.isEmpty(e)?a+="".concat(t,"[\n"):a+="".concat(t).concat(e,": [\n"),n.forEach(function(t,e){a+=r.createItem(f,"",t,"".concat(e<n.length-1?",":"","\n"))}),a+="".concat(t,"]\n")}else if(c.ObjectHelper.isObject(n)){var l=n.toString();if("[object Object]"===l){var s="".concat(t,"\t");u.StringHelper.isEmpty(e)?a+="".concat(t,"{\n"):a+="".concat(t).concat(e,": {\n");var y=Object.keys(n);y.forEach(function(t,e){a+=r.createItem(s,t,n[t],"".concat(e<y.length-1?",":"","\n"))}),a+="".concat(t,"}\n")}else a+=this.createItem(t,e,l.replace(/\n/g,"\n".concat(t)),i)}else u.StringHelper.isEmpty(e)?a+="".concat(t).concat(c.ObjectHelper.isEmpty(n)?n:n.toString()).concat(i):a+="".concat(t).concat(e,": ").concat(c.ObjectHelper.isEmpty(n)?n:n.toString()).concat(i);return a}}]),t}();e.ConsoleLogger=a},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0});var u=n(2),a=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,i(e).call(this))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(e,u.FactoryBase),function(t,e,n){e&&o(t.prototype,e),n&&o(t,n)}(e,[{key:"getInstance",value:function(){return e.instance()}}],[{key:"instance",value:function(){return e._instance||(e._instance=new e),e._instance}}]),e}();e.RngServiceFactory=a},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0});var u=n(2),a=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,i(e).call(this))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(e,u.FactoryBase),function(t,e,n){e&&o(t.prototype,e),n&&o(t,n)}(e,[{key:"getInstance",value:function(){return e.instance()}}],[{key:"instance",value:function(){return e._instance||(e._instance=new e),e._instance}}]),e}();e.PlatformCryptoFactory=a},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function i(t){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0});var u=n(2),a=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}(this,i(e).call(this))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(e,u.FactoryBase),function(t,e,n){e&&o(t.prototype,e),n&&o(t,n)}(e,[{key:"getInstance",value:function(){return e.instance()}}],[{key:"instance",value:function(){return e._instance||(e._instance=new e),e._instance}}]),e}();e.NetworkClientFactory=a},function(t,e,n){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e){return!e||"object"!==r(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function i(t){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function c(t,e){return(c=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}Object.defineProperty(e,"__esModule",{value:!0});var u=n(3),a=function(t){function e(t,n,r){var c;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(c=o(this,i(e).call(this,t,n,r))).domain="Platform",c}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&c(t,e)}(e,u.CoreError),e}();e.PlatformError=a},function(t,e,n){"use strict";function r(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),r(n(3)),r(n(8)),r(n(20)),r(n(2)),r(n(19)),r(n(18)),r(n(17)),r(n(7)),r(n(6)),r(n(4)),r(n(5)),r(n(1)),r(n(0)),r(n(16)),r(n(15)),r(n(14)),r(n(13)),r(n(9))}])}); |
Sorry, the diff of this file is too big to display
416037
29