@crowdedkingdoms/crowdyjs 8.0.0 → 8.0.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.
@@ -25,7 +25,7 @@ export var AppStatus;
25
25
  (function (AppStatus) {
26
26
  /** Soft-deleted via archiveApp: retained but read-only and excluded from the marketplace. Reversible by setting status back to DRAFT or LIVE. */
27
27
  AppStatus["Archived"] = "ARCHIVED";
28
- /** Work-in-progress: invisible to non-members and never listed in the marketplace. Default for newly created apps. */
28
+ /** Work-in-progress: invisible to non-members and never listed in the marketplace. Selectable manually via updateApp; new apps default to LIVE. */
29
29
  AppStatus["Draft"] = "DRAFT";
30
30
  /** Published and purchasable/playable; eligible for the public marketplace when visibility=PUBLIC. */
31
31
  AppStatus["Live"] = "LIVE";
@@ -327,8 +327,10 @@ export const GameModelCreateSessionDocument = { "kind": "Document", "definitions
327
327
  export const GameModelJoinSessionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelJoinSession" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "JoinSessionInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelJoinSession" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "userId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "role" } }] } }] } }] };
328
328
  export const GameModelSetSessionTurnDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelSetSessionTurn" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SetSessionTurnInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelSetSessionTurn" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmSessionFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmSessionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmSession" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "status" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdByUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currentTurnUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }] } }] };
329
329
  export const GameModelCreateContainerDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelCreateContainer" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateContainerInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelCreateContainer" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmContainerFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmContainerFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmContainer" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "containerId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "typeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "displayName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }] } }] };
330
+ export const GameModelDeleteContainerDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelDeleteContainer" }, "variableDefinitions": [{ "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": "containerId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelDeleteContainer" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "containerId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "containerId" } } }] }] } }] };
330
331
  export const GameModelSetPropertyDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelSetProperty" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SetContainerPropertyInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelSetProperty" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmContainerFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmContainerFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmContainer" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "containerId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "typeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "displayName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }] } }] };
331
332
  export const GameModelAddEdgeDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelAddEdge" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "AddEdgeInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelAddEdge" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "edgeId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fromContainerId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "toContainerId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "relationshipType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "weight" } }] } }] } }] };
333
+ export const GameModelDeleteEdgeDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelDeleteEdge" }, "variableDefinitions": [{ "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": "edgeId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelDeleteEdge" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "edgeId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "edgeId" } } }] }] } }] };
332
334
  export const GameModelInvokeDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelInvoke" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "InvokeFunctionInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelInvoke" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmInvokeResultFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmInvokeResultFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmInvokeResult" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "eventId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "functionName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "success" } }, { "kind": "Field", "name": { "kind": "Name", "value": "returnValueJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "errorMessage" } }, { "kind": "Field", "name": { "kind": "Name", "value": "mutationsApplied" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "containerId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "key" } }, { "kind": "Field", "name": { "kind": "Name", "value": "valueType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "oldValueJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "newValueJson" } }] } }] } }] };
333
335
  export const GameModelContainerDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GameModelContainer" }, "variableDefinitions": [{ "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": "containerId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelContainer" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "containerId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "containerId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmContainerFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmContainerFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmContainer" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "containerId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "typeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "displayName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }] } }] };
334
336
  export const GameModelContainersDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GameModelContainers" }, "variableDefinitions": [{ "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": "typeName" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } }, "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelContainers" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "typeName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "typeName" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "sessionId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "sessionId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmContainerFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmContainerFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmContainer" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "containerId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sessionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "typeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "displayName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }] } }] };
