@cimo/queue 1.0.1 → 1.0.2

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/README.md CHANGED
@@ -26,12 +26,12 @@ Writed with native Typescript code and no dependencies are used.
26
26
  ```
27
27
  ...
28
28
 
29
- import { Cu } from "@cimo/queue/dist/src/Main";
29
+ import { Cq } from "@cimo/queue/dist/src/Main";
30
30
 
31
31
  ...
32
32
 
33
- post("/api/v1/test1", () => {
34
- cu.list.push(() => {
33
+ post("/api/test1", () => {
34
+ cq.list.push(() => {
35
35
  return new Promise((resolve) => {
36
36
  ...
37
37
 
@@ -41,11 +41,11 @@ post("/api/v1/test1", () => {
41
41
  });
42
42
  });
43
43
 
44
- cu.processSerial();
44
+ cq.processSerial();
45
45
  });
46
46
 
47
- post("/api/v1/test2", () => {
48
- cu.list.push(() => {
47
+ post("/api/test2", () => {
48
+ cq.list.push(() => {
49
49
  return new Promise((resolve) => {
50
50
  ...
51
51
 
@@ -55,7 +55,7 @@ post("/api/v1/test2", () => {
55
55
  });
56
56
  });
57
57
 
58
- cu.processParallel(2);
58
+ cq.processParallel(2);
59
59
  });
60
60
 
61
61
  ...
@@ -1,2 +1,2 @@
1
- export * as CuModel from "./Model.js";
2
- export * as Cu from "./Service.js";
1
+ export * as CqModel from "./Model.js";
2
+ export * as Cq from "./Service.js";
package/dist/src/Main.js CHANGED
@@ -1,3 +1,3 @@
1
- export * as CuModel from "./Model.js";
2
- export * as Cu from "./Service.js";
1
+ export * as CqModel from "./Model.js";
2
+ export * as Cq from "./Service.js";
3
3
  //# sourceMappingURL=Main.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cimo/queue",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Queue job. Light, fast and secure.",
5
5
  "author": "cimo",
6
6
  "license": "MIT",