@snap/camera-kit 0.15.1 → 0.17.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 (418) hide show
  1. package/LICENSE.md +139 -3873
  2. package/README.md +3 -3
  3. package/docs/html/assets/main.js +4 -3
  4. package/docs/html/assets/navigation.js +1 -0
  5. package/docs/html/assets/search.js +1 -1
  6. package/docs/html/assets/style.css +72 -25
  7. package/docs/html/classes/CameraKit.html +11 -196
  8. package/docs/html/classes/CameraKitSession.html +43 -366
  9. package/docs/html/classes/CameraKitSource.html +14 -223
  10. package/docs/html/classes/LensPerformanceMeasurement.html +9 -184
  11. package/docs/html/classes/LensPerformanceMetrics.html +7 -148
  12. package/docs/html/classes/LensRepository.html +17 -234
  13. package/docs/html/classes/Transform2D.html +7 -176
  14. package/docs/html/classes/TypedCustomEvent.html +4 -178
  15. package/docs/html/classes/TypedEventTarget.html +4 -209
  16. package/docs/html/enums/Lens_CameraFacing.html +5 -0
  17. package/docs/html/enums/UserData_Zodiac.html +15 -0
  18. package/docs/html/functions/ConcatInjectable.html +10 -193
  19. package/docs/html/functions/Injectable.html +9 -192
  20. package/docs/html/functions/bootstrapCameraKit.html +6 -147
  21. package/docs/html/functions/createExtension.html +6 -123
  22. package/docs/html/functions/createImageSource.html +4 -130
  23. package/docs/html/functions/createMediaStreamSource.html +4 -130
  24. package/docs/html/functions/createVideoSource.html +4 -130
  25. package/docs/html/functions/estimateLensPerformance.html +3 -120
  26. package/docs/html/functions/lensSourcesFactory.html +6 -127
  27. package/docs/html/functions/remoteApiServicesFactory.html +3 -121
  28. package/docs/html/hierarchy.html +1 -0
  29. package/docs/html/index.html +8 -165
  30. package/docs/html/interfaces/CameraKitBootstrapConfiguration.html +11 -192
  31. package/docs/html/interfaces/CameraKitDeviceOptions.html +11 -0
  32. package/docs/html/interfaces/CameraKitSourceInfo.html +9 -0
  33. package/docs/html/interfaces/CameraKitSourceSubscriber.html +3 -194
  34. package/docs/html/interfaces/ComputedFrameMetrics.html +2 -150
  35. package/docs/html/interfaces/CreateSessionOptions.html +5 -148
  36. package/docs/html/interfaces/EstimatedLensPerformance.html +3 -146
  37. package/docs/html/interfaces/FunctionSourceOptions.html +7 -0
  38. package/docs/html/interfaces/Lens.html +12 -205
  39. package/docs/html/interfaces/LensCreator.html +3 -0
  40. package/docs/html/interfaces/LensLaunchData.html +3 -179
  41. package/docs/html/interfaces/LensSource.html +3 -172
  42. package/docs/html/interfaces/LoadAssetRequest.html +13 -0
  43. package/docs/html/interfaces/MediaStreamSourceOptions.html +16 -138
  44. package/docs/html/interfaces/Preview.html +4 -141
  45. package/docs/html/interfaces/RemoteApiRequest.html +7 -162
  46. package/docs/html/interfaces/RemoteApiResponse.html +6 -155
  47. package/docs/html/interfaces/RemoteApiService.html +9 -171
  48. package/docs/html/interfaces/Snapcode.html +5 -148
  49. package/docs/html/interfaces/UriCancelRequest.html +2 -138
  50. package/docs/html/interfaces/UriRequest.html +2 -154
  51. package/docs/html/interfaces/UriResponse.html +2 -150
  52. package/docs/html/interfaces/VideoSourceOptions.html +15 -134
  53. package/docs/html/modules.html +57 -175
  54. package/docs/html/types/AssetLoader.html +5 -132
  55. package/docs/html/types/AssetResponse.html +1 -0
  56. package/docs/html/types/AssetTiming.html +2 -115
  57. package/docs/html/types/BenchmarkError.html +1 -112
  58. package/docs/html/types/BootstrapError.html +2 -115
  59. package/docs/html/types/CacheKeyNotFoundError.html +1 -112
  60. package/docs/html/types/CameraKitSessionEventListener.html +2 -115
  61. package/docs/html/types/CameraKitSessionEvents.html +2 -122
  62. package/docs/html/types/CameraKitSourceError.html +1 -112
  63. package/docs/html/types/ConfigurationError.html +2 -115
  64. package/docs/html/types/FetchHandler.html +1 -0
  65. package/docs/html/types/Keyboard.html +14 -194
  66. package/docs/html/types/KeyboardEvents.html +2 -124
  67. package/docs/html/types/LegalError.html +1 -112
  68. package/docs/html/types/LensAbortError.html +2 -115
  69. package/docs/html/types/LensAssetError.html +2 -115
  70. package/docs/html/types/LensContentValidationError.html +1 -112
  71. package/docs/html/types/LensError.html +1 -112
  72. package/docs/html/types/LensExecutionError.html +2 -115
  73. package/docs/html/types/LensImagePickerError.html +2 -115
  74. package/docs/html/types/LensLaunchParams.html +2 -0
  75. package/docs/html/types/LensMetricsEvents.html +2 -115
  76. package/docs/html/types/LensPerformanceCluster.html +1 -113
  77. package/docs/html/types/LensView.html +2 -115
  78. package/docs/html/types/LensWait.html +2 -115
  79. package/docs/html/types/Matrix.html +3 -0
  80. package/docs/html/types/PersistentStoreError.html +2 -115
  81. package/docs/html/types/PlatformNotSupportedError.html +2 -115
  82. package/docs/html/types/PublicContainer.html +2 -115
  83. package/docs/html/types/PublicServices.html +2 -0
  84. package/docs/html/types/RemoteApiCancelRequestHandler.html +2 -0
  85. package/docs/html/types/RemoteApiRequestHandler.html +2 -139
  86. package/docs/html/types/RemoteApiServices.html +1 -112
  87. package/docs/html/types/RemoteApiStatus.html +2 -115
  88. package/docs/html/types/RenderTarget.html +2 -115
  89. package/docs/html/types/Uri.html +1 -112
  90. package/docs/html/types/WebGLError.html +1 -112
  91. package/docs/html/variables/extensionRequestContext.html +2 -115
  92. package/docs/md/README.md +3 -3
  93. package/docs/md/classes/CameraKit.md +15 -15
  94. package/docs/md/classes/CameraKitSession.md +38 -38
  95. package/docs/md/classes/CameraKitSource.md +22 -30
  96. package/docs/md/classes/LensPerformanceMeasurement.md +10 -6
  97. package/docs/md/classes/LensPerformanceMetrics.md +2 -2
  98. package/docs/md/classes/LensRepository.md +18 -18
  99. package/docs/md/classes/Transform2D.md +7 -3
  100. package/docs/md/classes/TypedCustomEvent.md +10 -6
  101. package/docs/md/classes/TypedEventTarget.md +12 -8
  102. package/docs/md/enums/Lens_CameraFacing.md +36 -0
  103. package/docs/md/enums/UserData_Zodiac.md +106 -0
  104. package/docs/md/interfaces/CameraKitBootstrapConfiguration.md +2 -2
  105. package/docs/md/interfaces/CameraKitDeviceOptions.md +41 -0
  106. package/docs/md/interfaces/CameraKitSourceInfo.md +43 -0
  107. package/docs/md/interfaces/CameraKitSourceSubscriber.md +7 -7
  108. package/docs/md/interfaces/ComputedFrameMetrics.md +1 -1
  109. package/docs/md/interfaces/CreateSessionOptions.md +1 -1
  110. package/docs/md/interfaces/EstimatedLensPerformance.md +1 -1
  111. package/docs/md/interfaces/FunctionSourceOptions.md +22 -0
  112. package/docs/md/interfaces/Lens.md +4 -4
  113. package/docs/md/interfaces/LensCreator.md +17 -0
  114. package/docs/md/interfaces/LensLaunchData.md +6 -6
  115. package/docs/md/interfaces/LensSource.md +5 -5
  116. package/docs/md/interfaces/LoadAssetRequest.md +49 -0
  117. package/docs/md/interfaces/MediaStreamSourceOptions.md +46 -1
  118. package/docs/md/interfaces/Preview.md +1 -1
  119. package/docs/md/interfaces/RemoteApiRequest.md +2 -2
  120. package/docs/md/interfaces/RemoteApiResponse.md +2 -2
  121. package/docs/md/interfaces/RemoteApiService.md +1 -1
  122. package/docs/md/interfaces/Snapcode.md +1 -1
  123. package/docs/md/interfaces/UriCancelRequest.md +2 -2
  124. package/docs/md/interfaces/UriRequest.md +3 -3
  125. package/docs/md/interfaces/UriResponse.md +2 -2
  126. package/docs/md/interfaces/VideoSourceOptions.md +44 -1
  127. package/docs/md/modules.md +183 -201
  128. package/lib/CameraKit.d.ts +108 -108
  129. package/lib/CameraKit.js +1 -1
  130. package/lib/CameraKit.js.map +1 -1
  131. package/lib/bootstrapCameraKit.d.ts +4 -4
  132. package/lib/bootstrapCameraKit.js +21 -20
  133. package/lib/bootstrapCameraKit.js.map +1 -1
  134. package/lib/clients/createTsProtoClient.d.ts +5 -12
  135. package/lib/clients/createTsProtoClient.js +1 -2
  136. package/lib/clients/createTsProtoClient.js.map +1 -1
  137. package/lib/clients/grpcHandler.d.ts +7 -4
  138. package/lib/clients/grpcHandler.js +8 -5
  139. package/lib/clients/grpcHandler.js.map +1 -1
  140. package/lib/clients/lensesClient.d.ts +3 -3
  141. package/lib/clients/lensesClient.js +2 -2
  142. package/lib/clients/lensesClient.js.map +1 -1
  143. package/lib/clients/metricsClient.d.ts +26 -0
  144. package/lib/clients/metricsClient.js +120 -0
  145. package/lib/clients/metricsClient.js.map +1 -0
  146. package/lib/configuration.js +1 -1
  147. package/lib/configuration.js.map +1 -1
  148. package/lib/dependency-injection/Container.d.ts +1 -1
  149. package/lib/dependency-injection/Container.js +1 -1
  150. package/lib/dependency-injection/Container.js.map +1 -1
  151. package/lib/dependency-injection/Injectable.d.ts +6 -6
  152. package/lib/dependency-injection/Injectable.js.map +1 -1
  153. package/lib/dependency-injection/RootServices.d.ts +7 -8
  154. package/lib/dependency-injection/RootServices.js.map +1 -1
  155. package/lib/environment.d.ts +4 -0
  156. package/lib/environment.js +2 -0
  157. package/lib/environment.js.map +1 -0
  158. package/lib/extensions/RemoteApiServices.d.ts +2 -2
  159. package/lib/extensions/RemoteApiServices.js +11 -6
  160. package/lib/extensions/RemoteApiServices.js.map +1 -1
  161. package/lib/extensions/uriHandlersRegister.d.ts +4 -4
  162. package/lib/extensions/uriHandlersRegister.js +6 -6
  163. package/lib/extensions/uriHandlersRegister.js.map +1 -1
  164. package/lib/generated-proto/blizzard/cameraKitEvents.d.ts +4330 -678
  165. package/lib/generated-proto/blizzard/cameraKitEvents.js +515 -72
  166. package/lib/generated-proto/blizzard/cameraKitEvents.js.map +1 -1
  167. package/lib/generated-proto/pb_schema/camera_kit/v3/business_events.d.ts +3 -11
  168. package/lib/generated-proto/pb_schema/camera_kit/v3/business_events.js +6 -156
  169. package/lib/generated-proto/pb_schema/camera_kit/v3/business_events.js.map +1 -1
  170. package/lib/generated-proto/pb_schema/camera_kit/v3/export.d.ts +19 -19
  171. package/lib/generated-proto/pb_schema/camera_kit/v3/export.js +13 -27
  172. package/lib/generated-proto/pb_schema/camera_kit/v3/export.js.map +1 -1
  173. package/lib/generated-proto/pb_schema/camera_kit/v3/legal_prompt.d.ts +0 -6
  174. package/lib/generated-proto/pb_schema/camera_kit/v3/legal_prompt.js +2 -83
  175. package/lib/generated-proto/pb_schema/camera_kit/v3/legal_prompt.js.map +1 -1
  176. package/lib/generated-proto/pb_schema/camera_kit/v3/lens.d.ts +0 -22
  177. package/lib/generated-proto/pb_schema/camera_kit/v3/lens.js +0 -263
  178. package/lib/generated-proto/pb_schema/camera_kit/v3/lens.js.map +1 -1
  179. package/lib/generated-proto/pb_schema/camera_kit/v3/operational_metrics.d.ts +30 -34
  180. package/lib/generated-proto/pb_schema/camera_kit/v3/operational_metrics.js +7 -73
  181. package/lib/generated-proto/pb_schema/camera_kit/v3/operational_metrics.js.map +1 -1
  182. package/lib/generated-proto/pb_schema/camera_kit/v3/ranking.d.ts +0 -6
  183. package/lib/generated-proto/pb_schema/camera_kit/v3/ranking.js +0 -110
  184. package/lib/generated-proto/pb_schema/camera_kit/v3/ranking.js.map +1 -1
  185. package/lib/generated-proto/pb_schema/camera_kit/v3/service.d.ts +48 -114
  186. package/lib/generated-proto/pb_schema/camera_kit/v3/service.js +0 -225
  187. package/lib/generated-proto/pb_schema/camera_kit/v3/service.js.map +1 -1
  188. package/lib/generated-proto/pb_schema/cdp/cof/benchmark.d.ts +6 -6
  189. package/lib/generated-proto/pb_schema/cdp/cof/benchmark.js +5 -19
  190. package/lib/generated-proto/pb_schema/cdp/cof/benchmark.js.map +1 -1
  191. package/lib/generated-proto/pb_schema/cdp/cof/circumstance_service.d.ts +1422 -1422
  192. package/lib/generated-proto/pb_schema/cdp/cof/config_request.d.ts +12 -12
  193. package/lib/generated-proto/pb_schema/cdp/cof/config_request.js +10 -24
  194. package/lib/generated-proto/pb_schema/cdp/cof/config_request.js.map +1 -1
  195. package/lib/generated-proto/pb_schema/cdp/cof/config_response.d.ts +207 -207
  196. package/lib/generated-proto/pb_schema/cdp/cof/config_result.d.ts +530 -530
  197. package/lib/generated-proto/pb_schema/cdp/cof/config_result.js +10 -24
  198. package/lib/generated-proto/pb_schema/cdp/cof/config_result.js.map +1 -1
  199. package/lib/generated-proto/pb_schema/common/value.d.ts +6 -6
  200. package/lib/generated-proto/pb_schema/common/value.js +4 -18
  201. package/lib/generated-proto/pb_schema/common/value.js.map +1 -1
  202. package/lib/generated-proto/pb_schema/google/api/http.d.ts +0 -6
  203. package/lib/generated-proto/pb_schema/google/api/http.js +0 -77
  204. package/lib/generated-proto/pb_schema/google/api/http.js.map +1 -1
  205. package/lib/generated-proto/pb_schema/google/protobuf/any.d.ts +0 -2
  206. package/lib/generated-proto/pb_schema/google/protobuf/any.js +0 -44
  207. package/lib/generated-proto/pb_schema/google/protobuf/any.js.map +1 -1
  208. package/lib/generated-proto/pb_schema/google/protobuf/descriptor.d.ts +4830 -4896
  209. package/lib/generated-proto/pb_schema/google/protobuf/descriptor.js +10 -997
  210. package/lib/generated-proto/pb_schema/google/protobuf/descriptor.js.map +1 -1
  211. package/lib/generated-proto/pb_schema/google/protobuf/timestamp.d.ts +3 -5
  212. package/lib/generated-proto/pb_schema/google/protobuf/timestamp.js +6 -35
  213. package/lib/generated-proto/pb_schema/google/protobuf/timestamp.js.map +1 -1
  214. package/lib/generated-proto/pb_schema/google/protobuf/wrappers.d.ts +6 -6
  215. package/lib/generated-proto/pb_schema/google/protobuf/wrappers.js +10 -24
  216. package/lib/generated-proto/pb_schema/google/protobuf/wrappers.js.map +1 -1
  217. package/lib/generated-proto/pb_schema/lenses/launchdata.d.ts +9 -9
  218. package/lib/generated-proto/pb_schema/lenses/remote_api/remote_api_service.d.ts +11 -11
  219. package/lib/generated-proto/pb_schema/lenses/remote_api/remote_api_service.js +6 -20
  220. package/lib/generated-proto/pb_schema/lenses/remote_api/remote_api_service.js.map +1 -1
  221. package/lib/generated-proto/pb_schema/lenses/snappable.d.ts +42 -42
  222. package/lib/generated-proto/pb_schema/lenses/snappable.js +14 -28
  223. package/lib/generated-proto/pb_schema/lenses/snappable.js.map +1 -1
  224. package/lib/generated-proto/pb_schema/lenses/user_data.d.ts +8 -8
  225. package/lib/generated-proto/pb_schema/lenses/user_data.js +8 -22
  226. package/lib/generated-proto/pb_schema/lenses/user_data.js.map +1 -1
  227. package/lib/handlers/defaultFetchHandler.d.ts +1 -1
  228. package/lib/handlers/defaultFetchHandler.js.map +1 -1
  229. package/lib/handlers/requestStateEmittingHandler.d.ts +5 -6
  230. package/lib/handlers/requestStateEmittingHandler.js +6 -8
  231. package/lib/handlers/requestStateEmittingHandler.js.map +1 -1
  232. package/lib/handlers/responseCachingHandler.d.ts +9 -10
  233. package/lib/handlers/responseCachingHandler.js +9 -3
  234. package/lib/handlers/responseCachingHandler.js.map +1 -1
  235. package/lib/handlers/utils.d.ts +12 -0
  236. package/lib/handlers/utils.js +19 -0
  237. package/lib/handlers/utils.js.map +1 -0
  238. package/lib/index.d.ts +21 -15
  239. package/lib/index.js +17 -12
  240. package/lib/index.js.map +1 -1
  241. package/lib/lens/Lens.d.ts +12 -2
  242. package/lib/lens/Lens.js +5 -0
  243. package/lib/lens/Lens.js.map +1 -1
  244. package/lib/lens/LensLaunchData.d.ts +6 -3
  245. package/lib/lens/LensLaunchData.js +2 -0
  246. package/lib/lens/LensLaunchData.js.map +1 -1
  247. package/lib/lens/LensPersistenceStore.d.ts +1 -1
  248. package/lib/lens/LensPersistenceStore.js +1 -1
  249. package/lib/lens/LensPersistenceStore.js.map +1 -1
  250. package/lib/lens/LensRepository.d.ts +5 -1
  251. package/lib/lens/LensRepository.js +9 -5
  252. package/lib/lens/LensRepository.js.map +1 -1
  253. package/lib/lens/LensSource.d.ts +2 -2
  254. package/lib/lens/LensSource.js +4 -4
  255. package/lib/lens/LensSource.js.map +1 -1
  256. package/lib/lens/assets/LensAssetRepository.d.ts +35 -4
  257. package/lib/lens/assets/LensAssetRepository.js +9 -9
  258. package/lib/lens/assets/LensAssetRepository.js.map +1 -1
  259. package/lib/lens/assets/LensAssetsProvider.d.ts +1 -1
  260. package/lib/lens/assets/LensAssetsProvider.js +9 -4
  261. package/lib/lens/assets/LensAssetsProvider.js.map +1 -1
  262. package/lib/lens/assets/deviceDependentAssetLoader.js +3 -2
  263. package/lib/lens/assets/deviceDependentAssetLoader.js.map +1 -1
  264. package/lib/lens/assets/remoteMediaAssetLoaderFactory.js +4 -3
  265. package/lib/lens/assets/remoteMediaAssetLoaderFactory.js.map +1 -1
  266. package/lib/lens/assets/staticAssetLoader.js +5 -4
  267. package/lib/lens/assets/staticAssetLoader.js.map +1 -1
  268. package/lib/lens/cameraKitLensSource.d.ts +3 -2
  269. package/lib/lens/cameraKitLensSource.js +87 -42
  270. package/lib/lens/cameraKitLensSource.js.map +1 -1
  271. package/lib/lens/fetchWatermarkLens.d.ts +11 -0
  272. package/lib/lens/fetchWatermarkLens.js +27 -0
  273. package/lib/lens/fetchWatermarkLens.js.map +1 -0
  274. package/lib/lens-client-interface/imagePicker.d.ts +2 -1
  275. package/lib/lens-client-interface/imagePicker.js.map +1 -1
  276. package/lib/lens-client-interface/lensClientInterface.d.ts +1 -1
  277. package/lib/lens-client-interface/lensClientInterface.js +1 -1
  278. package/lib/lens-client-interface/lensClientInterface.js.map +1 -1
  279. package/lib/lens-core-module/lensCore.d.ts +2 -1
  280. package/lib/lens-core-module/lensCore.js.map +1 -1
  281. package/lib/lens-core-module/loader/bootstrapURLs.d.ts +12 -0
  282. package/lib/lens-core-module/loader/bootstrapURLs.js +48 -0
  283. package/lib/lens-core-module/loader/bootstrapURLs.js.map +1 -0
  284. package/lib/lens-core-module/loader/lensCoreFactory.d.ts +0 -12
  285. package/lib/lens-core-module/loader/lensCoreFactory.js +4 -49
  286. package/lib/lens-core-module/loader/lensCoreFactory.js.map +1 -1
  287. package/lib/lensCoreWasmVersions.d.ts +6 -0
  288. package/lib/lensCoreWasmVersions.js +6 -0
  289. package/lib/lensCoreWasmVersions.js.map +1 -0
  290. package/lib/media-sources/CameraKitSource.d.ts +39 -17
  291. package/lib/media-sources/CameraKitSource.js +8 -2
  292. package/lib/media-sources/CameraKitSource.js.map +1 -1
  293. package/lib/media-sources/FunctionSource.d.ts +15 -4
  294. package/lib/media-sources/FunctionSource.js +1 -2
  295. package/lib/media-sources/FunctionSource.js.map +1 -1
  296. package/lib/media-sources/ImageSource.d.ts +3 -5
  297. package/lib/media-sources/ImageSource.js +1 -3
  298. package/lib/media-sources/ImageSource.js.map +1 -1
  299. package/lib/media-sources/MediaStreamSource.d.ts +17 -33
  300. package/lib/media-sources/MediaStreamSource.js +6 -41
  301. package/lib/media-sources/MediaStreamSource.js.map +1 -1
  302. package/lib/media-sources/VideoSource.d.ts +14 -10
  303. package/lib/media-sources/VideoSource.js +5 -11
  304. package/lib/media-sources/VideoSource.js.map +1 -1
  305. package/lib/metrics/businessEventsReporter.d.ts +3 -4
  306. package/lib/metrics/businessEventsReporter.js +11 -55
  307. package/lib/metrics/businessEventsReporter.js.map +1 -1
  308. package/lib/metrics/operational/Count.d.ts +2 -0
  309. package/lib/metrics/operational/Count.js +6 -1
  310. package/lib/metrics/operational/Count.js.map +1 -1
  311. package/lib/metrics/operational/Histogram.d.ts +1 -1
  312. package/lib/metrics/operational/Histogram.js +7 -3
  313. package/lib/metrics/operational/Histogram.js.map +1 -1
  314. package/lib/metrics/operational/Metric.js +2 -0
  315. package/lib/metrics/operational/Metric.js.map +1 -1
  316. package/lib/metrics/operational/Timer.d.ts +9 -6
  317. package/lib/metrics/operational/Timer.js +12 -26
  318. package/lib/metrics/operational/Timer.js.map +1 -1
  319. package/lib/metrics/reporters/reportBenchmarks.d.ts +3 -3
  320. package/lib/metrics/reporters/reportBenchmarks.js +6 -5
  321. package/lib/metrics/reporters/reportBenchmarks.js.map +1 -1
  322. package/lib/metrics/reporters/reportGlobalException.d.ts +4 -4
  323. package/lib/metrics/reporters/reportGlobalException.js +13 -11
  324. package/lib/metrics/reporters/reportGlobalException.js.map +1 -1
  325. package/lib/metrics/reporters/reportHttpMetrics.d.ts +3 -3
  326. package/lib/metrics/reporters/reportHttpMetrics.js +19 -16
  327. package/lib/metrics/reporters/reportHttpMetrics.js.map +1 -1
  328. package/lib/metrics/reporters/reportLegalState.d.ts +3 -3
  329. package/lib/metrics/reporters/reportLegalState.js +7 -9
  330. package/lib/metrics/reporters/reportLegalState.js.map +1 -1
  331. package/lib/metrics/reporters/reportLensAndAssetDownload.d.ts +3 -3
  332. package/lib/metrics/reporters/reportLensAndAssetDownload.js +12 -12
  333. package/lib/metrics/reporters/reportLensAndAssetDownload.js.map +1 -1
  334. package/lib/metrics/reporters/reportLensView.d.ts +3 -3
  335. package/lib/metrics/reporters/reportLensView.js +6 -6
  336. package/lib/metrics/reporters/reportLensView.js.map +1 -1
  337. package/lib/metrics/reporters/reportLensWait.d.ts +2 -3
  338. package/lib/metrics/reporters/reportLensWait.js +1 -3
  339. package/lib/metrics/reporters/reportLensWait.js.map +1 -1
  340. package/lib/metrics/reporters/reportPlatformCapabilities.d.ts +3 -3
  341. package/lib/metrics/reporters/reportPlatformCapabilities.js +6 -5
  342. package/lib/metrics/reporters/reportPlatformCapabilities.js.map +1 -1
  343. package/lib/metrics/reporters/reportUserSession.js +3 -3
  344. package/lib/metrics/reporters/reportUserSession.js.map +1 -1
  345. package/lib/metrics/reporters/reporters.d.ts +2 -2
  346. package/lib/namedErrors.d.ts +1 -1
  347. package/lib/namedErrors.js +1 -1
  348. package/lib/namedErrors.js.map +1 -1
  349. package/lib/observable-operators/unsubscribed.d.ts +1 -1
  350. package/lib/observable-operators/unsubscribed.js +1 -1
  351. package/lib/observable-operators/unsubscribed.js.map +1 -1
  352. package/lib/platform/platformCapabilities.d.ts +1 -1
  353. package/lib/platform/platformCapabilities.js +9 -3
  354. package/lib/platform/platformCapabilities.js.map +1 -1
  355. package/lib/platform/platformInfo.d.ts +1 -0
  356. package/lib/platform/platformInfo.js +3 -3
  357. package/lib/platform/platformInfo.js.map +1 -1
  358. package/lib/remote-configuration/cofHandler.d.ts +3 -3
  359. package/lib/remote-configuration/cofHandler.js +6 -4
  360. package/lib/remote-configuration/cofHandler.js.map +1 -1
  361. package/lib/remote-configuration/preloadConfiguration.d.ts +1 -1
  362. package/lib/remote-configuration/preloadConfiguration.js +9 -4
  363. package/lib/remote-configuration/preloadConfiguration.js.map +1 -1
  364. package/lib/remote-configuration/remoteConfiguration.d.ts +7 -6
  365. package/lib/remote-configuration/remoteConfiguration.js +18 -15
  366. package/lib/remote-configuration/remoteConfiguration.js.map +1 -1
  367. package/lib/session/CameraKitSession.d.ts +8 -8
  368. package/lib/session/CameraKitSession.js +11 -9
  369. package/lib/session/CameraKitSession.js.map +1 -1
  370. package/lib/session/LensKeyboard.d.ts +1 -7
  371. package/lib/session/LensKeyboard.js.map +1 -1
  372. package/lib/session/LensPerformanceMeasurement.d.ts +1 -1
  373. package/lib/session/LensPerformanceMeasurement.js +3 -3
  374. package/lib/session/LensPerformanceMeasurement.js.map +1 -1
  375. package/lib/session/LensPerformanceMetrics.d.ts +1 -1
  376. package/lib/session/LensPerformanceMetrics.js.map +1 -1
  377. package/lib/session/lensState.d.ts +5 -4
  378. package/lib/session/lensState.js +80 -57
  379. package/lib/session/lensState.js.map +1 -1
  380. package/lib/transforms/Transform2D.d.ts +8 -3
  381. package/lib/transforms/Transform2D.js +1 -1
  382. package/lib/transforms/Transform2D.js.map +1 -1
  383. package/lib/utils.d.ts +3 -0
  384. package/lib/utils.js +4 -0
  385. package/lib/utils.js.map +1 -0
  386. package/package.json +27 -6
  387. package/docs/html/functions/createUserMediaSource.html +0 -138
  388. package/docs/html/functions/getRequiredBootstrapURLs.html +0 -130
  389. package/docs/html/types/CameraKitDeviceInfo.html +0 -125
  390. package/docs/html/types/CameraKitDeviceOptions.html +0 -120
  391. package/docs/html/types/CameraKitSourceInfo.html +0 -112
  392. package/docs/html/types/CameraKitSourceOptions.html +0 -118
  393. package/lib/common/index.d.ts +0 -2
  394. package/lib/common/index.js +0 -3
  395. package/lib/common/index.js.map +0 -1
  396. package/lib/environment.json +0 -1
  397. package/lib/handlers/index.d.ts +0 -2
  398. package/lib/handlers/index.js +0 -3
  399. package/lib/handlers/index.js.map +0 -1
  400. package/lib/lens-core-module/index.d.ts +0 -3
  401. package/lib/lens-core-module/index.js +0 -4
  402. package/lib/lens-core-module/index.js.map +0 -1
  403. package/lib/lens-core-module/loader/index.d.ts +0 -1
  404. package/lib/lens-core-module/loader/index.js +0 -2
  405. package/lib/lens-core-module/loader/index.js.map +0 -1
  406. package/lib/lensCoreWasmVersions.json +0 -5
  407. package/lib/metrics/metricsHandler.d.ts +0 -10
  408. package/lib/metrics/metricsHandler.js +0 -13
  409. package/lib/metrics/metricsHandler.js.map +0 -1
  410. package/lib/metrics/operational/operationalMetricsReporter.d.ts +0 -64
  411. package/lib/metrics/operational/operationalMetricsReporter.js +0 -144
  412. package/lib/metrics/operational/operationalMetricsReporter.js.map +0 -1
  413. package/lib/session/index.d.ts +0 -1
  414. package/lib/session/index.js +0 -2
  415. package/lib/session/index.js.map +0 -1
  416. package/lib/transforms/index.d.ts +0 -1
  417. package/lib/transforms/index.js +0 -2
  418. package/lib/transforms/index.js.map +0 -1
