@agent-play/sdk 3.2.2 → 3.3.3
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 +11 -0
- package/dist/browser-Dpx-0L8A.d.ts +1078 -0
- package/dist/browser.d.ts +2 -1
- package/dist/browser.js +107 -3
- package/dist/chunk-VWC7EE2F.js +5104 -0
- package/dist/chunk-VWC7EE2F.js.map +1 -0
- package/dist/index.d.ts +15 -10
- package/dist/index.js +200 -49
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/browser-CD0Fu-zr.d.ts +0 -387
- package/dist/chunk-U2M7HNYN.js +0 -303
- package/dist/chunk-U2M7HNYN.js.map +0 -1
package/dist/browser.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export { A as AgentPlaySnapshot, M as MINIMUM_PLAY_WORLD_BOUNDS,
|
|
1
|
+
export { A as AgentPlaySnapshot, e as AgentPlayWorldLayout, C as CONTINUOUS_RENDER_OFFSET, n as CarWashCar, o as CarWashCarSchema, D as DEFAULT_AGENT_SPAWN_MIN_DISTANCE, p as DEFAULT_PLAYER_WALLET_BALANCE_USD, M as MINIMUM_PLAY_WORLD_BOUNDS, O as OCCUPANCY_POINT_MULTIPLIER, s as OccupancyGridPoint, t as OccupantGroup, w as PLAYER_CHAIN_GENESIS_STABLE_KEY, x as PLAYER_CHAIN_HEADER_STABLE_KEY, K as PlayerWallet, N as PlayerWalletSchema, S as PurchaseRecord, T as PurchaseRecordSchema, Y as SPATIAL_ZONE_INDEX_AGENTS, Z as SPATIAL_ZONE_INDEX_SPACES, _ as STREET_NAME_POOL, $ as SaleState, a0 as SaleStateSchema, a1 as ShopItem, a2 as ShopItemSchema, a3 as SpaceContentItem, a4 as Street, a5 as StreetPoolEntry, a7 as SupermarketItem, a8 as SupermarketItemSchema, a9 as WorldBounds, ab as WorldLayout, ac as WorldLayoutBoundsField, ae as Zone, ag as applyBoundsFieldUpdateToLayout, ah as availableCellsForZone, ai as boundingWorldRectForOccupancyPoints, aj as boundsContain, ak as buildRankedOccupancyPoints, al as buildRankedOccupancyPointsForSpatialZone, am as buildRankedOccupancyPointsForZone, an as buildRankedOccupancyPointsInRect, ao as cellsForZone, ap as centerOfZone, aq as clampWorldPosition, ar as createInitialPlayerWallet, as as createVerticalStripSeedLayout, at as desaturateColor, au as enumerateIntegerCellsInRect, av as expandBoundsToMinimumPlayArea, aw as getStreetPoolEntryById, ax as isAgentSpawnOccupancyPointAvailable, ay as isAgentSpawnOccupancyPointAvailableInRect, az as isAgentSpawnOccupancyPointAvailableInZone, aA as isItemAvailableForPurchase, aB as isSpaceAnchorOccupancyPointAvailable, aC as isSpaceAnchorOccupancyPointAvailableInRect, aD as isSpaceAnchorOccupancyPointAvailableInZone, aE as listAllowedOccupancyPoints, aF as listOccupancyPointsForSpatialZone, aG as listOccupancyPointsForZone, aH as listOccupancyPointsInRect, aI as mergeSnapshotWithPlayerChainNode, aJ as migrateWorldLayoutBounds, aK as nextStreetFromPool, aL as occupancyKeyForPosition, aM as occupancyPointsGroupedBySpatialZone, aN as occupancyPointsGroupedByZones, aO as parsePlayerChainFanoutNotify, aP as parsePlayerChainFanoutNotifyFromSsePayload, aQ as parsePlayerChainNodeRpcBody, aR as pickZoneForGroup, aS as pointCellInRect, aT as pointCellInSpatialZone, aU as pointCellInZone, aV as primaryZoneForGroup, aW as sortNodeRefsForSerializedFetch, aX as spatialZoneBounds, aY as spatialZoneCenter, aZ as streetFromPoolEntry, a_ as zonesForGroup } from './browser-Dpx-0L8A.js';
|
|
2
|
+
import 'zod';
|
package/dist/browser.js
CHANGED
|
@@ -1,27 +1,131 @@
|
|
|
1
1
|
import {
|
|
2
|
+
CONTINUOUS_RENDER_OFFSET,
|
|
3
|
+
CarWashCarSchema,
|
|
4
|
+
DEFAULT_AGENT_SPAWN_MIN_DISTANCE,
|
|
5
|
+
DEFAULT_PLAYER_WALLET_BALANCE_USD,
|
|
2
6
|
MINIMUM_PLAY_WORLD_BOUNDS,
|
|
7
|
+
OCCUPANCY_POINT_MULTIPLIER,
|
|
3
8
|
PLAYER_CHAIN_GENESIS_STABLE_KEY,
|
|
4
9
|
PLAYER_CHAIN_HEADER_STABLE_KEY,
|
|
10
|
+
PlayerWalletSchema,
|
|
11
|
+
PurchaseRecordSchema,
|
|
12
|
+
SPATIAL_ZONE_INDEX_AGENTS,
|
|
13
|
+
SPATIAL_ZONE_INDEX_SPACES,
|
|
14
|
+
STREET_NAME_POOL,
|
|
15
|
+
SaleStateSchema,
|
|
16
|
+
ShopItemSchema,
|
|
17
|
+
SupermarketItemSchema,
|
|
18
|
+
applyBoundsFieldUpdateToLayout,
|
|
19
|
+
availableCellsForZone,
|
|
20
|
+
boundingWorldRectForOccupancyPoints,
|
|
5
21
|
boundsContain,
|
|
22
|
+
buildRankedOccupancyPoints,
|
|
23
|
+
buildRankedOccupancyPointsForSpatialZone,
|
|
24
|
+
buildRankedOccupancyPointsForZone,
|
|
25
|
+
buildRankedOccupancyPointsInRect,
|
|
26
|
+
cellsForZone,
|
|
27
|
+
centerOfZone,
|
|
6
28
|
clampWorldPosition,
|
|
29
|
+
createInitialPlayerWallet,
|
|
30
|
+
createVerticalStripSeedLayout,
|
|
31
|
+
desaturateColor,
|
|
32
|
+
enumerateIntegerCellsInRect,
|
|
7
33
|
expandBoundsToMinimumPlayArea,
|
|
34
|
+
getStreetPoolEntryById,
|
|
35
|
+
isAgentSpawnOccupancyPointAvailable,
|
|
36
|
+
isAgentSpawnOccupancyPointAvailableInRect,
|
|
37
|
+
isAgentSpawnOccupancyPointAvailableInZone,
|
|
38
|
+
isItemAvailableForPurchase,
|
|
39
|
+
isSpaceAnchorOccupancyPointAvailable,
|
|
40
|
+
isSpaceAnchorOccupancyPointAvailableInRect,
|
|
41
|
+
isSpaceAnchorOccupancyPointAvailableInZone,
|
|
42
|
+
listAllowedOccupancyPoints,
|
|
43
|
+
listOccupancyPointsForSpatialZone,
|
|
44
|
+
listOccupancyPointsForZone,
|
|
45
|
+
listOccupancyPointsInRect,
|
|
8
46
|
mergeSnapshotWithPlayerChainNode,
|
|
47
|
+
migrateWorldLayoutBounds,
|
|
48
|
+
nextStreetFromPool,
|
|
49
|
+
occupancyKeyForPosition,
|
|
50
|
+
occupancyPointsGroupedBySpatialZone,
|
|
51
|
+
occupancyPointsGroupedByZones,
|
|
9
52
|
parsePlayerChainFanoutNotify,
|
|
10
53
|
parsePlayerChainFanoutNotifyFromSsePayload,
|
|
11
54
|
parsePlayerChainNodeRpcBody,
|
|
12
|
-
|
|
13
|
-
|
|
55
|
+
pickZoneForGroup,
|
|
56
|
+
pointCellInRect,
|
|
57
|
+
pointCellInSpatialZone,
|
|
58
|
+
pointCellInZone,
|
|
59
|
+
primaryZoneForGroup,
|
|
60
|
+
sortNodeRefsForSerializedFetch,
|
|
61
|
+
spatialZoneBounds,
|
|
62
|
+
spatialZoneCenter,
|
|
63
|
+
streetFromPoolEntry,
|
|
64
|
+
zonesForGroup
|
|
65
|
+
} from "./chunk-VWC7EE2F.js";
|
|
14
66
|
export {
|
|
67
|
+
CONTINUOUS_RENDER_OFFSET,
|
|
68
|
+
CarWashCarSchema,
|
|
69
|
+
DEFAULT_AGENT_SPAWN_MIN_DISTANCE,
|
|
70
|
+
DEFAULT_PLAYER_WALLET_BALANCE_USD,
|
|
15
71
|
MINIMUM_PLAY_WORLD_BOUNDS,
|
|
72
|
+
OCCUPANCY_POINT_MULTIPLIER,
|
|
16
73
|
PLAYER_CHAIN_GENESIS_STABLE_KEY,
|
|
17
74
|
PLAYER_CHAIN_HEADER_STABLE_KEY,
|
|
75
|
+
PlayerWalletSchema,
|
|
76
|
+
PurchaseRecordSchema,
|
|
77
|
+
SPATIAL_ZONE_INDEX_AGENTS,
|
|
78
|
+
SPATIAL_ZONE_INDEX_SPACES,
|
|
79
|
+
STREET_NAME_POOL,
|
|
80
|
+
SaleStateSchema,
|
|
81
|
+
ShopItemSchema,
|
|
82
|
+
SupermarketItemSchema,
|
|
83
|
+
applyBoundsFieldUpdateToLayout,
|
|
84
|
+
availableCellsForZone,
|
|
85
|
+
boundingWorldRectForOccupancyPoints,
|
|
18
86
|
boundsContain,
|
|
87
|
+
buildRankedOccupancyPoints,
|
|
88
|
+
buildRankedOccupancyPointsForSpatialZone,
|
|
89
|
+
buildRankedOccupancyPointsForZone,
|
|
90
|
+
buildRankedOccupancyPointsInRect,
|
|
91
|
+
cellsForZone,
|
|
92
|
+
centerOfZone,
|
|
19
93
|
clampWorldPosition,
|
|
94
|
+
createInitialPlayerWallet,
|
|
95
|
+
createVerticalStripSeedLayout,
|
|
96
|
+
desaturateColor,
|
|
97
|
+
enumerateIntegerCellsInRect,
|
|
20
98
|
expandBoundsToMinimumPlayArea,
|
|
99
|
+
getStreetPoolEntryById,
|
|
100
|
+
isAgentSpawnOccupancyPointAvailable,
|
|
101
|
+
isAgentSpawnOccupancyPointAvailableInRect,
|
|
102
|
+
isAgentSpawnOccupancyPointAvailableInZone,
|
|
103
|
+
isItemAvailableForPurchase,
|
|
104
|
+
isSpaceAnchorOccupancyPointAvailable,
|
|
105
|
+
isSpaceAnchorOccupancyPointAvailableInRect,
|
|
106
|
+
isSpaceAnchorOccupancyPointAvailableInZone,
|
|
107
|
+
listAllowedOccupancyPoints,
|
|
108
|
+
listOccupancyPointsForSpatialZone,
|
|
109
|
+
listOccupancyPointsForZone,
|
|
110
|
+
listOccupancyPointsInRect,
|
|
21
111
|
mergeSnapshotWithPlayerChainNode,
|
|
112
|
+
migrateWorldLayoutBounds,
|
|
113
|
+
nextStreetFromPool,
|
|
114
|
+
occupancyKeyForPosition,
|
|
115
|
+
occupancyPointsGroupedBySpatialZone,
|
|
116
|
+
occupancyPointsGroupedByZones,
|
|
22
117
|
parsePlayerChainFanoutNotify,
|
|
23
118
|
parsePlayerChainFanoutNotifyFromSsePayload,
|
|
24
119
|
parsePlayerChainNodeRpcBody,
|
|
25
|
-
|
|
120
|
+
pickZoneForGroup,
|
|
121
|
+
pointCellInRect,
|
|
122
|
+
pointCellInSpatialZone,
|
|
123
|
+
pointCellInZone,
|
|
124
|
+
primaryZoneForGroup,
|
|
125
|
+
sortNodeRefsForSerializedFetch,
|
|
126
|
+
spatialZoneBounds,
|
|
127
|
+
spatialZoneCenter,
|
|
128
|
+
streetFromPoolEntry,
|
|
129
|
+
zonesForGroup
|
|
26
130
|
};
|
|
27
131
|
//# sourceMappingURL=browser.js.map
|