@bitblit/ratchet-common 4.0.98-alpha → 4.0.102-alpha

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 (298) hide show
  1. package/dist/{types/2d → 2d}/line-2d.d.ts +1 -1
  2. package/dist/{types/2d → 2d}/poly-line-2d.d.ts +1 -1
  3. package/dist/{types/2d → 2d}/ratchet-2d.d.ts +4 -4
  4. package/dist/{es/2d → 2d}/ratchet-2d.js +1 -1
  5. package/dist/2d/ratchet-2d.spec.js +117 -0
  6. package/dist/{types/build → build}/ratchet-common-info.d.ts +1 -1
  7. package/dist/{types/histogram → histogram}/histogram.d.ts +1 -4
  8. package/dist/{es/histogram → histogram}/histogram.js +1 -3
  9. package/dist/histogram/histogram.spec.js +19 -0
  10. package/dist/jwt/common-jwt-token.d.ts +6 -0
  11. package/dist/{types/jwt → jwt}/jwt-ratchet-like.d.ts +3 -6
  12. package/dist/{types/jwt → jwt}/jwt-ratchet.d.ts +4 -13
  13. package/dist/{es/jwt → jwt}/jwt-ratchet.js +12 -7
  14. package/dist/jwt/jwt-ratchet.spec.js +49 -0
  15. package/dist/{types/jwt → jwt}/jwt-token-base.d.ts +0 -4
  16. package/dist/lang/array-ratchet.d.ts +14 -0
  17. package/dist/{es/lang → lang}/array-ratchet.js +2 -2
  18. package/dist/lang/array-ratchet.spec.js +68 -0
  19. package/dist/{types/lang → lang}/base64-ratchet.d.ts +1 -1
  20. package/dist/{es/lang → lang}/base64-ratchet.js +1 -1
  21. package/dist/lang/base64-ratchet.spec.js +28 -0
  22. package/dist/{es/lang → lang}/boolean-ratchet.js +1 -1
  23. package/dist/lang/boolean-ratchet.spec.js +81 -0
  24. package/dist/{types/lang → lang}/composite-last-success-provider.d.ts +1 -2
  25. package/dist/{es/lang → lang}/composite-last-success-provider.js +2 -0
  26. package/dist/lang/composite-last-success-provider.spec.js +26 -0
  27. package/dist/{es/lang → lang}/date-ratchet.js +5 -5
  28. package/dist/lang/date-ratchet.spec.js +21 -0
  29. package/dist/{es/lang → lang}/duration-ratchet.js +1 -1
  30. package/dist/lang/duration-ratchet.spec.js +39 -0
  31. package/dist/lang/enum-ratchet.d.ts +5 -0
  32. package/dist/{es/lang → lang}/enum-ratchet.js +1 -1
  33. package/dist/lang/enum-ratchet.spec.d.ts +5 -0
  34. package/dist/lang/enum-ratchet.spec.js +31 -0
  35. package/dist/{es/lang → lang}/error-ratchet.js +1 -1
  36. package/dist/lang/error-ratchet.spec.js +20 -0
  37. package/dist/lang/esm-ratchet.d.ts +4 -0
  38. package/dist/lang/esm-ratchet.js +11 -0
  39. package/dist/{types/lang → lang}/expiring-object.d.ts +1 -1
  40. package/dist/{es/lang → lang}/expiring-object.js +13 -4
  41. package/dist/lang/expiring-object.spec.js +51 -0
  42. package/dist/{es/lang → lang}/geolocation-ratchet.js +4 -4
  43. package/dist/lang/geolocation-ratchet.spec.d.ts +1 -0
  44. package/dist/lang/geolocation-ratchet.spec.js +74 -0
  45. package/dist/{es/lang → lang}/global-ratchet.js +3 -3
  46. package/dist/lang/global-ratchet.spec.d.ts +1 -0
  47. package/dist/lang/global-ratchet.spec.js +14 -0
  48. package/dist/{es/lang → lang}/key-value.js +2 -0
  49. package/dist/lang/last-success-provider.d.ts +3 -0
  50. package/dist/lang/last-success-provider.js +1 -0
  51. package/dist/{types/lang → lang}/map-ratchet.d.ts +1 -1
  52. package/dist/{es/lang → lang}/map-ratchet.js +3 -3
  53. package/dist/lang/map-ratchet.spec.d.ts +1 -0
  54. package/dist/lang/map-ratchet.spec.js +90 -0
  55. package/dist/lang/no.spec.d.ts +1 -0
  56. package/dist/lang/no.spec.js +7 -0
  57. package/dist/{es/lang → lang}/number-ratchet.js +3 -3
  58. package/dist/lang/number-ratchet.spec.d.ts +1 -0
  59. package/dist/lang/number-ratchet.spec.js +118 -0
  60. package/dist/lang/parsed-url.js +1 -0
  61. package/dist/lang/promise-ratchet.d.ts +18 -0
  62. package/dist/{es/lang → lang}/promise-ratchet.js +5 -5
  63. package/dist/lang/promise-ratchet.spec.d.ts +1 -0
  64. package/dist/lang/promise-ratchet.spec.js +74 -0
  65. package/dist/{es/lang → lang}/require-ratchet.js +1 -1
  66. package/dist/lang/require-ratchet.spec.d.ts +3 -0
  67. package/dist/lang/require-ratchet.spec.js +80 -0
  68. package/dist/{types/lang → lang}/stop-watch.d.ts +1 -1
  69. package/dist/{es/lang → lang}/stop-watch.js +9 -8
  70. package/dist/{es/lang → lang}/string-ratchet.js +2 -2
  71. package/dist/lang/string-ratchet.spec.d.ts +1 -0
  72. package/dist/lang/string-ratchet.spec.js +158 -0
  73. package/dist/lang/time-zone-ratchet.d.ts +19 -0
  74. package/dist/{es/lang → lang}/time-zone-ratchet.js +2 -1
  75. package/dist/lang/time-zone-ratchet.spec.d.ts +1 -0
  76. package/dist/lang/time-zone-ratchet.spec.js +40 -0
  77. package/dist/{types/lang → lang}/timeout-token.d.ts +1 -1
  78. package/dist/{es/lang → lang}/timeout-token.js +5 -3
  79. package/dist/lang/timeout-token.spec.d.ts +1 -0
  80. package/dist/lang/timeout-token.spec.js +9 -0
  81. package/dist/{types/lang → lang}/transform-ratchet.d.ts +1 -1
  82. package/dist/{es/lang → lang}/transform-ratchet.js +1 -1
  83. package/dist/lang/transform-ratchet.spec.d.ts +1 -0
  84. package/dist/lang/transform-ratchet.spec.js +118 -0
  85. package/dist/logger/classic-single-line-log-message-formatter.d.ts +6 -0
  86. package/dist/{types/logger → logger}/log-message-builder.d.ts +2 -2
  87. package/dist/{es/logger → logger}/log-message-builder.js +1 -0
  88. package/dist/{types/logger → logger}/log-message-formatter.d.ts +2 -2
  89. package/dist/logger/log-message-formatter.js +1 -0
  90. package/dist/{types/logger → logger}/log-message-processor.d.ts +1 -1
  91. package/dist/logger/log-message-processor.js +1 -0
  92. package/dist/{types/logger → logger}/log-message.d.ts +1 -1
  93. package/dist/logger/log-message.js +1 -0
  94. package/dist/{types/logger → logger}/log-snapshot.d.ts +1 -1
  95. package/dist/logger/log-snapshot.js +1 -0
  96. package/dist/{types/logger → logger}/logger-instance.d.ts +6 -6
  97. package/dist/{es/logger → logger}/logger-instance.js +15 -8
  98. package/dist/{types/logger → logger}/logger-meta.d.ts +1 -1
  99. package/dist/logger/logger-meta.js +1 -0
  100. package/dist/{types/logger → logger}/logger-options.d.ts +4 -4
  101. package/dist/logger/logger-options.js +1 -0
  102. package/dist/{types/logger → logger}/logger-ring-buffer.d.ts +2 -2
  103. package/dist/{es/logger → logger}/logger-ring-buffer.js +7 -6
  104. package/dist/{types/logger → logger}/logger-util.d.ts +2 -2
  105. package/dist/{es/logger → logger}/logger-util.js +10 -10
  106. package/dist/logger/logger-util.spec.d.ts +1 -0
  107. package/dist/logger/logger-util.spec.js +9 -0
  108. package/dist/{types/logger → logger}/logger.d.ts +7 -16
  109. package/dist/{es/logger → logger}/logger.js +14 -14
  110. package/dist/logger/logger.spec.d.ts +1 -0
  111. package/dist/logger/logger.spec.js +134 -0
  112. package/dist/logger/none-log-message-formatter.d.ts +6 -0
  113. package/dist/logger/structured-json-log-message-formatter.d.ts +6 -0
  114. package/dist/{types/network → network}/browser-local-ip-provider.d.ts +1 -1
  115. package/dist/{es/network → network}/browser-local-ip-provider.js +3 -3
  116. package/dist/network/browser-local-ip-provider.spec.d.ts +1 -0
  117. package/dist/network/browser-local-ip-provider.spec.js +16 -0
  118. package/dist/{types/network → network}/fixed-local-ip-provider.d.ts +1 -1
  119. package/dist/{es/network → network}/fixed-local-ip-provider.js +1 -0
  120. package/dist/network/local-ip-provider.d.ts +3 -0
  121. package/dist/network/local-ip-provider.js +1 -0
  122. package/dist/{types/network → network}/network-ratchet.d.ts +1 -1
  123. package/dist/{es/network → network}/network-ratchet.js +2 -2
  124. package/dist/network/network-ratchet.spec.d.ts +1 -0
  125. package/dist/network/network-ratchet.spec.js +13 -0
  126. package/dist/{types/stream → stream}/buffer-writable.d.ts +2 -2
  127. package/dist/{es/stream → stream}/buffer-writable.js +1 -1
  128. package/dist/stream/multi-stream.d.ts +7 -0
  129. package/dist/stream/multi-stream.js +12 -0
  130. package/dist/{types/stream → stream}/stream-ratchet.d.ts +2 -2
  131. package/dist/{es/stream → stream}/stream-ratchet.js +2 -2
  132. package/dist/stream/stream-ratchet.spec.d.ts +1 -0
  133. package/dist/stream/stream-ratchet.spec.js +13 -0
  134. package/dist/{types/stream → stream}/string-writable.d.ts +1 -1
  135. package/dist/{es/stream → stream}/string-writable.js +1 -1
  136. package/dist/stream/string-writable.spec.d.ts +1 -0
  137. package/dist/stream/string-writable.spec.js +12 -0
  138. package/dist/{es/third-party → third-party}/google/google-recaptcha-ratchet.js +3 -3
  139. package/dist/third-party/google/google-recaptcha-ratchet.spec.d.ts +1 -0
  140. package/dist/third-party/google/google-recaptcha-ratchet.spec.js +20 -0
  141. package/dist/{types/third-party → third-party}/twilio/twilio-ratchet.d.ts +0 -4
  142. package/dist/{es/third-party → third-party}/twilio/twilio-ratchet.js +8 -5
  143. package/dist/{types/transform → transform}/built-in-transforms.d.ts +1 -1
  144. package/dist/{es/transform → transform}/built-in-transforms.js +2 -2
  145. package/dist/transform/transform-rule.js +1 -0
  146. package/dist/{types/tx → tx}/transaction-configuration.d.ts +2 -2
  147. package/dist/tx/transaction-configuration.js +1 -0
  148. package/dist/{types/tx → tx}/transaction-ratchet.d.ts +3 -3
  149. package/dist/{es/tx → tx}/transaction-ratchet.js +4 -4
  150. package/dist/tx/transaction-ratchet.spec.d.ts +1 -0
  151. package/dist/tx/transaction-ratchet.spec.js +130 -0
  152. package/dist/{types/tx → tx}/transaction-result.d.ts +1 -1
  153. package/dist/tx/transaction-result.js +1 -0
  154. package/dist/tx/transaction-step.js +1 -0
  155. package/package.json +10 -11
  156. package/dist/cjs/2d/line-2d.js +0 -2
  157. package/dist/cjs/2d/plane-2d.js +0 -2
  158. package/dist/cjs/2d/point-2d.js +0 -2
  159. package/dist/cjs/2d/poly-line-2d.js +0 -2
  160. package/dist/cjs/2d/ratchet-2d.js +0 -250
  161. package/dist/cjs/build/build-information.js +0 -2
  162. package/dist/cjs/build/ratchet-common-info.js +0 -18
  163. package/dist/cjs/histogram/histogram-entry.js +0 -2
  164. package/dist/cjs/histogram/histogram.js +0 -54
  165. package/dist/cjs/index.js +0 -74
  166. package/dist/cjs/jwt/common-jwt-token.js +0 -2
  167. package/dist/cjs/jwt/expired-jwt-handling.js +0 -9
  168. package/dist/cjs/jwt/jwt-ratchet-like.js +0 -2
  169. package/dist/cjs/jwt/jwt-ratchet.js +0 -164
  170. package/dist/cjs/jwt/jwt-token-base.js +0 -2
  171. package/dist/cjs/lang/array-ratchet.js +0 -87
  172. package/dist/cjs/lang/base64-ratchet.js +0 -49
  173. package/dist/cjs/lang/boolean-ratchet.js +0 -49
  174. package/dist/cjs/lang/composite-last-success-provider.js +0 -28
  175. package/dist/cjs/lang/date-ratchet.js +0 -33
  176. package/dist/cjs/lang/duration-ratchet.js +0 -46
  177. package/dist/cjs/lang/enum-ratchet.js +0 -34
  178. package/dist/cjs/lang/error-ratchet.js +0 -49
  179. package/dist/cjs/lang/expiring-object.js +0 -68
  180. package/dist/cjs/lang/geolocation-ratchet.js +0 -267
  181. package/dist/cjs/lang/global-ratchet.js +0 -48
  182. package/dist/cjs/lang/key-value.js +0 -6
  183. package/dist/cjs/lang/last-success-provider.js +0 -2
  184. package/dist/cjs/lang/map-ratchet.js +0 -168
  185. package/dist/cjs/lang/no.js +0 -8
  186. package/dist/cjs/lang/number-ratchet.js +0 -159
  187. package/dist/cjs/lang/parsed-url.js +0 -2
  188. package/dist/cjs/lang/promise-ratchet.js +0 -142
  189. package/dist/cjs/lang/require-ratchet.js +0 -60
  190. package/dist/cjs/lang/stop-watch.js +0 -117
  191. package/dist/cjs/lang/string-ratchet.js +0 -195
  192. package/dist/cjs/lang/time-zone-ratchet.js +0 -80
  193. package/dist/cjs/lang/timeout-token.js +0 -19
  194. package/dist/cjs/lang/transform-ratchet.js +0 -70
  195. package/dist/cjs/logger/classic-single-line-log-message-formatter.js +0 -18
  196. package/dist/cjs/logger/log-message-builder.js +0 -51
  197. package/dist/cjs/logger/log-message-format-type.js +0 -9
  198. package/dist/cjs/logger/log-message-formatter.js +0 -2
  199. package/dist/cjs/logger/log-message-processor.js +0 -2
  200. package/dist/cjs/logger/log-message.js +0 -2
  201. package/dist/cjs/logger/log-snapshot.js +0 -2
  202. package/dist/cjs/logger/logger-instance.js +0 -207
  203. package/dist/cjs/logger/logger-level-name.js +0 -12
  204. package/dist/cjs/logger/logger-meta.js +0 -2
  205. package/dist/cjs/logger/logger-options.js +0 -2
  206. package/dist/cjs/logger/logger-output-function.js +0 -9
  207. package/dist/cjs/logger/logger-ring-buffer.js +0 -76
  208. package/dist/cjs/logger/logger-util.js +0 -49
  209. package/dist/cjs/logger/logger.js +0 -139
  210. package/dist/cjs/logger/none-log-message-formatter.js +0 -9
  211. package/dist/cjs/logger/structured-json-log-message-formatter.js +0 -24
  212. package/dist/cjs/network/browser-local-ip-provider.js +0 -25
  213. package/dist/cjs/network/fixed-local-ip-provider.js +0 -12
  214. package/dist/cjs/network/local-ip-provider.js +0 -2
  215. package/dist/cjs/network/network-ratchet.js +0 -106
  216. package/dist/cjs/stream/buffer-writable.js +0 -20
  217. package/dist/cjs/stream/stream-ratchet.js +0 -72
  218. package/dist/cjs/stream/string-writable.js +0 -18
  219. package/dist/cjs/third-party/google/google-recaptcha-ratchet.js +0 -33
  220. package/dist/cjs/third-party/twilio/twilio-ratchet.js +0 -75
  221. package/dist/cjs/transform/built-in-transforms.js +0 -195
  222. package/dist/cjs/transform/transform-rule.js +0 -2
  223. package/dist/cjs/tx/transaction-configuration.js +0 -2
  224. package/dist/cjs/tx/transaction-final-state.js +0 -9
  225. package/dist/cjs/tx/transaction-ratchet.js +0 -80
  226. package/dist/cjs/tx/transaction-result.js +0 -2
  227. package/dist/cjs/tx/transaction-step.js +0 -2
  228. package/dist/es/index.js +0 -71
  229. package/dist/tsconfig.cjs.tsbuildinfo +0 -1
  230. package/dist/tsconfig.es.tsbuildinfo +0 -1
  231. package/dist/tsconfig.types.tsbuildinfo +0 -1
  232. package/dist/types/index.d.ts +0 -74
  233. package/dist/types/jwt/common-jwt-token.d.ts +0 -17
  234. package/dist/types/lang/array-ratchet.d.ts +0 -30
  235. package/dist/types/lang/enum-ratchet.d.ts +0 -12
  236. package/dist/types/lang/last-success-provider.d.ts +0 -4
  237. package/dist/types/lang/promise-ratchet.d.ts +0 -32
  238. package/dist/types/lang/time-zone-ratchet.d.ts +0 -50
  239. package/dist/types/logger/classic-single-line-log-message-formatter.d.ts +0 -6
  240. package/dist/types/logger/none-log-message-formatter.d.ts +0 -6
  241. package/dist/types/logger/structured-json-log-message-formatter.d.ts +0 -6
  242. package/dist/types/network/local-ip-provider.d.ts +0 -4
  243. /package/dist/{es/2d → 2d}/line-2d.js +0 -0
  244. /package/dist/{types/2d → 2d}/plane-2d.d.ts +0 -0
  245. /package/dist/{es/2d → 2d}/plane-2d.js +0 -0
  246. /package/dist/{types/2d → 2d}/point-2d.d.ts +0 -0
  247. /package/dist/{es/2d → 2d}/point-2d.js +0 -0
  248. /package/dist/{es/2d → 2d}/poly-line-2d.js +0 -0
  249. /package/dist/{es/build/build-information.js → 2d/ratchet-2d.spec.d.ts} +0 -0
  250. /package/dist/{types/build → build}/build-information.d.ts +0 -0
  251. /package/dist/{es/histogram/histogram-entry.js → build/build-information.js} +0 -0
  252. /package/dist/{es/build → build}/ratchet-common-info.js +0 -0
  253. /package/dist/{types/histogram → histogram}/histogram-entry.d.ts +0 -0
  254. /package/dist/{es/jwt/common-jwt-token.js → histogram/histogram-entry.js} +0 -0
  255. /package/dist/{es/jwt/jwt-ratchet-like.js → histogram/histogram.spec.d.ts} +0 -0
  256. /package/dist/{es/jwt/jwt-token-base.js → index.d.ts} +0 -0
  257. /package/dist/{es/lang/last-success-provider.js → index.js} +0 -0
  258. /package/dist/{es/lang/parsed-url.js → jwt/common-jwt-token.js} +0 -0
  259. /package/dist/{types/jwt → jwt}/expired-jwt-handling.d.ts +0 -0
  260. /package/dist/{es/jwt → jwt}/expired-jwt-handling.js +0 -0
  261. /package/dist/{es/logger/log-message-formatter.js → jwt/jwt-ratchet-like.js} +0 -0
  262. /package/dist/{es/logger/log-message-processor.js → jwt/jwt-ratchet.spec.d.ts} +0 -0
  263. /package/dist/{es/logger/log-message.js → jwt/jwt-token-base.js} +0 -0
  264. /package/dist/{es/logger/log-snapshot.js → lang/array-ratchet.spec.d.ts} +0 -0
  265. /package/dist/{es/logger/logger-meta.js → lang/base64-ratchet.spec.d.ts} +0 -0
  266. /package/dist/{types/lang → lang}/boolean-ratchet.d.ts +0 -0
  267. /package/dist/{es/logger/logger-options.js → lang/boolean-ratchet.spec.d.ts} +0 -0
  268. /package/dist/{es/network/local-ip-provider.js → lang/composite-last-success-provider.spec.d.ts} +0 -0
  269. /package/dist/{types/lang → lang}/date-ratchet.d.ts +0 -0
  270. /package/dist/{es/transform/transform-rule.js → lang/date-ratchet.spec.d.ts} +0 -0
  271. /package/dist/{types/lang → lang}/duration-ratchet.d.ts +0 -0
  272. /package/dist/{es/tx/transaction-configuration.js → lang/duration-ratchet.spec.d.ts} +0 -0
  273. /package/dist/{types/lang → lang}/error-ratchet.d.ts +0 -0
  274. /package/dist/{es/tx/transaction-result.js → lang/error-ratchet.spec.d.ts} +0 -0
  275. /package/dist/{es/tx/transaction-step.js → lang/expiring-object.spec.d.ts} +0 -0
  276. /package/dist/{types/lang → lang}/geolocation-ratchet.d.ts +0 -0
  277. /package/dist/{types/lang → lang}/global-ratchet.d.ts +0 -0
  278. /package/dist/{types/lang → lang}/key-value.d.ts +0 -0
  279. /package/dist/{types/lang → lang}/no.d.ts +0 -0
  280. /package/dist/{es/lang → lang}/no.js +0 -0
  281. /package/dist/{types/lang → lang}/number-ratchet.d.ts +0 -0
  282. /package/dist/{types/lang → lang}/parsed-url.d.ts +0 -0
  283. /package/dist/{types/lang → lang}/require-ratchet.d.ts +0 -0
  284. /package/dist/{types/lang → lang}/string-ratchet.d.ts +0 -0
  285. /package/dist/{es/logger → logger}/classic-single-line-log-message-formatter.js +0 -0
  286. /package/dist/{types/logger → logger}/log-message-format-type.d.ts +0 -0
  287. /package/dist/{es/logger → logger}/log-message-format-type.js +0 -0
  288. /package/dist/{types/logger → logger}/logger-level-name.d.ts +0 -0
  289. /package/dist/{es/logger → logger}/logger-level-name.js +0 -0
  290. /package/dist/{types/logger → logger}/logger-output-function.d.ts +0 -0
  291. /package/dist/{es/logger → logger}/logger-output-function.js +0 -0
  292. /package/dist/{es/logger → logger}/none-log-message-formatter.js +0 -0
  293. /package/dist/{es/logger → logger}/structured-json-log-message-formatter.js +0 -0
  294. /package/dist/{types/third-party → third-party}/google/google-recaptcha-ratchet.d.ts +0 -0
  295. /package/dist/{types/transform → transform}/transform-rule.d.ts +0 -0
  296. /package/dist/{types/tx → tx}/transaction-final-state.d.ts +0 -0
  297. /package/dist/{es/tx → tx}/transaction-final-state.js +0 -0
  298. /package/dist/{types/tx → tx}/transaction-step.d.ts +0 -0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes