@snap/camera-kit 1.0.1 → 1.1.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 (264) hide show
  1. package/README.md +1 -1
  2. package/dist/CameraKit.d.ts +4 -0
  3. package/dist/CameraKit.d.ts.map +1 -1
  4. package/dist/CameraKit.js +8 -2
  5. package/dist/CameraKit.js.map +1 -1
  6. package/dist/RootServices.d.ts +4 -2
  7. package/dist/RootServices.d.ts.map +1 -1
  8. package/dist/RootServices.js.map +1 -1
  9. package/dist/bootstrapCameraKit.d.ts.map +1 -1
  10. package/dist/bootstrapCameraKit.js +4 -2
  11. package/dist/bootstrapCameraKit.js.map +1 -1
  12. package/dist/clients/remoteApiSpecsClient.d.ts +10 -0
  13. package/dist/clients/remoteApiSpecsClient.d.ts.map +1 -0
  14. package/dist/clients/remoteApiSpecsClient.js +6 -0
  15. package/dist/clients/remoteApiSpecsClient.js.map +1 -0
  16. package/dist/common/typeguards.d.ts +3 -0
  17. package/dist/common/typeguards.d.ts.map +1 -1
  18. package/dist/common/typeguards.js +12 -0
  19. package/dist/common/typeguards.js.map +1 -1
  20. package/dist/configuration.d.ts +115 -0
  21. package/dist/configuration.d.ts.map +1 -1
  22. package/dist/configuration.js +1 -0
  23. package/dist/configuration.js.map +1 -1
  24. package/dist/environment.js +1 -1
  25. package/dist/environment.js.map +1 -1
  26. package/dist/index.d.ts +3 -3
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +3 -3
  29. package/dist/index.js.map +1 -1
  30. package/dist/lensCoreWasmVersions.js +3 -3
  31. package/dist/lensCoreWasmVersions.js.map +1 -1
  32. package/dist/session/LensKeyboard.d.ts +1 -1
  33. package/dist/session/LensKeyboard.d.ts.map +1 -1
  34. package/dist/session/LensKeyboard.js.map +1 -1
  35. package/dist/uri-handlers/UriHandlers.d.ts.map +1 -0
  36. package/dist/uri-handlers/UriHandlers.js.map +1 -0
  37. package/dist/uri-handlers/internal-handlers/httpUriHandler.d.ts +35 -0
  38. package/dist/uri-handlers/internal-handlers/httpUriHandler.d.ts.map +1 -0
  39. package/dist/uri-handlers/internal-handlers/httpUriHandler.js +144 -0
  40. package/dist/uri-handlers/internal-handlers/httpUriHandler.js.map +1 -0
  41. package/dist/uri-handlers/internal-handlers/httpValidators.d.ts +9 -0
  42. package/dist/uri-handlers/internal-handlers/httpValidators.d.ts.map +1 -0
  43. package/dist/uri-handlers/internal-handlers/httpValidators.js +115 -0
  44. package/dist/uri-handlers/internal-handlers/httpValidators.js.map +1 -0
  45. package/dist/{extensions/RemoteApiServices.d.ts → uri-handlers/internal-handlers/remoteApiUriHandler.d.ts} +8 -8
  46. package/dist/uri-handlers/internal-handlers/remoteApiUriHandler.d.ts.map +1 -0
  47. package/dist/uri-handlers/internal-handlers/remoteApiUriHandler.js +121 -0
  48. package/dist/uri-handlers/internal-handlers/remoteApiUriHandler.js.map +1 -0
  49. package/dist/{extensions → uri-handlers}/uriHandlersRegister.d.ts +6 -4
  50. package/dist/uri-handlers/uriHandlersRegister.d.ts.map +1 -0
  51. package/dist/{extensions → uri-handlers}/uriHandlersRegister.js +13 -3
  52. package/dist/uri-handlers/uriHandlersRegister.js.map +1 -0
  53. package/dist/uri-handlers/uriRequestProcessor.d.ts +37 -0
  54. package/dist/uri-handlers/uriRequestProcessor.d.ts.map +1 -0
  55. package/dist/uri-handlers/uriRequestProcessor.js +69 -0
  56. package/dist/uri-handlers/uriRequestProcessor.js.map +1 -0
  57. package/docs/html/assets/hierarchy.js +1 -0
  58. package/docs/html/assets/highlight.css +9 -2
  59. package/docs/html/assets/icons.js +18 -0
  60. package/docs/html/assets/icons.svg +1 -0
  61. package/docs/html/assets/main.js +5 -4
  62. package/docs/html/assets/navigation.js +1 -1
  63. package/docs/html/assets/search.js +1 -1
  64. package/docs/html/assets/style.css +1422 -1226
  65. package/docs/html/classes/CameraKit.html +18 -16
  66. package/docs/html/classes/CameraKitSession.html +76 -51
  67. package/docs/html/classes/CameraKitSource.html +18 -18
  68. package/docs/html/classes/LensPerformanceMeasurement.html +11 -11
  69. package/docs/html/classes/LensPerformanceMetrics.html +8 -7
  70. package/docs/html/classes/LensRepository.html +25 -23
  71. package/docs/html/classes/Transform2D.html +9 -9
  72. package/docs/html/classes/TypedCustomEvent.html +5 -4
  73. package/docs/html/classes/TypedEventTarget.html +6 -6
  74. package/docs/html/enums/Lens_CameraFacing.html +5 -5
  75. package/docs/html/functions/bootstrapCameraKit.html +11 -10
  76. package/docs/html/functions/createExtension.html +7 -6
  77. package/docs/html/functions/createImageSource.html +5 -5
  78. package/docs/html/functions/createMediaStreamSource.html +5 -5
  79. package/docs/html/functions/createVideoSource.html +5 -5
  80. package/docs/html/functions/estimateLensPerformance.html +2 -2
  81. package/docs/html/functions/filePickerFactory.html +2 -2
  82. package/docs/html/functions/lensSourcesFactory.html +5 -4
  83. package/docs/html/functions/remoteApiServicesFactory.html +1 -1
  84. package/docs/html/hierarchy.html +1 -1
  85. package/docs/html/index.html +111 -88
  86. package/docs/html/interfaces/BitmojiUserInfo.html +3 -3
  87. package/docs/html/interfaces/CameraKitBootstrapConfiguration.html +40 -21
  88. package/docs/html/interfaces/CameraKitDeviceOptions.html +7 -7
  89. package/docs/html/interfaces/CameraKitSourceInfo.html +7 -7
  90. package/docs/html/interfaces/CameraKitSourceSubscriber.html +4 -4
  91. package/docs/html/interfaces/ComputedFrameMetrics.html +6 -6
  92. package/docs/html/interfaces/CreateSessionOptions.html +7 -7
  93. package/docs/html/interfaces/EstimatedLensPerformance.html +5 -5
  94. package/docs/html/interfaces/Font.html +6 -0
  95. package/docs/html/interfaces/FriendUserInfo.html +4 -4
  96. package/docs/html/interfaces/FunctionSourceOptions.html +4 -4
  97. package/docs/html/interfaces/Lens.html +21 -21
  98. package/docs/html/interfaces/LensCreator.html +3 -3
  99. package/docs/html/interfaces/LensHttpRequest.html +16 -0
  100. package/docs/html/interfaces/LensLaunchData.html +6 -6
  101. package/docs/html/interfaces/LensSource.html +5 -5
  102. package/docs/html/interfaces/LensUserData.html +10 -10
  103. package/docs/html/interfaces/LoadAssetRequest.html +10 -10
  104. package/docs/html/interfaces/MediaStreamSourceOptions.html +11 -11
  105. package/docs/html/interfaces/Preview.html +4 -4
  106. package/docs/html/interfaces/RemoteApiRequest.html +10 -10
  107. package/docs/html/interfaces/RemoteApiResponse.html +8 -8
  108. package/docs/html/interfaces/RemoteApiService.html +9 -9
  109. package/docs/html/interfaces/Snapcode.html +6 -6
  110. package/docs/html/interfaces/UriCancelRequest.html +3 -3
  111. package/docs/html/interfaces/UriRequest.html +7 -7
  112. package/docs/html/interfaces/UriResponse.html +6 -6
  113. package/docs/html/interfaces/VideoSourceOptions.html +9 -9
  114. package/docs/html/modules.html +1 -99
  115. package/docs/html/types/ArgumentValidationError.html +2 -2
  116. package/docs/html/types/AssetLoader.html +4 -4
  117. package/docs/html/types/AssetResponse.html +1 -1
  118. package/docs/html/types/AssetTiming.html +2 -2
  119. package/docs/html/types/BenchmarkError.html +1 -1
  120. package/docs/html/types/BootstrapError.html +2 -2
  121. package/docs/html/types/CacheKeyNotFoundError.html +1 -1
  122. package/docs/html/types/CameraKitSessionEventListener.html +2 -2
  123. package/docs/html/types/CameraKitSessionEvents.html +4 -3
  124. package/docs/html/types/CameraKitSourceError.html +1 -1
  125. package/docs/html/types/ConfigurationError.html +2 -2
  126. package/docs/html/types/FetchHandler.html +1 -1
  127. package/docs/html/types/FilePicker.html +5 -5
  128. package/docs/html/types/FilePickerOptions.html +2 -2
  129. package/docs/html/types/FilePickerResult.html +2 -2
  130. package/docs/html/types/Keyboard.html +9 -16
  131. package/docs/html/types/KeyboardEvents.html +2 -2
  132. package/docs/html/types/LegalError.html +1 -1
  133. package/docs/html/types/LensAbortError.html +6 -5
  134. package/docs/html/types/LensAssetError.html +2 -2
  135. package/docs/html/types/LensContentValidationError.html +1 -1
  136. package/docs/html/types/LensError.html +1 -1
  137. package/docs/html/types/LensExecutionError.html +6 -5
  138. package/docs/html/types/LensHttpHandler.html +9 -0
  139. package/docs/html/types/LensImagePickerError.html +2 -2
  140. package/docs/html/types/LensLaunchParams.html +2 -2
  141. package/docs/html/types/LensMetricsEvents.html +2 -2
  142. package/docs/html/types/LensPerformanceCluster.html +1 -1
  143. package/docs/html/types/LensView.html +3 -3
  144. package/docs/html/types/LensWait.html +2 -2
  145. package/docs/html/types/Matrix.html +2 -2
  146. package/docs/html/types/PersistentStoreError.html +2 -2
  147. package/docs/html/types/PlatformNotSupportedError.html +3 -3
  148. package/docs/html/types/PublicContainer.html +2 -2
  149. package/docs/html/types/PublicServices.html +2 -2
  150. package/docs/html/types/RemoteApiCancelRequestHandler.html +2 -2
  151. package/docs/html/types/RemoteApiRequestHandler.html +2 -2
  152. package/docs/html/types/RemoteApiServices.html +1 -1
  153. package/docs/html/types/RemoteApiStatus.html +2 -2
  154. package/docs/html/types/RenderTarget.html +3 -3
  155. package/docs/html/types/Uri.html +1 -1
  156. package/docs/html/types/WebGLError.html +1 -1
  157. package/docs/html/types/Zodiac.html +1 -1
  158. package/docs/html/variables/extensionRequestContext.html +2 -2
  159. package/docs/md/README.md +5 -3
  160. package/docs/md/classes/CameraKit.md +26 -37
  161. package/docs/md/classes/CameraKitSession.md +146 -107
  162. package/docs/md/classes/CameraKitSource.md +46 -37
  163. package/docs/md/classes/LensPerformanceMeasurement.md +18 -26
  164. package/docs/md/classes/LensPerformanceMetrics.md +8 -10
  165. package/docs/md/classes/LensRepository.md +66 -45
  166. package/docs/md/classes/Transform2D.md +19 -26
  167. package/docs/md/classes/TypedCustomEvent.md +24 -32
  168. package/docs/md/classes/TypedEventTarget.md +43 -54
  169. package/docs/md/enumerations/Lens_CameraFacing.md +31 -0
  170. package/docs/md/functions/bootstrapCameraKit.md +66 -0
  171. package/docs/md/functions/createExtension.md +50 -0
  172. package/docs/md/functions/createImageSource.md +30 -0
  173. package/docs/md/functions/createMediaStreamSource.md +30 -0
  174. package/docs/md/functions/createVideoSource.md +31 -0
  175. package/docs/md/functions/estimateLensPerformance.md +18 -0
  176. package/docs/md/functions/filePickerFactory.md +22 -0
  177. package/docs/md/functions/lensSourcesFactory.md +37 -0
  178. package/docs/md/functions/remoteApiServicesFactory.md +19 -0
  179. package/docs/md/globals.md +121 -0
  180. package/docs/md/interfaces/BitmojiUserInfo.md +9 -12
  181. package/docs/md/interfaces/CameraKitBootstrapConfiguration.md +99 -40
  182. package/docs/md/interfaces/CameraKitDeviceOptions.md +11 -17
  183. package/docs/md/interfaces/CameraKitSourceInfo.md +14 -20
  184. package/docs/md/interfaces/CameraKitSourceSubscriber.md +23 -28
  185. package/docs/md/interfaces/ComputedFrameMetrics.md +13 -19
  186. package/docs/md/interfaces/CreateSessionOptions.md +10 -13
  187. package/docs/md/interfaces/EstimatedLensPerformance.md +10 -14
  188. package/docs/md/interfaces/Font.md +25 -0
  189. package/docs/md/interfaces/FriendUserInfo.md +12 -16
  190. package/docs/md/interfaces/FunctionSourceOptions.md +6 -8
  191. package/docs/md/interfaces/Lens.md +26 -37
  192. package/docs/md/interfaces/LensCreator.md +6 -8
  193. package/docs/md/interfaces/LensHttpRequest.md +60 -0
  194. package/docs/md/interfaces/LensLaunchData.md +13 -17
  195. package/docs/md/interfaces/LensSource.md +26 -27
  196. package/docs/md/interfaces/LensUserData.md +30 -40
  197. package/docs/md/interfaces/LoadAssetRequest.md +13 -18
  198. package/docs/md/interfaces/MediaStreamSourceOptions.md +15 -22
  199. package/docs/md/interfaces/Preview.md +6 -8
  200. package/docs/md/interfaces/RemoteApiRequest.md +12 -17
  201. package/docs/md/interfaces/RemoteApiResponse.md +10 -14
  202. package/docs/md/interfaces/RemoteApiService.md +20 -19
  203. package/docs/md/interfaces/Snapcode.md +8 -11
  204. package/docs/md/interfaces/UriCancelRequest.md +7 -10
  205. package/docs/md/interfaces/UriRequest.md +15 -22
  206. package/docs/md/interfaces/UriResponse.md +14 -20
  207. package/docs/md/interfaces/VideoSourceOptions.md +13 -19
  208. package/docs/md/type-aliases/ArgumentValidationError.md +11 -0
  209. package/docs/md/type-aliases/AssetLoader.md +26 -0
  210. package/docs/md/type-aliases/AssetResponse.md +9 -0
  211. package/docs/md/type-aliases/AssetTiming.md +18 -0
  212. package/docs/md/type-aliases/BenchmarkError.md +9 -0
  213. package/docs/md/type-aliases/BootstrapError.md +12 -0
  214. package/docs/md/type-aliases/CacheKeyNotFoundError.md +9 -0
  215. package/docs/md/type-aliases/CameraKitSessionEventListener.md +11 -0
  216. package/docs/md/type-aliases/CameraKitSessionEvents.md +17 -0
  217. package/docs/md/type-aliases/CameraKitSourceError.md +9 -0
  218. package/docs/md/type-aliases/ConfigurationError.md +11 -0
  219. package/docs/md/type-aliases/FetchHandler.md +27 -0
  220. package/docs/md/type-aliases/FilePicker.md +32 -0
  221. package/docs/md/type-aliases/FilePickerOptions.md +11 -0
  222. package/docs/md/type-aliases/FilePickerResult.md +11 -0
  223. package/docs/md/type-aliases/Keyboard.md +114 -0
  224. package/docs/md/type-aliases/KeyboardEvents.md +11 -0
  225. package/docs/md/type-aliases/LegalError.md +9 -0
  226. package/docs/md/type-aliases/LensAbortError.md +22 -0
  227. package/docs/md/type-aliases/LensAssetError.md +11 -0
  228. package/docs/md/type-aliases/LensContentValidationError.md +9 -0
  229. package/docs/md/type-aliases/LensError.md +9 -0
  230. package/docs/md/type-aliases/LensExecutionError.md +23 -0
  231. package/docs/md/type-aliases/LensHttpHandler.md +41 -0
  232. package/docs/md/type-aliases/LensImagePickerError.md +12 -0
  233. package/docs/md/type-aliases/LensLaunchParams.md +11 -0
  234. package/docs/md/type-aliases/LensMetricsEvents.md +13 -0
  235. package/docs/md/type-aliases/LensPerformanceCluster.md +9 -0
  236. package/docs/md/type-aliases/LensView.md +21 -0
  237. package/docs/md/type-aliases/LensWait.md +13 -0
  238. package/docs/md/type-aliases/Matrix.md +12 -0
  239. package/docs/md/type-aliases/PersistentStoreError.md +11 -0
  240. package/docs/md/type-aliases/PlatformNotSupportedError.md +13 -0
  241. package/docs/md/type-aliases/PublicContainer.md +12 -0
  242. package/docs/md/type-aliases/PublicServices.md +11 -0
  243. package/docs/md/type-aliases/RemoteApiCancelRequestHandler.md +15 -0
  244. package/docs/md/type-aliases/RemoteApiRequestHandler.md +24 -0
  245. package/docs/md/type-aliases/RemoteApiServices.md +9 -0
  246. package/docs/md/type-aliases/RemoteApiStatus.md +11 -0
  247. package/docs/md/type-aliases/RenderTarget.md +14 -0
  248. package/docs/md/type-aliases/Uri.md +9 -0
  249. package/docs/md/type-aliases/WebGLError.md +9 -0
  250. package/docs/md/type-aliases/Zodiac.md +9 -0
  251. package/docs/md/variables/extensionRequestContext.md +11 -0
  252. package/package.json +5 -5
  253. package/dist/extensions/RemoteApiServices.d.ts.map +0 -1
  254. package/dist/extensions/RemoteApiServices.js +0 -159
  255. package/dist/extensions/RemoteApiServices.js.map +0 -1
  256. package/dist/extensions/UriHandlers.d.ts.map +0 -1
  257. package/dist/extensions/UriHandlers.js.map +0 -1
  258. package/dist/extensions/uriHandlersRegister.d.ts.map +0 -1
  259. package/dist/extensions/uriHandlersRegister.js.map +0 -1
  260. package/docs/md/.nojekyll +0 -1
  261. package/docs/md/enums/Lens_CameraFacing.md +0 -36
  262. package/docs/md/modules.md +0 -904
  263. /package/dist/{extensions → uri-handlers}/UriHandlers.d.ts +0 -0
  264. /package/dist/{extensions → uri-handlers}/UriHandlers.js +0 -0
