@amityco/ts-sdk 7.9.2-9906a74f.0 → 7.9.2-b0506da9.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.
- package/.rollup.cache/home/runner/work/AmityTypescriptSDK/AmityTypescriptSDK/packages/sdk/dist/postRepository/api/createAudioPost.d.ts +2 -1
- package/.rollup.cache/home/runner/work/AmityTypescriptSDK/AmityTypescriptSDK/packages/sdk/dist/postRepository/api/createAudioPost.d.ts.map +1 -1
- package/.rollup.cache/home/runner/work/AmityTypescriptSDK/AmityTypescriptSDK/packages/sdk/dist/postRepository/api/createAudioPost.js +2 -1
- package/.rollup.cache/home/runner/work/AmityTypescriptSDK/AmityTypescriptSDK/packages/sdk/dist/postRepository/api/createAudioPost.js.map +1 -1
- package/.rollup.cache/home/runner/work/AmityTypescriptSDK/AmityTypescriptSDK/packages/sdk/tsconfig.tsbuildinfo +1 -1
- package/dist/index.cjs.js +2 -1
- package/dist/index.esm.js +2 -1
- package/dist/postRepository/api/createAudioPost.d.ts +2 -1
- package/dist/postRepository/api/createAudioPost.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/postRepository/api/createAudioPost.ts +2 -1
- package/tsconfig.tsbuildinfo +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -25488,7 +25488,8 @@ const createClipPost = async (bundle) => {
|
|
|
25488
25488
|
* const created = await PostRepository.createAudioPost({
|
|
25489
25489
|
* targetType: 'user',
|
|
25490
25490
|
* targetId: 'foobar',
|
|
25491
|
-
*
|
|
25491
|
+
* dataType: 'audio',
|
|
25492
|
+
* data: { text: 'Audio Post' },
|
|
25492
25493
|
* attachments: [{ type: 'audio', fileId: 'fileId123'}]
|
|
25493
25494
|
* }))
|
|
25494
25495
|
* ```
|
package/dist/index.esm.js
CHANGED
|
@@ -41580,7 +41580,8 @@ const createClipPost = async (bundle) => {
|
|
|
41580
41580
|
* const created = await PostRepository.createAudioPost({
|
|
41581
41581
|
* targetType: 'user',
|
|
41582
41582
|
* targetId: 'foobar',
|
|
41583
|
-
*
|
|
41583
|
+
* dataType: 'audio',
|
|
41584
|
+
* data: { text: 'Audio Post' },
|
|
41584
41585
|
* attachments: [{ type: 'audio', fileId: 'fileId123'}]
|
|
41585
41586
|
* }))
|
|
41586
41587
|
* ```
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
* const created = await PostRepository.createAudioPost({
|
|
5
5
|
* targetType: 'user',
|
|
6
6
|
* targetId: 'foobar',
|
|
7
|
-
*
|
|
7
|
+
* dataType: 'audio',
|
|
8
|
+
* data: { text: 'Audio Post' },
|
|
8
9
|
* attachments: [{ type: 'audio', fileId: 'fileId123'}]
|
|
9
10
|
* }))
|
|
10
11
|
* ```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createAudioPost.d.ts","sourceRoot":"","sources":["../../../src/postRepository/api/createAudioPost.ts"],"names":[],"mappings":"AASA
|
|
1
|
+
{"version":3,"file":"createAudioPost.d.ts","sourceRoot":"","sources":["../../../src/postRepository/api/createAudioPost.ts"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,eAAe;UAGhB;QACJ,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;;;gBAGS,UAAU,CAAC,QAAQ,CAAC;;MAGjC,QAAQ,MAAM,MAAM,CAAC,MAAM,IAAI,CAAC,CAkBlC,CAAC"}
|
package/package.json
CHANGED
|
@@ -13,7 +13,8 @@ import { preparePostPayload } from '../utils/payload';
|
|
|
13
13
|
* const created = await PostRepository.createAudioPost({
|
|
14
14
|
* targetType: 'user',
|
|
15
15
|
* targetId: 'foobar',
|
|
16
|
-
*
|
|
16
|
+
* dataType: 'audio',
|
|
17
|
+
* data: { text: 'Audio Post' },
|
|
17
18
|
* attachments: [{ type: 'audio', fileId: 'fileId123'}]
|
|
18
19
|
* }))
|
|
19
20
|
* ```
|