@develia/commons 0.2.22 → 0.2.24

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@develia/commons",
3
- "version": "0.2.22",
3
+ "version": "0.2.24",
4
4
  "author": {
5
5
  "name": "Antonio Gil Espinosa",
6
6
  "email": "antonio.gil.espinosa@gmail.com",
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "type": "module",
10
10
  "main": "src/index.js",
11
- "types": "lib/index.d.ts",
11
+ "types": "src/index.ts",
12
12
  "license": "proprietary",
13
13
  "dependencies": {
14
14
  },
package/src/timer.ts CHANGED
@@ -2,7 +2,7 @@ export default class Timer {
2
2
 
3
3
  private _callback: () => void;
4
4
  private _interval: number;
5
- private _intervalId: number | null;
5
+ private _intervalId: any | null;
6
6
 
7
7
  /**
8
8
  * @param callback Callback
package/src/result.js DELETED
@@ -1,14 +0,0 @@
1
- export default class Result {
2
- get success() {
3
- return this._success;
4
- }
5
- get value() {
6
- return this._value;
7
- }
8
- constructor(output, success) {
9
- this._value = output;
10
- this._success = success;
11
- }
12
- }
13
- //# sourceMappingURL=result.js.map
14
- //# sourceMappingURL=result.js.map
package/src/result.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"result.js","sourceRoot":"","sources":["result.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,MAAM;IACvB,IAAI,OAAO;QACP,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IAED,IAAI,KAAK;QACL,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IAED,YAAY,MAAM,EAAE,OAAO;QACvB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;IAC5B,CAAC;CAEJ;AACD,kCAAkC"}