@@ -341,6 +343,8 @@ export const GameModelEventsConnectionDocument = { "kind": "Document", "definiti
341
343
  export const GameModelSeedDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelSeed" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "SeedGameModelInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelSeed" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "containerTypesCreated" } }, { "kind": "Field", "name": { "kind": "Name", "value": "propertyDefinitionsCreated" } }, { "kind": "Field", "name": { "kind": "Name", "value": "functionsCreated" } }, { "kind": "Field", "name": { "kind": "Name", "value": "containersCreated" } }, { "kind": "Field", "name": { "kind": "Name", "value": "edgesCreated" } }, { "kind": "Field", "name": { "kind": "Name", "value": "warnings" } }, { "kind": "Field", "name": { "kind": "Name", "value": "idMapJson" } }] } }] } }] };
342
344
  export const GameModelUpsertContainerTypeDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelUpsertContainerType" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "UpsertContainerTypeInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelUpsertContainerType" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "typeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "displayName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "instantiableBy" } }, { "kind": "Field", "name": { "kind": "Name", "value": "defaultPropertyVisibility" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadataJson" } }] } }] } }] };
343
345
  export const GameModelUpsertPropertyDefDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelUpsertPropertyDef" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "UpsertPropertyDefInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelUpsertPropertyDef" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmPropertyDefFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmPropertyDefFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmPropertyDef" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "containerTypeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "key" } }, { "kind": "Field", "name": { "kind": "Name", "value": "valueType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "defaultValueJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "visibility" } }, { "kind": "Field", "name": { "kind": "Name", "value": "writable" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }] } }] };
346
+ export const GameModelDeletePropertyDefDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelDeletePropertyDef" }, "variableDefinitions": [{ "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": "containerTypeName" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "key" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelDeletePropertyDef" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "containerTypeName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "containerTypeName" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "key" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "key" } } }] }] } }] };
347
+ export const GameModelDeleteContainerTypeDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelDeleteContainerType" }, "variableDefinitions": [{ "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": "typeName" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelDeleteContainerType" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "typeName" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "typeName" } } }] }] } }] };
344
348
  export const GameModelUpsertFunctionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelUpsertFunction" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "UpsertFunctionInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelUpsertFunction" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "GmFunctionFields" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "GmFunctionFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "GmFunction" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "functionId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "containerTypeName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "returnType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "invokeScope" } }, { "kind": "Field", "name": { "kind": "Name", "value": "invokePolicyJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "autonomousInvocable" } }, { "kind": "Field", "name": { "kind": "Name", "value": "returnExpression" } }, { "kind": "Field", "name": { "kind": "Name", "value": "warnings" } }, { "kind": "Field", "name": { "kind": "Name", "value": "parameters" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "valueType" } }, { "kind": "Field", "name": { "kind": "Name", "value": "required" } }, { "kind": "Field", "name": { "kind": "Name", "value": "defaultValueJson" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sortOrder" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "mutations" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "target" } }, { "kind": "Field", "name": { "kind": "Name", "value": "property" } }, { "kind": "Field", "name": { "kind": "Name", "value": "expression" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "notifications" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "kind" } }, { "kind": "Field", "name": { "kind": "Name", "value": "emitAs" } }, { "kind": "Field", "name": { "kind": "Name", "value": "args" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "expression" } }] } }] } }] } }] };
345
349
  export const GameModelDeleteFunctionDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelDeleteFunction" }, "variableDefinitions": [{ "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": "name" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelDeleteFunction" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }, { "kind": "Argument", "name": { "kind": "Name", "value": "name" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "name" } } }] }] } }] };
346
350
  export const GameModelDefineFeatureDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelDefineFeature" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "DefineAppFeatureInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelDefineFeature" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "featureKey" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }] } }] } }] };
@@ -356,6 +360,7 @@ export const GameModelTierFeaturesDocument = { "kind": "Document", "definitions"
356
360
  export const GameModelPolicyDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GameModelPolicy" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelPolicy" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "appId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sessionCreationPolicy" } }, { "kind": "Field", "name": { "kind": "Name", "value": "defaultParticipantRole" } }] } }] } }] };
357
361
  export const GameModelRevokeTierFeatureDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "GameModelRevokeTierFeature" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "GrantTierFeatureInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameModelRevokeTierFeature" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }] }] } }] };
358
362
  export const GameHostDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GameHost" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "gameHost" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "hostUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "actorCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "earliestActorJoinedAt" } }] } }] } }] };
