@positronic/cloudflare 0.0.76 → 0.0.77
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.
|
@@ -462,7 +462,7 @@ var ScheduleAdapter = /*#__PURE__*/ function() {
|
|
|
462
462
|
key: "dispatch",
|
|
463
463
|
value: function dispatch(event) {
|
|
464
464
|
return _async_to_generator(function() {
|
|
465
|
-
var processedCount, totalItems;
|
|
465
|
+
var processedCount, totalItems, canRelease;
|
|
466
466
|
return _ts_generator(this, function(_state) {
|
|
467
467
|
switch(_state.label){
|
|
468
468
|
case 0:
|
|
@@ -474,8 +474,8 @@ var ScheduleAdapter = /*#__PURE__*/ function() {
|
|
|
474
474
|
// After the last item the brain continues to subsequent steps naturally.
|
|
475
475
|
// A spurious alarm after the last item would call wakeUp() while the
|
|
476
476
|
// brain is still running, corrupting execution state.
|
|
477
|
-
processedCount = event.processedCount, totalItems = event.totalItems;
|
|
478
|
-
if (!(processedCount < totalItems)) return [
|
|
477
|
+
processedCount = event.processedCount, totalItems = event.totalItems, canRelease = event.canRelease;
|
|
478
|
+
if (!(canRelease && processedCount < totalItems)) return [
|
|
479
479
|
3,
|
|
480
480
|
3
|
|
481
481
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@positronic/cloudflare",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.77",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"clean": "rm -rf tsconfig.tsbuildinfo dist"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@positronic/core": "^0.0.
|
|
35
|
-
"@positronic/spec": "^0.0.
|
|
36
|
-
"@positronic/template-new-project": "^0.0.
|
|
34
|
+
"@positronic/core": "^0.0.77",
|
|
35
|
+
"@positronic/spec": "^0.0.77",
|
|
36
|
+
"@positronic/template-new-project": "^0.0.77",
|
|
37
37
|
"aws4fetch": "^1.0.18",
|
|
38
38
|
"caz": "^2.0.0",
|
|
39
39
|
"croner": "^10.0.1",
|