@snap/camera-kit 0.7.0 → 0.9.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 (245) hide show
  1. package/docs/html/assets/main.js +57 -53
  2. package/docs/html/assets/search.js +1 -1
  3. package/docs/html/assets/style.css +504 -362
  4. package/docs/html/classes/CameraKit.html +113 -47
  5. package/docs/html/classes/CameraKitSession.html +202 -142
  6. package/docs/html/classes/CameraKitSource.html +124 -60
  7. package/docs/html/classes/LensPerformanceMeasurement.html +112 -46
  8. package/docs/html/classes/LensPerformanceMetrics.html +97 -32
  9. package/docs/html/classes/LensRepository.html +130 -66
  10. package/docs/html/classes/LensSources.html +98 -32
  11. package/docs/html/classes/Transform2D.html +111 -43
  12. package/docs/html/classes/TypedCustomEvent.html +109 -47
  13. package/docs/html/classes/TypedEventTarget.html +125 -65
  14. package/docs/html/functions/Injectable.html +113 -120
  15. package/docs/html/functions/bootstrapCameraKit.html +100 -104
  16. package/docs/html/functions/createExtension.html +90 -94
  17. package/docs/html/functions/createImageSource.html +90 -93
  18. package/docs/html/functions/createMediaStreamSource.html +90 -93
  19. package/docs/html/functions/createUserMediaSource.html +92 -96
  20. package/docs/html/functions/createVideoSource.html +90 -93
  21. package/docs/html/functions/estimateLensPerformance.html +88 -92
  22. package/docs/html/functions/getRequiredBootstrapURLs.html +90 -94
  23. package/docs/html/functions/lensSourcesFactory.html +88 -91
  24. package/docs/html/functions/uriHandlersFactory.html +88 -91
  25. package/docs/html/index.html +134 -170
  26. package/docs/html/interfaces/CameraKitBootstrapConfiguration.html +115 -49
  27. package/docs/html/interfaces/CameraKitSourceSubscriber.html +111 -45
  28. package/docs/html/interfaces/ComputedFrameMetrics.html +98 -32
  29. package/docs/html/interfaces/CreateSessionOptions.html +95 -29
  30. package/docs/html/interfaces/EstimatedLensPerformance.html +98 -32
  31. package/docs/html/interfaces/Lens.html +115 -49
  32. package/docs/html/interfaces/LensSource.html +107 -41
  33. package/docs/html/interfaces/MediaStreamSourceOptions.html +94 -28
  34. package/docs/html/interfaces/UriCancelRequest.html +94 -28
  35. package/docs/html/interfaces/UriHandler.html +108 -42
  36. package/docs/html/interfaces/UriRequest.html +106 -40
  37. package/docs/html/interfaces/UriResponse.html +106 -40
  38. package/docs/html/interfaces/VideoSourceOptions.html +90 -24
  39. package/docs/html/modules.html +161 -164
  40. package/docs/html/types/AssetLoader.html +91 -94
  41. package/docs/html/types/AssetTiming.html +85 -88
  42. package/docs/html/types/BenchmarkError.html +85 -88
  43. package/docs/html/types/BootstrapError.html +86 -89
  44. package/docs/html/types/CacheKeyNotFoundError.html +85 -88
  45. package/docs/html/types/CameraKitDeviceInfo.html +87 -90
  46. package/docs/html/types/CameraKitSessionEventListener.html +86 -89
  47. package/docs/html/types/CameraKitSessionEvents.html +88 -91
  48. package/docs/html/types/CameraKitSourceError.html +85 -88
  49. package/docs/html/types/CameraKitSourceInfo.html +85 -88
  50. package/docs/html/types/CameraKitSourceOptions.html +88 -92
  51. package/docs/html/types/ConfigurationError.html +86 -89
  52. package/docs/html/types/Keyboard.html +108 -111
  53. package/docs/html/types/KeyboardEvents.html +86 -89
  54. package/docs/html/types/LegalError.html +85 -88
  55. package/docs/html/types/LensAssetError.html +85 -88
  56. package/docs/html/types/LensContentValidationError.html +85 -88
  57. package/docs/html/types/LensError.html +85 -88
  58. package/docs/html/types/LensExecutionError.html +86 -89
  59. package/docs/html/types/LensImagePickerError.html +85 -88
  60. package/docs/html/types/LensLaunchParams.html +85 -88
  61. package/docs/html/types/LensMetricsEvents.html +86 -89
  62. package/docs/html/types/LensPerformanceCluster.html +85 -88
  63. package/docs/html/types/LensView.html +85 -88
  64. package/docs/html/types/LensWait.html +85 -88
  65. package/docs/html/types/PersistentStoreError.html +85 -88
  66. package/docs/html/types/PlatformNotSupportedError.html +86 -89
  67. package/docs/html/types/PublicContainer.html +85 -88
  68. package/docs/html/types/RenderTarget.html +85 -88
  69. package/docs/html/types/Uri.html +85 -88
  70. package/docs/html/types/UriHandlers.html +86 -89
  71. package/docs/html/types/WebGLError.html +85 -88
  72. package/docs/html/variables/extensionRequestContext.html +85 -88
  73. package/docs/md/README.md +1 -1
  74. package/docs/md/classes/CameraKit.md +1 -1
  75. package/docs/md/classes/CameraKitSession.md +1 -1
  76. package/docs/md/classes/CameraKitSource.md +1 -1
  77. package/docs/md/classes/LensPerformanceMeasurement.md +1 -1
  78. package/docs/md/classes/LensPerformanceMetrics.md +1 -1
  79. package/docs/md/classes/LensRepository.md +3 -3
  80. package/docs/md/classes/LensSources.md +1 -1
  81. package/docs/md/classes/Transform2D.md +3 -1
  82. package/docs/md/classes/TypedCustomEvent.md +1 -1
  83. package/docs/md/classes/TypedEventTarget.md +3 -3
  84. package/docs/md/interfaces/CameraKitBootstrapConfiguration.md +1 -1
  85. package/docs/md/interfaces/CameraKitSourceSubscriber.md +1 -1
  86. package/docs/md/interfaces/ComputedFrameMetrics.md +1 -1
  87. package/docs/md/interfaces/CreateSessionOptions.md +1 -1
  88. package/docs/md/interfaces/EstimatedLensPerformance.md +1 -1
  89. package/docs/md/interfaces/Lens.md +1 -1
  90. package/docs/md/interfaces/LensSource.md +1 -1
  91. package/docs/md/interfaces/MediaStreamSourceOptions.md +1 -1
  92. package/docs/md/interfaces/UriCancelRequest.md +1 -1
  93. package/docs/md/interfaces/UriHandler.md +1 -1
  94. package/docs/md/interfaces/UriRequest.md +1 -1
  95. package/docs/md/interfaces/UriResponse.md +1 -1
  96. package/docs/md/interfaces/VideoSourceOptions.md +1 -1
  97. package/docs/md/modules.md +3 -3
  98. package/lib/CameraKit.d.ts +7 -7
  99. package/lib/__tests__/data.d.ts +1 -1
  100. package/lib/__tests__/deferred.d.ts +1 -1
  101. package/lib/__tests__/jest.matchers.d.ts +1 -1
  102. package/lib/benchmark/estimateLensPerformanceCluster.d.ts +2 -2
  103. package/lib/bootstrapCameraKit.d.ts +1 -1
  104. package/lib/common/cameraKitUserAgent.d.ts +1 -1
  105. package/lib/common/cameraKitUserAgent.js +5 -3
  106. package/lib/common/cameraKitUserAgent.js.map +1 -1
  107. package/lib/common/localization.d.ts +8 -4
  108. package/lib/common/localization.js.map +1 -1
  109. package/lib/common/memoize.d.ts +2 -2
  110. package/lib/common/pageVisibility.js +1 -1
  111. package/lib/common/pageVisibility.js.map +1 -1
  112. package/lib/common/typeguards.d.ts +2 -2
  113. package/lib/common/types.d.ts +2 -2
  114. package/lib/common/validate.js +20 -12
  115. package/lib/common/validate.js.map +1 -1
  116. package/lib/configuration.d.ts +1 -1
  117. package/lib/configuration.js.map +1 -1
  118. package/lib/configurationOverrides.d.ts +1 -1
  119. package/lib/dependency-injection/Container.d.ts +5 -6
  120. package/lib/dependency-injection/Container.js +1 -1
  121. package/lib/dependency-injection/Container.js.map +1 -1
  122. package/lib/dependency-injection/PartialContainer.d.ts +10 -6
  123. package/lib/dependency-injection/PartialContainer.js.map +1 -1
  124. package/lib/dependency-injection/RootServices.d.ts +2 -2
  125. package/lib/dependency-injection/types.d.ts +9 -9
  126. package/lib/dependency-injection/types.js.map +1 -1
  127. package/lib/environment.json +1 -1
  128. package/lib/events/TypedCustomEvent.d.ts +1 -1
  129. package/lib/events/TypedEventTarget.d.ts +2 -2
  130. package/lib/events/scan.d.ts +1 -1
  131. package/lib/events/scan.js +3 -3
  132. package/lib/events/scan.js.map +1 -1
  133. package/lib/extensions/UriHandlers.d.ts +1 -1
  134. package/lib/generated-proto/blizzard/cameraKitEvents.d.ts +4 -4
  135. package/lib/generated-proto/pb_schema/camera_kit/v3/business_events.d.ts +4 -4
  136. package/lib/generated-proto/pb_schema/camera_kit/v3/business_events.js +3 -3
  137. package/lib/generated-proto/pb_schema/camera_kit/v3/business_events.js.map +1 -1
  138. package/lib/generated-proto/pb_schema/camera_kit/v3/export.d.ts +4 -4
  139. package/lib/generated-proto/pb_schema/camera_kit/v3/export.js +9 -9
  140. package/lib/generated-proto/pb_schema/camera_kit/v3/export.js.map +1 -1
  141. package/lib/generated-proto/pb_schema/camera_kit/v3/legal_prompt.d.ts +4 -4
  142. package/lib/generated-proto/pb_schema/camera_kit/v3/legal_prompt.js +2 -2
  143. package/lib/generated-proto/pb_schema/camera_kit/v3/legal_prompt.js.map +1 -1
  144. package/lib/generated-proto/pb_schema/camera_kit/v3/lens.d.ts +4 -4
  145. package/lib/generated-proto/pb_schema/camera_kit/v3/lens.js +17 -17
  146. package/lib/generated-proto/pb_schema/camera_kit/v3/lens.js.map +1 -1
  147. package/lib/generated-proto/pb_schema/camera_kit/v3/operational_metrics.d.ts +4 -4
  148. package/lib/generated-proto/pb_schema/camera_kit/v3/operational_metrics.js +4 -4
  149. package/lib/generated-proto/pb_schema/camera_kit/v3/operational_metrics.js.map +1 -1
  150. package/lib/generated-proto/pb_schema/camera_kit/v3/ranking.d.ts +4 -4
  151. package/lib/generated-proto/pb_schema/camera_kit/v3/ranking.js +3 -3
  152. package/lib/generated-proto/pb_schema/camera_kit/v3/ranking.js.map +1 -1
  153. package/lib/generated-proto/pb_schema/camera_kit/v3/service.d.ts +4 -4
  154. package/lib/generated-proto/pb_schema/camera_kit/v3/service.js +25 -25
  155. package/lib/generated-proto/pb_schema/camera_kit/v3/service.js.map +1 -1
  156. package/lib/generated-proto/pb_schema/cdp/cof/benchmark.d.ts +4 -4
  157. package/lib/generated-proto/pb_schema/cdp/cof/circumstance_service.d.ts +4533 -333
  158. package/lib/generated-proto/pb_schema/cdp/cof/config_request.d.ts +4 -4
  159. package/lib/generated-proto/pb_schema/cdp/cof/config_response.d.ts +572 -32
  160. package/lib/generated-proto/pb_schema/cdp/cof/config_result.d.ts +4 -4
  161. package/lib/generated-proto/pb_schema/cdp/cof/debug_info.d.ts +4 -4
  162. package/lib/generated-proto/pb_schema/common/ruid.d.ts +4 -4
  163. package/lib/generated-proto/pb_schema/common/value.d.ts +4 -4
  164. package/lib/generated-proto/pb_schema/google/api/http.d.ts +4 -4
  165. package/lib/generated-proto/pb_schema/google/protobuf/any.d.ts +4 -4
  166. package/lib/generated-proto/pb_schema/google/protobuf/descriptor.d.ts +4 -4
  167. package/lib/generated-proto/pb_schema/google/protobuf/timestamp.d.ts +4 -4
  168. package/lib/generated-proto/pb_schema/google/protobuf/wrappers.d.ts +4 -4
  169. package/lib/generated-proto/pb_schema/lenses/geocircle.d.ts +4 -4
  170. package/lib/generated-proto/pb_schema/lenses/geopoint.d.ts +4 -4
  171. package/lib/generated-proto/pb_schema/lenses/launch_params.d.ts +4 -4
  172. package/lib/generated-proto/pb_schema/lenses/launchdata.d.ts +4 -4
  173. package/lib/generated-proto/pb_schema/lenses/lures.d.ts +4 -4
  174. package/lib/generated-proto/pb_schema/lenses/persistent_store.d.ts +4 -4
  175. package/lib/generated-proto/pb_schema/lenses/snappable.d.ts +4 -4
  176. package/lib/generated-proto/pb_schema/lenses/user_data.d.ts +4 -4
  177. package/lib/handlers/HandlerChainBuilder.d.ts +3 -3
  178. package/lib/handlers/arrayBufferParsingHandler.d.ts +2 -2
  179. package/lib/handlers/arrayBufferParsingHandler.js.map +1 -1
  180. package/lib/handlers/cameraKitServiceFetchHandlerFactory.d.ts +1 -1
  181. package/lib/handlers/defaultFetchHandler.d.ts +1 -1
  182. package/lib/handlers/headersModifyingFetchHandler.js +5 -1
  183. package/lib/handlers/headersModifyingFetchHandler.js.map +1 -1
  184. package/lib/handlers/noCorsRetryingFetchHandler.js +4 -3
  185. package/lib/handlers/noCorsRetryingFetchHandler.js.map +1 -1
  186. package/lib/handlers/requestStateEmittingHandler.d.ts +2 -2
  187. package/lib/handlers/requestStateEmittingHandler.js.map +1 -1
  188. package/lib/handlers/responseCachingHandler.d.ts +1 -1
  189. package/lib/handlers/responseCachingHandler.js.map +1 -1
  190. package/lib/handlers/retryingHandler.d.ts +7 -0
  191. package/lib/handlers/retryingHandler.js +14 -5
  192. package/lib/handlers/retryingHandler.js.map +1 -1
  193. package/lib/legal/legalPrompt.d.ts +1 -1
  194. package/lib/legal/legalPrompt.js.map +1 -1
  195. package/lib/legal/legalState.d.ts +1 -1
  196. package/lib/legal/legalState.js.map +1 -1
  197. package/lib/lens/Lens.d.ts +1 -1
  198. package/lib/lens/LensLaunchParams.d.ts +2 -2
  199. package/lib/lens/LensRepository.d.ts +7 -8
  200. package/lib/lens/LensRepository.js.map +1 -1
  201. package/lib/lens/assets/LensAssetRepository.d.ts +2 -2
  202. package/lib/lens/assets/LensAssetsProvider.d.ts +1 -1
  203. package/lib/lens/assets/deviceDependentAssetLoader.d.ts +1 -1
  204. package/lib/lens/assets/remoteMediaAssetLoaderFactory.d.ts +1 -1
  205. package/lib/lens/assets/staticAssetLoader.d.ts +1 -1
  206. package/lib/lens-core-module/generated-types.d.ts +29 -29
  207. package/lib/lens-core-module/generated-types.js.map +1 -1
  208. package/lib/lens-core-module/loader/lensCoreFactory.d.ts +1 -1
  209. package/lib/lensCoreWasmVersions.json +3 -3
  210. package/lib/logger/logger.d.ts +2 -2
  211. package/lib/media-sources/CameraKitSource.d.ts +3 -3
  212. package/lib/media-sources/CameraKitSource.js.map +1 -1
  213. package/lib/media-sources/FunctionSource.d.ts +1 -1
  214. package/lib/metrics/businessEventsReporter.d.ts +4 -4
  215. package/lib/metrics/businessEventsReporter.js.map +1 -1
  216. package/lib/metrics/metricsEventTarget.d.ts +5 -5
  217. package/lib/metrics/metricsHandler.d.ts +1 -1
  218. package/lib/metrics/operationalMetricsReporter.d.ts +2 -2
  219. package/lib/metrics/reporters/reportBenchmarks.d.ts +1 -1
  220. package/lib/metrics/reporters/reportLegalState.d.ts +1 -1
  221. package/lib/metrics/reporters/reportLensAndAssetDownload.d.ts +4 -4
  222. package/lib/metrics/reporters/reportLensValidationFailed.d.ts +1 -1
  223. package/lib/metrics/reporters/reportLensView.d.ts +1 -1
  224. package/lib/metrics/reporters/reportLensView.js +1 -1
  225. package/lib/metrics/reporters/reportLensView.js.map +1 -1
  226. package/lib/metrics/reporters/reportLensWait.d.ts +1 -1
  227. package/lib/metrics/reporters/reportUserSession.d.ts +1 -1
  228. package/lib/namedErrors.d.ts +17 -17
  229. package/lib/persistence/Persistence.d.ts +1 -1
  230. package/lib/remote-configuration/cofHandler.d.ts +1 -1
  231. package/lib/remote-configuration/cofHandler.js +18 -5
  232. package/lib/remote-configuration/cofHandler.js.map +1 -1
  233. package/lib/session/CameraKitSession.d.ts +1 -1
  234. package/lib/session/CameraKitSession.js.map +1 -1
  235. package/lib/session/CameraKitSessionEvents.d.ts +3 -3
  236. package/lib/session/LensKeyboard.d.ts +2 -2
  237. package/lib/session/LensPerformanceMetrics.js.map +1 -1
  238. package/lib/session/lensState.d.ts +2 -2
  239. package/lib/session/lensState.js.map +1 -1
  240. package/lib/session/sessionState.d.ts +1 -1
  241. package/lib/transforms/Transform2D.js +2 -1
  242. package/lib/transforms/Transform2D.js.map +1 -1
  243. package/package.json +14 -14
  244. package/docs/html/assets/widgets.png +0 -0
  245. package/docs/html/assets/widgets@2x.png +0 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.