363
+ export const AmIGameHostDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "AmIGameHost" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "amIGameHost" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }] }] } }] };
359
364
  export const ActorHeartbeatDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "ActorHeartbeat" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "BigInt" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "actorHeartbeat" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "appId" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "appId" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "hostUserId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "actorCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "earliestActorJoinedAt" } }] } }] } }] };
360
365
  export const CreateOrgRoleDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CreateOrgRole" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateOrgRoleInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createOrgRole" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgRoleId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "roleName" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSystem" } }, { "kind": "Field", "name": { "kind": "Name", "value": "permissions" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }] } }] } }] };
361
366
  export const CreateOrgTokenDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "mutation", "name": { "kind": "Name", "value": "CreateOrgToken" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "CreateOrgTokenInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "createOrgToken" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "orgTokenId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "orgId" } }, { "kind": "Field", "name": { "kind": "Name", "value": "token" } }, { "kind": "Field", "name": { "kind": "Name", "value": "label" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isActive" } }, { "kind": "Field", "name": { "kind": "Name", "value": "expiresAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }] } }] } }] };
package/dist/index.d.ts CHANGED
@@ -45,7 +45,8 @@
45
45
  * or internal tooling, never an untrusted browser.
46
46
  */
47
47
  /** The published package version. Mirrors `package.json`. */
48
- export declare const VERSION = "8.0.0";
48
+ export declare const VERSION = "8.0.1";
49
+ export { LbCookieStore } from './lb-cookie-store.js';
49
50
  export { CrowdyClient, createCrowdyClient, type CrowdyClientConfig, } from './crowdy-client.js';
50
51
  export { BrowserLocalStorageTokenStore, SessionStore, type SessionListener, type TokenStore, } from './session.js';
51
52
  export { GraphQLClient, GraphQLTransport, type GraphQLClientConfig, } from './client.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","s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BAAgB,EAChB,YAAY,EACZ,YAAY,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,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,GACd,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AAEH,6DAA6D;AAC7D,eAAO,MAAM,OAAO,UAAU,CAAC;AAE/B,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EACL,YAAY,EACZ,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AS,EACT,oBAAoB,EACpB,MAAM,EACN,gBAAgB,EAChB,cAAc,EACd,iBAAiB,EACjB,OAAO,EACP,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,WAAW,EACX,YAAY,EACZ,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,GACd,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC"}
package/dist/index.js CHANGED
@@ -45,7 +45,8 @@
45
45
  * or internal tooling, never an untrusted browser.
46
46
  */
47
47
  /** The published package version. Mirrors `package.json`. */
48
- export const VERSION = '8.0.0';
48
+ export const VERSION = '8.0.1';
49
+ export { LbCookieStore } from './lb-cookie-store.js';
49
50
  export { CrowdyClient, createCrowdyClient, } from './crowdy-client.js';
50
51
  export { BrowserLocalStorageTokenStore, SessionStore, } from './session.js';
51
52
  export { GraphQLClient, GraphQLTransport, } from './client.js';
