@crowdedkingdoms/crowdyjs 15.4.2-test.1 → 15.5.0-dev.1
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/README.md +15 -2
- package/dist/binary-wire.d.ts +10 -0
- package/dist/binary-wire.d.ts.map +1 -1
- package/dist/binary-wire.js +27 -0
- package/dist/default-origin.d.ts +6 -6
- package/dist/default-origin.d.ts.map +1 -1
- package/dist/default-origin.js +6 -6
- package/dist/domains/udp.d.ts +47 -1
- package/dist/domains/udp.d.ts.map +1 -1
- package/dist/domains/udp.js +59 -2
- package/dist/generated/graphql.d.ts +172 -37
- package/dist/generated/graphql.d.ts.map +1 -1
- package/dist/generated/graphql.js +11 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -2
- package/dist/kit/npcs.d.ts.map +1 -1
- package/dist/kit/social.d.ts.map +1 -1
- package/dist/media/video-frames.d.ts +106 -0
- package/dist/media/video-frames.d.ts.map +1 -0
- package/dist/media/video-frames.js +215 -0
- package/dist/metrics.d.ts +1 -1
- package/dist/metrics.js +2 -2
- package/dist/realtime.d.ts +16 -0
- package/dist/realtime.d.ts.map +1 -1
- package/dist/realtime.js +8 -0
- package/dist/stores/actors.d.ts +15 -0
- package/dist/stores/actors.d.ts.map +1 -1
- package/dist/stores/actors.js +41 -0
- package/dist/stores/session.d.ts +1 -1
- package/dist/stores/session.d.ts.map +1 -1
- package/dist/stores/session.js +2 -0
- package/dist/types.d.ts +88 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/** The interval a free allowance resets on and a dimension is rounded over. Every dimension is billed as its period aggregate crosses each whole cent, within about a minute of the usage arriving; the development quota is MONTH. */
|
|
2
|
+
export var AllowancePeriod;
|
|
3
|
+
(function (AllowancePeriod) {
|
|
4
|
+
AllowancePeriod["Day"] = "DAY";
|
|
5
|
+
AllowancePeriod["Hour"] = "HOUR";
|
|
6
|
+
AllowancePeriod["Month"] = "MONTH";
|
|
7
|
+
})(AllowancePeriod || (AllowancePeriod = {}));
|
|
1
8
|
/** Where an app runs: none (draft), shared (the shared game-api), or dedicated (a provisioned environment). */
|
|
2
9
|
export var AppDeploymentTarget;
|
|
3
10
|
(function (AppDeploymentTarget) {
|
|
@@ -574,6 +581,7 @@ export var PlayerFaultCode;
|
|
|
574
581
|
PlayerFaultCode["QuotaExhausted"] = "QUOTA_EXHAUSTED";
|
|
575
582
|
/** This caller is asking too often. It arrives ONLY as a thrown error, never in band on a result, and `extensions.retryAfterMs` carries the wait. That number is the milliseconds REMAINING in the current fixed window at the moment the refusal was built, not a fixed backoff, so a second refusal inside the same window carries a smaller number: treat it as a deadline from receipt and do not reuse a cached one. */
|
|
576
583
|
PlayerFaultCode["RateLimited"] = "RATE_LIMITED";
|
|
584
|
+
PlayerFaultCode["SpendCapReached"] = "SPEND_CAP_REACHED";
|
|
577
585
|
/** A breaker is open or an operator switch is off for this subject. */
|
|
578
586
|
PlayerFaultCode["TemporarilyDisabled"] = "TEMPORARILY_DISABLED";
|
|
579
587
|
/** No valid credential was presented. */
|
|
@@ -584,6 +592,7 @@ export var PlayerFaultCode;
|
|
|
584
592
|
PlayerFaultCode["UserCodeLimitExceeded"] = "USER_CODE_LIMIT_EXCEEDED";
|
|
585
593
|
/** The app's own code ran past the time it is allowed. */
|
|
586
594
|
PlayerFaultCode["UserCodeTooSlow"] = "USER_CODE_TOO_SLOW";
|
|
595
|
+
PlayerFaultCode["WalletEmpty"] = "WALLET_EMPTY";
|
|
587
596
|
/** This app is served from another datacenter. The error extensions carry `gameApiUrl`; move there and retry. */
|
|
588
597
|
PlayerFaultCode["WrongDatacenter"] = "WRONG_DATACENTER";
|
|
589
598
|
})(PlayerFaultCode || (PlayerFaultCode = {}));
|
|
@@ -1147,8 +1156,9 @@ export const SendChannelMessageDocument = { "kind": "Document", "definitions": [
|
|
|
1147
1156
|
export const SendClientEventDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "SendClientEvent" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ClientEventNotificationInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sendClientEvent" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }] }] } }] };
|
|
1148
1157
|
export const SendSingleActorMessageDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "SendSingleActorMessage" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SingleActorMessageInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sendSingleActorMessage" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }] }] } }] };
|
|
1149
1158
|
export const SendTextPacketDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "SendTextPacket" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ClientTextPacketInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sendTextPacket" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }] }] } }] };
|
|
1159
|
+
export const SendVideoPacketDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "SendVideoPacket" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ClientVideoPacketInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sendVideoPacket" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }] }] } }] };
|
|
1150
1160
|
export const SendVoxelUpdateDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "SendVoxelUpdate" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "VoxelUpdateRequestInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sendVoxelUpdate" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }] }] } }] };
|
|
1151
|
-
export const UdpNotificationsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "subscription", "name": { "kind": "Name", "value": "UdpNotifications" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "udpNotifications" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ActorUpdateNotification" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "distance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decayRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "state" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ActorUpdateResponse" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "distance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decayRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "VoxelUpdateNotification" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "distance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decayRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxelX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxelY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxelZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxelType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxelState" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "VoxelUpdateResponse" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "distance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decayRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ClientAudioNotification" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "distance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decayRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "audioData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ClientTextNotification" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "distance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decayRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "text" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ClientEventNotification" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "distance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decayRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "eventType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "state" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ServerEventNotification" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "distance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decayRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "eventType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "state" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SingleActorMessageNotification" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "payload" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ChannelMessageNotification" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "channelId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "payload" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GenericErrorResponse" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "errorCode" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "RealtimeConnectionEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "message" } }, { "kind": "Field", "name": { "kind": "Name", "value": "retryable" } }] } }] } }] } }] };
|
|
1161
|
+
export const UdpNotificationsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "subscription", "name": { "kind": "Name", "value": "UdpNotifications" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "udpNotifications" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "__typename" } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ActorUpdateNotification" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "distance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decayRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "state" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ActorUpdateResponse" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "distance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decayRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "VoxelUpdateNotification" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "distance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decayRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxelX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxelY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxelZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxelType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "voxelState" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "VoxelUpdateResponse" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "distance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decayRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ClientAudioNotification" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "distance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decayRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "audioData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ClientVideoNotification" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "distance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decayRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "videoData" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ActorLeftNotification" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "distance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "leftReason" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ClientTextNotification" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "distance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decayRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "text" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ClientEventNotification" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "distance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decayRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "eventType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "state" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ServerEventNotification" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "distance" } }, { "kind": "Field", "name": { "kind": "Name", "value": "decayRate" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "eventType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "state" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "SingleActorMessageNotification" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkX" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkY" } }, { "kind": "Field", "name": { "kind": "Name", "value": "chunkZ" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "payload" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "ChannelMessageNotification" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "channelId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "uuid" } }, { "kind": "Field", "name": { "kind": "Name", "value": "payload" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "epochMillis" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GenericErrorResponse" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sequenceNumber" } }, { "kind": "Field", "name": { "kind": "Name", "value": "errorCode" } }] } }, { "kind": "InlineFragment", "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "RealtimeConnectionEvent" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "code" } }, { "kind": "Field", "name": { "kind": "Name", "value": "message" } }, { "kind": "Field", "name": { "kind": "Name", "value": "retryable" } }] } }] } }] } }] };
|
|
1152
1162
|
export const UdpProxyConnectionStatusDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "UdpProxyConnectionStatus" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "udpProxyConnectionStatus" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "connected" } }, { "kind": "Field", "name": { "kind": "Name", "value": "serverIp6" } }, { "kind": "Field", "name": { "kind": "Name", "value": "serverClientPort" } }, { "kind": "Field", "name": { "kind": "Name", "value": "lastMessageTime" } }] } }] } }] };
|
|
1153
1163
|
export const AppGraphqlOperationsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "AppGraphqlOperations" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "since" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "DateTime" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appGraphqlOperations" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "since" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "since" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "limit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "limit" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "operationName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalOps" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sendBytes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "recvBytes" } }] } }] } }] };
|
|
1154
1164
|
export const AppUsageSummaryDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "AppUsageSummary" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "since" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "DateTime" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "operationLimit" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "Int" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appUsageSummary" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "orgId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "orgId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "since" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "since" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "operationLimit" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "operationLimit" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "replicationSendBytes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "replicationRecvBytes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "graphqlSendBytes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "graphqlRecvBytes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "automationRuns" } }, { "kind": "Field", "name": { "kind": "Name", "value": "automationInvocations" } }, { "kind": "Field", "name": { "kind": "Name", "value": "automationComputeUnits" } }, { "kind": "Field", "name": { "kind": "Name", "value": "topGraphqlOperations" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "operationName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "totalOps" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sendBytes" } }, { "kind": "Field", "name": { "kind": "Name", "value": "recvBytes" } }] } }] } }] } }] };
|
package/dist/index.d.ts
CHANGED
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
* or internal tooling, never an untrusted browser.
|
|
48
48
|
*/
|
|
49
49
|
/** The published package version. Mirrors `package.json`. */
|
|
50
|
-
export declare const VERSION = "15.
|
|
50
|
+
export declare const VERSION = "15.5.0-dev.1";
|
|
51
51
|
export { LbCookieStore } from './lb-cookie-store.js';
|
|
52
52
|
export { CrowdyClient, createCrowdyClient, type CrowdyClientConfig, } from './crowdy-client.js';
|
|
53
53
|
export { CROWDY_DEFAULT_TIER, CROWDY_DEFAULT_HOST, CROWDY_DEFAULT_HTTP_ORIGIN, CROWDY_DEFAULT_WS_ORIGIN, } from './default-origin.js';
|
|
@@ -55,7 +55,8 @@ export { BrowserLocalStorageTokenStore, SessionStore, type SessionListener, type
|
|
|
55
55
|
export { GraphQLClient, GraphQLTransport, type GraphQLClientConfig, } from './client.js';
|
|
56
56
|
export { RealtimeClient, type RealtimeConfig, type RealtimeStatus, type SpatialNotification, type UdpNotification, type UdpNotificationHandlers, } from './realtime.js';
|
|
57
57
|
export { BinaryRelayTransport, RELAY_SUBPROTOCOL, type BinaryRelayCallbacks, type BinaryRelayConfig, } from './binary-relay.js';
|
|
58
|
-
export { RELAY_MAX_DATAGRAM_BYTES, WireMessageType, createSignContext, parseRelayFrame, serializeActorUpdate, serializeAudioPacket, serializeChannelMessage, serializeClientEvent, serializeSingleActorMessage, serializeTextPacket, serializeVoxelUpdate, type RelaySignContext, } from './binary-wire.js';
|
|
58
|
+
export { RELAY_MAX_DATAGRAM_BYTES, WireMessageType, createSignContext, parseRelayFrame, serializeActorUpdate, serializeAudioPacket, serializeVideoPacket, serializeChannelMessage, serializeClientEvent, serializeSingleActorMessage, serializeTextPacket, serializeVoxelUpdate, type RelaySignContext, } from './binary-wire.js';
|
|
59
|
+
export { VIDEO_FRAGMENT_HEADER_BYTES, MAX_VIDEO_FRAGMENT_BODY_BYTES, MAX_VIDEO_FRAGMENTS, VIDEO_FRAME_TIMEOUT_MS, VIDEO_FRAGMENT_VERSION, VideoCodec, fragmentFrame, parseVideoFragmentHeader, isNewerFrameId, VideoFrameAssembler, type VideoFragmentHeader, type AssembledVideoFrame, } from './media/video-frames.js';
|
|
59
60
|
export { RealtimeMetrics, payloadBytesOf, type RealtimeMetricsCounters, type RealtimeMetricsKind, type RealtimeMetricsSnapshot, } from './metrics.js';
|
|
60
61
|
export { WorldClient, ActorClient, type ActorOptions } from './world.js';
|
|
61
62
|
export { CombatKit, DecksKit, EconomyKit, DirectorKit, EngineDetector, FeaturesKit, GameKitClient, InventoryKit, LeaderboardsKit, InstancesKit, LootKit, MarketKit, MatchesKit, AbilitiesKit, LiveopsKit, MovementKit, RacingKit, TerritoryKit, ModerationKit, TelemetryKit, telemetryBlueprint, MatchmakingKit, MinigamesKit, MobsKit, NpcsKit, ObjectsKit, PetsKit, PlotsKit, ProgressionKit, QuestsKit, SocialKit, WorldsimKit, EVENT_CONTACT_DAMAGE, EVENT_ABILITY, EVENT_CONTROL_POINT, EVENT_MOVEMENT_VIOLATION, EVENT_PROPOSAL, EVENT_RACE_TIMING, EVENT_ZONE_CHANGE, EVENT_SCORE, EVENT_TURN, EVENT_WEATHER, FLAG_GROUNDED, FLAG_MOB, FLAG_NPC, FLAG_RESERVED3, POSE_BYTES, decodeEnginePose, encodeEnginePose, engineLanes, enginePoseCodec, parseContactDamage, parseEngineEvent, parseAbilityEvent, parseControlPointEvent, parseMovementViolation, parseProposalEvent, parseRaceTimingEvent, parseScoreEvent, parseTurnEvent, parseWeatherEvent, poseSuffix, andPolicies, combatBlueprint, combatNames, composeBlueprints, decksBlueprint, decksNames, economyBlueprint, economyCurrencyFn, economyNames, featureGate, guildBlueprint, guildNames, inventoryBarterFunctionName, inventoryBlueprint, inventoryCraftFunctionName, inventoryNames, isKitVerdictError, kitInvoke, kitPolicyJson, runOptimisticAction, type OptimisticActionOutcome, type OptimisticActionSpec, leaderboardsBlueprint, leaderboardsNames, lockBlueprint, lockNames, lootBlueprint, lootNames, lootRollFn, liveopsBlueprint, liveopsNames, moderationBlueprint, moderationNames, matchesBlueprint, matchesNames, turnExpired, mergeBlueprints, npcBehaviorFunctionName, npcBlueprint, ownerEqualsCaller, ownerMirrorProperty, ownerEquals, plotBlueprint, plotNames, progressionBlueprint, progressionNames, questsBlueprint, questsNames, toKitInvokeResult, trustedAuthorityFields, worldsimBlueprint, worldsimNames, type CombatBlueprintOptions, type CombatKitOptions, type CombatNames, type ContactDamageEvent, type EnginePose, type EngineInvokeResult, type DecksBlueprintOptions, type DecksKitOptions, type DecksNames, type EconomyBlueprintOptions, type EconomyKitOptions, type EconomyNames, type GameKitDomains, type GameKitOptions, type GuildBlueprintOptions, type GuildNames, type InventoryBarterSpec, type InventoryBlueprintOptions, type InventoryKitOptions, type InventoryNames, type InventoryRecipeSpec, type KitAchievementDef, type KitAchievementUnlock, type KitAutomationSpec, type KitAutomationTriggerSpec, type KitBlueprint, type KitCard, type KitChatMessage, type KitCombatant, type KitCrop, type KitGroupWithChannel, type KitDeployResult, type KitInvokePolicy, type KitInvokeResult, type KitItemStack, type KitLeaderboardEntry, type KitLootRoll, type KitMarketListing, type KitAttackResult, type KitDirectorRun, type KitForecast, type KitInstance, type KitMatch, type KitMatchScore, type KitMobDef, type KitMobSlot, type KitNpc, type KitOwnerIdKind, type KitPet, type KitPetResult, type KitPlot, type KitQueueStatus, type KitRoutedAttack, type KitProgress, type KitQuestDef, type KitQuestProgress, type KitResourceNode, type KitSelectorSpec, type KitShopListing, type KitSkillDef, type KitSkillRank, type KitStatusEffect, type KitTradeOffer, type KitTrustedAuthority, type KitWallet, type KitWaveSpawner, type LeaderboardsBlueprintOptions, type LeaderboardsKitOptions, type LeaderboardsNames, type KitWorldState, type LockAuthority, type LockBlueprintOptions, type LockNames, type LootBlueprintOptions, type LootDropSpec, type LootEntrySpec, type LootKitOptions, type LootNames, type LootTableSpec, type MatchesBlueprintOptions, type MatchesKitOptions, type MatchesNames, type MergedBlueprints, type MatchmakingKitOptions, type MinigamesKitOptions, type MobsKitOptions, type LiveNpcPose, type InstancesKitOptions, type DirectorKitOptions, type KitWaveSpec, type NpcBehaviorSpec, type NpcBehaviorTrigger, type NpcBlueprintOptions, type NpcsKitOptions, type ObjectsKitOptions, type PetsKitOptions, type PlotBlueprintOptions, type PlotNames, type PlotsKitOptions, type ProgressionBlueprintOptions, type ProgressionKitOptions, type ProgressionNames, type QuestAdvanceSpec, type QuestsBlueprintOptions, type QuestsKitOptions, type QuestsNames, type SelectorPermissionPredicate, type SocialKitOptions, type AbilityEvent, type ControlPointEvent, type KitEventWindow, type KitSeason, type LiveopsBlueprintOptions, type LiveopsKitOptions, type LiveopsNames, type AbilitiesKitOptions, type KitAbility, type KitControlPoint, type KitModReport, type KitRaceRun, type KitViolations, type MovementKitOptions, type RacingKitOptions, type TerritoryKitOptions, type ModerationBlueprintOptions, type ModerationKitOptions, type ModerationNames, type MovementViolationEvent, type TelemetryKitOptions, type ProposalEvent, type RaceTimingEvent, type ZoneChangeEvent, type ScoreEvent, type TurnEvent, type WeatherEvent, type WorldsimBlueprintOptions, type WorldsimKitOptions, type WorldsimNames, } from './kit/index.js';
|
|
@@ -65,7 +66,7 @@ export type { CrowdyFaultBlame, CrowdyFaultCode, CrowdyPlayerFault, } from './er
|
|
|
65
66
|
export { moveFromError, moveFromErrors } from './datacenter-redirect.js';
|
|
66
67
|
export type { DatacenterMove } from './datacenter-redirect.js';
|
|
67
68
|
export { SequenceAllocator, decodeBase64, encodeBase64, generateCrowdyUuid, validateChunkCoordinates, validateCrowdyUuid, } from './utils.js';
|
|
68
|
-
export type { BigInt, ChunkCoordinates, VoxelCoordinates, ActorUpdateNotification, ActorUpdateResponse, VoxelUpdateNotification, VoxelUpdateResponse, ClientAudioNotification, ClientTextNotification, ClientEventNotification, ServerEventNotification, GenericErrorResponse, ActorUpdateHandler, ActorUpdateResponseHandler, VoxelUpdateHandler, VoxelUpdateResponseHandler, ClientAudioHandler, ClientTextHandler, ClientEventHandler, ServerEventHandler, GenericErrorHandler, UnsubscribeFn, } from './types.js';
|
|
69
|
+
export type { BigInt, ChunkCoordinates, VoxelCoordinates, ActorUpdateNotification, ActorUpdateResponse, VoxelUpdateNotification, VoxelUpdateResponse, ClientAudioNotification, ClientVideoNotification, ActorLeftNotification, ClientTextNotification, ClientEventNotification, ServerEventNotification, GenericErrorResponse, ActorUpdateHandler, ActorUpdateResponseHandler, VoxelUpdateHandler, VoxelUpdateResponseHandler, ClientAudioHandler, ClientVideoHandler, ActorLeftHandler, ClientTextHandler, ClientEventHandler, ServerEventHandler, GenericErrorHandler, UnsubscribeFn, } from './types.js';
|
|
69
70
|
export { UdpErrorCode } from './types.js';
|
|
70
71
|
export { AuthAPI, isAlreadyRegisteredError, isPasswordUnconfirmedError, isPasswordAlreadySetError, isNoPasswordSetError, isInvalidCurrentPasswordError, type AuthResponse, type AuthUser, type UserIdentity, } from './domains/auth.js';
|
|
71
72
|
export { UsersAPI } from './domains/users.js';
|
|
@@ -108,7 +109,7 @@ export { createGlueSab, wrapGlueSab, armGlueRequest, waitAndReadGlueReply, write
|
|
|
108
109
|
export * from './crowdy-studio/index.js';
|
|
109
110
|
export { createMintRediscover, type MintCapablePortal, } from './rediscover.js';
|
|
110
111
|
export { createBootstrapRediscover, type BootstrapRediscoverOptions, } from './bootstrap-rediscover.js';
|
|
111
|
-
export type { ChunkCoordinatesInput, VoxelCoordinatesInput, ActorUpdateRequestInput, VoxelUpdateRequestInput, ClientAudioPacketInput, ClientTextPacketInput, ClientEventNotificationInput, UdpProxyConnectionStatus, RealtimeConnectionEvent, GameClientBootstrap, PlayerWasmModule, PlayerWasmModuleVersion, DeployPlayerComputeInput, GridOwnership, AssignGridOwnershipInput, TransferGridOwnershipInput, UpdateGamertagInput, CreateActorInput, UpdateActorInput, ActorFilterInput, BatchActorLookupInput, CreateUserAppStateInput, UpdateUserStateInput, UpdateAvatarStateInput, UpdateActorStateInput, UpdateChunkStateInput, UpdateChunkLodsInput, ChunkUpdateInput, UpdateVoxelInput, RollbackVoxelUpdatesInput, GetChunkInput, GetChunkLodsInput, GetChunksByDistanceInput, GetVoxelListInput, ListVoxelsInput, ListVoxelUpdatesByDistanceInput, TeleportRequestInput, LodDataInput, VoxelStateInput, Chunk, ChunkLodsResponse, ChunksByDistanceResponse, ChunkVoxelResponse, ChunkVoxelUpdatesResponse, Voxel, VoxelUpdatesByDistanceResponse, VoxelUpdateHistoryEvent, RollbackVoxelEventResult, Actor, Avatar, AvatarDto, TeleportResponse, UserAppState, ServerStatus, GraphQlServer, ServerVersionInfo, VersionInfo, PageInfo, UdpNotificationsSubscription, GmContainer, GmContainerState, GmContainerType, GmPropertyDef, GmFunction, GmFunctionParam, GmFunctionMutation, GmSession, GmSessionParticipant, GmEdge, GmTraverseResult, GmInvokeResult, GmMutationApplied, GmEvent, GmTypeSchema, GmAppFeature, GmTierFeature, GmAppPolicy, GmSeedResult, GameModelActivePlayerCountSnapshot, GameModelActivePlayerCountChange, UpsertContainerTypeInput, UpsertPropertyDefInput, UpsertFunctionInput, FunctionParamInput, FunctionMutationInput, SeedGameModelInput, SeedContainerInput, SeedContainerTypeInput, SeedPropertyDefInput, SeedFunctionInput, SeedEdgeInput, SeedPropertyInput, CreateSessionInput, JoinSessionInput, SetSessionTurnInput, CreateContainerInput, SetContainerPropertyInput, AddEdgeInput, InvokeFunctionInput, DefineAppFeatureInput, GrantTierFeatureInput, SetGameModelPolicyInput, Scalars, } from './generated/graphql.js';
|
|
112
|
+
export type { ChunkCoordinatesInput, VoxelCoordinatesInput, ActorUpdateRequestInput, VoxelUpdateRequestInput, ClientAudioPacketInput, ClientVideoPacketInput, ClientTextPacketInput, ClientEventNotificationInput, UdpProxyConnectionStatus, RealtimeConnectionEvent, GameClientBootstrap, PlayerWasmModule, PlayerWasmModuleVersion, DeployPlayerComputeInput, GridOwnership, AssignGridOwnershipInput, TransferGridOwnershipInput, UpdateGamertagInput, CreateActorInput, UpdateActorInput, ActorFilterInput, BatchActorLookupInput, CreateUserAppStateInput, UpdateUserStateInput, UpdateAvatarStateInput, UpdateActorStateInput, UpdateChunkStateInput, UpdateChunkLodsInput, ChunkUpdateInput, UpdateVoxelInput, RollbackVoxelUpdatesInput, GetChunkInput, GetChunkLodsInput, GetChunksByDistanceInput, GetVoxelListInput, ListVoxelsInput, ListVoxelUpdatesByDistanceInput, TeleportRequestInput, LodDataInput, VoxelStateInput, Chunk, ChunkLodsResponse, ChunksByDistanceResponse, ChunkVoxelResponse, ChunkVoxelUpdatesResponse, Voxel, VoxelUpdatesByDistanceResponse, VoxelUpdateHistoryEvent, RollbackVoxelEventResult, Actor, Avatar, AvatarDto, TeleportResponse, UserAppState, ServerStatus, GraphQlServer, ServerVersionInfo, VersionInfo, PageInfo, UdpNotificationsSubscription, GmContainer, GmContainerState, GmContainerType, GmPropertyDef, GmFunction, GmFunctionParam, GmFunctionMutation, GmSession, GmSessionParticipant, GmEdge, GmTraverseResult, GmInvokeResult, GmMutationApplied, GmEvent, GmTypeSchema, GmAppFeature, GmTierFeature, GmAppPolicy, GmSeedResult, GameModelActivePlayerCountSnapshot, GameModelActivePlayerCountChange, UpsertContainerTypeInput, UpsertPropertyDefInput, UpsertFunctionInput, FunctionParamInput, FunctionMutationInput, SeedGameModelInput, SeedContainerInput, SeedContainerTypeInput, SeedPropertyDefInput, SeedFunctionInput, SeedEdgeInput, SeedPropertyInput, CreateSessionInput, JoinSessionInput, SetSessionTurnInput, CreateContainerInput, SetContainerPropertyInput, AddEdgeInput, InvokeFunctionInput, DefineAppFeatureInput, GrantTierFeatureInput, SetGameModelPolicyInput, Scalars, } from './generated/graphql.js';
|
|
112
113
|
export type { CreateAppInput, UpdateAppInput, CreateOrganizationInput, CreateOrgTokenInput, UpdateOrgTokenInput, InviteOrgMemberInput, CreateOrgRoleInput, UpdateOrgRoleInput, CreateAccessTierInput, UpdateAccessTierInput, GrantAppAccessInput, CreateCheckoutInput, CheckoutFilterInput, SetQuotaInput, AppCodeAdmission, AdmitAppCodeInput, } from './generated/graphql.js';
|
|
113
114
|
export { ServerState, AppVisibility, PlayerComputeTarget, GridOwnerKind, GridTenure, GameModelPlayerCountStatus, CodeAdmissionMode, CodeAdmissionSubjectKind, } from './generated/graphql.js';
|
|
114
115
|
export { DiscoveryDomain, type AppEndpoint } from './domains/discovery.js';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AAEH,6DAA6D;AAC7D,eAAO,MAAM,OAAO,kBAAkB,CAAC;AAEvC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EACL,YAAY,EACZ,kBAAkB,EAClB,KAAK,kBAAkB,GACxB,MAAM,oBAAoB,CAAC;AAK5B,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,0BAA0B,EAC1B,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,6BAA6B,EAC7B,YAAY,EACZ,KAAK,eAAe,EACpB,KAAK,UAAU,GAChB,MAAM,cAAc,CAAC;AACtB,OAAO,EACL,aAAa,EACb,gBAAgB,EAChB,KAAK,mBAAmB,GACzB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,cAAc,EACd,KAAK,cAAc,EACnB,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,EACZ,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,QAAQ,EACR,4BAA4B,EAG5B,WAAW,EACX,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,UAAU,EACV,eAAe,EACf,kBAAkB,EAClB,SAAS,EACT,oBAAoB,EACpB,MAAM,EACN,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,WAAW,EACX,YAAY,EACZ,kCAAkC,EAClC,gCAAgC,EAChC,wBAAwB,EACxB,sBAAsB,EACtB,mBAAmB,EACnB,kBAAkB,EAClB,qBAAqB,EACrB,kBAAkB,EAClB,kBAAkB,EAClB,sBAAsB,EACtB,oBAAoB,EACpB,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,yBAAyB,EACzB,YAAY,EACZ,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EAEvB,OAAO,GACR,MAAM,wBAAwB,CAAC;AAMhC,YAAY,EACV,cAAc,EACd,cAAc,EACd,uBAAuB,EACvB,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,WAAW,EACX,aAAa,EACb,mBAAmB,EACnB,aAAa,EACb,UAAU,EACV,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,GACzB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,eAAe,EAAE,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
* or internal tooling, never an untrusted browser.
|
|
48
48
|
*/
|
|
49
49
|
/** The published package version. Mirrors `package.json`. */
|
|
50
|
-
export const VERSION = '15.
|
|
50
|
+
export const VERSION = '15.5.0-dev.1';
|
|
51
51
|
export { LbCookieStore } from './lb-cookie-store.js';
|
|
52
52
|
export { CrowdyClient, createCrowdyClient, } from './crowdy-client.js';
|
|
53
53
|
// The tier this build defaults to, exported so a consumer can PRINT what it is
|
|
@@ -59,7 +59,8 @@ export { BrowserLocalStorageTokenStore, SessionStore, } from './session.js';
|
|
|
59
59
|
export { GraphQLClient, GraphQLTransport, } from './client.js';
|
|
60
60
|
export { RealtimeClient, } from './realtime.js';
|
|
61
61
|
export { BinaryRelayTransport, RELAY_SUBPROTOCOL, } from './binary-relay.js';
|
|
62
|
-
export { RELAY_MAX_DATAGRAM_BYTES, WireMessageType, createSignContext, parseRelayFrame, serializeActorUpdate, serializeAudioPacket, serializeChannelMessage, serializeClientEvent, serializeSingleActorMessage, serializeTextPacket, serializeVoxelUpdate, } from './binary-wire.js';
|
|
62
|
+
export { RELAY_MAX_DATAGRAM_BYTES, WireMessageType, createSignContext, parseRelayFrame, serializeActorUpdate, serializeAudioPacket, serializeVideoPacket, serializeChannelMessage, serializeClientEvent, serializeSingleActorMessage, serializeTextPacket, serializeVoxelUpdate, } from './binary-wire.js';
|
|
63
|
+
export { VIDEO_FRAGMENT_HEADER_BYTES, MAX_VIDEO_FRAGMENT_BODY_BYTES, MAX_VIDEO_FRAGMENTS, VIDEO_FRAME_TIMEOUT_MS, VIDEO_FRAGMENT_VERSION, VideoCodec, fragmentFrame, parseVideoFragmentHeader, isNewerFrameId, VideoFrameAssembler, } from './media/video-frames.js';
|
|
63
64
|
export { RealtimeMetrics, payloadBytesOf, } from './metrics.js';
|
|
64
65
|
export { WorldClient, ActorClient } from './world.js';
|
|
65
66
|
export { CombatKit, DecksKit, EconomyKit, DirectorKit, EngineDetector, FeaturesKit, GameKitClient, InventoryKit, LeaderboardsKit, InstancesKit, LootKit, MarketKit, MatchesKit, AbilitiesKit, LiveopsKit, MovementKit, RacingKit, TerritoryKit, ModerationKit, TelemetryKit, telemetryBlueprint, MatchmakingKit, MinigamesKit, MobsKit, NpcsKit, ObjectsKit, PetsKit, PlotsKit, ProgressionKit, QuestsKit, SocialKit, WorldsimKit, EVENT_CONTACT_DAMAGE, EVENT_ABILITY, EVENT_CONTROL_POINT, EVENT_MOVEMENT_VIOLATION, EVENT_PROPOSAL, EVENT_RACE_TIMING, EVENT_ZONE_CHANGE, EVENT_SCORE, EVENT_TURN, EVENT_WEATHER, FLAG_GROUNDED, FLAG_MOB, FLAG_NPC, FLAG_RESERVED3, POSE_BYTES, decodeEnginePose, encodeEnginePose, engineLanes, enginePoseCodec, parseContactDamage, parseEngineEvent, parseAbilityEvent, parseControlPointEvent, parseMovementViolation, parseProposalEvent, parseRaceTimingEvent, parseScoreEvent, parseTurnEvent, parseWeatherEvent, poseSuffix, andPolicies, combatBlueprint, combatNames, composeBlueprints, decksBlueprint, decksNames, economyBlueprint, economyCurrencyFn, economyNames, featureGate, guildBlueprint, guildNames, inventoryBarterFunctionName, inventoryBlueprint, inventoryCraftFunctionName, inventoryNames, isKitVerdictError, kitInvoke, kitPolicyJson, runOptimisticAction, leaderboardsBlueprint, leaderboardsNames, lockBlueprint, lockNames, lootBlueprint, lootNames, lootRollFn, liveopsBlueprint, liveopsNames, moderationBlueprint, moderationNames, matchesBlueprint, matchesNames, turnExpired, mergeBlueprints, npcBehaviorFunctionName, npcBlueprint, ownerEqualsCaller, ownerMirrorProperty, ownerEquals, plotBlueprint, plotNames, progressionBlueprint, progressionNames, questsBlueprint, questsNames, toKitInvokeResult, trustedAuthorityFields, worldsimBlueprint, worldsimNames, } from './kit/index.js';
|
package/dist/kit/npcs.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"npcs.d.ts","sourceRoot":"","sources":["../../src/kit/npcs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAy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,MAAM,CAAA;SAAE;;;;;;;;;MAY9D;IAEF,8DAA8D;IAC9D,QAAQ,CAAC,IAAI;QACX,4DAA4D;qBACzC,MAAM;;;;;;;;;;;;;QAOzB,wBAAwB;0BACA,OAAO,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC;;;;;;;;0BAmDq/ytB,CAAC;;;;;;;;QA/CxiztB;;;;WAIG;0BAEU,OAAO,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,QAC/B,MAAM,KACX,OAAO,CAAC,OAAO,CAAC;QAQnB;;;WAGG;+BAEU,OAAO,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,YAC3B,CAAC,OAAO,EAAE,cAAc,KAAK,IAAI,KAC1C,CAAC,MAAM,IAAI,CAAC;MAsBf;CACH"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Webcam video fragments: the SDK-side half of `CLIENT_VIDEO_PACKET_2` (143).
|
|
3
|
+
*
|
|
4
|
+
* A Buddy datagram carries at most 1232 bytes, and a long-spatial payload at most
|
|
5
|
+
* ~1123 of them (1117 once the HMAC tail is counted). Even a 64×64 JPEG is 2–6 KB,
|
|
6
|
+
* so a frame crosses as several packets. The server never looks inside a video
|
|
7
|
+
* payload; THIS is the contract both SDKs implement, byte for byte
|
|
8
|
+
* (published under "Wire formats" on docs.crowdedkingdoms.com):
|
|
9
|
+
*
|
|
10
|
+
* ```
|
|
11
|
+
* offset size field meaning
|
|
12
|
+
* 0 1 version 0x01. Anything else: drop the fragment.
|
|
13
|
+
* 1 1 codec 0 = JPEG, 1 = WebP. Others reserved; drop.
|
|
14
|
+
* 2 2 frameId uint16 big-endian, per sender, +1 per frame, wraps.
|
|
15
|
+
* 4 1 fragIndex 0-based index of this fragment within the frame.
|
|
16
|
+
* 5 1 fragCount total fragments in the frame, 1..16.
|
|
17
|
+
* 6 ... body this fragment's slice of the encoded frame.
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* Reassembly is per `(sender uuid, frameId)`: a frame is delivered once when every
|
|
21
|
+
* index has arrived; an incomplete frame is dropped when a NEWER frameId from the
|
|
22
|
+
* same sender arrives, or after {@link VIDEO_FRAME_TIMEOUT_MS} without progress. No
|
|
23
|
+
* retransmit, no NACK — the next frame is the recovery. Pure functions and a small
|
|
24
|
+
* class with no DOM dependency, so the same fixtures run here and in CrowdyCPP.
|
|
25
|
+
*/
|
|
26
|
+
/** Bytes of fragment header in front of every body slice. */
|
|
27
|
+
export declare const VIDEO_FRAGMENT_HEADER_BYTES = 6;
|
|
28
|
+
/** Largest body a fragment may carry with the HMAC tail present (1123 − 6). */
|
|
29
|
+
export declare const MAX_VIDEO_FRAGMENT_BODY_BYTES = 1117;
|
|
30
|
+
/** A frame is refused above this many fragments (~17.8 KB). */
|
|
31
|
+
export declare const MAX_VIDEO_FRAGMENTS = 16;
|
|
32
|
+
/** An incomplete frame is abandoned after this long without a new fragment. */
|
|
33
|
+
export declare const VIDEO_FRAME_TIMEOUT_MS = 500;
|
|
34
|
+
/** The one header version this SDK writes and accepts. */
|
|
35
|
+
export declare const VIDEO_FRAGMENT_VERSION = 1;
|
|
36
|
+
/** Frame codecs the header can name. */
|
|
37
|
+
export declare const VideoCodec: {
|
|
38
|
+
readonly JPEG: 0;
|
|
39
|
+
readonly WEBP: 1;
|
|
40
|
+
};
|
|
41
|
+
export type VideoCodec = (typeof VideoCodec)[keyof typeof VideoCodec];
|
|
42
|
+
/** One fragment's parsed header. */
|
|
43
|
+
export interface VideoFragmentHeader {
|
|
44
|
+
version: number;
|
|
45
|
+
codec: number;
|
|
46
|
+
frameId: number;
|
|
47
|
+
fragIndex: number;
|
|
48
|
+
fragCount: number;
|
|
49
|
+
}
|
|
50
|
+
/** A frame the assembler completed. */
|
|
51
|
+
export interface AssembledVideoFrame {
|
|
52
|
+
uuid: string;
|
|
53
|
+
frameId: number;
|
|
54
|
+
codec: VideoCodec;
|
|
55
|
+
bytes: Uint8Array;
|
|
56
|
+
/** When the LAST fragment arrived (the caller's clock). */
|
|
57
|
+
completedAt: number;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Split one encoded frame into fragments, each `header || slice`.
|
|
61
|
+
*
|
|
62
|
+
* @param frame - the encoded frame bytes (a JPEG or WebP file as `Uint8Array`).
|
|
63
|
+
* @param frameId - per-sender counter, `0..65535`; wraps by the caller.
|
|
64
|
+
* @param codec - {@link VideoCodec}.
|
|
65
|
+
* @param maxBody - bytes per fragment body; defaults to the wire maximum.
|
|
66
|
+
* @throws {RangeError} when the frame would need more than {@link MAX_VIDEO_FRAGMENTS}
|
|
67
|
+
* fragments (send a smaller frame; a partial frame is never sent), when `frameId`
|
|
68
|
+
* is out of range, or when `frame` is empty.
|
|
69
|
+
*/
|
|
70
|
+
export declare function fragmentFrame(frame: Uint8Array, frameId: number, codec?: VideoCodec, maxBody?: number): Uint8Array[];
|
|
71
|
+
/**
|
|
72
|
+
* Parse a fragment header. Returns `null` for anything this SDK must drop: too
|
|
73
|
+
* short, wrong version, reserved codec, `fragCount` outside `1..16`, or an index at
|
|
74
|
+
* or past the count.
|
|
75
|
+
*/
|
|
76
|
+
export declare function parseVideoFragmentHeader(packet: Uint8Array): VideoFragmentHeader | null;
|
|
77
|
+
/** True when `a` is newer than `b` on the wrapping uint16 frameId counter. */
|
|
78
|
+
export declare function isNewerFrameId(a: number, b: number): boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Reassembles fragments per sender. Feed every `ClientVideoNotification`'s
|
|
81
|
+
* decoded `videoData` to {@link ingest}; call {@link prune} on a timer (or rely on
|
|
82
|
+
* the newer-frame rule alone) and {@link forget} when a sender leaves.
|
|
83
|
+
*/
|
|
84
|
+
export declare class VideoFrameAssembler {
|
|
85
|
+
private readonly timeoutMs;
|
|
86
|
+
private readonly pending;
|
|
87
|
+
/** The newest frameId per sender that was completed or abandoned; older ones are stragglers. */
|
|
88
|
+
private readonly lastDone;
|
|
89
|
+
/** Fragments dropped for a malformed header or a stale frameId. */
|
|
90
|
+
dropped: number;
|
|
91
|
+
/** Frames abandoned incomplete (newer frame arrived, timeout, or forget). */
|
|
92
|
+
abandoned: number;
|
|
93
|
+
constructor(timeoutMs?: number);
|
|
94
|
+
/**
|
|
95
|
+
* Add one fragment. Returns the completed frame when this fragment finished it,
|
|
96
|
+
* otherwise `null`.
|
|
97
|
+
*/
|
|
98
|
+
ingest(uuid: string, packet: Uint8Array, nowMs?: number): AssembledVideoFrame | null;
|
|
99
|
+
/** Abandon frames that have not progressed within the timeout. Returns how many. */
|
|
100
|
+
prune(nowMs?: number): number;
|
|
101
|
+
/** Drop any partial frame for a sender that left. */
|
|
102
|
+
forget(uuid: string): void;
|
|
103
|
+
/** Senders with a frame in progress. */
|
|
104
|
+
get pendingCount(): number;
|
|
105
|
+
}
|
|
106
|
+
//# sourceMappingURL=video-frames.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video-frames.d.ts","sourceRoot":"","sources":["../../src/media/video-frames.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,6DAA6D;AAC7D,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAC7C,+EAA+E;AAC/E,eAAO,MAAM,6BAA6B,OAAO,CAAC;AAClD,+DAA+D;AAC/D,eAAO,MAAM,mBAAmB,KAAK,CAAC;AACtC,+EAA+E;AAC/E,eAAO,MAAM,sBAAsB,MAAM,CAAC;AAC1C,0DAA0D;AAC1D,eAAO,MAAM,sBAAsB,IAAI,CAAC;AAExC,wCAAwC;AACxC,eAAO,MAAM,UAAU;;;CAGb,CAAC;AACX,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEtE,oCAAoC;AACpC,MAAM,WAAW,mBAAmB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,S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