@imqueue/rpc 1.17.1 → 2.0.0
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/LICENSE +585 -13
- package/README.md +2 -1
- package/index.d.ts +16 -12
- package/index.js +16 -12
- package/package.json +15 -15
- package/src/IMQCache.d.ts +17 -11
- package/src/IMQClient.d.ts +26 -13
- package/src/IMQClient.js +49 -20
- package/src/IMQDelay.d.ts +17 -11
- package/src/IMQDelay.js +17 -11
- package/src/IMQLock.d.ts +17 -11
- package/src/IMQLock.js +0 -17
- package/src/IMQMetadata.d.ts +17 -11
- package/src/IMQRPCDescription.d.ts +17 -11
- package/src/IMQRPCDescription.js +0 -17
- package/src/IMQRPCError.d.ts +17 -11
- package/src/IMQRPCOptions.d.ts +18 -11
- package/src/IMQRPCOptions.js +17 -11
- package/src/IMQRPCRequest.d.ts +17 -11
- package/src/IMQRPCResponse.d.ts +17 -11
- package/src/IMQService.d.ts +18 -12
- package/src/IMQService.js +18 -12
- package/src/cache/ICache.d.ts +17 -11
- package/src/cache/RedisCache.d.ts +24 -17
- package/src/cache/RedisCache.js +11 -10
- package/src/cache/index.d.ts +19 -11
- package/src/cache/index.js +19 -11
- package/src/decorators/cache.d.ts +17 -11
- package/src/decorators/cache.js +17 -11
- package/src/decorators/expose.d.ts +17 -11
- package/src/decorators/expose.js +17 -11
- package/src/decorators/index.d.ts +19 -11
- package/src/decorators/index.js +19 -11
- package/src/decorators/indexed.js +19 -13
- package/src/decorators/lock.js +17 -11
- package/src/decorators/logged.d.ts +17 -11
- package/src/decorators/property.js +19 -13
- package/src/decorators/remote.d.ts +17 -11
- package/src/decorators/remote.js +17 -11
- package/src/helpers/fs.js +17 -11
- package/src/helpers/index.d.ts +18 -11
- package/src/helpers/index.js +18 -11
- package/src/helpers/os-uuid.js +17 -11
- package/src/helpers/pid.js +17 -11
- package/src/helpers/signature.js +17 -11
- package/src/index.d.ts +17 -11
- package/src/index.js +17 -11
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* IMQ-RPC Decorators: expose
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* I'm Queue Software Project
|
|
5
|
+
* Copyright (C) 2025 imqueue.com <support@imqueue.com>
|
|
5
6
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU General Public License as published by
|
|
9
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
9
11
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU General Public License
|
|
18
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
|
+
*
|
|
20
|
+
* If you want to use this code in a closed source (commercial) project, you can
|
|
21
|
+
* purchase a proprietary commercial license. Please contact us at
|
|
22
|
+
* <support@imqueue.com> to get commercial licensing options.
|
|
17
23
|
*/
|
|
18
24
|
import 'reflect-metadata';
|
|
19
25
|
/**
|
package/src/decorators/expose.js
CHANGED
|
@@ -4,19 +4,25 @@ exports.expose = expose;
|
|
|
4
4
|
/*!
|
|
5
5
|
* IMQ-RPC Decorators: expose
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* I'm Queue Software Project
|
|
8
|
+
* Copyright (C) 2025 imqueue.com <support@imqueue.com>
|
|
8
9
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* This program is free software: you can redistribute it and/or modify
|
|
11
|
+
* it under the terms of the GNU General Public License as published by
|
|
12
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
13
|
+
* (at your option) any later version.
|
|
12
14
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
15
|
+
* This program is distributed in the hope that it will be useful,
|
|
16
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
|
+
* GNU General Public License for more details.
|
|
19
|
+
*
|
|
20
|
+
* You should have received a copy of the GNU General Public License
|
|
21
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
22
|
+
*
|
|
23
|
+
* If you want to use this code in a closed source (commercial) project, you can
|
|
24
|
+
* purchase a proprietary commercial license. Please contact us at
|
|
25
|
+
* <support@imqueue.com> to get commercial licensing options.
|
|
20
26
|
*/
|
|
21
27
|
require("reflect-metadata");
|
|
22
28
|
const acorn = require("acorn");
|
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Copyright (
|
|
2
|
+
* Copyright (C) 2025 imqueue.com <support@imqueue.com>
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* copyright notice and this permission notice appear in all copies.
|
|
4
|
+
* I'm Queue Software Project
|
|
5
|
+
* Copyright (C) 2025 imqueue.com <support@imqueue.com>
|
|
7
6
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU General Public License as published by
|
|
9
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
11
|
+
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU General Public License
|
|
18
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
|
+
*
|
|
20
|
+
* If you want to use this code in a closed source (commercial) project, you can
|
|
21
|
+
* purchase a proprietary commercial license. Please contact us at
|
|
22
|
+
* <support@imqueue.com> to get commercial licensing options.
|
|
15
23
|
*/
|
|
16
24
|
export * from './expose';
|
|
17
25
|
export * from './remote';
|
package/src/decorators/index.js
CHANGED
|
@@ -15,19 +15,27 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/*!
|
|
18
|
-
* Copyright (
|
|
18
|
+
* Copyright (C) 2025 imqueue.com <support@imqueue.com>
|
|
19
19
|
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* copyright notice and this permission notice appear in all copies.
|
|
20
|
+
* I'm Queue Software Project
|
|
21
|
+
* Copyright (C) 2025 imqueue.com <support@imqueue.com>
|
|
23
22
|
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
23
|
+
* This program is free software: you can redistribute it and/or modify
|
|
24
|
+
* it under the terms of the GNU General Public License as published by
|
|
25
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
26
|
+
* (at your option) any later version.
|
|
27
|
+
*
|
|
28
|
+
* This program is distributed in the hope that it will be useful,
|
|
29
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
30
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
31
|
+
* GNU General Public License for more details.
|
|
32
|
+
*
|
|
33
|
+
* You should have received a copy of the GNU General Public License
|
|
34
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
35
|
+
*
|
|
36
|
+
* If you want to use this code in a closed source (commercial) project, you can
|
|
37
|
+
* purchase a proprietary commercial license. Please contact us at
|
|
38
|
+
* <support@imqueue.com> to get commercial licensing options.
|
|
31
39
|
*/
|
|
32
40
|
__exportStar(require("./expose"), exports);
|
|
33
41
|
__exportStar(require("./remote"), exports);
|
|
@@ -4,19 +4,25 @@ exports.indexed = indexed;
|
|
|
4
4
|
/*!
|
|
5
5
|
* IMQ-RPC Decorators: property
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
7
|
+
* I'm Queue Software Project
|
|
8
|
+
* Copyright (C) 2025 imqueue.com <support@imqueue.com>
|
|
9
|
+
*
|
|
10
|
+
* This program is free software: you can redistribute it and/or modify
|
|
11
|
+
* it under the terms of the GNU General Public License as published by
|
|
12
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
13
|
+
* (at your option) any later version.
|
|
14
|
+
*
|
|
15
|
+
* This program is distributed in the hope that it will be useful,
|
|
16
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
|
+
* GNU General Public License for more details.
|
|
19
|
+
*
|
|
20
|
+
* You should have received a copy of the GNU General Public License
|
|
21
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
22
|
+
*
|
|
23
|
+
* If you want to use this code in a closed source (commercial) project, you can
|
|
24
|
+
* purchase a proprietary commercial license. Please contact us at
|
|
25
|
+
* <support@imqueue.com> to get commercial licensing options.
|
|
20
26
|
*/
|
|
21
27
|
const __1 = require("..");
|
|
22
28
|
/**
|
package/src/decorators/lock.js
CHANGED
|
@@ -4,19 +4,25 @@ exports.lock = lock;
|
|
|
4
4
|
/*!
|
|
5
5
|
* IMQ-RPC Decorators: lock
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* I'm Queue Software Project
|
|
8
|
+
* Copyright (C) 2025 imqueue.com <support@imqueue.com>
|
|
8
9
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* This program is free software: you can redistribute it and/or modify
|
|
11
|
+
* it under the terms of the GNU General Public License as published by
|
|
12
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
13
|
+
* (at your option) any later version.
|
|
12
14
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
15
|
+
* This program is distributed in the hope that it will be useful,
|
|
16
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
|
+
* GNU General Public License for more details.
|
|
19
|
+
*
|
|
20
|
+
* You should have received a copy of the GNU General Public License
|
|
21
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
22
|
+
*
|
|
23
|
+
* If you want to use this code in a closed source (commercial) project, you can
|
|
24
|
+
* purchase a proprietary commercial license. Please contact us at
|
|
25
|
+
* <support@imqueue.com> to get commercial licensing options.
|
|
20
26
|
*/
|
|
21
27
|
const __1 = require("..");
|
|
22
28
|
/**
|
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* IMQ-RPC Decorators: logged
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* I'm Queue Software Project
|
|
5
|
+
* Copyright (C) 2025 imqueue.com <support@imqueue.com>
|
|
5
6
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU General Public License as published by
|
|
9
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
9
11
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU General Public License
|
|
18
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
|
+
*
|
|
20
|
+
* If you want to use this code in a closed source (commercial) project, you can
|
|
21
|
+
* purchase a proprietary commercial license. Please contact us at
|
|
22
|
+
* <support@imqueue.com> to get commercial licensing options.
|
|
17
23
|
*/
|
|
18
24
|
import { ILogger } from '@imqueue/core';
|
|
19
25
|
export type LoggedLogLevel = 'info' | 'log' | 'warn' | 'error';
|
|
@@ -4,19 +4,25 @@ exports.property = property;
|
|
|
4
4
|
/*!
|
|
5
5
|
* IMQ-RPC Decorators: property
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
7
|
+
* I'm Queue Software Project
|
|
8
|
+
* Copyright (C) 2025 imqueue.com <support@imqueue.com>
|
|
9
|
+
*
|
|
10
|
+
* This program is free software: you can redistribute it and/or modify
|
|
11
|
+
* it under the terms of the GNU General Public License as published by
|
|
12
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
13
|
+
* (at your option) any later version.
|
|
14
|
+
*
|
|
15
|
+
* This program is distributed in the hope that it will be useful,
|
|
16
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
|
+
* GNU General Public License for more details.
|
|
19
|
+
*
|
|
20
|
+
* You should have received a copy of the GNU General Public License
|
|
21
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
22
|
+
*
|
|
23
|
+
* If you want to use this code in a closed source (commercial) project, you can
|
|
24
|
+
* purchase a proprietary commercial license. Please contact us at
|
|
25
|
+
* <support@imqueue.com> to get commercial licensing options.
|
|
20
26
|
*/
|
|
21
27
|
const __1 = require("..");
|
|
22
28
|
/**
|
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* IMQ-RPC Decorators: remote
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* I'm Queue Software Project
|
|
5
|
+
* Copyright (C) 2025 imqueue.com <support@imqueue.com>
|
|
5
6
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* This program is free software: you can redistribute it and/or modify
|
|
8
|
+
* it under the terms of the GNU General Public License as published by
|
|
9
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
10
|
+
* (at your option) any later version.
|
|
9
11
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
12
|
+
* This program is distributed in the hope that it will be useful,
|
|
13
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15
|
+
* GNU General Public License for more details.
|
|
16
|
+
*
|
|
17
|
+
* You should have received a copy of the GNU General Public License
|
|
18
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
19
|
+
*
|
|
20
|
+
* If you want to use this code in a closed source (commercial) project, you can
|
|
21
|
+
* purchase a proprietary commercial license. Please contact us at
|
|
22
|
+
* <support@imqueue.com> to get commercial licensing options.
|
|
17
23
|
*/
|
|
18
24
|
/**
|
|
19
25
|
* Implements '@remote' decorator factory
|
package/src/decorators/remote.js
CHANGED
|
@@ -4,19 +4,25 @@ exports.remote = remote;
|
|
|
4
4
|
/*!
|
|
5
5
|
* IMQ-RPC Decorators: remote
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* I'm Queue Software Project
|
|
8
|
+
* Copyright (C) 2025 imqueue.com <support@imqueue.com>
|
|
8
9
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* This program is free software: you can redistribute it and/or modify
|
|
11
|
+
* it under the terms of the GNU General Public License as published by
|
|
12
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
13
|
+
* (at your option) any later version.
|
|
12
14
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
15
|
+
* This program is distributed in the hope that it will be useful,
|
|
16
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
|
+
* GNU General Public License for more details.
|
|
19
|
+
*
|
|
20
|
+
* You should have received a copy of the GNU General Public License
|
|
21
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
22
|
+
*
|
|
23
|
+
* If you want to use this code in a closed source (commercial) project, you can
|
|
24
|
+
* purchase a proprietary commercial license. Please contact us at
|
|
25
|
+
* <support@imqueue.com> to get commercial licensing options.
|
|
20
26
|
*/
|
|
21
27
|
/**
|
|
22
28
|
* Implements '@remote' decorator factory
|
package/src/helpers/fs.js
CHANGED
|
@@ -6,19 +6,25 @@ exports.writeFile = writeFile;
|
|
|
6
6
|
/*!
|
|
7
7
|
* IMQ-RPC helpers: fs
|
|
8
8
|
*
|
|
9
|
-
*
|
|
9
|
+
* I'm Queue Software Project
|
|
10
|
+
* Copyright (C) 2025 imqueue.com <support@imqueue.com>
|
|
10
11
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* This program is free software: you can redistribute it and/or modify
|
|
13
|
+
* it under the terms of the GNU General Public License as published by
|
|
14
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
+
* (at your option) any later version.
|
|
14
16
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
17
|
+
* This program is distributed in the hope that it will be useful,
|
|
18
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
+
* GNU General Public License for more details.
|
|
21
|
+
*
|
|
22
|
+
* You should have received a copy of the GNU General Public License
|
|
23
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
24
|
+
*
|
|
25
|
+
* If you want to use this code in a closed source (commercial) project, you can
|
|
26
|
+
* purchase a proprietary commercial license. Please contact us at
|
|
27
|
+
* <support@imqueue.com> to get commercial licensing options.
|
|
22
28
|
*/
|
|
23
29
|
const fs = require("fs");
|
|
24
30
|
/**
|
package/src/helpers/index.d.ts
CHANGED
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Copyright (c) 2018, imqueue.com <support@imqueue.com>
|
|
3
2
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* copyright notice and this permission notice appear in all copies.
|
|
3
|
+
* I'm Queue Software Project
|
|
4
|
+
* Copyright (C) 2025 imqueue.com <support@imqueue.com>
|
|
7
5
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
6
|
+
* This program is free software: you can redistribute it and/or modify
|
|
7
|
+
* it under the terms of the GNU General Public License as published by
|
|
8
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
9
|
+
* (at your option) any later version.
|
|
10
|
+
*
|
|
11
|
+
* This program is distributed in the hope that it will be useful,
|
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14
|
+
* GNU General Public License for more details.
|
|
15
|
+
*
|
|
16
|
+
* You should have received a copy of the GNU General Public License
|
|
17
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
18
|
+
*
|
|
19
|
+
* If you want to use this code in a closed source (commercial) project, you can
|
|
20
|
+
* purchase a proprietary commercial license. Please contact us at
|
|
21
|
+
* <support@imqueue.com> to get commercial licensing options.
|
|
15
22
|
*/
|
|
16
23
|
export * from './signature';
|
|
17
24
|
export * from './os-uuid';
|
package/src/helpers/index.js
CHANGED
|
@@ -15,19 +15,26 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/*!
|
|
18
|
-
* Copyright (c) 2018, imqueue.com <support@imqueue.com>
|
|
19
18
|
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* copyright notice and this permission notice appear in all copies.
|
|
19
|
+
* I'm Queue Software Project
|
|
20
|
+
* Copyright (C) 2025 imqueue.com <support@imqueue.com>
|
|
23
21
|
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
22
|
+
* This program is free software: you can redistribute it and/or modify
|
|
23
|
+
* it under the terms of the GNU General Public License as published by
|
|
24
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
25
|
+
* (at your option) any later version.
|
|
26
|
+
*
|
|
27
|
+
* This program is distributed in the hope that it will be useful,
|
|
28
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
29
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
30
|
+
* GNU General Public License for more details.
|
|
31
|
+
*
|
|
32
|
+
* You should have received a copy of the GNU General Public License
|
|
33
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
34
|
+
*
|
|
35
|
+
* If you want to use this code in a closed source (commercial) project, you can
|
|
36
|
+
* purchase a proprietary commercial license. Please contact us at
|
|
37
|
+
* <support@imqueue.com> to get commercial licensing options.
|
|
31
38
|
*/
|
|
32
39
|
__exportStar(require("./signature"), exports);
|
|
33
40
|
__exportStar(require("./os-uuid"), exports);
|
package/src/helpers/os-uuid.js
CHANGED
|
@@ -4,19 +4,25 @@ exports.osUuid = osUuid;
|
|
|
4
4
|
/*!
|
|
5
5
|
* IMQ-RPC helpers: osUuid
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* I'm Queue Software Project
|
|
8
|
+
* Copyright (C) 2025 imqueue.com <support@imqueue.com>
|
|
8
9
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* This program is free software: you can redistribute it and/or modify
|
|
11
|
+
* it under the terms of the GNU General Public License as published by
|
|
12
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
13
|
+
* (at your option) any later version.
|
|
12
14
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
15
|
+
* This program is distributed in the hope that it will be useful,
|
|
16
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
17
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
18
|
+
* GNU General Public License for more details.
|
|
19
|
+
*
|
|
20
|
+
* You should have received a copy of the GNU General Public License
|
|
21
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
22
|
+
*
|
|
23
|
+
* If you want to use this code in a closed source (commercial) project, you can
|
|
24
|
+
* purchase a proprietary commercial license. Please contact us at
|
|
25
|
+
* <support@imqueue.com> to get commercial licensing options.
|
|
20
26
|
*/
|
|
21
27
|
const { machineIdSync } = require('node-machine-id');
|
|
22
28
|
/**
|
package/src/helpers/pid.js
CHANGED
|
@@ -6,19 +6,25 @@ exports.forgetPid = forgetPid;
|
|
|
6
6
|
/*!
|
|
7
7
|
* IMQ-RPC helpers: pid, forgetPid
|
|
8
8
|
*
|
|
9
|
-
*
|
|
9
|
+
* I'm Queue Software Project
|
|
10
|
+
* Copyright (C) 2025 imqueue.com <support@imqueue.com>
|
|
10
11
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* This program is free software: you can redistribute it and/or modify
|
|
13
|
+
* it under the terms of the GNU General Public License as published by
|
|
14
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
15
|
+
* (at your option) any later version.
|
|
14
16
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
17
|
+
* This program is distributed in the hope that it will be useful,
|
|
18
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
19
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
20
|
+
* GNU General Public License for more details.
|
|
21
|
+
*
|
|
22
|
+
* You should have received a copy of the GNU General Public License
|
|
23
|
+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
24
|
+
*
|
|
25
|
+
* If you want to use this code in a closed source (commercial) project, you can
|
|
26
|
+
* purchase a proprietary commercial license. Please contact us at
|
|
27
|
+
* <support@imqueue.com> to get commercial licensing options.
|
|
22
28
|
*/
|
|
23
29
|
const path = require("path");
|
|
24
30
|
const fs = require("fs");
|