@@ -0,0 +1,20 @@
1
+ export declare class LbCookieStore {
2
+ private value;
3
+ /** Current `cks_ga=…` header value, or null when unset. */
4
+ headerValue(): string | null;
5
+ /** Parse `Set-Cookie` response headers and retain `cks_ga` when present. */
6
+ ingestSetCookie(headers: Headers): void;
7
+ /** @internal test helper */
8
+ getValue(): string | null;
9
+ /**
10
+ * Obtain `cks_ga` from the game-api before opening a WebSocket so the
11
+ * upgrade lands on the same upstream as subsequent HTTP mutations.
12
+ */
13
+ primeFromGraphql(args: {
14
+ endpoint: string;
15
+ token?: string | null;
16
+ timeoutMs?: number;
17
+ signal?: AbortSignal;
18
+ }): Promise<void>;
19
+ }
20
+ //# sourceMappingURL=lb-cookie-store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lb-cookie-store.d.ts","sourceRoot":"","sources":["../src/lb-cookie-store.ts"],"names":[],"mappings":"AAWA,qBAAa,aAAa;IACxB,OAAO,CAAC,KAAK,CAAuB;IAEpC,2DAA2D;IAC3D,WAAW,IAAI,MAAM,GAAG,IAAI;IAI5B,4EAA4E;IAC5E,eAAe,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAYvC,4BAA4B;IAC5B,QAAQ,IAAI,MAAM,GAAG,IAAI;IAIzB;;;OAGG;IACG,gBAAgB,CAAC,IAAI,EAAE;QAC3B,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,CAAC,EAAE,WAAW,CAAC;KACtB,GAAG,OAAO,CAAC,IAAI,CAAC;CAwBlB"}
@@ -0,0 +1,73 @@
1
+ /**
2
+ * In-memory store for the Caddy load-balancer sticky cookie (`cks_ga`).
3
+ *
4
+ * CKS shared game LBs set `cks_ga` on the first HTTP response so GraphQL
5
+ * mutations and the graphql-transport-ws upgrade for the same client land on
6
+ * one game-api. Browsers persist this automatically; Node `fetch` and `ws` do
7
+ * not — this store bridges that gap for bots, e2e tests, and other non-browser
8
+ * runtimes.
9
+ */
10
+ const CKS_GA_NAME = 'cks_ga';
11
+ export class LbCookieStore {
12
+ constructor() {
13
+ this.value = null;
14
+ }
15
+ /** Current `cks_ga=…` header value, or null when unset. */
16
+ headerValue() {
17
+ return this.value ? `${CKS_GA_NAME}=${this.value}` : null;
18
+ }
19
+ /** Parse `Set-Cookie` response headers and retain `cks_ga` when present. */
20
+ ingestSetCookie(headers) {
21
+ const setCookies = typeof headers.getSetCookie === 'function'
22
+ ? headers.getSetCookie()
23
+ : parseSetCookieFallback(headers.get('set-cookie'));
24
+ for (const raw of setCookies) {
25
+ const pair = raw.split(';', 1)[0]?.trim();
26
+ if (!pair?.startsWith(`${CKS_GA_NAME}=`))
27
+ continue;
28
+ this.value = pair.slice(CKS_GA_NAME.length + 1);
29
+ }
30
+ }
31
+ /** @internal test helper */
32
+ getValue() {
33
+ return this.value;
34
+ }
35
+ /**
36
+ * Obtain `cks_ga` from the game-api before opening a WebSocket so the
37
+ * upgrade lands on the same upstream as subsequent HTTP mutations.
38
+ */
39
+ async primeFromGraphql(args) {
40
+ if (this.value)
41
+ return;
42
+ const httpEndpoint = toHttpGraphqlEndpoint(args.endpoint);
43
+ const controller = new AbortController();
44
+ const timeoutMs = args.timeoutMs ?? 10000;
45
+ const timeoutId = setTimeout(() => controller.abort(), timeoutMs);
46
+ const signal = args.signal ?? controller.signal;
47
+ try {
48
+ const response = await fetch(httpEndpoint, {
49
+ method: 'POST',
50
+ headers: {
51
+ 'Content-Type': 'application/json',
52
+ ...(args.token ? { Authorization: `Bearer ${args.token}` } : {}),
53
+ },
54
+ body: JSON.stringify({ query: '{ __typename }' }),
55
+ credentials: 'include',
56
+ signal,
57
+ });
58
+ this.ingestSetCookie(response.headers);
59
+ await response.arrayBuffer().catch(() => undefined);
60
+ }
61
+ finally {
62
+ clearTimeout(timeoutId);
63
+ }
64
+ }
65
+ }
66
+ function parseSetCookieFallback(header) {
67
+ if (!header)
68
+ return [];
69
+ return [header];
70
+ }
71
+ function toHttpGraphqlEndpoint(endpoint) {
72
+ return endpoint.replace(/^wss:/i, 'https:').replace(/^ws:/i, 'http:');
73
+ }
@@ -1,6 +1,7 @@
1
1
  import type { SessionStore } from './session.js';
