@ovok/native 1.16.1-dev.2133 → 1.16.1-dev.2139

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 (243) hide show
  1. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js +1 -0
  2. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  3. package/lib/commonjs/modules/bt-management/hooks/runtime-context.js.map +1 -1
  4. package/lib/commonjs/modules/bt-management/index.js +12 -0
  5. package/lib/commonjs/modules/bt-management/index.js.map +1 -1
  6. package/lib/commonjs/modules/bt-management/services/bt-manager.js +50 -0
  7. package/lib/commonjs/modules/bt-management/services/bt-manager.js.map +1 -1
  8. package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js +3 -0
  9. package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
  10. package/lib/commonjs/modules/bt-management/services/devices/bt-command-writer.js +4 -2
  11. package/lib/commonjs/modules/bt-management/services/devices/bt-command-writer.js.map +1 -1
  12. package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js +97 -28
  13. package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
  14. package/lib/commonjs/modules/bt-management/services/devices/bt-current-time.js +59 -0
  15. package/lib/commonjs/modules/bt-management/services/devices/bt-current-time.js.map +1 -0
  16. package/lib/commonjs/modules/bt-management/services/devices/bt-device-information.js +18 -37
  17. package/lib/commonjs/modules/bt-management/services/devices/bt-device-information.js.map +1 -1
  18. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js +17 -1
  19. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  20. package/lib/commonjs/modules/bt-management/services/devices/bt-notification-readiness.js +68 -0
  21. package/lib/commonjs/modules/bt-management/services/devices/bt-notification-readiness.js.map +1 -0
  22. package/lib/commonjs/modules/bt-management/services/devices/bt-pairing-retry.js +70 -0
  23. package/lib/commonjs/modules/bt-management/services/devices/bt-pairing-retry.js.map +1 -0
  24. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +14 -0
  25. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  26. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-details.js +77 -0
  27. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-details.js.map +1 -0
  28. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-frame.js +49 -0
  29. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-frame.js.map +1 -0
  30. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-racp.js +89 -0
  31. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-racp.js.map +1 -0
  32. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +35 -42
  33. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
  34. package/lib/commonjs/modules/bt-management/services/record-cursor.js +70 -0
  35. package/lib/commonjs/modules/bt-management/services/record-cursor.js.map +1 -0
  36. package/lib/commonjs/modules/bt-management/testing/fake-ble-manager.js +8 -0
  37. package/lib/commonjs/modules/bt-management/testing/fake-ble-manager.js.map +1 -1
  38. package/lib/commonjs/modules/bt-management/types/glucose-record-details.js +2 -0
  39. package/lib/commonjs/modules/bt-management/types/glucose-record-details.js.map +1 -0
  40. package/lib/commonjs/modules/bt-management/utils/result-identity.js +26 -13
  41. package/lib/commonjs/modules/bt-management/utils/result-identity.js.map +1 -1
  42. package/lib/commonjs/modules/bt-management/utils/wait.js +10 -0
  43. package/lib/commonjs/modules/bt-management/utils/wait.js.map +1 -0
  44. package/lib/commonjs/modules/next/bluetooth/ble-plx/ble-link.js +41 -4
  45. package/lib/commonjs/modules/next/bluetooth/ble-plx/ble-link.js.map +1 -1
  46. package/lib/commonjs/modules/next/bluetooth/connections.js +4 -0
  47. package/lib/commonjs/modules/next/bluetooth/connections.js.map +1 -1
  48. package/lib/commonjs/modules/next/bluetooth/driver.js +6 -0
  49. package/lib/commonjs/modules/next/bluetooth/driver.js.map +1 -1
  50. package/lib/commonjs/modules/next/bluetooth/react-native/ovok-sink.js +12 -1
  51. package/lib/commonjs/modules/next/bluetooth/react-native/ovok-sink.js.map +1 -1
  52. package/lib/commonjs/modules/next/bluetooth/readings.js +2 -1
  53. package/lib/commonjs/modules/next/bluetooth/readings.js.map +1 -1
  54. package/lib/commonjs/modules/next/bluetooth/stable-hash.js +16 -7
  55. package/lib/commonjs/modules/next/bluetooth/stable-hash.js.map +1 -1
  56. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js +1 -0
  57. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  58. package/lib/module/modules/bt-management/hooks/runtime-context.js.map +1 -1
  59. package/lib/module/modules/bt-management/index.js +1 -0
  60. package/lib/module/modules/bt-management/index.js.map +1 -1
  61. package/lib/module/modules/bt-management/services/bt-manager.js +50 -0
  62. package/lib/module/modules/bt-management/services/bt-manager.js.map +1 -1
  63. package/lib/module/modules/bt-management/services/custom/define-custom-device.js +3 -0
  64. package/lib/module/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
  65. package/lib/module/modules/bt-management/services/devices/bt-command-writer.js +4 -2
  66. package/lib/module/modules/bt-management/services/devices/bt-command-writer.js.map +1 -1
  67. package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js +97 -28
  68. package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
  69. package/lib/module/modules/bt-management/services/devices/bt-current-time.js +55 -0
  70. package/lib/module/modules/bt-management/services/devices/bt-current-time.js.map +1 -0
  71. package/lib/module/modules/bt-management/services/devices/bt-device-information.js +18 -37
  72. package/lib/module/modules/bt-management/services/devices/bt-device-information.js.map +1 -1
  73. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js +19 -3
  74. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  75. package/lib/module/modules/bt-management/services/devices/bt-notification-readiness.js +65 -0
  76. package/lib/module/modules/bt-management/services/devices/bt-notification-readiness.js.map +1 -0
  77. package/lib/module/modules/bt-management/services/devices/bt-pairing-retry.js +65 -0
  78. package/lib/module/modules/bt-management/services/devices/bt-pairing-retry.js.map +1 -0
  79. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +14 -0
  80. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  81. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-details.js +72 -0
  82. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-details.js.map +1 -0
  83. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-frame.js +40 -0
  84. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-frame.js.map +1 -0
  85. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-racp.js +85 -0
  86. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-racp.js.map +1 -0
  87. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +25 -32
  88. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
  89. package/lib/module/modules/bt-management/services/record-cursor.js +66 -0
  90. package/lib/module/modules/bt-management/services/record-cursor.js.map +1 -0
  91. package/lib/module/modules/bt-management/testing/fake-ble-manager.js +8 -0
  92. package/lib/module/modules/bt-management/testing/fake-ble-manager.js.map +1 -1
  93. package/lib/module/modules/bt-management/types/custom-device-definition.js +4 -0
  94. package/lib/module/modules/bt-management/types/custom-device-definition.js.map +1 -1
  95. package/lib/module/modules/bt-management/types/glucose-record-details.js +2 -0
  96. package/lib/module/modules/bt-management/types/glucose-record-details.js.map +1 -0
  97. package/lib/module/modules/bt-management/utils/result-identity.js +24 -12
  98. package/lib/module/modules/bt-management/utils/result-identity.js.map +1 -1
  99. package/lib/module/modules/bt-management/utils/wait.js +5 -0
  100. package/lib/module/modules/bt-management/utils/wait.js.map +1 -0
  101. package/lib/module/modules/next/bluetooth/ble-plx/ble-link.js +41 -4
  102. package/lib/module/modules/next/bluetooth/ble-plx/ble-link.js.map +1 -1
  103. package/lib/module/modules/next/bluetooth/connections.js +4 -0
  104. package/lib/module/modules/next/bluetooth/connections.js.map +1 -1
  105. package/lib/module/modules/next/bluetooth/driver.js +6 -0
  106. package/lib/module/modules/next/bluetooth/driver.js.map +1 -1
  107. package/lib/module/modules/next/bluetooth/react-native/ovok-sink.js +12 -1
  108. package/lib/module/modules/next/bluetooth/react-native/ovok-sink.js.map +1 -1
  109. package/lib/module/modules/next/bluetooth/readings.js +2 -1
  110. package/lib/module/modules/next/bluetooth/readings.js.map +1 -1
  111. package/lib/module/modules/next/bluetooth/stable-hash.js +15 -6
  112. package/lib/module/modules/next/bluetooth/stable-hash.js.map +1 -1
  113. package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-in.d.ts +1 -1
  114. package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  115. package/lib/typescript/commonjs/src/modules/bt-management/hooks/runtime-context.d.ts +1 -1
  116. package/lib/typescript/commonjs/src/modules/bt-management/hooks/runtime-context.d.ts.map +1 -1
  117. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts +1 -0
  118. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts.map +1 -1
  119. package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts +20 -0
  120. package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
  121. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/define-custom-device.d.ts +2 -1
  122. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
  123. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-command-writer.d.ts +3 -1
  124. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-command-writer.d.ts.map +1 -1
  125. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-connection-handler.d.ts +14 -1
  126. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-connection-handler.d.ts.map +1 -1
  127. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-current-time.d.ts +11 -0
  128. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-current-time.d.ts.map +1 -0
  129. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-device-information.d.ts +2 -1
  130. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-device-information.d.ts.map +1 -1
  131. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts +9 -1
  132. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  133. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-notification-readiness.d.ts +15 -0
  134. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-notification-readiness.d.ts.map +1 -0
  135. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-pairing-retry.d.ts +21 -0
  136. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-pairing-retry.d.ts.map +1 -0
  137. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts +2 -0
  138. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  139. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-details.d.ts +7 -0
  140. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-details.d.ts.map +1 -0
  141. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-frame.d.ts +16 -0
  142. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-frame.d.ts.map +1 -0
  143. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-racp.d.ts +8 -0
  144. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-racp.d.ts.map +1 -0
  145. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.d.ts.map +1 -1
  146. package/lib/typescript/commonjs/src/modules/bt-management/services/record-cursor.d.ts +21 -0
  147. package/lib/typescript/commonjs/src/modules/bt-management/services/record-cursor.d.ts.map +1 -0
  148. package/lib/typescript/commonjs/src/modules/bt-management/testing/fake-ble-manager.d.ts.map +1 -1
  149. package/lib/typescript/commonjs/src/modules/bt-management/types/command-sequencer.d.ts +6 -2
  150. package/lib/typescript/commonjs/src/modules/bt-management/types/command-sequencer.d.ts.map +1 -1
  151. package/lib/typescript/commonjs/src/modules/bt-management/types/create-device-params.d.ts +3 -0
  152. package/lib/typescript/commonjs/src/modules/bt-management/types/create-device-params.d.ts.map +1 -1
  153. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts +14 -1
  154. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  155. package/lib/typescript/commonjs/src/modules/bt-management/types/glucose-record-details.d.ts +33 -0
  156. package/lib/typescript/commonjs/src/modules/bt-management/types/glucose-record-details.d.ts.map +1 -0
  157. package/lib/typescript/commonjs/src/modules/bt-management/types/result-callback.d.ts +2 -0
  158. package/lib/typescript/commonjs/src/modules/bt-management/types/result-callback.d.ts.map +1 -1
  159. package/lib/typescript/commonjs/src/modules/bt-management/utils/result-identity.d.ts +5 -4
  160. package/lib/typescript/commonjs/src/modules/bt-management/utils/result-identity.d.ts.map +1 -1
  161. package/lib/typescript/commonjs/src/modules/bt-management/utils/wait.d.ts +3 -0
  162. package/lib/typescript/commonjs/src/modules/bt-management/utils/wait.d.ts.map +1 -0
  163. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/sync-progress-manager.d.ts +1 -1
  164. package/lib/typescript/commonjs/src/modules/next/bluetooth/ble-plx/ble-link.d.ts +1 -1
  165. package/lib/typescript/commonjs/src/modules/next/bluetooth/ble-plx/ble-link.d.ts.map +1 -1
  166. package/lib/typescript/commonjs/src/modules/next/bluetooth/connections.d.ts.map +1 -1
  167. package/lib/typescript/commonjs/src/modules/next/bluetooth/driver.d.ts +6 -1
  168. package/lib/typescript/commonjs/src/modules/next/bluetooth/driver.d.ts.map +1 -1
  169. package/lib/typescript/commonjs/src/modules/next/bluetooth/index.d.ts +1 -1
  170. package/lib/typescript/commonjs/src/modules/next/bluetooth/index.d.ts.map +1 -1
  171. package/lib/typescript/commonjs/src/modules/next/bluetooth/link.d.ts +12 -1
  172. package/lib/typescript/commonjs/src/modules/next/bluetooth/link.d.ts.map +1 -1
  173. package/lib/typescript/commonjs/src/modules/next/bluetooth/react-native/ovok-sink.d.ts.map +1 -1
  174. package/lib/typescript/commonjs/src/modules/next/bluetooth/snapshot.d.ts +4 -1
  175. package/lib/typescript/commonjs/src/modules/next/bluetooth/snapshot.d.ts.map +1 -1
  176. package/lib/typescript/commonjs/src/modules/next/bluetooth/stable-hash.d.ts +5 -2
  177. package/lib/typescript/commonjs/src/modules/next/bluetooth/stable-hash.d.ts.map +1 -1
  178. package/lib/typescript/module/src/modules/auth/hooks/use-sign-in.d.ts +1 -1
  179. package/lib/typescript/module/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  180. package/lib/typescript/module/src/modules/bt-management/hooks/runtime-context.d.ts +1 -1
  181. package/lib/typescript/module/src/modules/bt-management/hooks/runtime-context.d.ts.map +1 -1
  182. package/lib/typescript/module/src/modules/bt-management/index.d.ts +1 -0
  183. package/lib/typescript/module/src/modules/bt-management/index.d.ts.map +1 -1
  184. package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts +20 -0
  185. package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
  186. package/lib/typescript/module/src/modules/bt-management/services/custom/define-custom-device.d.ts +2 -1
  187. package/lib/typescript/module/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
  188. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-command-writer.d.ts +3 -1
  189. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-command-writer.d.ts.map +1 -1
  190. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-connection-handler.d.ts +14 -1
  191. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-connection-handler.d.ts.map +1 -1
  192. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-current-time.d.ts +11 -0
  193. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-current-time.d.ts.map +1 -0
  194. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-device-information.d.ts +2 -1
  195. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-device-information.d.ts.map +1 -1
  196. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts +9 -1
  197. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  198. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-notification-readiness.d.ts +15 -0
  199. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-notification-readiness.d.ts.map +1 -0
  200. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-pairing-retry.d.ts +21 -0
  201. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-pairing-retry.d.ts.map +1 -0
  202. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts +2 -0
  203. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  204. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-details.d.ts +7 -0
  205. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-details.d.ts.map +1 -0
  206. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-frame.d.ts +16 -0
  207. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-frame.d.ts.map +1 -0
  208. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-racp.d.ts +8 -0
  209. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose-racp.d.ts.map +1 -0
  210. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.d.ts.map +1 -1
  211. package/lib/typescript/module/src/modules/bt-management/services/record-cursor.d.ts +21 -0
  212. package/lib/typescript/module/src/modules/bt-management/services/record-cursor.d.ts.map +1 -0
  213. package/lib/typescript/module/src/modules/bt-management/testing/fake-ble-manager.d.ts.map +1 -1
  214. package/lib/typescript/module/src/modules/bt-management/types/command-sequencer.d.ts +6 -2
  215. package/lib/typescript/module/src/modules/bt-management/types/command-sequencer.d.ts.map +1 -1
  216. package/lib/typescript/module/src/modules/bt-management/types/create-device-params.d.ts +3 -0
  217. package/lib/typescript/module/src/modules/bt-management/types/create-device-params.d.ts.map +1 -1
  218. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts +14 -1
  219. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  220. package/lib/typescript/module/src/modules/bt-management/types/glucose-record-details.d.ts +33 -0
  221. package/lib/typescript/module/src/modules/bt-management/types/glucose-record-details.d.ts.map +1 -0
  222. package/lib/typescript/module/src/modules/bt-management/types/result-callback.d.ts +2 -0
  223. package/lib/typescript/module/src/modules/bt-management/types/result-callback.d.ts.map +1 -1
  224. package/lib/typescript/module/src/modules/bt-management/utils/result-identity.d.ts +5 -4
  225. package/lib/typescript/module/src/modules/bt-management/utils/result-identity.d.ts.map +1 -1
  226. package/lib/typescript/module/src/modules/bt-management/utils/wait.d.ts +3 -0
  227. package/lib/typescript/module/src/modules/bt-management/utils/wait.d.ts.map +1 -0
  228. package/lib/typescript/module/src/modules/data-sync/services/managers/sync-progress-manager.d.ts +1 -1
  229. package/lib/typescript/module/src/modules/next/bluetooth/ble-plx/ble-link.d.ts +1 -1
  230. package/lib/typescript/module/src/modules/next/bluetooth/ble-plx/ble-link.d.ts.map +1 -1
  231. package/lib/typescript/module/src/modules/next/bluetooth/connections.d.ts.map +1 -1
  232. package/lib/typescript/module/src/modules/next/bluetooth/driver.d.ts +6 -1
  233. package/lib/typescript/module/src/modules/next/bluetooth/driver.d.ts.map +1 -1
  234. package/lib/typescript/module/src/modules/next/bluetooth/index.d.ts +1 -1
  235. package/lib/typescript/module/src/modules/next/bluetooth/index.d.ts.map +1 -1
  236. package/lib/typescript/module/src/modules/next/bluetooth/link.d.ts +12 -1
  237. package/lib/typescript/module/src/modules/next/bluetooth/link.d.ts.map +1 -1
  238. package/lib/typescript/module/src/modules/next/bluetooth/react-native/ovok-sink.d.ts.map +1 -1
  239. package/lib/typescript/module/src/modules/next/bluetooth/snapshot.d.ts +4 -1
  240. package/lib/typescript/module/src/modules/next/bluetooth/snapshot.d.ts.map +1 -1
  241. package/lib/typescript/module/src/modules/next/bluetooth/stable-hash.d.ts +5 -2
  242. package/lib/typescript/module/src/modules/next/bluetooth/stable-hash.d.ts.map +1 -1
  243. package/package.json +1 -1
