@amityco/ts-sdk 7.11.1-9eba2589.0 → 7.11.1-a356db4f.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/dist/@types/core/events.d.ts +0 -2
- package/dist/@types/core/events.d.ts.map +1 -1
- package/dist/client/events/onUserDeleted.d.ts +17 -0
- package/dist/client/events/onUserDeleted.d.ts.map +1 -0
- package/dist/core/events.d.ts +3 -3
- package/dist/core/events.d.ts.map +1 -1
- package/dist/index.cjs.js +2 -27
- package/dist/index.esm.js +2 -27
- package/dist/index.umd.js +2 -2
- package/dist/invitationRepository/api/index.d.ts +0 -1
- package/dist/invitationRepository/api/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/invitationRepository/api/acceptInvitation.d.ts +0 -16
- package/dist/invitationRepository/api/acceptInvitation.d.ts.map +0 -1
- package/dist/invitationRepository/api/getMyInvitation.d.ts +0 -16
- package/dist/invitationRepository/api/getMyInvitation.d.ts.map +0 -1
- package/dist/roomRepository/events/onRoomWatchingCountUpdated.d.ts +0 -17
- package/dist/roomRepository/events/onRoomWatchingCountUpdated.d.ts.map +0 -1
- package/dist/roomRepository/events/onRoomWatchingUsersFetched.d.ts +0 -17
- package/dist/roomRepository/events/onRoomWatchingUsersFetched.d.ts.map +0 -1
- package/dist/utils/linkedObject/roomWatchingUserLinkedObject.d.ts +0 -2
- package/dist/utils/linkedObject/roomWatchingUserLinkedObject.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/invitationRepository/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/invitationRepository/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ```js
|
|
3
|
-
* import { acceptInvitation } from '@amityco/ts-sdk'
|
|
4
|
-
* const isAccepted = await acceptInvitation(invitationId)
|
|
5
|
-
* ```
|
|
6
|
-
*
|
|
7
|
-
* Accepts a {@link Amity.Invitation} object
|
|
8
|
-
*
|
|
9
|
-
* @param invitationId the {@link Amity.Invitation} to accept
|
|
10
|
-
* @returns A success boolean if the {@link Amity.Invitation} was accepted
|
|
11
|
-
*
|
|
12
|
-
* @category Invitation API
|
|
13
|
-
* @async
|
|
14
|
-
*/
|
|
15
|
-
export declare const acceptInvitation: (invitationId: Amity.Invitation['_id']) => Promise<boolean>;
|
|
16
|
-
//# sourceMappingURL=acceptInvitation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"acceptInvitation.d.ts","sourceRoot":"","sources":["../../../src/invitationRepository/api/acceptInvitation.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,iBAAwB,MAAM,UAAU,CAAC,KAAK,CAAC,KAAG,QAAQ,OAAO,CAE7F,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ```js
|
|
3
|
-
* import { acceptInvitation } from '@amityco/ts-sdk'
|
|
4
|
-
* const isAccepted = await acceptInvitation(invitationId)
|
|
5
|
-
* ```
|
|
6
|
-
*
|
|
7
|
-
* Accepts a {@link Amity.Invitation} object
|
|
8
|
-
*
|
|
9
|
-
* @param invitationId the {@link Amity.Invitation} to accept
|
|
10
|
-
* @returns A success boolean if the {@link Amity.Invitation} was accepted
|
|
11
|
-
*
|
|
12
|
-
* @category Invitation API
|
|
13
|
-
* @async
|
|
14
|
-
*/
|
|
15
|
-
export declare const acceptInvitation: (invitationId: Amity.Invitation['_id']) => Promise<boolean>;
|
|
16
|
-
//# sourceMappingURL=getMyInvitation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getMyInvitation.d.ts","sourceRoot":"","sources":["../../../src/invitationRepository/api/getMyInvitation.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,iBAAwB,MAAM,UAAU,CAAC,KAAK,CAAC,KAAG,QAAQ,OAAO,CAE7F,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ```js
|
|
3
|
-
* import { onRoomWaitingReconnect } from '@amityco/ts-sdk'
|
|
4
|
-
* const dispose = onRoomWaitingReconnect(room => {
|
|
5
|
-
* // ...
|
|
6
|
-
* })
|
|
7
|
-
* ```
|
|
8
|
-
*
|
|
9
|
-
* Fired when a {@link Amity.RoomWatchingCount} is waiting for reconnection
|
|
10
|
-
*
|
|
11
|
-
* @param callback The function to call when the event was fired
|
|
12
|
-
* @returns an {@link Amity.Unsubscriber} function to stop listening
|
|
13
|
-
*
|
|
14
|
-
* @category Room Events
|
|
15
|
-
*/
|
|
16
|
-
export declare const onRoomWatchingCountUpdated: (callback: Amity.Listener<Amity.RoomWatchingCount>) => Amity.Unsubscriber;
|
|
17
|
-
//# sourceMappingURL=onRoomWatchingCountUpdated.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"onRoomWatchingCountUpdated.d.ts","sourceRoot":"","sources":["../../../src/roomRepository/events/onRoomWatchingCountUpdated.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,0BAA0B,aAC3B,MAAM,QAAQ,CAAC,MAAM,iBAAiB,CAAC,KAChD,MAAM,YAaR,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ```js
|
|
3
|
-
* import { onRoomWatchingUsersFetched } from '@amityco/ts-sdk'
|
|
4
|
-
* const dispose = onRoomWatchingUsersFetched(users => {
|
|
5
|
-
* console.log('Watching users fetched:', users);
|
|
6
|
-
* })
|
|
7
|
-
* ```
|
|
8
|
-
*
|
|
9
|
-
* Fired when {@link Amity.User[]} watching users data is fetched
|
|
10
|
-
*
|
|
11
|
-
* @param callback The function to call when the event was fired
|
|
12
|
-
* @returns an {@link Amity.Unsubscriber} function to stop listening
|
|
13
|
-
*
|
|
14
|
-
* @category Room Events
|
|
15
|
-
*/
|
|
16
|
-
export declare const onRoomWatchingUsersFetched: (callback: Amity.Listener<Amity.RawRoomViewer[]>) => Amity.Unsubscriber;
|
|
17
|
-
//# sourceMappingURL=onRoomWatchingUsersFetched.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"onRoomWatchingUsersFetched.d.ts","sourceRoot":"","sources":["../../../src/roomRepository/events/onRoomWatchingUsersFetched.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,0BAA0B,aAC3B,MAAM,QAAQ,CAAC,MAAM,aAAa,EAAE,CAAC,KAC9C,MAAM,YAaR,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"roomWatchingUserLinkedObject.d.ts","sourceRoot":"","sources":["../../../src/utils/linkedObject/roomWatchingUserLinkedObject.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,4BAA4B,WAC/B,MAAM,aAAa,KAC1B,MAAM,gBASR,CAAC"}
|