rclnodejs 1.5.1 → 1.5.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.
Files changed (46) hide show
  1. package/README.md +25 -2
  2. package/binding.gyp +2 -0
  3. package/index.js +1 -1
  4. package/lib/action/client.js +1 -1
  5. package/lib/action/graph.js +1 -1
  6. package/lib/action/server.js +1 -1
  7. package/lib/action/server_goal_handle.js +1 -1
  8. package/lib/client.js +1 -1
  9. package/lib/clock.js +1 -1
  10. package/lib/context.js +1 -1
  11. package/lib/duration.js +1 -1
  12. package/lib/event_handler.js +1 -1
  13. package/lib/guard_condition.js +1 -1
  14. package/lib/lifecycle.js +1 -1
  15. package/lib/lifecycle_publisher.js +1 -1
  16. package/lib/logging.js +1 -1
  17. package/lib/native_loader.js +173 -0
  18. package/lib/node.js +1 -1
  19. package/lib/publisher.js +1 -1
  20. package/lib/serialization.js +1 -1
  21. package/lib/service.js +1 -1
  22. package/lib/subscription.js +1 -1
  23. package/lib/time.js +1 -1
  24. package/lib/time_source.js +1 -1
  25. package/lib/timer.js +1 -1
  26. package/lib/type_description_service.js +1 -1
  27. package/lib/utils.js +37 -0
  28. package/lib/validator.js +1 -1
  29. package/package.json +13 -12
  30. package/prebuilds/linux-arm64/humble-jammy-arm64-rclnodejs.node +0 -0
  31. package/prebuilds/linux-arm64/jazzy-noble-arm64-rclnodejs.node +0 -0
  32. package/prebuilds/linux-arm64/kilted-noble-arm64-rclnodejs.node +0 -0
  33. package/prebuilds/linux-x64/humble-jammy-x64-rclnodejs.node +0 -0
  34. package/prebuilds/linux-x64/jazzy-noble-x64-rclnodejs.node +0 -0
  35. package/prebuilds/linux-x64/kilted-noble-x64-rclnodejs.node +0 -0
  36. package/rosidl_gen/deallocator.js +1 -1
  37. package/rosidl_gen/generator.json +1 -1
  38. package/rosidl_gen/primitive_types.js +2 -2
  39. package/rosidl_gen/templates/message.dot +2 -2
  40. package/scripts/install.js +113 -0
  41. package/scripts/tag_prebuilds.js +70 -0
  42. package/src/addon.cpp +3 -0
  43. package/third_party/ref-napi/index.js +15 -0
  44. package/third_party/ref-napi/lib/ref.js +1741 -0
  45. package/third_party/ref-napi/src/ref_napi_bindings.cpp +736 -0
  46. package/third_party/ref-napi/src/ref_napi_bindings.h +26 -0
@@ -0,0 +1,26 @@
1
+ // Copyright (c) 2025, The Robot Web Tools Contributors
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ #ifndef THIRD_PARTY_REF_NAPI_SRC_REF_NAPI_BINDINGS_H_
16
+ #define THIRD_PARTY_REF_NAPI_SRC_REF_NAPI_BINDINGS_H_
17
+
18
+ #include <napi.h>
19
+
20
+ namespace rclnodejs {
21
+
22
+ Napi::Object InitRefNapi(Napi::Env env);
23
+
24
+ } // namespace rclnodejs
25
+
26
+ #endif // THIRD_PARTY_REF_NAPI_SRC_REF_NAPI_BINDINGS_H_