@@ -1,5 +1,6 @@
1
1
  import { Measurement } from "@ovok/core/next";
2
2
  import { BluetoothError } from "./errors";
3
+ import { DeviceInformation } from "./link";
3
4
  import { BluetoothPermission } from "./permissions";
4
5
  import { AdapterState } from "./transport";
5
6
  /** Where a device's connection stands. */
@@ -16,6 +17,8 @@ type NearbyDevice = {
16
17
  connection: ConnectionState;
17
18
  /** The last error its connection reported, or `null`. */
18
19
  error: BluetoothError | null;
20
+ /** What the device reported about itself on its last connection; absent until it has connected. */
21
+ information?: DeviceInformation;
19
22
  };
20
23
  /** Where saving a reading stands. */
21
24
  type SaveState = {
@@ -40,7 +43,7 @@ type DeviceReading = {
40
43
  /** Unique; the same for every resend of a stored reading that carries its time. */
41
44
  id: string;
42
45
  /** The device that sent it. */
43
- device: Pick<NearbyDevice, "id" | "key" | "name">;
46
+ device: Pick<NearbyDevice, "id" | "key" | "name" | "information">;
44
47
  /** The decoded measurement. */
45
48
  measurement: Measurement;
46
49
  /** When the app received it. */
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/next/bluetooth/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,0CAA0C;AAC1C,KAAK,eAAe,GAAG,MAAM,GAAG,YAAY,GAAG,WAAW,GAAG,WAAW,GAAG,cAAc,GAAG,QAAQ,CAAC;AAErG,6CAA6C;AAC7C,KAAK,YAAY,GAAG;IAElB,6CAA6C;IAC7C,EAAE,EAAE,MAAM,CAAC;IAEX,+CAA+C;IAC/C,GAAG,EAAE,MAAM,CAAC;IAEZ,0BAA0B;IAC1B,IAAI,EAAE,MAAM,CAAC;IAEb,4BAA4B;IAC5B,UAAU,EAAE,eAAe,CAAC;IAE5B,yDAAyD;IACzD,KAAK,EAAE,cAAc,GAAG,IAAI,CAAC;CAC9B,CAAC;AAEF,qCAAqC;AACrC,KAAK,SAAS,GACV;IAEA,qCAAqC;IACrC,MAAM,EAAE,QAAQ,CAAC;CAClB,GACC;IAEA,aAAa;IACb,MAAM,EAAE,OAAO,CAAC;CACjB,GACC;IAEA,uDAAuD;IACvD,MAAM,EAAE,QAAQ,CAAC;IAEjB,oDAAoD;IACpD,OAAO,EAAE,MAAM,CAAC;CACjB,GACC;IAEA,qEAAqE;IACrE,MAAM,EAAE,QAAQ,CAAC;IAEjB,oCAAoC;IACpC,KAAK,EAAE,cAAc,CAAC;CACvB,CAAC;AAEJ,8DAA8D;AAC9D,KAAK,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EAAE,mBAAmB,GAAG,SAAS,CAAC;IAE5C,uEAAuE;IACvE,QAAQ,EAAE,OAAO,CAAC;IAElB,kEAAkE;IAClE,SAAS,EAAE,cAAc,GAAG,IAAI,CAAC;IAEjC,uDAAuD;IACvD,OAAO,EAAE,SAAS,YAAY,EAAE,CAAC;IAEjC,6EAA6E;IAC7E,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IAE1B,qCAAqC;IACrC,QAAQ,EAAE,SAAS,aAAa,EAAE,CAAC;CACpC,CAAC;AAEF,YAAY,EAAE,iBAAiB,EAAE,eAAe,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC"}
@@ -1,3 +1,6 @@
1
- /** A short hash of `value` that ignores key order and is the same on every run. */
2
- export declare const stableHash: (value: unknown) => string;
1
+ /** A short hash of `value` that ignores key order, is the same on every run and reads dates by their wall clock. */
2
+ declare const stableHash: (value: unknown) => string;
3
+ /** `stableHash` as SDKs before 1.16.1 computed it, reading dates as instants; for finding what they saved. */
4
+ declare const instantStableHash: (value: unknown) => string;
5
+ export { instantStableHash, stableHash };
3
6
  //# sourceMappingURL=stable-hash.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stable-hash.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/next/bluetooth/stable-hash.ts"],"names":[],"mappings":"AAoCA,mFAAmF;AACnF,eAAO,MAAM,UAAU,GAAI,OAAO,OAAO,KAAG,MAAmD,CAAC"}
1
+ {"version":3,"file":"stable-hash.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/next/bluetooth/stable-hash.ts"],"names":[],"mappings":"AA8CA,oHAAoH;AACpH,QAAA,MAAM,UAAU,GAAI,OAAO,OAAO,KAAG,MAA8D,CAAC;AAEpG,8GAA8G;AAC9G,QAAA,MAAM,iBAAiB,GAAI,OAAO,OAAO,KAAG,MAA4D,CAAC;AAEzG,OAAO,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ovok/native",
3
- "version": "1.16.1-dev.2133+8072ba2",
3
+ "version": "1.16.1-dev.2139+3d68d1e",
4
4
  "description": "React native component sdk for OVOK",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",