@mathrunet/masamune 1.2.3 → 1.2.4

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/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [1.2.4](https://github.com/mathrunet/node_masamune/compare/v1.2.3...v1.2.4) (2023-09-29)
2
+
3
+
4
+ ### fix
5
+
6
+ * Changed to a condition where _done is null. ([4ffe3d3](https://github.com/mathrunet/node_masamune/commit/4ffe3d37a145ddb82243462ccb26db6d61247c86))
7
+
8
+
9
+
1
10
  ## [1.2.3](https://github.com/mathrunet/node_masamune/compare/v1.2.2...v1.2.3) (2023-09-29)
2
11
 
3
12
 
@@ -51,7 +51,7 @@ module.exports = (regions, data) => {
51
51
  try {
52
52
  const collectionPath = functions.config().scheduler.collection_path;
53
53
  const firestoreInstance = admin.firestore();
54
- const collection = yield firestoreInstance.collection(collectionPath).where("_done", "!=", true).where("_command", "<=", Date.now()).orderBy("_command", "asc").get();
54
+ const collection = yield firestoreInstance.collection(collectionPath).where("_done", "==", null).where("_command", "<=", Date.now()).orderBy("_command", "asc").get();
55
55
  for (var doc of collection.docs) {
56
56
  const command = doc.get("#command")["@command"];
57
57
  const params = doc.get("#command")["@params"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mathrunet/masamune",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "Manages packages for the server portion (NodeJS) of the Masamune framework.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",