@@ -1,19 +1,17 @@
1
1
  import _m0 from "protobufjs/minimal";
2
2
  export declare const protobufPackage = "google.protobuf";
3
3
  export interface Timestamp {
4
- seconds: number;
4
+ seconds: string;
5
5
  nanos: number;
6
6
  }
7
7
  export declare const Timestamp: {
8
8
  encode(message: Timestamp, writer?: _m0.Writer): _m0.Writer;
9
9
  decode(input: _m0.Reader | Uint8Array, length?: number): Timestamp;
10
- fromJSON(object: any): Timestamp;
11
- toJSON(message: Timestamp): unknown;
12
10
  fromPartial<I extends {
13
- seconds?: number | undefined;
11
+ seconds?: string | undefined;
14
12
  nanos?: number | undefined;
15
13
  } & {
16
- seconds?: number | undefined;
14
+ seconds?: string | undefined;
17
15
  nanos?: number | undefined;
18
16
  } & Record<Exclude<keyof I, keyof Timestamp>, never>>(object: I): Timestamp;
19
17
  };
@@ -2,11 +2,11 @@ import Long from "long";
2
2
  import _m0 from "protobufjs/minimal";
3
3
  export const protobufPackage = "google.protobuf";
4
4
  function createBaseTimestamp() {
5
- return { seconds: 0, nanos: 0 };
5
+ return { seconds: "0", nanos: 0 };
6
6
  }