@@ -1,4 +1,8 @@
1
- [CameraKit Web SDK - v1.0.1](../README.md) / [Exports](../modules.md) / LensSource
1
+ [**CameraKit Web SDK v1.1.0**](../README.md)
2
+
3
+ ***
4
+
5
+ [CameraKit Web SDK](../globals.md) / LensSource
2
6
 
3
7
  # Interface: LensSource
4
8
 
@@ -8,58 +12,53 @@ When a Lens or Lens group is requested via the [LensRepository](../classes/LensR
8
12
  claims ownership of that group. The appropriate LensSource method will be called and must return an ArrayBuffer
9
13
  containing the encoded Lens metadata -- this can be obtained from a CameraKit backend API.
10
14
 
11
- ## Table of contents
12
-
13
- ### Methods
14
-
15
- - [isGroupOwner](LensSource.md#isgroupowner)
16
- - [loadLens](LensSource.md#loadlens)
17
- - [loadLensGroup](LensSource.md#loadlensgroup)
18
-
19
15
  ## Methods
20
16
 
21
- ### isGroupOwner
17
+ ### isGroupOwner()
22
18
 
23
- **isGroupOwner**(`groupId`): `boolean`
19
+ > **isGroupOwner**(`groupId`): `boolean`
24
20
 
25
21
  #### Parameters
26
22
 
27
- | Name | Type |
28
- | :------ | :------ |
29
- | `groupId` | `string` |
23
+ ##### groupId
24
+
25
+ `string`
30
26
 
31
27
  #### Returns
32
28
 
33
29
  `boolean`
34
30
 
35
- ___
31
+ ***
36
32
 
37
- ### loadLens
33
+ ### loadLens()
38
34
 
39
- **loadLens**(`lensId`, `groupId`): `Promise`\<`ArrayBuffer`\>
35
+ > **loadLens**(`lensId`, `groupId`): `Promise`\<`ArrayBuffer`\>
40
36
 
41
37
  #### Parameters
42
38
 
43
- | Name | Type |
44
- | :------ | :------ |
45
- | `lensId` | `string` |
46
- | `groupId` | `string` |
39
+ ##### lensId
40
+
41
+ `string`
42
+
43
+ ##### groupId
44
+
45
+ `string`
47
46
 
48
47
  #### Returns
49
48
 
50
49
  `Promise`\<`ArrayBuffer`\>
51
50
 
52
- ___
51
+ ***
53
52
 
54
- ### loadLensGroup
53
+ ### loadLensGroup()
55
54
 
56
- **loadLensGroup**(`groupId`): `Promise`\<`ArrayBuffer`\>
55
+ > **loadLensGroup**(`groupId`): `Promise`\<`ArrayBuffer`\>
57
56
 
58
57
  #### Parameters
59
58
 
60
- | Name | Type |
61
- | :------ | :------ |
62
- | `groupId` | `string` |
59
+ ##### groupId
60
+
61
+ `string`
63
62
 
64
63
  #### Returns
65
64
 
@@ -1,71 +1,61 @@
1
- [CameraKit Web SDK - v1.0.1](../README.md) / [Exports](../modules.md) / LensUserData
1
+ [**CameraKit Web SDK v1.1.0**](../README.md)
2
2
 
3
- # Interface: LensUserData
4
-
5
- ## Table of contents
3
+ ***
6
4
 
7
- ### Properties
5
+ [CameraKit Web SDK](../globals.md) / LensUserData
8
6
 
9
- - [userId](LensUserData.md#userid)
10
- - [username](LensUserData.md#username)
11
- - [birthdate](LensUserData.md#birthdate)
12
- - [displayName](LensUserData.md#displayname)
13
- - [countrycode](LensUserData.md#countrycode)
14
- - [score](LensUserData.md#score)
15
- - [bitmojiInfo](LensUserData.md#bitmojiinfo)
16
- - [friendInfo](LensUserData.md#friendinfo)
17
- - [zodiac](LensUserData.md#zodiac)
7
+ # Interface: LensUserData
18
8
 
19
9
  ## Properties
20
10
 
21
- ### userId
11
+ ### userId?
22
12
 
23
- `Optional` **userId**: `string`
13
+ > `optional` **userId**: `string`
24
14
 
25
- ___
15
+ ***
26
16
 
27
- ### username
17
+ ### username?
28
18
 
29
- `Optional` **username**: `string`
19
+ > `optional` **username**: `string`
30
20
 
31
- ___
21
+ ***
32
22
 
33
- ### birthdate
23
+ ### birthdate?
34
24
 
35
- `Optional` **birthdate**: `string`
25
+ > `optional` **birthdate**: `string`
36
26
 
37
- ___
27
+ ***
38
28
 
39
- ### displayName
29
+ ### displayName?
40
30
 
41
- `Optional` **displayName**: `string`
31
+ > `optional` **displayName**: `string`
42
32
 
43
- ___
33
+ ***
44
34
 
45
- ### countrycode
35
+ ### countrycode?
46
36
 
47
- `Optional` **countrycode**: `string`
37
+ > `optional` **countrycode**: `string`
48
38
 
49
- ___
39
+ ***
50
40
 
51
- ### score
41
+ ### score?
52
42
 
53
- `Optional` **score**: `string`
43
+ > `optional` **score**: `string`
54
44
 
55
- ___
45
+ ***
56
46
 
57
- ### bitmojiInfo
47
+ ### bitmojiInfo?
58
48
 
59
- `Optional` **bitmojiInfo**: [`BitmojiUserInfo`](BitmojiUserInfo.md)
49
+ > `optional` **bitmojiInfo**: [`BitmojiUserInfo`](BitmojiUserInfo.md)
60
50
 
61
- ___
51
+ ***
62
52
 
63
- ### friendInfo
53
+ ### friendInfo?
64
54
 
65
- `Optional` **friendInfo**: [`FriendUserInfo`](FriendUserInfo.md)
55
+ > `optional` **friendInfo**: [`FriendUserInfo`](FriendUserInfo.md)
66
56
 
67
- ___
57
+ ***
68
58
 
69
- ### zodiac
59
+ ### zodiac?
70
60
 
71
- `Optional` **zodiac**: [`Zodiac`](../modules.md#zodiac)
61
+ > `optional` **zodiac**: [`Zodiac`](../type-aliases/Zodiac.md)
@@ -1,48 +1,43 @@
1
- [CameraKit Web SDK - v1.0.1](../README.md) / [Exports](../modules.md) / LoadAssetRequest
1
+ [**CameraKit Web SDK v1.1.0**](../README.md)
2
2
 
3
- # Interface: LoadAssetRequest
4
-
5
- Represents a request for loading assets through [AssetLoader](../modules.md#assetloader). This object specifies the asset to be loaded,
6
- optionally defines the lens context, includes an asset manifest if available, and indicates the priority of the load.
3
+ ***
7
4
 
8
- ## Table of contents
5
+ [CameraKit Web SDK](../globals.md) / LoadAssetRequest
9
6
 
10
- ### Properties
7
+ # Interface: LoadAssetRequest
11
8
 
12
- - [assetDescriptor](LoadAssetRequest.md#assetdescriptor)
13
- - [lens](LoadAssetRequest.md#lens)
14
- - [assetManifest](LoadAssetRequest.md#assetmanifest)
15
- - [lowPriority](LoadAssetRequest.md#lowpriority)
9
+ Represents a request for loading assets through [AssetLoader](../type-aliases/AssetLoader.md). This object specifies the asset to be loaded,
10
+ optionally defines the lens context, includes an asset manifest if available, and indicates the priority of the load.
16
11
 
17
12
  ## Properties
18
13
 
19
14
  ### assetDescriptor
20
15
 
21
- **assetDescriptor**: `AssetDescriptor`
16
+ > **assetDescriptor**: `AssetDescriptor`
22
17
 
23
18
  Describes the asset to be loaded.
24
19
 
25
- ___
20
+ ***
26
21
 
27
22
  ### lens
28
23
 
29
- **lens**: `undefined` \| [`Lens`](Lens.md)
24
+ > **lens**: `undefined` \| [`Lens`](Lens.md)
30
25
 
31
26
  Specifies the lens context for the asset load, if applicable.
32
27
 
33
- ___
28
+ ***
34
29
 
35
30
  ### assetManifest
36
31
 
37
- **assetManifest**: `LensAssetManifestItem`[]
32
+ > **assetManifest**: `LensAssetManifestItem`[]
38
33
 
39
34
  Lens asset manifest.
40
35
 
41
- ___
36
+ ***
42
37
 
43
38
  ### lowPriority
44
39
 
45
- **lowPriority**: `boolean`
40
+ > **lowPriority**: `boolean`
46
41
 
47
42
  Indicates whether the asset fetch should be treated with lower priority compared to other
48
43
  network requests on the page. When set to true, this request may be deferred in favor of higher-priority
@@ -1,29 +1,22 @@
1
- [CameraKit Web SDK - v1.0.1](../README.md) / [Exports](../modules.md) / MediaStreamSourceOptions
1
+ [**CameraKit Web SDK v1.1.0**](../README.md)
2
+
3
+ ***
4
+
5
+ [CameraKit Web SDK](../globals.md) / MediaStreamSourceOptions
2
6
 
3
7
  # Interface: MediaStreamSourceOptions
4
8
 
5
9
  Media stream source options.
6
10
 
7
- ## Hierarchy
11
+ ## Extends
8
12
 
9
13
  - [`CameraKitDeviceOptions`](CameraKitDeviceOptions.md)
10
14
 
11
- ↳ **`MediaStreamSourceOptions`**
12
-
13
- ## Table of contents
14
-
15
- ### Properties
16
-
17
- - [cameraType](MediaStreamSourceOptions.md#cameratype)
18
- - [fpsLimit](MediaStreamSourceOptions.md#fpslimit)
19
- - [transform](MediaStreamSourceOptions.md#transform)
20
- - [disableSourceAudio](MediaStreamSourceOptions.md#disablesourceaudio)
21
-
22
15
  ## Properties
23
16
 
24
17
  ### cameraType
25
18
 
26
- **cameraType**: ``"user"`` \| ``"environment"``
19
+ > **cameraType**: `"user"` \| `"environment"`
27
20
 
28
21
  Specifies the camera type for which certain features are enabled or disabled.
29
22
  For example, surface tracking features are only active when the camera is set to "environment" mode.
@@ -32,13 +25,13 @@ The default value is "user", which accommodates the majority of Lenses.
32
25
 
33
26
  #### Inherited from
34
27
 
35
- [CameraKitDeviceOptions](CameraKitDeviceOptions.md).[cameraType](CameraKitDeviceOptions.md#cameratype)
28
+ [`CameraKitDeviceOptions`](CameraKitDeviceOptions.md).[`cameraType`](CameraKitDeviceOptions.md#cameratype)
36
29
 
37
- ___
30
+ ***
38
31
 
39
32
  ### fpsLimit
40
33
 
41
- **fpsLimit**: `number`
34
+ > **fpsLimit**: `number`
42
35
 
43
36
  Limits the frames per second (FPS) to optimize performance by reducing compute resources
44
37
  when high FPS is not critical. By default, no limit is set, allowing usage of the video's native FPS.
@@ -46,22 +39,22 @@ Useful for controlling resource usage on varying device capabilities.
46
39
 
47
40
  #### Inherited from
48
41
 
49
- [CameraKitDeviceOptions](CameraKitDeviceOptions.md).[fpsLimit](CameraKitDeviceOptions.md#fpslimit)
42
+ [`CameraKitDeviceOptions`](CameraKitDeviceOptions.md).[`fpsLimit`](CameraKitDeviceOptions.md#fpslimit)
50
43
 
51
- ___
44
+ ***
52
45
 
53
46
  ### transform
54
47
 
55
- **transform**: [`Transform2D`](../classes/Transform2D.md)
48
+ > **transform**: [`Transform2D`](../classes/Transform2D.md)
56
49
 
57
50
  Specifies the 2D transformation to apply to the Lens.
58
51
  By default, CameraKit applies no transformation.
59
52
 
60
- ___
53
+ ***
61
54
 
62
55
  ### disableSourceAudio
63
56
 
64
- **disableSourceAudio**: `boolean`
57
+ > **disableSourceAudio**: `boolean`
65
58
 
66
59
  Indicates whether the audio from the source should be disabled.
67
60
  By default, CameraKit passes audio to the Lens.
@@ -1,19 +1,17 @@
1
- [CameraKit Web SDK - v1.0.1](../README.md) / [Exports](../modules.md) / Preview
1
+ [**CameraKit Web SDK v1.1.0**](../README.md)
2
2
 
3
- # Interface: Preview
4
-
5
- Lens preview.
3
+ ***
6
4
 
7
- ## Table of contents
5
+ [CameraKit Web SDK](../globals.md) / Preview
8
6
 
9
- ### Properties
7
+ # Interface: Preview
10
8
 
11
- - [imageUrl](Preview.md#imageurl)
9
+ Lens preview.
12
10
 
13
11
  ## Properties
14
12
 
15
13
  ### imageUrl
16
14
 
17
- **imageUrl**: `string`
15
+ > **imageUrl**: `string`
18
16
 
19
17
  Link to a lens preview image.
@@ -1,46 +1,41 @@
1
- [CameraKit Web SDK - v1.0.1](../README.md) / [Exports](../modules.md) / RemoteApiRequest
1
+ [**CameraKit Web SDK v1.1.0**](../README.md)
2
2
 
3
- # Interface: RemoteApiRequest
4
-
5
- Remote API request sent by a lens.
3
+ ***
6
4
 
7
- ## Table of contents
5
+ [CameraKit Web SDK](../globals.md) / RemoteApiRequest
8
6
 
9
- ### Properties
7
+ # Interface: RemoteApiRequest
10
8
 
11
- - [apiSpecId](RemoteApiRequest.md#apispecid)
12
- - [endpointId](RemoteApiRequest.md#endpointid)
13
- - [parameters](RemoteApiRequest.md#parameters)
14
- - [body](RemoteApiRequest.md#body)
9
+ Remote API request sent by a lens.
15
10
 
16
11
  ## Properties
17
12
 
18
13
  ### apiSpecId
19
14
 
20
- **apiSpecId**: `string`
15
+ > **apiSpecId**: `string`
21
16
 
22
17
  Unique id of the remote API service specification.
23
18
 
24
- ___
19
+ ***
25
20
 
26
21
  ### endpointId
27
22
 
28
- **endpointId**: `string`
23
+ > **endpointId**: `string`
29
24
 
30
25
  Unique id of the remote API service endpoint requested by this request.
31
26
 
32
- ___
27
+ ***
33
28
 
34
29
  ### parameters
35
30
 
36
- **parameters**: `Record`\<`string`, `string`\>
31
+ > **parameters**: `Record`\<`string`, `string`\>
37
32
 
38
33
  A map of named parameters associated with the request.
39
34
 
40
- ___
35
+ ***
41
36
 
42
37
  ### body
43
38
 
44
- **body**: `ArrayBuffer`
39
+ > **body**: `ArrayBuffer`
45
40
 
46
41
  Additional binary request payload.
@@ -1,37 +1,33 @@
1
- [CameraKit Web SDK - v1.0.1](../README.md) / [Exports](../modules.md) / RemoteApiResponse
1
+ [**CameraKit Web SDK v1.1.0**](../README.md)
2
2
 
3
- # Interface: RemoteApiResponse
4
-
5
- Remote API response to a request sent by a lens.
3
+ ***
6
4
 
7
- ## Table of contents
5
+ [CameraKit Web SDK](../globals.md) / RemoteApiResponse
8
6
 
9
- ### Properties
7
+ # Interface: RemoteApiResponse
10
8
 
11
- - [status](RemoteApiResponse.md#status)
12
- - [metadata](RemoteApiResponse.md#metadata)
13
- - [body](RemoteApiResponse.md#body)
9
+ Remote API response to a request sent by a lens.
14
10
 
15
11
  ## Properties
16
12
 
17
13
  ### status
18
14
 
19
- **status**: [`RemoteApiStatus`](../modules.md#remoteapistatus)
15
+ > **status**: [`RemoteApiStatus`](../type-aliases/RemoteApiStatus.md)
20
16
 
21
17
  Status of the response
22
18
 
23
- ___
19
+ ***
24
20
 
25
21
  ### metadata
26
22
 
27
- **metadata**: `Record`\<`string`, `string`\>
23
+ > **metadata**: `Record`\<`string`, `string`\>
28
24
 
29
25
  A map of named metadata associated with the response.
30
26
 
31
- ___
27
+ ***
32
28
 
33
29
  ### body
34
30
 
35
- **body**: `ArrayBuffer`
31
+ > **body**: `ArrayBuffer`
36
32
 
37
33
  Additional binary request payload.
@@ -1,45 +1,46 @@
1
- [CameraKit Web SDK - v1.0.1](../README.md) / [Exports](../modules.md) / RemoteApiService
1
+ [**CameraKit Web SDK v1.1.0**](../README.md)
2
2
 
3
- # Interface: RemoteApiService
4
-
5
- Service to handle a lens Remote API request.
3
+ ***
6
4
 
7
- ## Table of contents
5
+ [CameraKit Web SDK](../globals.md) / RemoteApiService
8
6
 
9
- ### Properties
10
-
11
- - [apiSpecId](RemoteApiService.md#apispecid)
12
-
13
- ### Methods
7
+ # Interface: RemoteApiService
14
8
 
15
- - [getRequestHandler](RemoteApiService.md#getrequesthandler)
9
+ Service to handle a lens Remote API request.
16
10
 
17
11
  ## Properties
18
12
 
19
13
  ### apiSpecId
20
14
 
21
- **apiSpecId**: `string`
15
+ > **apiSpecId**: `string`
22
16
 
23
17
  Remote API spec ID(s).
24
18
 
25
19
  ## Methods
26
20
 
27
- ### getRequestHandler
21
+ ### getRequestHandler()
28
22
 
29
- **getRequestHandler**(`request`, `lens`): `undefined` \| [`RemoteApiRequestHandler`](../modules.md#remoteapirequesthandler)
23
+ > **getRequestHandler**(`request`, `lens`): `undefined` \| [`RemoteApiRequestHandler`](../type-aliases/RemoteApiRequestHandler.md)
30
24
 
31
25
  This method is called by Camera Kit when a lens triggers a Remote API request with a corresponding spec ID.
32
26
  If the service can handle the request, the method returns a request handler; otherwise, it returns nothing.
33
27
 
34
28
  #### Parameters
35
29
 
36
- | Name | Type | Description |
37
- | :------ | :------ | :------ |
38
- | `request` | [`RemoteApiRequest`](RemoteApiRequest.md) | Remote API request object. |
39
- | `lens` | [`Lens`](Lens.md) | Lens that triggers the request. |
30
+ ##### request
31
+
32
+ [`RemoteApiRequest`](RemoteApiRequest.md)
33
+
34
+ Remote API request object.
35
+
36
+ ##### lens
37
+
38
+ [`Lens`](Lens.md)
39
+
40
+ Lens that triggers the request.
40
41
 
41
42
  #### Returns
42
43
 
43
- `undefined` \| [`RemoteApiRequestHandler`](../modules.md#remoteapirequesthandler)
44
+ `undefined` \| [`RemoteApiRequestHandler`](../type-aliases/RemoteApiRequestHandler.md)
44
45
 
45
46
  A request handler if applicable.
@@ -1,28 +1,25 @@
1
- [CameraKit Web SDK - v1.0.1](../README.md) / [Exports](../modules.md) / Snapcode
1
+ [**CameraKit Web SDK v1.1.0**](../README.md)
2
2
 
3
- # Interface: Snapcode
4
-
5
- [Snapcode](https://scan.snapchat.com/snapcodes) representing a lens.
3
+ ***
6
4
 
7
- ## Table of contents
5
+ [CameraKit Web SDK](../globals.md) / Snapcode
8
6
 
9
- ### Properties
7
+ # Interface: Snapcode
10
8
 
11
- - [imageUrl](Snapcode.md#imageurl)
12
- - [deepLink](Snapcode.md#deeplink)
9
+ [Snapcode](https://scan.snapchat.com/snapcodes) representing a lens.
13
10
 
14
11
  ## Properties
15
12
 
16
13
  ### imageUrl
17
14
 
18
- **imageUrl**: `string`
15
+ > **imageUrl**: `string`
19
16
 
20
17
  Snapcode image URL scannable with Snapchat app.
21
18
 
22
- ___
19
+ ***
23
20
 
24
21
  ### deepLink
25
22
 
26
- **deepLink**: `string`
23
+ > **deepLink**: `string`
27
24
 
28
25
  Deeplink URL that directs to a lens web page.
@@ -1,22 +1,19 @@
1
- [CameraKit Web SDK - v1.0.1](../README.md) / [Exports](../modules.md) / UriCancelRequest
1
+ [**CameraKit Web SDK v1.1.0**](../README.md)
2
2
 
3
- # Interface: UriCancelRequest
4
-
5
- ## Table of contents
3
+ ***
6
4
 
7
- ### Properties
5
+ [CameraKit Web SDK](../globals.md) / UriCancelRequest
8
6
 
9
- - [uri](UriCancelRequest.md#uri)
10
- - [requestId](UriCancelRequest.md#requestid)
7
+ # Interface: UriCancelRequest
11
8
 
12
9
  ## Properties
13
10
 
14
11
  ### uri
15
12
 
16
- **uri**: \`$\{string}://$\{string}\`
13
+ > **uri**: \`$\{string\}://$\{string\}\`
17
14
 
18
- ___
15
+ ***
19
16
 
20
17
  ### requestId
21
18
 
22
- **requestId**: `string`
19
+ > **requestId**: `string`
@@ -1,50 +1,43 @@
1
- [CameraKit Web SDK - v1.0.1](../README.md) / [Exports](../modules.md) / UriRequest
1
+ [**CameraKit Web SDK v1.1.0**](../README.md)
2
2
 
3
- # Interface: UriRequest
4
-
5
- ## Table of contents
3
+ ***
6
4
 
7
- ### Properties
5
+ [CameraKit Web SDK](../globals.md) / UriRequest
8
6
 
9
- - [uri](UriRequest.md#uri)
10
- - [identifier](UriRequest.md#identifier)
11
- - [method](UriRequest.md#method)
12
- - [contentType](UriRequest.md#contenttype)
13
- - [data](UriRequest.md#data)
14
- - [metadata](UriRequest.md#metadata)
7
+ # Interface: UriRequest
15
8
 
16
9
  ## Properties
17
10
 
18
11
  ### uri
19
12
 
20
- **uri**: \`$\{string}://$\{string}\`
13
+ > **uri**: \`$\{string\}://$\{string\}\`
21
14
 
22
- ___
15
+ ***
23
16
 
24
17
  ### identifier
25
18
 
26
- **identifier**: `string`
19
+ > **identifier**: `string`
27
20
 
28
- ___
21
+ ***
29
22
 
30
23
  ### method
31
24
 
32
- **method**: ``"POST"`` \| ``"GET"``
25
+ > **method**: `"POST"` \| `"GET"`
33
26
 
34
- ___
27
+ ***
35
28
 
36
29
  ### contentType
37
30
 
38
- **contentType**: `ContentType`
31
+ > **contentType**: `ContentType`
39
32
 
40
- ___
33
+ ***
41
34
 
42
35
  ### data
43
36
 
44
- **data**: `ArrayBuffer`
37
+ > **data**: `ArrayBuffer`
45
38
 
46
- ___
39
+ ***
47
40
 
48
41
  ### metadata
49
42
 
50
- **metadata**: `Record`\<`string`, `string`\>
43
+ > **metadata**: `Record`\<`string`, `string`\>