@aws-sdk/client-ivs-realtime 3.428.0 → 3.430.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.
|
@@ -65,7 +65,7 @@ export interface CreateParticipantTokenRequest {
|
|
|
65
65
|
* <p>Set of capabilities that the user is allowed to perform in the stage. Default:
|
|
66
66
|
* <code>PUBLISH, SUBSCRIBE</code>.</p>
|
|
67
67
|
*/
|
|
68
|
-
capabilities?:
|
|
68
|
+
capabilities?: ParticipantTokenCapability[];
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
71
|
* @public
|
|
@@ -112,7 +112,7 @@ export interface ParticipantToken {
|
|
|
112
112
|
* @public
|
|
113
113
|
* <p>Set of capabilities that the user is allowed to perform in the stage.</p>
|
|
114
114
|
*/
|
|
115
|
-
capabilities?:
|
|
115
|
+
capabilities?: ParticipantTokenCapability[];
|
|
116
116
|
/**
|
|
117
117
|
* @public
|
|
118
118
|
* <p>ISO 8601 timestamp (returned as a string) for when this token expires.</p>
|
|
@@ -231,7 +231,7 @@ export interface ParticipantTokenConfiguration {
|
|
|
231
231
|
* @public
|
|
232
232
|
* <p>Set of capabilities that the user is allowed to perform in the stage.</p>
|
|
233
233
|
*/
|
|
234
|
-
capabilities?:
|
|
234
|
+
capabilities?: ParticipantTokenCapability[];
|
|
235
235
|
}
|
|
236
236
|
/**
|
|
237
237
|
* @public
|
|
@@ -415,7 +415,7 @@ export interface Participant {
|
|
|
415
415
|
* @public
|
|
416
416
|
* <p>Whether the participant is connected to or disconnected from the stage.</p>
|
|
417
417
|
*/
|
|
418
|
-
state?: ParticipantState
|
|
418
|
+
state?: ParticipantState;
|
|
419
419
|
/**
|
|
420
420
|
* @public
|
|
421
421
|
* <p>ISO 8601 timestamp (returned as a string) when the participant first joined the stage
|
|
@@ -618,7 +618,7 @@ export interface Event {
|
|
|
618
618
|
* @public
|
|
619
619
|
* <p>The name of the event.</p>
|
|
620
620
|
*/
|
|
621
|
-
name?: EventName
|
|
621
|
+
name?: EventName;
|
|
622
622
|
/**
|
|
623
623
|
* @public
|
|
624
624
|
* <p>Unique identifier for the participant who triggered the event. This is assigned by
|
|
@@ -648,7 +648,7 @@ export interface Event {
|
|
|
648
648
|
* <code>PUBLISHER_NOT_FOUND</code> indicates that the participant tried to subscribe to a
|
|
649
649
|
* publisher that doesn’t exist. </p>
|
|
650
650
|
*/
|
|
651
|
-
errorCode?: EventErrorCode
|
|
651
|
+
errorCode?: EventErrorCode;
|
|
652
652
|
}
|
|
653
653
|
/**
|
|
654
654
|
* @public
|
|
@@ -702,7 +702,7 @@ export interface ListParticipantsRequest {
|
|
|
702
702
|
* <code>filterByUserId</code>, <code>filterByPublished</code>, or
|
|
703
703
|
* <code>filterByState</code> can be provided per request.</p>
|
|
704
704
|
*/
|
|
705
|
-
filterByState?: ParticipantState
|
|
705
|
+
filterByState?: ParticipantState;
|
|
706
706
|
/**
|
|
707
707
|
* @public
|
|
708
708
|
* <p>The first participant to retrieve. This is used for pagination; see the
|
|
@@ -737,7 +737,7 @@ export interface ParticipantSummary {
|
|
|
737
737
|
* @public
|
|
738
738
|
* <p>Whether the participant is connected to or disconnected from the stage.</p>
|
|
739
739
|
*/
|
|
740
|
-
state?: ParticipantState
|
|
740
|
+
state?: ParticipantState;
|
|
741
741
|
/**
|
|
742
742
|
* @public
|
|
743
743
|
* <p>ISO 8601 timestamp (returned as a string) when the participant first joined the stage
|
|
@@ -19,7 +19,7 @@ export interface CreateParticipantTokenRequest {
|
|
|
19
19
|
duration?: number;
|
|
20
20
|
userId?: string;
|
|
21
21
|
attributes?: Record<string, string>;
|
|
22
|
-
capabilities?:
|
|
22
|
+
capabilities?: ParticipantTokenCapability[];
|
|
23
23
|
}
|
|
24
24
|
export interface ParticipantToken {
|
|
25
25
|
participantId?: string;
|
|
@@ -27,7 +27,7 @@ export interface ParticipantToken {
|
|
|
27
27
|
userId?: string;
|
|
28
28
|
attributes?: Record<string, string>;
|
|
29
29
|
duration?: number;
|
|
30
|
-
capabilities?:
|
|
30
|
+
capabilities?: ParticipantTokenCapability[];
|
|
31
31
|
expirationTime?: Date;
|
|
32
32
|
}
|
|
33
33
|
export interface CreateParticipantTokenResponse {
|
|
@@ -69,7 +69,7 @@ export interface ParticipantTokenConfiguration {
|
|
|
69
69
|
duration?: number;
|
|
70
70
|
userId?: string;
|
|
71
71
|
attributes?: Record<string, string>;
|
|
72
|
-
capabilities?:
|
|
72
|
+
capabilities?: ParticipantTokenCapability[];
|
|
73
73
|
}
|
|
74
74
|
export interface CreateStageRequest {
|
|
75
75
|
name?: string;
|
|
@@ -116,7 +116,7 @@ export type ParticipantState =
|
|
|
116
116
|
export interface Participant {
|
|
117
117
|
participantId?: string;
|
|
118
118
|
userId?: string;
|
|
119
|
-
state?: ParticipantState
|
|
119
|
+
state?: ParticipantState;
|
|
120
120
|
firstJoinTime?: Date;
|
|
121
121
|
attributes?: Record<string, string>;
|
|
122
122
|
published?: boolean;
|
|
@@ -175,11 +175,11 @@ export declare const EventName: {
|
|
|
175
175
|
};
|
|
176
176
|
export type EventName = (typeof EventName)[keyof typeof EventName];
|
|
177
177
|
export interface Event {
|
|
178
|
-
name?: EventName
|
|
178
|
+
name?: EventName;
|
|
179
179
|
participantId?: string;
|
|
180
180
|
eventTime?: Date;
|
|
181
181
|
remoteParticipantId?: string;
|
|
182
|
-
errorCode?: EventErrorCode
|
|
182
|
+
errorCode?: EventErrorCode;
|
|
183
183
|
}
|
|
184
184
|
export interface ListParticipantEventsResponse {
|
|
185
185
|
events: Event[] | undefined;
|
|
@@ -190,14 +190,14 @@ export interface ListParticipantsRequest {
|
|
|
190
190
|
sessionId: string | undefined;
|
|
191
191
|
filterByUserId?: string;
|
|
192
192
|
filterByPublished?: boolean;
|
|
193
|
-
filterByState?: ParticipantState
|
|
193
|
+
filterByState?: ParticipantState;
|
|
194
194
|
nextToken?: string;
|
|
195
195
|
maxResults?: number;
|
|
196
196
|
}
|
|
197
197
|
export interface ParticipantSummary {
|
|
198
198
|
participantId?: string;
|
|
199
199
|
userId?: string;
|
|
200
|
-
state?: ParticipantState
|
|
200
|
+
state?: ParticipantState;
|
|
201
201
|
firstJoinTime?: Date;
|
|
202
202
|
published?: boolean;
|
|
203
203
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ivs-realtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ivs Realtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.430.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,28 +21,28 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.430.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.430.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.429.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.428.0",
|
|
30
30
|
"@aws-sdk/middleware-user-agent": "3.428.0",
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.430.0",
|
|
32
32
|
"@aws-sdk/types": "3.428.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.428.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.428.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.430.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.15",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.2.3",
|
|
38
38
|
"@smithy/hash-node": "^2.0.11",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.1.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.2",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.17",
|
|
43
43
|
"@smithy/middleware-serde": "^2.0.11",
|
|
44
44
|
"@smithy/middleware-stack": "^2.0.5",
|
|
45
|
-
"@smithy/node-config-provider": "^2.1.
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.2",
|
|
46
46
|
"@smithy/node-http-handler": "^2.1.7",
|
|
47
47
|
"@smithy/protocol-http": "^3.0.7",
|
|
48
48
|
"@smithy/smithy-client": "^2.1.11",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
54
|
"@smithy/util-defaults-mode-browser": "^2.0.15",
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.20",
|
|
56
56
|
"@smithy/util-retry": "^2.0.4",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"tslib": "^2.5.0"
|