7
7
  export const Timestamp = {
8
8
  encode(message, writer = _m0.Writer.create()) {
9
- if (message.seconds !== 0) {
9
+ if (message.seconds !== "0") {
10
10
  writer.uint32(8).int64(message.seconds);
11
11
  }
12
12
  if (message.nanos !== 0) {
@@ -22,7 +22,7 @@ export const Timestamp = {
22
22
  const tag = reader.uint32();
23
23
  switch (tag >>> 3) {
24
24
  case 1:
25
- message.seconds = longToNumber(reader.int64());
25
+ message.seconds = longToString(reader.int64());
26
26
  break;
27
27
  case 2:
28
28
  message.nanos = reader.int32();
@@ -34,48 +34,19 @@ export const Timestamp = {
34
34
  }
35
35
  return message;
36
36
  },
37
- fromJSON(object) {
38
- return {
39
- seconds: isSet(object.seconds) ? Number(object.seconds) : 0,
40
- nanos: isSet(object.nanos) ? Number(object.nanos) : 0,
41
- };
42
- },
43
- toJSON(message) {
44
- const obj = {};
45
- message.seconds !== undefined && (obj.seconds = Math.round(message.seconds));
46
- message.nanos !== undefined && (obj.nanos = Math.round(message.nanos));
47
- return obj;
48
- },
49
37
  fromPartial(object) {
50
38
  var _a, _b;
51
39
  const message = createBaseTimestamp();
52
- message.seconds = (_a = object.seconds) !== null && _a !== void 0 ? _a : 0;
40
+ message.seconds = (_a = object.seconds) !== null && _a !== void 0 ? _a : "0";
53
41
  message.nanos = (_b = object.nanos) !== null && _b !== void 0 ? _b : 0;
54
42
  return message;
55
43
  },
56
44
  };
57
- var globalThis = (() => {
58
- if (typeof globalThis !== "undefined")
59
- return globalThis;
60
- if (typeof self !== "undefined")
61
- return self;
62
- if (typeof window !== "undefined")
63
- return window;
64
- if (typeof global !== "undefined")
65
- return global;
66
- throw "Unable to locate global object";
67
- })();
68
- function longToNumber(long) {
69
- if (long.gt(Number.MAX_SAFE_INTEGER)) {
70
- throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
71
- }
72
- return long.toNumber();
45
+ function longToString(long) {
46
+ return long.toString();
73
47
  }
74
48
  if (_m0.util.Long !== Long) {
75
49
  _m0.util.Long = Long;
76
50
  _m0.configure();
77
51
  }
78
- function isSet(value) {
79
- return value !== null && value !== undefined;
80
- }
81
52
  //# sourceMappingURL=timestamp.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"timestamp.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/google/protobuf/timestamp.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,GAAG,MAAM,oBAAoB,CAAC;AACrC,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AAKjD,SAAS,mBAAmB;IACxB,OAAO,EAAE,OAAO,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;AACpC,CAAC;AACD,MAAM,CAAC,MAAM,SAAS,GAAG;IACrB,MAAM,CAAC,OAAkB,EAAE,SAAqB,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAC/D,IAAI,OAAO,CAAC,OAAO,KAAK,CAAC,EAAE;YACvB,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;SAC3C;QACD,IAAI,OAAO,CAAC,KAAK,KAAK,CAAC,EAAE;YACrB,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;SAC1C;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;IACD,MAAM,CAAC,KAA8B,EAAE,MAAe;QAClD,MAAM,MAAM,GAAG,KAAK,YAAY,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC3E,IAAI,GAAG,GAAG,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,GAAG,MAAM,CAAC;QAClE,MAAM,OAAO,GAAG,mBAAmB,EAAE,CAA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C,OAAO,CAAC,OAAO,GAAG,MAAA,MAAM,CAAC,OAAO,mCAAI,CAAC,CAAC;QACtC,OAAO,CAAC,KAAK,GAAG,MAAA,MAAM,CAAC,KAAK,mCAAI,CAAC,CAAC;QAClC,OAAO,OAAO,CAAC;IACnB,CAAC;CACJ,CAAC;AAIF,IAAI,UAAU,GAAQ,CAAC,GAAG,EAAE;IACxB,IAAI,OAAO,UAAU,KAAK,WAAW;QACjC,OAAO,UAAU,CAAC;IACtB,IAAI,OAAO,IAAI,KAAK,WAAW;QAC3B,OAAO,IAAI,CAAC;IAChB,IAAI,OAAO,MAAM,KAAK,WAAW;QAC7B,OAAO,MAAM,CAAC;IAClB,IAAI,OAAO,MAAM,KAAK,WAAW;QAC7B,OAAO,MAAM,CAAC;IAClB,MAAM,gCAAgC,CAAC;AAC3C,CAAC,CAAC,EAAE,CAAC;AAeL,SAAS,YAAY,CAAC,IAAU;IAC5B,IAAI,IAAI,CAAC,EAAE,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE;QAClC,MAAM,IAAI,UAAU,CAAC,KAAK,CAAC,8CAA8C,CAAC,CAAC;KAC9E;IACD,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC;AAC3B,CAAC;AACD,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,EAAE;IACxB,GAAG,CAAC,IAAI,CAAC,IAAI,GAAG,IAAW,CAAC;IAC5B,GAAG,CAAC,SAAS,EAAE,CAAC;CACnB;AACD,SAAS,KAAK,CAAC,KAAU;IACrB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AACjD,CAAC","sourcesContent":["import Long from \"long\";\nimport _m0 from \"protobufjs/minimal\";\nexport const protobufPackage = \"google.protobuf\";\nexport interface Timestamp {\n seconds: number;\n nanos: number;\n}\nfunction createBaseTimestamp(): Timestamp {\n return { seconds: 0, nanos: 0 };\n}\nexport const Timestamp = {\n encode(message: Timestamp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.seconds !== 0) {\n writer.uint32(8).int64(message.seconds);\n }\n if (message.nanos !== 0) {\n writer.uint32(16).int32(message.nanos);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): Timestamp {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseTimestamp();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.seconds = longToNumber(reader.int64() as Long);\n break;\n case 2:\n message.nanos = reader.int32();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromJSON(object: any): Timestamp {\n return {\n seconds: isSet(object.seconds) ? Number(object.seconds) : 0,\n nanos: isSet(object.nanos) ? Number(object.nanos) : 0,\n };\n },\n toJSON(message: Timestamp): unknown {\n const obj: any = {};\n message.seconds !== undefined && (obj.seconds = Math.round(message.seconds));\n message.nanos !== undefined && (obj.nanos = Math.round(message.nanos));\n return obj;\n },\n fromPartial<I extends Exact<DeepPartial<Timestamp>, I>>(object: I): Timestamp {\n const message = createBaseTimestamp();\n message.seconds = object.seconds ?? 0;\n message.nanos = object.nanos ?? 0;\n return message;\n },\n};\ndeclare var self: any | undefined;\ndeclare var window: any | undefined;\ndeclare var global: any | undefined;\nvar globalThis: any = (() => {\n if (typeof globalThis !== \"undefined\")\n return globalThis;\n if (typeof self !== \"undefined\")\n return self;\n if (typeof window !== \"undefined\")\n return window;\n if (typeof global !== \"undefined\")\n return global;\n throw \"Unable to locate global object\";\n})();\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;\nexport type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {\n $case: string;\n} ? {\n [K in keyof Omit<T, \"$case\">]?: DeepPartial<T[K]>;\n} & {\n $case: T[\"$case\"];\n} : T extends {} ? {\n [K in keyof T]?: DeepPartial<T[K]>;\n} : Partial<T>;\ntype KeysOfUnion<T> = T extends T ? keyof T : never;\nexport type Exact<P, I extends P> = P extends Builtin ? P : P & {\n [K in keyof P]: Exact<P[K], I[K]>;\n} & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;\nfunction longToNumber(long: Long): number {\n if (long.gt(Number.MAX_SAFE_INTEGER)) {\n throw new globalThis.Error(\"Value is larger than Number.MAX_SAFE_INTEGER\");\n }\n return long.toNumber();\n}\nif (_m0.util.Long !== Long) {\n _m0.util.Long = Long as any;\n _m0.configure();\n}\nfunction isSet(value: any): boolean {\n return value !== null && value !== undefined;\n}\n"]}
1
+ {"version":3,"file":"timestamp.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/google/protobuf/timestamp.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,GAAG,MAAM,oBAAoB,CAAC;AACrC,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AAKjD,SAAS,mBAAmB;IACxB,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;AACtC,CAAC;AACD,MAAM,CAAC,MAAM,SAAS,GAAG;IACrB,MAAM,CAAC,OAAkB,EAAE,SAAqB,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAC/D,IAAI,OAAO,CAAC,OAAO,KAAK,GAAG,EAAE;YACzB,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;SAC3C;QACD,IAAI,OAAO,CAAC,KAAK,KAAK,CAAC,EAAE;YACrB,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;SAC1C;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;IACD,MAAM,CAAC,KAA8B,EAAE,MAAe;QAClD,MAAM,MAAM,GAAG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AC;IAC5B,GAAG,CAAC,SAAS,EAAE,CAAC;CACnB","sourcesContent":["import Long from \"long\";\nimport _m0 from \"protobufjs/minimal\";\nexport const protobufPackage = \"google.protobuf\";\nexport interface Timestamp {\n seconds: string;\n nanos: number;\n}\nfunction createBaseTimestamp(): Timestamp {\n return { seconds: \"0\", nanos: 0 };\n}\nexport const Timestamp = {\n encode(message: Timestamp, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.seconds !== \"0\") {\n writer.uint32(8).int64(message.seconds);\n }\n if (message.nanos !== 0) {\n writer.uint32(16).int32(message.nanos);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): Timestamp {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseTimestamp();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.seconds = longToString(reader.int64() as Long);\n break;\n case 2:\n message.nanos = reader.int32();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<Timestamp>, I>>(object: I): Timestamp {\n const message = createBaseTimestamp();\n message.seconds = object.seconds ?? \"0\";\n message.nanos = object.nanos ?? 0;\n return message;\n },\n};\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;\nexport type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {\n $case: string;\n} ? {\n [K in keyof Omit<T, \"$case\">]?: DeepPartial<T[K]>;\n} & {\n $case: T[\"$case\"];\n} : T extends {} ? {\n [K in keyof T]?: DeepPartial<T[K]>;\n} : Partial<T>;\ntype KeysOfUnion<T> = T extends T ? keyof T : never;\nexport type Exact<P, I extends P> = P extends Builtin ? P : P & {\n [K in keyof P]: Exact<P[K], I[K]>;\n} & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;\nfunction longToString(long: Long) {\n return long.toString();\n}\nif (_m0.util.Long !== Long) {\n _m0.util.Long = Long as any;\n _m0.configure();\n}\n"]}
@@ -7,10 +7,10 @@ export interface FloatValue {
7
7
  value: number;
8
8
  }
9
9
  export interface Int64Value {
10
- value: number;
10
+ value: string;
11
11
  }
12
12
  export interface UInt64Value {
13
- value: number;
13
+ value: string;
14
14
  }
15
15
  export interface Int32Value {
16
16
  value: number;
@@ -49,18 +49,18 @@ export declare const Int64Value: {
49
49
  encode(message: Int64Value, writer?: _m0.Writer): _m0.Writer;
50
50
  decode(input: _m0.Reader | Uint8Array, length?: number): Int64Value;
51
51
  fromPartial<I extends {
52
- value?: number | undefined;
52
+ value?: string | undefined;
53
53
  } & {
54
- value?: number | undefined;
54
+ value?: string | undefined;
55
55
  } & Record<Exclude<keyof I, "value">, never>>(object: I): Int64Value;
56
56
  };
57
57
  export declare const UInt64Value: {
58
58
  encode(message: UInt64Value, writer?: _m0.Writer): _m0.Writer;
59
59
  decode(input: _m0.Reader | Uint8Array, length?: number): UInt64Value;
60
60
  fromPartial<I extends {
61
- value?: number | undefined;
61
+ value?: string | undefined;
62
62
  } & {
63
- value?: number | undefined;
63
+ value?: string | undefined;
64
64
  } & Record<Exclude<keyof I, "value">, never>>(object: I): UInt64Value;
65
65
  };
66
66
  export declare const Int32Value: {
@@ -70,11 +70,11 @@ export const FloatValue = {
70
70
  },
71
71
  };
72
72
  function createBaseInt64Value() {
73
- return { value: 0 };
73
+ return { value: "0" };
74
74
  }
75
75
  export const Int64Value = {
76
76
  encode(message, writer = _m0.Writer.create()) {
77
- if (message.value !== 0) {
77
+ if (message.value !== "0") {
78
78
  writer.uint32(8).int64(message.value);
79
79
  }
80
80
  return writer;
@@ -87,7 +87,7 @@ export const Int64Value = {
87
87
  const tag = reader.uint32();
88
88
  switch (tag >>> 3) {
89
89
  case 1:
90
- message.value = longToNumber(reader.int64());
90
+ message.value = longToString(reader.int64());
91
91
  break;
92
92
  default:
93
93
  reader.skipType(tag & 7);
@@ -99,16 +99,16 @@ export const Int64Value = {
99
99
  fromPartial(object) {
100
100
  var _a;
101
101
  const message = createBaseInt64Value();
102
- message.value = (_a = object.value) !== null && _a !== void 0 ? _a : 0;
102
+ message.value = (_a = object.value) !== null && _a !== void 0 ? _a : "0";
103
103
  return message;
104
104
  },
105
105
  };
106
106
  function createBaseUInt64Value() {
107
- return { value: 0 };
107
+ return { value: "0" };
108
108
  }
109
109
  export const UInt64Value = {
110
110
  encode(message, writer = _m0.Writer.create()) {
111
- if (message.value !== 0) {
111
+ if (message.value !== "0") {
112
112
  writer.uint32(8).uint64(message.value);
113
113
  }
114
114
  return writer;
@@ -121,7 +121,7 @@ export const UInt64Value = {
121
121
  const tag = reader.uint32();
122
122
  switch (tag >>> 3) {
123
123
  case 1:
124
- message.value = longToNumber(reader.uint64());
124
+ message.value = longToString(reader.uint64());
125
125
  break;
126
126
  default:
127
127
  reader.skipType(tag & 7);
@@ -133,7 +133,7 @@ export const UInt64Value = {
133
133
  fromPartial(object) {
134
134
  var _a;
135
135
  const message = createBaseUInt64Value();
136
- message.value = (_a = object.value) !== null && _a !== void 0 ? _a : 0;
136
+ message.value = (_a = object.value) !== null && _a !== void 0 ? _a : "0";
137
137
  return message;
138
138
  },
139
139
  };
@@ -307,22 +307,8 @@ export const BytesValue = {
307
307
  return message;
308
308
  },
309
309
  };
310
- var globalThis = (() => {
311
- if (typeof globalThis !== "undefined")
312
- return globalThis;
313
- if (typeof self !== "undefined")
314
- return self;
315
- if (typeof window !== "undefined")
316
- return window;
317
- if (typeof global !== "undefined")
318
- return global;
319
- throw "Unable to locate global object";
320
- })();
321
- function longToNumber(long) {
322
- if (long.gt(Number.MAX_SAFE_INTEGER)) {
323
- throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
324
- }
325
- return long.toNumber();
310
+ function longToString(long) {
311
+ return long.toString();
326
312
  }
327
313
  if (_m0.util.Long !== Long) {
328
314
  _m0.util.Long = Long;
@@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,CAAC,CAAC;KAC9E;IACD,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC;AAC3B,CAAC;AACD,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,EAAE;IACxB,GAAG,CAAC,IAAI,CAAC,IAAI,GAAG,IAAW,CAAC;IAC5B,GAAG,CAAC,SAAS,EAAE,CAAC;CACnB","sourcesContent":["import Long from \"long\";\nimport _m0 from \"protobufjs/minimal\";\nexport const protobufPackage = \"google.protobuf\";\nexport interface DoubleValue {\n value: number;\n}\nexport interface FloatValue {\n value: number;\n}\nexport interface Int64Value {\n value: number;\n}\nexport interface UInt64Value {\n value: number;\n}\nexport interface Int32Value {\n value: number;\n}\nexport interface UInt32Value {\n value: number;\n}\nexport interface BoolValue {\n value: boolean;\n}\nexport interface StringValue {\n value: string;\n}\nexport interface BytesValue {\n value: Uint8Array;\n}\nfunction createBaseDoubleValue(): DoubleValue {\n return { value: 0 };\n}\nexport const DoubleValue = {\n encode(message: DoubleValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.value !== 0) {\n writer.uint32(9).double(message.value);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): DoubleValue {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseDoubleValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.value = reader.double();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<DoubleValue>, I>>(object: I): DoubleValue {\n const message = createBaseDoubleValue();\n message.value = object.value ?? 0;\n return message;\n },\n};\nfunction createBaseFloatValue(): FloatValue {\n return { value: 0 };\n}\nexport const FloatValue = {\n encode(message: FloatValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.value !== 0) {\n writer.uint32(13).float(message.value);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): FloatValue {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseFloatValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.value = reader.float();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<FloatValue>, I>>(object: I): FloatValue {\n const message = createBaseFloatValue();\n message.value = object.value ?? 0;\n return message;\n },\n};\nfunction createBaseInt64Value(): Int64Value {\n return { value: 0 };\n}\nexport const Int64Value = {\n encode(message: Int64Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.value !== 0) {\n writer.uint32(8).int64(message.value);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): Int64Value {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseInt64Value();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.value = longToNumber(reader.int64() as Long);\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<Int64Value>, I>>(object: I): Int64Value {\n const message = createBaseInt64Value();\n message.value = object.value ?? 0;\n return message;\n },\n};\nfunction createBaseUInt64Value(): UInt64Value {\n return { value: 0 };\n}\nexport const UInt64Value = {\n encode(message: UInt64Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.value !== 0) {\n writer.uint32(8).uint64(message.value);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): UInt64Value {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseUInt64Value();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.value = longToNumber(reader.uint64() as Long);\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<UInt64Value>, I>>(object: I): UInt64Value {\n const message = createBaseUInt64Value();\n message.value = object.value ?? 0;\n return message;\n },\n};\nfunction createBaseInt32Value(): Int32Value {\n return { value: 0 };\n}\nexport const Int32Value = {\n encode(message: Int32Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.value !== 0) {\n writer.uint32(8).int32(message.value);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): Int32Value {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseInt32Value();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.value = reader.int32();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<Int32Value>, I>>(object: I): Int32Value {\n const message = createBaseInt32Value();\n message.value = object.value ?? 0;\n return message;\n },\n};\nfunction createBaseUInt32Value(): UInt32Value {\n return { value: 0 };\n}\nexport const UInt32Value = {\n encode(message: UInt32Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.value !== 0) {\n writer.uint32(8).uint32(message.value);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): UInt32Value {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseUInt32Value();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.value = reader.uint32();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<UInt32Value>, I>>(object: I): UInt32Value {\n const message = createBaseUInt32Value();\n message.value = object.value ?? 0;\n return message;\n },\n};\nfunction createBaseBoolValue(): BoolValue {\n return { value: false };\n}\nexport const BoolValue = {\n encode(message: BoolValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.value === true) {\n writer.uint32(8).bool(message.value);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): BoolValue {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseBoolValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.value = reader.bool();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<BoolValue>, I>>(object: I): BoolValue {\n const message = createBaseBoolValue();\n message.value = object.value ?? false;\n return message;\n },\n};\nfunction createBaseStringValue(): StringValue {\n return { value: \"\" };\n}\nexport const StringValue = {\n encode(message: StringValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.value !== \"\") {\n writer.uint32(10).string(message.value);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): StringValue {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseStringValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.value = reader.string();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<StringValue>, I>>(object: I): StringValue {\n const message = createBaseStringValue();\n message.value = object.value ?? \"\";\n return message;\n },\n};\nfunction createBaseBytesValue(): BytesValue {\n return { value: new Uint8Array() };\n}\nexport const BytesValue = {\n encode(message: BytesValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.value.length !== 0) {\n writer.uint32(10).bytes(message.value);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): BytesValue {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseBytesValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.value = reader.bytes();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<BytesValue>, I>>(object: I): BytesValue {\n const message = createBaseBytesValue();\n message.value = object.value ?? new Uint8Array();\n return message;\n },\n};\ndeclare var self: any | undefined;\ndeclare var window: any | undefined;\ndeclare var global: any | undefined;\nvar globalThis: any = (() => {\n if (typeof globalThis !== \"undefined\")\n return globalThis;\n if (typeof self !== \"undefined\")\n return self;\n if (typeof window !== \"undefined\")\n return window;\n if (typeof global !== \"undefined\")\n return global;\n throw \"Unable to locate global object\";\n})();\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;\nexport type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {\n [K in keyof T]?: DeepPartial<T[K]>;\n} : Partial<T>;\ntype KeysOfUnion<T> = T extends T ? keyof T : never;\nexport type Exact<P, I extends P> = P extends Builtin ? P : P & {\n [K in keyof P]: Exact<P[K], I[K]>;\n} & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;\nfunction longToNumber(long: Long): number {\n if (long.gt(Number.MAX_SAFE_INTEGER)) {\n throw new globalThis.Error(\"Value is larger than Number.MAX_SAFE_INTEGER\");\n }\n return long.toNumber();\n}\nif (_m0.util.Long !== Long) {\n _m0.util.Long = Long as any;\n _m0.configure();\n}\n"]}
1
+ {"version":3,"file":"wrappers.js","sourceRoot":"","sources":["../../../../../src/generated-proto/pb_schema/google/protobuf/wrappers.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,GAAG,MAAM,oBAAoB,CAAC;AACrC,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AA4BjD,SAAS,qBAAqB;IAC1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C,MAAM,EAAE,CAAC;YAC5B,QAAQ,GAAG,KAAK,CAAC,EAAE;gBACf,KAAK,CAAC;oBACF,OAAO,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,EAAE,CAAC;oBAC/B,MAAM;gBACV;oBACI,MAAM,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;oBACzB,MAAM;aACb;SACJ;QACD,OAAO,OAAO,CAAC;IACnB,CAAC;IACD,WAAW,CAA8C,MAAS;;QAC9D,MAAM,OAAO,GAAG,oBAAoB,EAAE,CAAC;QACvC,OAAO,CAAC,KAAK,GAAG,MAAA,MAAM,CAAC,KAAK,mCAAI,IAAI,UAAU,EAAE,CAAC;QACjD,OAAO,OAAO,CAAC;IACnB,CAAC;CACJ,CAAC;AASF,SAAS,YAAY,CAAC,IAAU;IAC5B,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC;AAC3B,CAAC;AACD,IAAI,GAAG,CAAC,IAAI,CAAC,IAAI,KAAK,IAAI,EAAE;IACxB,GAAG,CAAC,IAAI,CAAC,IAAI,GAAG,IAAW,CAAC;IAC5B,GAAG,CAAC,SAAS,EAAE,CAAC;CACnB","sourcesContent":["import Long from \"long\";\nimport _m0 from \"protobufjs/minimal\";\nexport const protobufPackage = \"google.protobuf\";\nexport interface DoubleValue {\n value: number;\n}\nexport interface FloatValue {\n value: number;\n}\nexport interface Int64Value {\n value: string;\n}\nexport interface UInt64Value {\n value: string;\n}\nexport interface Int32Value {\n value: number;\n}\nexport interface UInt32Value {\n value: number;\n}\nexport interface BoolValue {\n value: boolean;\n}\nexport interface StringValue {\n value: string;\n}\nexport interface BytesValue {\n value: Uint8Array;\n}\nfunction createBaseDoubleValue(): DoubleValue {\n return { value: 0 };\n}\nexport const DoubleValue = {\n encode(message: DoubleValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.value !== 0) {\n writer.uint32(9).double(message.value);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): DoubleValue {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseDoubleValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.value = reader.double();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<DoubleValue>, I>>(object: I): DoubleValue {\n const message = createBaseDoubleValue();\n message.value = object.value ?? 0;\n return message;\n },\n};\nfunction createBaseFloatValue(): FloatValue {\n return { value: 0 };\n}\nexport const FloatValue = {\n encode(message: FloatValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.value !== 0) {\n writer.uint32(13).float(message.value);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): FloatValue {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseFloatValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.value = reader.float();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<FloatValue>, I>>(object: I): FloatValue {\n const message = createBaseFloatValue();\n message.value = object.value ?? 0;\n return message;\n },\n};\nfunction createBaseInt64Value(): Int64Value {\n return { value: \"0\" };\n}\nexport const Int64Value = {\n encode(message: Int64Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.value !== \"0\") {\n writer.uint32(8).int64(message.value);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): Int64Value {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseInt64Value();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.value = longToString(reader.int64() as Long);\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<Int64Value>, I>>(object: I): Int64Value {\n const message = createBaseInt64Value();\n message.value = object.value ?? \"0\";\n return message;\n },\n};\nfunction createBaseUInt64Value(): UInt64Value {\n return { value: \"0\" };\n}\nexport const UInt64Value = {\n encode(message: UInt64Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.value !== \"0\") {\n writer.uint32(8).uint64(message.value);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): UInt64Value {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseUInt64Value();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.value = longToString(reader.uint64() as Long);\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<UInt64Value>, I>>(object: I): UInt64Value {\n const message = createBaseUInt64Value();\n message.value = object.value ?? \"0\";\n return message;\n },\n};\nfunction createBaseInt32Value(): Int32Value {\n return { value: 0 };\n}\nexport const Int32Value = {\n encode(message: Int32Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.value !== 0) {\n writer.uint32(8).int32(message.value);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): Int32Value {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseInt32Value();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.value = reader.int32();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<Int32Value>, I>>(object: I): Int32Value {\n const message = createBaseInt32Value();\n message.value = object.value ?? 0;\n return message;\n },\n};\nfunction createBaseUInt32Value(): UInt32Value {\n return { value: 0 };\n}\nexport const UInt32Value = {\n encode(message: UInt32Value, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.value !== 0) {\n writer.uint32(8).uint32(message.value);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): UInt32Value {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseUInt32Value();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.value = reader.uint32();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<UInt32Value>, I>>(object: I): UInt32Value {\n const message = createBaseUInt32Value();\n message.value = object.value ?? 0;\n return message;\n },\n};\nfunction createBaseBoolValue(): BoolValue {\n return { value: false };\n}\nexport const BoolValue = {\n encode(message: BoolValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.value === true) {\n writer.uint32(8).bool(message.value);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): BoolValue {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseBoolValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.value = reader.bool();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<BoolValue>, I>>(object: I): BoolValue {\n const message = createBaseBoolValue();\n message.value = object.value ?? false;\n return message;\n },\n};\nfunction createBaseStringValue(): StringValue {\n return { value: \"\" };\n}\nexport const StringValue = {\n encode(message: StringValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.value !== \"\") {\n writer.uint32(10).string(message.value);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): StringValue {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseStringValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.value = reader.string();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<StringValue>, I>>(object: I): StringValue {\n const message = createBaseStringValue();\n message.value = object.value ?? \"\";\n return message;\n },\n};\nfunction createBaseBytesValue(): BytesValue {\n return { value: new Uint8Array() };\n}\nexport const BytesValue = {\n encode(message: BytesValue, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer {\n if (message.value.length !== 0) {\n writer.uint32(10).bytes(message.value);\n }\n return writer;\n },\n decode(input: _m0.Reader | Uint8Array, length?: number): BytesValue {\n const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);\n let end = length === undefined ? reader.len : reader.pos + length;\n const message = createBaseBytesValue();\n while (reader.pos < end) {\n const tag = reader.uint32();\n switch (tag >>> 3) {\n case 1:\n message.value = reader.bytes();\n break;\n default:\n reader.skipType(tag & 7);\n break;\n }\n }\n return message;\n },\n fromPartial<I extends Exact<DeepPartial<BytesValue>, I>>(object: I): BytesValue {\n const message = createBaseBytesValue();\n message.value = object.value ?? new Uint8Array();\n return message;\n },\n};\ntype Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;\nexport type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {\n [K in keyof T]?: DeepPartial<T[K]>;\n} : Partial<T>;\ntype KeysOfUnion<T> = T extends T ? keyof T : never;\nexport type Exact<P, I extends P> = P extends Builtin ? P : P & {\n [K in keyof P]: Exact<P[K], I[K]>;\n} & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;\nfunction longToString(long: Long) {\n return long.toString();\n}\nif (_m0.util.Long !== Long) {\n _m0.util.Long = Long as any;\n _m0.configure();\n}\n"]}
@@ -81,8 +81,8 @@ export declare const LaunchData: {
81
81
  } | undefined;
82
82
  } | undefined;
83
83
  } | undefined;
84
- createdTime?: number | undefined;
85
- expireTime?: number | undefined;
84
+ createdTime?: string | undefined;
85
+ expireTime?: string | undefined;
86
86
  version?: number | undefined;
87
87
  encryptionData?: {
88
88
  key?: Uint8Array | undefined;
@@ -126,7 +126,7 @@ export declare const LaunchData: {
126
126
  birthdate?: string | undefined;
127
127
  displayName?: string | undefined;
128
128
  countrycode?: string | undefined;
129
- score?: number | undefined;
129
+ score?: string | undefined;
130
130
  bitmojiInfo?: {
131
131
  avatarId?: string | undefined;
132
132
  selfieId?: string | undefined;
@@ -162,8 +162,8 @@ export declare const LaunchData: {
162
162
  } | undefined;
163
163
  } | undefined;
164
164
  } | undefined;
165
- createdTime?: number | undefined;
166
- expireTime?: number | undefined;
165
+ createdTime?: string | undefined;
166
+ expireTime?: string | undefined;
167
167
  version?: number | undefined;
168
168
  encryptionData?: {
169
169
  key?: Uint8Array | undefined;
@@ -212,8 +212,8 @@ export declare const LaunchData: {
212
212
  } & Record<Exclude<keyof I["snappable"]["sessionData"]["playerData"][string], keyof import("./snappable").PlayerData>, never>) | undefined;
213
213
  } & Record<Exclude<keyof I["snappable"]["sessionData"]["playerData"], string | number>, never>) | undefined;
214
214
  } & Record<Exclude<keyof I["snappable"]["sessionData"], "playerData">, never>) | undefined;
215
- createdTime?: number | undefined;
216
- expireTime?: number | undefined;
215
+ createdTime?: string | undefined;
216
+ expireTime?: string | undefined;
217
217
  version?: number | undefined;
218
218
  encryptionData?: ({
219
219
  key?: Uint8Array | undefined;
@@ -328,7 +328,7 @@ export declare const LaunchData: {
328
328
  birthdate?: string | undefined;
329
329
  displayName?: string | undefined;
330
330
  countrycode?: string | undefined;
331
- score?: number | undefined;
331
+ score?: string | undefined;
332
332
  bitmojiInfo?: {
333
333
  avatarId?: string | undefined;
334
334
  selfieId?: string | undefined;
@@ -345,7 +345,7 @@ export declare const LaunchData: {
345
345
  birthdate?: string | undefined;
346
346
  displayName?: string | undefined;
347
347
  countrycode?: string | undefined;
348
- score?: number | undefined;
348
+ score?: string | undefined;
349
349
  bitmojiInfo?: ({
350
350
  avatarId?: string | undefined;
351
351
  selfieId?: string | undefined;
@@ -90,7 +90,7 @@ export declare function tokenExchangeError_TokenExchangeErrorTypeToNumber(object
90
90
  export interface TokenDetails {
91
91
  accessToken: string;
92
92
  tokenType: string;
93
- expiresInSeconds: number;
93
+ expiresInSeconds: string;
94
94
  refreshToken: string;
95
95
  scope: string;
96
96
  }
@@ -261,13 +261,13 @@ export declare const TokenDetails: {
261
261
  fromPartial<I extends {
262
262
  accessToken?: string | undefined;
263
263
  tokenType?: string | undefined;
264
- expiresInSeconds?: number | undefined;
264
+ expiresInSeconds?: string | undefined;
265
265
  refreshToken?: string | undefined;
266
266
  scope?: string | undefined;
267
267
  } & {
268
268
  accessToken?: string | undefined;
269
269
  tokenType?: string | undefined;
270
- expiresInSeconds?: number | undefined;
270
+ expiresInSeconds?: string | undefined;
271
271
  refreshToken?: string | undefined;
272
272
  scope?: string | undefined;
273
273
  } & Record<Exclude<keyof I, keyof TokenDetails>, never>>(object: I): TokenDetails;
@@ -293,7 +293,7 @@ export declare const PerformTokenExchangeResponse: {
293
293
  tokenDetails?: {
294
294
  accessToken?: string | undefined;
295
295
  tokenType?: string | undefined;
296
- expiresInSeconds?: number | undefined;
296
+ expiresInSeconds?: string | undefined;
297
297
  refreshToken?: string | undefined;
298
298
  scope?: string | undefined;
299
299
  } | undefined;
@@ -312,7 +312,7 @@ export declare const PerformTokenExchangeResponse: {
312
312
  tokenDetails?: {
313
313
  accessToken?: string | undefined;
314
314
  tokenType?: string | undefined;
315
- expiresInSeconds?: number | undefined;
315
+ expiresInSeconds?: string | undefined;
316
316
  refreshToken?: string | undefined;
317
317
  scope?: string | undefined;
318
318
  } | undefined;
@@ -322,13 +322,13 @@ export declare const PerformTokenExchangeResponse: {
322
322
  tokenDetails?: ({
323
323
  accessToken?: string | undefined;
324
324
  tokenType?: string | undefined;
325
- expiresInSeconds?: number | undefined;
325
+ expiresInSeconds?: string | undefined;
326
326
  refreshToken?: string | undefined;
327
327
  scope?: string | undefined;
328
328
  } & {
329
329
  accessToken?: string | undefined;
330
330
  tokenType?: string | undefined;
331
- expiresInSeconds?: number | undefined;
331
+ expiresInSeconds?: string | undefined;
332
332
  refreshToken?: string | undefined;
333
333
  scope?: string | undefined;
334
334
  } & Record<Exclude<keyof I["response"]["tokenDetails"], keyof TokenDetails>, never>) | undefined;
@@ -371,7 +371,7 @@ export declare const RefreshTokenResponse: {
371
371
  tokenDetails?: {
372
372
  accessToken?: string | undefined;
373
373
  tokenType?: string | undefined;
374
- expiresInSeconds?: number | undefined;
374
+ expiresInSeconds?: string | undefined;
375
375
  refreshToken?: string | undefined;
376
376
  scope?: string | undefined;
377
377
  } | undefined;
@@ -390,7 +390,7 @@ export declare const RefreshTokenResponse: {
390
390
  tokenDetails?: {
391
391
  accessToken?: string | undefined;
392
392
  tokenType?: string | undefined;
393
- expiresInSeconds?: number | undefined;
393
+ expiresInSeconds?: string | undefined;
394
394
  refreshToken?: string | undefined;
395
395
  scope?: string | undefined;
396
396
  } | undefined;
@@ -400,13 +400,13 @@ export declare const RefreshTokenResponse: {
400
400
  tokenDetails?: ({
401
401
  accessToken?: string | undefined;
402
402
  tokenType?: string | undefined;
403
- expiresInSeconds?: number | undefined;
403
+ expiresInSeconds?: string | undefined;
404
404
  refreshToken?: string | undefined;
405
405
  scope?: string | undefined;
406
406
  } & {
407
407
  accessToken?: string | undefined;
408
408
  tokenType?: string | undefined;
409
- expiresInSeconds?: number | undefined;
409
+ expiresInSeconds?: string | undefined;
410
410
  refreshToken?: string | undefined;
411
411
  scope?: string | undefined;
412
412
  } & Record<Exclude<keyof I["response"]["tokenDetails"], keyof TokenDetails>, never>) | undefined;
@@ -600,7 +600,7 @@ export const TokenExchangeError = {
600
600
  },
601
601
  };
602
602
  function createBaseTokenDetails() {
603
- return { accessToken: "", tokenType: "", expiresInSeconds: 0, refreshToken: "", scope: "" };
603
+ return { accessToken: "", tokenType: "", expiresInSeconds: "0", refreshToken: "", scope: "" };
604
604
  }
605
605
  export const TokenDetails = {
606
606
  encode(message, writer = _m0.Writer.create()) {
@@ -610,7 +610,7 @@ export const TokenDetails = {
610
610
  if (message.tokenType !== "") {
611
611
  writer.uint32(18).string(message.tokenType);
612
612
  }
613
- if (message.expiresInSeconds !== 0) {
613
+ if (message.expiresInSeconds !== "0") {
614
614
  writer.uint32(24).int64(message.expiresInSeconds);
615
615
  }
616
616
  if (message.refreshToken !== "") {
@@ -635,7 +635,7 @@ export const TokenDetails = {
635
635
  message.tokenType = reader.string();
636
636
  break;
637
637
  case 3:
638
- message.expiresInSeconds = longToNumber(reader.int64());
638
+ message.expiresInSeconds = longToString(reader.int64());
639
639
  break;
640
640
  case 4:
641
641
  message.refreshToken = reader.string();
@@ -655,7 +655,7 @@ export const TokenDetails = {
655
655
  const message = createBaseTokenDetails();
656
656
  message.accessToken = (_a = object.accessToken) !== null && _a !== void 0 ? _a : "";
657
657
  message.tokenType = (_b = object.tokenType) !== null && _b !== void 0 ? _b : "";
658
- message.expiresInSeconds = (_c = object.expiresInSeconds) !== null && _c !== void 0 ? _c : 0;
658
+ message.expiresInSeconds = (_c = object.expiresInSeconds) !== null && _c !== void 0 ? _c : "0";
659
659
  message.refreshToken = (_d = object.refreshToken) !== null && _d !== void 0 ? _d : "";
660
660
  message.scope = (_e = object.scope) !== null && _e !== void 0 ? _e : "";
661
661
  return message;
@@ -1151,22 +1151,8 @@ export const LinkedResource = {
1151
1151
  return message;
1152
1152
  },
1153
1153
  };
1154
- var globalThis = (() => {
1155
- if (typeof globalThis !== "undefined")
1156
- return globalThis;
1157
- if (typeof self !== "undefined")
1158
- return self;
1159
- if (typeof window !== "undefined")
1160
- return window;
1161
- if (typeof global !== "undefined")
1162
- return global;
1163
- throw "Unable to locate global object";
1164
- })();
1165
- function longToNumber(long) {
1166
- if (long.gt(Number.MAX_SAFE_INTEGER)) {
1167
- throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
1168
- }
1169
- return long.toNumber();
1154
+ function longToString(long) {
1155
+ return long.toString();
1170
1156
  }
1171
1157
  if (_m0.util.Long !== Long) {
1172
1158
  _m0.util.Long = Long;