2
2
  import type { CrowdyLogger } from './logger.js';
3
3
  import { CrowdyRealtimeError } from './errors.js';
4
+ import type { LbCookieStore } from './lb-cookie-store.js';
4
5
  import { type UdpNotificationsSubscription } from './generated/graphql.js';
5
6
  /**
6
7
  * Lifecycle state of the realtime WebSocket connection, as reported by
@@ -62,9 +63,11 @@ export interface UdpNotificationHandlers {
62
63
  __typename?: 'ActorUpdateNotification';
63
64
  }>) => void;
64
65
  /**
65
- * Server acknowledgement echoing one of **your own** actor updates. This is
66
- * the notification a `sendActorUpdateAndWait` correlates to via
67
- * `sequenceNumber`.
66
+ * Legacy handler for `ActorUpdateResponse`. Current game servers never emit
67
+ * this type; the echo of your own actor update arrives as an
68
+ * `ActorUpdateNotification` (see {@link actorUpdate}), which is what
69
+ * `sendActorUpdateAndWait` correlates to via `sequenceNumber`. Retained for
70
+ * backward compatibility.
68
71
  */
69
72
  actorUpdateResponse?: (notification: Extract<UdpNotification, {
70
73
  __typename?: 'ActorUpdateResponse';
@@ -77,8 +80,11 @@ export interface UdpNotificationHandlers {
77
80
  __typename?: 'VoxelUpdateNotification';
78
81
  }>) => void;
79
82
  /**
80
- * Server acknowledgement echoing one of **your own** voxel updates (the
81
- * `sendVoxelUpdateAndWait` correlation target).
83
+ * Legacy handler for `VoxelUpdateResponse`. Current game servers never emit
84
+ * this type; the echo of your own voxel update arrives as a
85
+ * `VoxelUpdateNotification` (see {@link voxelUpdate}), which is what
86
+ * `sendVoxelUpdateAndWait` correlates to via `sequenceNumber`. Retained for
87
+ * backward compatibility.
82
88
  */
83
89
  voxelUpdateResponse?: (notification: Extract<UdpNotification, {
84
90
  __typename?: 'VoxelUpdateResponse';
@@ -191,6 +197,12 @@ export interface RealtimeConfig {
191
197
  waitTimeoutMs?: number;
192
198
  /** Optional logger for realtime diagnostics. Defaults to a silent logger. */
193
199
  logger?: CrowdyLogger;
200
+ /**
201
+ * Sticky-LB cookie jar shared with the game-api HTTP client. When set in
202
+ * Node, the WebSocket upgrade forwards `cks_ga` so HTTP mutations and the
203
+ * subscription land on the same game-api upstream.
204
+ */
205
+ lbCookieStore?: LbCookieStore;
194
206
  }
195
207
  /**
196
208
  * Manages the single WebSocket subscription to the game-api's
@@ -218,6 +230,7 @@ export declare class RealtimeClient {
218
230
  private readonly retryInitialDelayMs;
219
231
  private readonly retryMaxDelayMs;
220
232
  private readonly waitTimeoutMs;
233
+ private readonly lbCookieStore?;
221
234
  private client;
222
235
  private release;
223
236
  private desired;
@@ -227,6 +240,7 @@ export declare class RealtimeClient {
227
240
  private readonly pending;
228
241
  private nextSubscriberId;
229
242
  private subscribedAppId;
243
+ private opening;
230
244
  /**
231
245
  * @param config - Reconnect/timeout/endpoint tuning; see
232
246
  * {@link RealtimeConfig}.
@@ -308,6 +322,7 @@ export declare class RealtimeClient {
308
322
  */
309
323
  waitForSequence(sequenceNumber: number, timeoutMs?: number): Promise<SpatialNotification>;
310
324
  private ensureSubscription;
325
+ private openSubscription;
311
326
  private restart;
312
327
  private dispatch;
313
328
  private resolvePending;
@@ -1 +1 @@
1
- {"version":3,"file":"realtime.d.ts","sourceRoot":"","sources":["../src/realtime.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAEL,KAAK,4BAA4B,EAClC,MAAM,wBAAwB,CAAC;AAEhC;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,cAAc,GACtB,MAAM,GACN,YAAY,GACZ,WAAW,GACX,cAAc,GACd,cAAc,GACd,QAAQ,CAAC;AAEb;;;;;;GAMG;AACH,MAAM,MAAM,eAAe,GAAG,WAAW,CACvC,4BAA4B,CAAC,kBAAkB,CAAC,CACjD,CAAC;AAEF;;;;;;;;;;GAUG;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,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C,aAAa;IAWrB,OAAO,CAAC,gBAAgB;IAUxB,OAAO,CAAC,aAAa;IAMrB,OAAO,CAAC,SAAS;CAOlB"}
package/dist/realtime.js CHANGED
@@ -45,12 +45,14 @@ export class RealtimeClient {
45
45
  // game-api only fans this app's spatial notifications to this subscription.
46
46
  // The game-api rejects subscriptions that arrive without it.
47
47
  this.subscribedAppId = null;
48
+ this.opening = null;
48
49
  this.wsUrl = config.wsUrl || config.wsEndpoint || 'ws://localhost:3000/graphql';
49
50
  this.logger = config.logger ?? silentLogger;
50
51
  this.retryAttempts = config.retryAttempts ?? 8;
51
52
  this.retryInitialDelayMs = config.retryInitialDelayMs ?? 250;
52
53
  this.retryMaxDelayMs = config.retryMaxDelayMs ?? 5000;
53
54
  this.waitTimeoutMs = config.waitTimeoutMs ?? 5000;
55
+ this.lbCookieStore = config.lbCookieStore;
54
56
  this.session.onChange((token) => {
55
57
  if (!this.desired)
56
58
  return;
@@ -185,6 +187,8 @@ export class RealtimeClient {
185
187
  ensureSubscription() {
186
188
  if (this.release)
187
189
  return;
190
+ if (this.opening)
191
+ return;
188
192
  const token = this.session.getToken();
189
193
  if (!token) {
190
194
  const error = new CrowdyRealtimeError('Must be authenticated to subscribe', {
@@ -195,11 +199,24 @@ export class RealtimeClient {
195
199
  this.dispatchError(error);
196
200
  throw error;
197
201
  }
202
+ this.opening = this.openSubscription(token).finally(() => {
203
+ this.opening = null;
204
+ });
205
+ }
206
+ async openSubscription(token) {
207
+ if (this.lbCookieStore) {
208
+ await this.lbCookieStore.primeFromGraphql({
209
+ endpoint: this.wsUrl,
210
+ token,
211
+ });
212
+ }
198
213
  this.setStatus('connecting');
214
+ const webSocketImpl = createStickyWebSocketImpl(this.lbCookieStore);
199
215
  this.client = createClient({
200
216
  url: this.wsUrl,
201
217
  lazy: true,
202
218
  retryAttempts: this.retryAttempts,
219
+ ...(webSocketImpl ? { webSocketImpl } : {}),
203
220
  connectionParams: () => {
204
221
  const currentToken = this.session.getToken();
205
222
  if (!currentToken)
@@ -388,3 +405,24 @@ export class RealtimeClient {
388
405
  }
389
406
  }
390
407
  }
408
+ function isNodeRuntime() {
409
+ return (typeof process !== 'undefined' &&
410
+ typeof process.versions?.node === 'string');
411
+ }
412
+ /**
413
+ * Node `ws` does not send browser cookies on upgrade. When a sticky cookie jar
414
+ * is configured, wrap `ws` so `cks_ga` rides on the handshake.
415
+ */
416
+ function createStickyWebSocketImpl(lbCookieStore) {
417
+ if (!lbCookieStore || !isNodeRuntime())
418
+ return undefined;
419
+ const cookieStore = lbCookieStore;
420
+ // Node `ws` accepts a third options arg with `headers`; DOM typings do not.
421
+ const NodeWebSocket = WebSocket;
422
+ return class StickyLbWebSocket extends NodeWebSocket {
423
+ constructor(url, protocols) {
424
+ const cookie = cookieStore.headerValue();
425
+ super(url, protocols, cookie ? { headers: { Cookie: cookie } } : undefined);
426
+ }
427
+ };
428
+ }
package/dist/types.d.ts CHANGED
@@ -379,8 +379,12 @@ export interface ActorUpdateNotification {
379
379
  epochMillis: BigInt;
380
380
  }
381
381
  /**
382
- * Server acknowledgement echoing one of **your own** actor updates — the
383
- * correlation target for `sendActorUpdateAndWait`. Has no `state` payload.
382
+ * Legacy type retained for backward compatibility. Current game servers do
383
+ * **not** emit an `ActorUpdateResponse` the applied echo of your own actor
384
+ * update arrives as an {@link ActorUpdateNotification} (the sender is included
385
+ * in the chunk fan-out), correlated by `sequenceNumber`. That notification, not
386
+ * this type, is what `sendActorUpdateAndWait` resolves with. Has no `state`
387
+ * payload.
384
388
  */
385
389
  export interface ActorUpdateResponse {
386
390
  /** Discriminator for the {@link UdpNotification} union. */
@@ -445,8 +449,12 @@ export interface VoxelUpdateNotification {
445
449
  epochMillis: BigInt;
446
450
  }
447
451
  /**
448
- * Server acknowledgement echoing one of **your own** voxel updates — the
449
- * correlation target for `sendVoxelUpdateAndWait`. Has no voxel payload.
452
+ * Legacy type retained for backward compatibility. Current game servers do
453
+ * **not** emit a `VoxelUpdateResponse` the applied echo of your own voxel
454
+ * update arrives as a {@link VoxelUpdateNotification} (the sender is included
455
+ * in the chunk fan-out), correlated by `sequenceNumber`. That notification, not
456
+ * this type, is what `sendVoxelUpdateAndWait` resolves with. Has no voxel
457
+ * payload.
450
458
  */
451
459
  export interface VoxelUpdateResponse {
452
460
  /** Discriminator for the {@link UdpNotification} union. */
@@ -634,11 +642,19 @@ export interface CrowdyClientConfig {
634
642
  }
635
643
  /** Callback for an {@link ActorUpdateNotification} (another actor moved/changed). */
636
644
  export type ActorUpdateHandler = (notification: ActorUpdateNotification) => void;
637
- /** Callback for an {@link ActorUpdateResponse} (echo of your own actor update). */
645
+ /**
646
+ * Callback for a legacy {@link ActorUpdateResponse}. Current servers never emit
647
+ * one; your own actor update echoes back as an {@link ActorUpdateNotification}.
648
+ * Retained for backward compatibility.
649
+ */
638
650
  export type ActorUpdateResponseHandler = (response: ActorUpdateResponse) => void;
639
651
  /** Callback for a {@link VoxelUpdateNotification} (a nearby voxel changed). */
640
652
  export type VoxelUpdateHandler = (notification: VoxelUpdateNotification) => void;
641
- /** Callback for a {@link VoxelUpdateResponse} (echo of your own voxel update). */
653
+ /**
654
+ * Callback for a legacy {@link VoxelUpdateResponse}. Current servers never emit
655
+ * one; your own voxel update echoes back as a {@link VoxelUpdateNotification}.
656
+ * Retained for backward compatibility.
657
+ */
642
658
  export type VoxelUpdateResponseHandler = (response: VoxelUpdateResponse) => void;
643
659
  /** Callback for a {@link ClientAudioNotification} (nearby voice/audio packet). */
644
660
  export type ClientAudioHandler = (notification: ClientAudioNotification) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH;;;;;;GAMG;AACH,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAG5B;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B,6DAA6D;IAC7D,CAAC,EAAE,MAAM,CAAC;IACV,6DAA6D;IAC7D,CAAC,EAAE,MAAM,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