@temporalio/testing 1.11.3 → 1.11.5
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.
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.interceptors =
|
|
6
|
+
exports.interceptors = interceptors;
|
|
7
7
|
const assert_1 = __importDefault(require("assert"));
|
|
8
8
|
const workflow_1 = require("@temporalio/workflow");
|
|
9
9
|
/**
|
|
@@ -45,5 +45,4 @@ function interceptors() {
|
|
|
45
45
|
],
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
exports.interceptors = interceptors;
|
|
49
48
|
//# sourceMappingURL=assert-to-failure-interceptor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assert-to-failure-interceptor.js","sourceRoot":"","sources":["../src/assert-to-failure-interceptor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"assert-to-failure-interceptor.js","sourceRoot":"","sources":["../src/assert-to-failure-interceptor.ts"],"names":[],"mappings":";;;;;AAQA,oCA+BC;AAvCD,oDAA4B;AAC5B,mDAAgF;AAEhF;;;;GAIG;AACH,SAAgB,YAAY;IAC1B,OAAO;QACL,OAAO,EAAE;YACP;gBACE,KAAK,CAAC,YAAY,CAAC,KAAK,EAAE,IAAI;oBAC5B,IAAI,CAAC;wBACH,OAAO,MAAM,IAAI,CAAC,KAAK,CAAC,CAAC;oBAC3B,CAAC;oBAAC,OAAO,GAAG,EAAE,CAAC;wBACb,IAAI,GAAG,YAAY,gBAAM,CAAC,cAAc,EAAE,CAAC;4BACzC,MAAM,MAAM,GAAG,6BAAkB,CAAC,YAAY,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;4BAC5D,MAAM,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;4BACzB,MAAM,MAAM,CAAC;wBACf,CAAC;wBACD,MAAM,GAAG,CAAC;oBACZ,CAAC;gBACH,CAAC;gBACD,KAAK,CAAC,OAAO,CAAC,KAAK,EAAE,IAAI;oBACvB,IAAI,CAAC;wBACH,OAAO,MAAM,IAAI,CAAC,KAAK,CAAC,CAAC;oBAC3B,CAAC;oBAAC,OAAO,GAAG,EAAE,CAAC;wBACb,IAAI,GAAG,YAAY,gBAAM,CAAC,cAAc,EAAE,CAAC;4BACzC,MAAM,MAAM,GAAG,6BAAkB,CAAC,YAAY,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;4BAC5D,MAAM,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;4BACzB,MAAM,MAAM,CAAC;wBACf,CAAC;wBACD,MAAM,GAAG,CAAC;oBACZ,CAAC;gBACH,CAAC;aACF;SACF;KACF,CAAC;AACJ,CAAC"}
|
package/lib/index.d.ts
CHANGED
package/lib/utils.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.waitOnNamespace = waitOnNamespace;
|
|
4
|
+
exports.createNamespace = createNamespace;
|
|
4
5
|
const time_1 = require("@temporalio/common/lib/time");
|
|
5
6
|
// Starting with 1.20, we should no longer need to wait on namespace
|
|
6
7
|
// TODO: Remove all of this once we are confident that this is no longer required
|
|
@@ -28,7 +29,6 @@ async function waitOnNamespace(connection, namespace, maxAttempts = 100, retryIn
|
|
|
28
29
|
}
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
|
-
exports.waitOnNamespace = waitOnNamespace;
|
|
32
32
|
async function createNamespace(connection, namespace, maxAttempts = 100, retryIntervalSecs = 1) {
|
|
33
33
|
for (let attempt = 1; attempt <= maxAttempts; ++attempt) {
|
|
34
34
|
try {
|
|
@@ -49,5 +49,4 @@ async function createNamespace(connection, namespace, maxAttempts = 100, retryIn
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
exports.createNamespace = createNamespace;
|
|
53
52
|
//# sourceMappingURL=utils.js.map
|
package/lib/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;AAKA,0CA6BC;AAED,0CAuBC;AA1DD,sDAAqD;AAErD,oEAAoE;AACpE,iFAAiF;AAC1E,KAAK,UAAU,eAAe,CACnC,UAAsB,EACtB,SAAiB,EACjB,WAAW,GAAG,GAAG,EACjB,iBAAiB,GAAG,CAAC;IAErB,MAAM,KAAK,GAAG,sCAAsC,CAAC;IACrD,KAAK,IAAI,OAAO,GAAG,CAAC,EAAE,OAAO,IAAI,WAAW,EAAE,EAAE,OAAO,EAAE,CAAC;QACxD,IAAI,CAAC;YACH,MAAM,UAAU,CAAC,eAAe,CAAC,2BAA2B,CAAC;gBAC3D,SAAS;gBACT,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE;aACzC,CAAC,CAAC;QACL,CAAC;QAAC,OAAO,GAAQ,EAAE,CAAC;YAClB,IACE,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,4BAA4B,CAAC;gBAClD,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,kCAAkC,CAAC;gBACxD,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,+BAA+B,CAAC;gBACrD,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,sDAAsD,CAAC;gBAC5E,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,EAC3B,CAAC;gBACD,MAAM;YACR,CAAC;YACD,IAAI,OAAO,KAAK,WAAW,EAAE,CAAC;gBAC5B,MAAM,GAAG,CAAC;YACZ,CAAC;YACD,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI,CAAC,CAAC,CAAC;QAChF,CAAC;IACH,CAAC;AACH,CAAC;AAEM,KAAK,UAAU,eAAe,CACnC,UAAsB,EACtB,SAAiB,EACjB,WAAW,GAAG,GAAG,EACjB,iBAAiB,GAAG,CAAC;IAErB,KAAK,IAAI,OAAO,GAAG,CAAC,EAAE,OAAO,IAAI,WAAW,EAAE,EAAE,OAAO,EAAE,CAAC;QACxD,IAAI,CAAC;YACH,MAAM,UAAU,CAAC,eAAe,CAAC,iBAAiB,CAAC;gBACjD,SAAS;gBACT,gCAAgC,EAAE,IAAA,aAAM,EAAC,OAAO,CAAC;aAClD,CAAC,CAAC;YACH,MAAM;QACR,CAAC;QAAC,OAAO,GAAQ,EAAE,CAAC;YAClB,IAAI,GAAG,CAAC,OAAO,KAAK,2BAA2B,EAAE,CAAC;gBAChD,MAAM;YACR,CAAC;YACD,IAAI,OAAO,KAAK,WAAW,EAAE,CAAC;gBAC5B,MAAM,GAAG,CAAC;YACZ,CAAC;YACD,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI,CAAC,CAAC,CAAC;QAChF,CAAC;IACH,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@temporalio/testing",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.5",
|
|
4
4
|
"description": "Temporal.io SDK Testing sub-package",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
"author": "Temporal Technologies Inc. <sdk@temporal.io>",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@temporalio/activity": "1.11.
|
|
16
|
-
"@temporalio/client": "1.11.
|
|
17
|
-
"@temporalio/common": "1.11.
|
|
18
|
-
"@temporalio/core-bridge": "1.11.
|
|
19
|
-
"@temporalio/proto": "1.11.
|
|
20
|
-
"@temporalio/worker": "1.11.
|
|
21
|
-
"@temporalio/workflow": "1.11.
|
|
15
|
+
"@temporalio/activity": "1.11.5",
|
|
16
|
+
"@temporalio/client": "1.11.5",
|
|
17
|
+
"@temporalio/common": "1.11.5",
|
|
18
|
+
"@temporalio/core-bridge": "1.11.5",
|
|
19
|
+
"@temporalio/proto": "1.11.5",
|
|
20
|
+
"@temporalio/worker": "1.11.5",
|
|
21
|
+
"@temporalio/workflow": "1.11.5",
|
|
22
22
|
"abort-controller": "^3.0.0"
|
|
23
23
|
},
|
|
24
24
|
"bugs": {
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "a7b946cd5d4d58432509ead0f8d0c0c40742c107"
|
|
41
41
|
}
|