@amityco/ts-sdk 7.10.1-f3435c3.0 → 7.11.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.
@@ -1,11 +1,17 @@
1
1
  /**
2
2
  * ```js
3
- * import { acceptInvitation } from '@amityco/ts-sdk'
4
- * const isAccepted = await acceptInvitation(invitationId)
3
+ * import { LiveReactionRepository } from '@amityco/ts-sdk'
4
+ * await LiveReactionRepository.createReaction({
5
+ * referenceType: 'post',
6
+ * referenceId: 'postId',
7
+ * streamId: 'streamId',
8
+ * reactionName: 'like',
9
+ * })
5
10
  * ```
6
11
  *
7
12
  *
8
13
  * @param referenceId that is target post's ID linked with a livestream
14
+ * @param referenceType should be 'post'
9
15
  * @param reactionName that is the reaction name
10
16
  * @param streamId stream id
11
17
  * @returns a success boolean if the reaction was added
@@ -1 +1 @@
1
- {"version":3,"file":"createReaction.d.ts","sourceRoot":"","sources":["../../../src/liveReactionRepository/api/createReaction.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,cAAc;iBAMZ,MAAM;cACT,MAAM;MACd,QAAQ,OAAO,CAwBlB,CAAC"}
1
+ {"version":3,"file":"createReaction.d.ts","sourceRoot":"","sources":["../../../src/liveReactionRepository/api/createReaction.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,cAAc;iBAMZ,MAAM;cACT,MAAM;MACd,QAAQ,OAAO,CAwBlB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amityco/ts-sdk",
3
- "version": "7.10.1-f3435c3.0",
3
+ "version": "7.11.0",
4
4
  "license": "CC-BY-ND-4.0",
5
5
  "author": "amity.co <developers@amity.co> (https://amity.co)",
6
6
  "description": "Amity Social Cloud Typescript SDK",