polarity-integration-utils 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dts/index.d.ts +3 -0
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/index.docs.d.ts +4 -0
- package/dist/dts/index.docs.d.ts.map +1 -1
- package/dist/dts/lib/index.d.ts +3 -0
- package/dist/dts/lib/index.d.ts.map +1 -1
- package/dist/dts/lib/index.docs.d.ts +4 -0
- package/dist/dts/lib/index.docs.d.ts.map +1 -1
- package/dist/dts/lib/logging/logger.d.ts +2 -2
- package/dist/dts/lib/types.d.ts +0 -1
- package/dist/dts/lib/types.d.ts.map +1 -1
- package/dist/dts/logging/logger.d.ts +2 -2
- package/dist/dts/types.d.ts +0 -1
- package/dist/dts/types.d.ts.map +1 -1
- package/dist/es/lib/index.docs.js +4 -0
- package/dist/es/lib/index.js +3 -0
- package/dist/es/lib/logging/logger.js +2 -2
- package/dist/es/lib/types.js +1 -4
- package/dist/lib/index.docs.js +4 -0
- package/dist/lib/index.js +3 -0
- package/dist/lib/logging/logger.js +2 -2
- package/dist/lib/types.js +1 -4
- package/dist/polarity-integration-utils.d.ts +2 -2
- package/package.json +1 -1
package/dist/dts/index.d.ts
CHANGED
|
@@ -2,5 +2,8 @@ import * as errors from './errors';
|
|
|
2
2
|
import * as requests from './requests';
|
|
3
3
|
import * as logging from './logging';
|
|
4
4
|
export * from './types';
|
|
5
|
+
export * from './errors';
|
|
6
|
+
export * from './requests';
|
|
7
|
+
export * from './logging';
|
|
5
8
|
export { errors, requests, logging };
|
|
6
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/dts/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AAErC,cAAc,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AAErC,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAE1B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC"}
|
package/dist/dts/index.docs.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* API Docs index. This is used by api-extractor given our package.json exports.
|
|
3
3
|
* Monitoring: https://github.com/microsoft/rushstack/issues/3557
|
|
4
|
+
*
|
|
5
|
+
* Note: This includes ./testing which is intentionally excluded from the runtime
|
|
6
|
+
* index.ts. Testing helpers are available via the ./testing sub-path import
|
|
7
|
+
* (e.g., import \{ createEntity \} from 'polarity-integration-utils/testing').
|
|
4
8
|
*/
|
|
5
9
|
export * from './errors';
|
|
6
10
|
export * from './requests';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.docs.d.ts","sourceRoot":"","sources":["../../lib/index.docs.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.docs.d.ts","sourceRoot":"","sources":["../../lib/index.docs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC"}
|
package/dist/dts/lib/index.d.ts
CHANGED
|
@@ -2,5 +2,8 @@ import * as errors from './errors';
|
|
|
2
2
|
import * as requests from './requests';
|
|
3
3
|
import * as logging from './logging';
|
|
4
4
|
export * from './types';
|
|
5
|
+
export * from './errors';
|
|
6
|
+
export * from './requests';
|
|
7
|
+
export * from './logging';
|
|
5
8
|
export { errors, requests, logging };
|
|
6
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AAErC,cAAc,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AACvC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AAErC,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAE1B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* API Docs index. This is used by api-extractor given our package.json exports.
|
|
3
3
|
* Monitoring: https://github.com/microsoft/rushstack/issues/3557
|
|
4
|
+
*
|
|
5
|
+
* Note: This includes ./testing which is intentionally excluded from the runtime
|
|
6
|
+
* index.ts. Testing helpers are available via the ./testing sub-path import
|
|
7
|
+
* (e.g., import \{ createEntity \} from 'polarity-integration-utils/testing').
|
|
4
8
|
*/
|
|
5
9
|
export * from './errors';
|
|
6
10
|
export * from './requests';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.docs.d.ts","sourceRoot":"","sources":["../../../lib/index.docs.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.docs.d.ts","sourceRoot":"","sources":["../../../lib/index.docs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC"}
|
|
@@ -5,7 +5,7 @@ import type { Logger } from '@polarityio/integration-types';
|
|
|
5
5
|
* @example
|
|
6
6
|
* Example of setting the logger within the integration's startup method:
|
|
7
7
|
* ```js
|
|
8
|
-
* const { setLogger } = require('polarity-integration-utils
|
|
8
|
+
* const { setLogger } = require('polarity-integration-utils');
|
|
9
9
|
*
|
|
10
10
|
* function startup(logger){
|
|
11
11
|
* setLogger(logger);
|
|
@@ -24,7 +24,7 @@ declare const setLogger: (logger: Logger) => void;
|
|
|
24
24
|
* @example
|
|
25
25
|
* Example of using the integration's logging object:
|
|
26
26
|
* ```js
|
|
27
|
-
* const { getLogger } = require('polarity-integration-utils
|
|
27
|
+
* const { getLogger } = require('polarity-integration-utils');
|
|
28
28
|
*
|
|
29
29
|
* const logger = getLogger();
|
|
30
30
|
* logger.trace('this is a trace message');
|
package/dist/dts/lib/types.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../lib/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../lib/types.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,uBAAuB,EAAE,MAAM,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,SAAS,CA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,7 +5,7 @@ import type { Logger } from '@polarityio/integration-types';
|
|
|
5
5
|
* @example
|
|
6
6
|
* Example of setting the logger within the integration's startup method:
|
|
7
7
|
* ```js
|
|
8
|
-
* const { setLogger } = require('polarity-integration-utils
|
|
8
|
+
* const { setLogger } = require('polarity-integration-utils');
|
|
9
9
|
*
|
|
10
10
|
* function startup(logger){
|
|
11
11
|
* setLogger(logger);
|
|
@@ -24,7 +24,7 @@ declare const setLogger: (logger: Logger) => void;
|
|
|
24
24
|
* @example
|
|
25
25
|
* Example of using the integration's logging object:
|
|
26
26
|
* ```js
|
|
27
|
-
* const { getLogger } = require('polarity-integration-utils
|
|
27
|
+
* const { getLogger } = require('polarity-integration-utils');
|
|
28
28
|
*
|
|
29
29
|
* const logger = getLogger();
|
|
30
30
|
* logger.trace('this is a trace message');
|
package/dist/dts/types.d.ts
CHANGED
package/dist/dts/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../lib/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../lib/types.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,uBAAuB,EAAE,MAAM,CAAC;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,SAAS,CAAC,EAAE,CAAC,MAAM,GAAG,UAAU,CAAC,EAAE,CAAC;IACpC,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,6BAA6B,CAAC,EAAE,OAAO,CAAC;IACxC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,aAAa,CAAC;IACrB,OAAO,CAAC,EAAE,aAAa,CAA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AAC;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,GACD;IACE,IAAI,EAAE,SAAS,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,GACD;IACE,IAAI,EAAE,QAAQ,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,GACD;IACE,IAAI,EAAE,QAAQ,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,gBAAgB,GAAG,gBAAgB,EAAE,GAAG,MAAM,GAAG,IAAI,CAAC;IAC/D,OAAO,EAAE,gBAAgB,EAAE,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC"}
|
|
@@ -17,6 +17,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
/**
|
|
18
18
|
* API Docs index. This is used by api-extractor given our package.json exports.
|
|
19
19
|
* Monitoring: https://github.com/microsoft/rushstack/issues/3557
|
|
20
|
+
*
|
|
21
|
+
* Note: This includes ./testing which is intentionally excluded from the runtime
|
|
22
|
+
* index.ts. Testing helpers are available via the ./testing sub-path import
|
|
23
|
+
* (e.g., import \{ createEntity \} from 'polarity-integration-utils/testing').
|
|
20
24
|
*/
|
|
21
25
|
__exportStar(require("./errors"), exports);
|
|
22
26
|
__exportStar(require("./requests"), exports);
|
package/dist/es/lib/index.js
CHANGED
|
@@ -44,3 +44,6 @@ exports.requests = requests;
|
|
|
44
44
|
const logging = __importStar(require("./logging"));
|
|
45
45
|
exports.logging = logging;
|
|
46
46
|
__exportStar(require("./types"), exports);
|
|
47
|
+
__exportStar(require("./errors"), exports);
|
|
48
|
+
__exportStar(require("./requests"), exports);
|
|
49
|
+
__exportStar(require("./logging"), exports);
|
|
@@ -29,7 +29,7 @@ let _logger = createDefaultLogger();
|
|
|
29
29
|
* @example
|
|
30
30
|
* Example of setting the logger within the integration's startup method:
|
|
31
31
|
* ```js
|
|
32
|
-
* const { setLogger } = require('polarity-integration-utils
|
|
32
|
+
* const { setLogger } = require('polarity-integration-utils');
|
|
33
33
|
*
|
|
34
34
|
* function startup(logger){
|
|
35
35
|
* setLogger(logger);
|
|
@@ -51,7 +51,7 @@ exports.setLogger = setLogger;
|
|
|
51
51
|
* @example
|
|
52
52
|
* Example of using the integration's logging object:
|
|
53
53
|
* ```js
|
|
54
|
-
* const { getLogger } = require('polarity-integration-utils
|
|
54
|
+
* const { getLogger } = require('polarity-integration-utils');
|
|
55
55
|
*
|
|
56
56
|
* const logger = getLogger();
|
|
57
57
|
* logger.trace('this is a trace message');
|
package/dist/es/lib/types.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IntegrationError = void 0;
|
|
4
2
|
// Re-export utils-specific types
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "IntegrationError", { enumerable: true, get: function () { return errors_1.IntegrationError; } });
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/dist/lib/index.docs.js
CHANGED
|
@@ -17,6 +17,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
/**
|
|
18
18
|
* API Docs index. This is used by api-extractor given our package.json exports.
|
|
19
19
|
* Monitoring: https://github.com/microsoft/rushstack/issues/3557
|
|
20
|
+
*
|
|
21
|
+
* Note: This includes ./testing which is intentionally excluded from the runtime
|
|
22
|
+
* index.ts. Testing helpers are available via the ./testing sub-path import
|
|
23
|
+
* (e.g., import \{ createEntity \} from 'polarity-integration-utils/testing').
|
|
20
24
|
*/
|
|
21
25
|
__exportStar(require("./errors"), exports);
|
|
22
26
|
__exportStar(require("./requests"), exports);
|
package/dist/lib/index.js
CHANGED
|
@@ -44,3 +44,6 @@ exports.requests = requests;
|
|
|
44
44
|
const logging = __importStar(require("./logging"));
|
|
45
45
|
exports.logging = logging;
|
|
46
46
|
__exportStar(require("./types"), exports);
|
|
47
|
+
__exportStar(require("./errors"), exports);
|
|
48
|
+
__exportStar(require("./requests"), exports);
|
|
49
|
+
__exportStar(require("./logging"), exports);
|
|
@@ -29,7 +29,7 @@ let _logger = createDefaultLogger();
|
|
|
29
29
|
* @example
|
|
30
30
|
* Example of setting the logger within the integration's startup method:
|
|
31
31
|
* ```js
|
|
32
|
-
* const { setLogger } = require('polarity-integration-utils
|
|
32
|
+
* const { setLogger } = require('polarity-integration-utils');
|
|
33
33
|
*
|
|
34
34
|
* function startup(logger){
|
|
35
35
|
* setLogger(logger);
|
|
@@ -51,7 +51,7 @@ exports.setLogger = setLogger;
|
|
|
51
51
|
* @example
|
|
52
52
|
* Example of using the integration's logging object:
|
|
53
53
|
* ```js
|
|
54
|
-
* const { getLogger } = require('polarity-integration-utils
|
|
54
|
+
* const { getLogger } = require('polarity-integration-utils');
|
|
55
55
|
*
|
|
56
56
|
* const logger = getLogger();
|
|
57
57
|
* logger.trace('this is a trace message');
|
package/dist/lib/types.js
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IntegrationError = void 0;
|
|
4
2
|
// Re-export utils-specific types
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "IntegrationError", { enumerable: true, get: function () { return errors_1.IntegrationError; } });
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -126,7 +126,7 @@ export declare type ErrorMeta = {
|
|
|
126
126
|
* @example
|
|
127
127
|
* Example of using the integration's logging object:
|
|
128
128
|
* ```js
|
|
129
|
-
* const { getLogger } = require('polarity-integration-utils
|
|
129
|
+
* const { getLogger } = require('polarity-integration-utils');
|
|
130
130
|
*
|
|
131
131
|
* const logger = getLogger();
|
|
132
132
|
* logger.trace('this is a trace message');
|
|
@@ -899,7 +899,7 @@ export declare class PolarityRequest {
|
|
|
899
899
|
* @example
|
|
900
900
|
* Example of setting the logger within the integration's startup method:
|
|
901
901
|
* ```js
|
|
902
|
-
* const { setLogger } = require('polarity-integration-utils
|
|
902
|
+
* const { setLogger } = require('polarity-integration-utils');
|
|
903
903
|
*
|
|
904
904
|
* function startup(logger){
|
|
905
905
|
* setLogger(logger);
|