@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.
Files changed (47) hide show
  1. package/LICENSE +585 -13
  2. package/README.md +2 -1
  3. package/index.d.ts +16 -12
  4. package/index.js +16 -12
  5. package/package.json +15 -15
  6. package/src/IMQCache.d.ts +17 -11
  7. package/src/IMQClient.d.ts +26 -13
  8. package/src/IMQClient.js +49 -20
  9. package/src/IMQDelay.d.ts +17 -11
  10. package/src/IMQDelay.js +17 -11
  11. package/src/IMQLock.d.ts +17 -11
  12. package/src/IMQLock.js +0 -17
  13. package/src/IMQMetadata.d.ts +17 -11
  14. package/src/IMQRPCDescription.d.ts +17 -11
  15. package/src/IMQRPCDescription.js +0 -17
  16. package/src/IMQRPCError.d.ts +17 -11
  17. package/src/IMQRPCOptions.d.ts +18 -11
  18. package/src/IMQRPCOptions.js +17 -11
  19. package/src/IMQRPCRequest.d.ts +17 -11
  20. package/src/IMQRPCResponse.d.ts +17 -11
  21. package/src/IMQService.d.ts +18 -12
  22. package/src/IMQService.js +18 -12
  23. package/src/cache/ICache.d.ts +17 -11
  24. package/src/cache/RedisCache.d.ts +24 -17
  25. package/src/cache/RedisCache.js +11 -10
  26. package/src/cache/index.d.ts +19 -11
  27. package/src/cache/index.js +19 -11
  28. package/src/decorators/cache.d.ts +17 -11
  29. package/src/decorators/cache.js +17 -11
  30. package/src/decorators/expose.d.ts +17 -11
  31. package/src/decorators/expose.js +17 -11
  32. package/src/decorators/index.d.ts +19 -11
  33. package/src/decorators/index.js +19 -11
  34. package/src/decorators/indexed.js +19 -13
  35. package/src/decorators/lock.js +17 -11
  36. package/src/decorators/logged.d.ts +17 -11
  37. package/src/decorators/property.js +19 -13
  38. package/src/decorators/remote.d.ts +17 -11
  39. package/src/decorators/remote.js +17 -11
  40. package/src/helpers/fs.js +17 -11
  41. package/src/helpers/index.d.ts +18 -11
  42. package/src/helpers/index.js +18 -11
  43. package/src/helpers/os-uuid.js +17 -11
  44. package/src/helpers/pid.js +17 -11
  45. package/src/helpers/signature.js +17 -11
  46. package/src/index.d.ts +17 -11
  47. package/src/index.js +17 -11
@@ -4,19 +4,25 @@ exports.signature = signature;
4
4
  /*!
5
5
  * IMQ-RPC helpers: signature
6
6
  *
7
- * Copyright (c) 2018, imqueue.com <support@imqueue.com>
7
+ * I'm Queue Software Project
8
+ * Copyright (C) 2025 imqueue.com <support@imqueue.com>
8
9
  *
9
- * Permission to use, copy, modify, and/or distribute this software for any
10
- * purpose with or without fee is hereby granted, provided that the above
11
- * copyright notice and this permission notice appear in all copies.
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
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
14
- * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15
- * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
16
- * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17
- * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
18
- * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19
- * PERFORMANCE OF THIS SOFTWARE.
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 farmhash_1 = require("farmhash");
22
28
  /**
package/src/index.d.ts CHANGED
@@ -1,17 +1,23 @@
1
1
  /*!
2
- * Copyright (c) 2018, imqueue.com <support@imqueue.com>
2
+ * I'm Queue Software Project
3
+ * Copyright (C) 2025 imqueue.com <support@imqueue.com>
3
4
  *
4
- * Permission to use, copy, modify, and/or distribute this software for any
5
- * purpose with or without fee is hereby granted, provided that the above
6
- * copyright notice and this permission notice appear in all copies.
5
+ * This program is free software: you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation, either version 3 of the License, or
8
+ * (at your option) any later version.
7
9
  *
8
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
- * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
- * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
- * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
- * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
- * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
- * PERFORMANCE OF THIS SOFTWARE.
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
17
+ *
18
+ * If you want to use this code in a closed source (commercial) project, you can
19
+ * purchase a proprietary commercial license. Please contact us at
20
+ * <support@imqueue.com> to get commercial licensing options.
15
21
  */
16
22
  export * from './decorators';
17
23
  export * from './helpers';
package/src/index.js CHANGED
@@ -15,19 +15,25 @@ 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>
18
+ * I'm Queue Software Project
19
+ * Copyright (C) 2025 imqueue.com <support@imqueue.com>
19
20
  *
20
- * Permission to use, copy, modify, and/or distribute this software for any
21
- * purpose with or without fee is hereby granted, provided that the above
22
- * copyright notice and this permission notice appear in all copies.
21
+ * This program is free software: you can redistribute it and/or modify
22
+ * it under the terms of the GNU General Public License as published by
23
+ * the Free Software Foundation, either version 3 of the License, or
24
+ * (at your option) any later version.
23
25
  *
24
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
25
- * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
26
- * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
27
- * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
28
- * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
29
- * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
30
- * PERFORMANCE OF THIS SOFTWARE.
26
+ * This program is distributed in the hope that it will be useful,
27
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
28
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29
+ * GNU General Public License for more details.
30
+ *
31
+ * You should have received a copy of the GNU General Public License
32
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
33
+ *
34
+ * If you want to use this code in a closed source (commercial) project, you can
35
+ * purchase a proprietary commercial license. Please contact us at
36
+ * <support@imqueue.com> to get commercial licensing options.
31
37
  */
32
38
  __exportStar(require("./decorators"), exports);
33
39
  __exportStar(require("./helpers"), exports);