@agent-play/sdk 3.3.9 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/browser-DhKo5Hv7.d.ts +2237 -0
- package/dist/browser.d.ts +1 -1
- package/dist/browser.js +55 -1
- package/dist/{chunk-SLAPRNMF.js → chunk-Z2PYRHFU.js} +484 -25
- package/dist/chunk-Z2PYRHFU.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +71 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/browser-Djc4apJO.d.ts +0 -1126
- package/dist/chunk-SLAPRNMF.js.map +0 -1
package/dist/browser.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A as AgentPlaySnapshot,
|
|
1
|
+
export { e as ANALYTICS_EVENT_NAMES, f as APU_TOKEN, A as AgentPlaySnapshot, g as AgentPlayWorldLayout, o as AnalyticsEvent, p as AnalyticsEventName, q as AnalyticsEventSchema, v as AnalyticsTraits, w as AnalyticsTraitsSchema, x as ApplyGameOutcomeInput, y as ApplyGameOutcomeInputSchema, D as CONTINUOUS_RENDER_OFFSET, E as CarWashCar, F as CarWashCarSchema, G as ComputeTalkAgentPowerUpsEarnedInput, H as DAILY_GAME_PU_CAP, I as DEFAULT_AGENT_SPAWN_MIN_DISTANCE, K as DEFAULT_PLAYER_WALLET_BALANCE_USD, N as GAME_CABINET_CATALOG, O as GameCabinetEntry, Q as GameEvent, S as GameEventSchema, T as GameId, U as GamePerTitleStats, V as GamePerTitleStatsSchema, X as GameStats, Y as GameStatsSchema, _ as MINIMUM_PLAY_WORLD_BOUNDS, $ as MINIMUM_STREET_LAYOUT_BOUNDS, a0 as OCCUPANCY_POINT_MULTIPLIER, a1 as OccupancyGridPoint, a2 as OccupantGroup, a5 as PLAYABLE_GAME_IDS, a6 as PLAYER_CHAIN_GENESIS_STABLE_KEY, a7 as PLAYER_CHAIN_HEADER_STABLE_KEY, ag as PlayerWallet, ah as PlayerWalletSchema, aj as PurchaseRecord, ak as PurchaseRecordSchema, ao as SPACE_STRUCTURE_ANCHOR_MIN_DISTANCE, ap as SPATIAL_ZONE_INDEX_AGENTS, aq as SPATIAL_ZONE_INDEX_SPACES, at as STREET_NAME_POOL, au as SaleState, av as SaleStateSchema, aw as ScannerBlockRecord, ax as ScannerBlockRecordSchema, ay as ScannerHead, az as ScannerHeadSchema, aA as ScannerMigrationState, aB as ScannerMigrationStateSchema, aE as ScannerNodeProfile, aF as ScannerNodeProfileSchema, aI as ScannerTxRecord, aJ as ScannerTxRecordSchema, aK as ScannerWalletSnapshot, aL as ScannerWalletSnapshotSchema, aM as ShopItem, aN as ShopItemSchema, aO as SpaceContentItem, aP as Street, aQ as StreetPoolEntry, aS as SupermarketItem, aT as SupermarketItemSchema, aU as TALK_AGENT_PU_BILLED_SECONDS_PER_UNIT, aV as TALK_AGENT_PU_MAX_PER_LEG, aW as TALK_PRICE_PER_60S_USD, aX as TALK_PRICE_PER_SECOND_USD, aY as TALK_TICK_SECONDS, aZ as WALLET_BUNDLE_OFFERS, a_ as WalletBundleId, a$ as WalletBundleOffer, b0 as WorldBounds, b2 as WorldLayout, b3 as WorldLayoutBoundsField, b5 as Zone, b7 as applyBoundsFieldUpdateToLayout, b8 as availableCellsForZone, b9 as boundingWorldRectForOccupancyPoints, ba as boundsContain, bb as buildAmenityPurchaseApuFields, bc as buildApuWalletTransaction, bd as buildRankedOccupancyPoints, be as buildRankedOccupancyPointsForSpatialZone, bf as buildRankedOccupancyPointsForZone, bg as buildRankedOccupancyPointsInRect, bh as buildWalletBundleApuFields, bi as cellsForZone, bj as centerOfZone, bk as clampWorldPosition, bm as computeRoundPuDelta, bn as computeTalkAgentPowerUpsEarned, bo as costForSeconds, bp as createEmptyGameStats, bq as createInitialAgentRewardWallet, br as createInitialPlayerWallet, bs as createVerticalStripSeedLayout, bt as desaturateColor, bu as enumerateIntegerCellsInRect, bv as expandBoundsToMinimumPlayArea, bw as featuredGameIdForUtcDate, bx as getGameCabinetByGameId, by as getGameCabinetById, bz as getStreetPoolEntryById, bA as getWalletBundleById, bB as isAgentSpawnOccupancyPointAvailable, bC as isAgentSpawnOccupancyPointAvailableInRect, bD as isAgentSpawnOccupancyPointAvailableInZone, bE as isGameId, bF as isItemAvailableForPurchase, bG as isSpaceAnchorOccupancyPointAvailable, bH as isSpaceAnchorOccupancyPointAvailableInRect, bI as isSpaceAnchorOccupancyPointAvailableInZone, bJ as listAllowedOccupancyPoints, bK as listOccupancyPointsForSpatialZone, bL as listOccupancyPointsForZone, bM as listOccupancyPointsInRect, bN as mergeSnapshotWithPlayerChainNode, bO as migrateWorldLayoutBounds, bP as nextStreetFromPool, bQ as occupancyKeyForPosition, bR as occupancyPointsGroupedBySpatialZone, bS as occupancyPointsGroupedByZones, bT as parsePlayerChainFanoutNotify, bU as parsePlayerChainFanoutNotifyFromSsePayload, bV as parsePlayerChainNodeRpcBody, bW as pickZoneForGroup, bX as pointCellInRect, bY as pointCellInSpatialZone, bZ as pointCellInZone, b_ as primaryZoneForGroup, b$ as sortNodeRefsForSerializedFetch, c0 as spatialZoneBounds, c1 as spatialZoneCenter, c2 as streetFromPoolEntry, c3 as utcDateKey, c4 as zonesForGroup } from './browser-DhKo5Hv7.js';
|
|
2
2
|
import 'zod';
|
package/dist/browser.js
CHANGED
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
+
ANALYTICS_EVENT_NAMES,
|
|
3
|
+
APU_TOKEN,
|
|
4
|
+
AnalyticsEventSchema,
|
|
5
|
+
AnalyticsTraitsSchema,
|
|
6
|
+
ApplyGameOutcomeInputSchema,
|
|
2
7
|
CONTINUOUS_RENDER_OFFSET,
|
|
3
8
|
CarWashCarSchema,
|
|
9
|
+
DAILY_GAME_PU_CAP,
|
|
4
10
|
DEFAULT_AGENT_SPAWN_MIN_DISTANCE,
|
|
5
11
|
DEFAULT_PLAYER_WALLET_BALANCE_USD,
|
|
12
|
+
GAME_CABINET_CATALOG,
|
|
13
|
+
GameEventSchema,
|
|
14
|
+
GamePerTitleStatsSchema,
|
|
15
|
+
GameStatsSchema,
|
|
6
16
|
MINIMUM_PLAY_WORLD_BOUNDS,
|
|
7
17
|
MINIMUM_STREET_LAYOUT_BOUNDS,
|
|
8
18
|
OCCUPANCY_POINT_MULTIPLIER,
|
|
19
|
+
PLAYABLE_GAME_IDS,
|
|
9
20
|
PLAYER_CHAIN_GENESIS_STABLE_KEY,
|
|
10
21
|
PLAYER_CHAIN_HEADER_STABLE_KEY,
|
|
11
22
|
PlayerWalletSchema,
|
|
@@ -15,6 +26,12 @@ import {
|
|
|
15
26
|
SPATIAL_ZONE_INDEX_SPACES,
|
|
16
27
|
STREET_NAME_POOL,
|
|
17
28
|
SaleStateSchema,
|
|
29
|
+
ScannerBlockRecordSchema,
|
|
30
|
+
ScannerHeadSchema,
|
|
31
|
+
ScannerMigrationStateSchema,
|
|
32
|
+
ScannerNodeProfileSchema,
|
|
33
|
+
ScannerTxRecordSchema,
|
|
34
|
+
ScannerWalletSnapshotSchema,
|
|
18
35
|
ShopItemSchema,
|
|
19
36
|
SupermarketItemSchema,
|
|
20
37
|
TALK_AGENT_PU_BILLED_SECONDS_PER_UNIT,
|
|
@@ -27,26 +44,35 @@ import {
|
|
|
27
44
|
availableCellsForZone,
|
|
28
45
|
boundingWorldRectForOccupancyPoints,
|
|
29
46
|
boundsContain,
|
|
47
|
+
buildAmenityPurchaseApuFields,
|
|
48
|
+
buildApuWalletTransaction,
|
|
30
49
|
buildRankedOccupancyPoints,
|
|
31
50
|
buildRankedOccupancyPointsForSpatialZone,
|
|
32
51
|
buildRankedOccupancyPointsForZone,
|
|
33
52
|
buildRankedOccupancyPointsInRect,
|
|
53
|
+
buildWalletBundleApuFields,
|
|
34
54
|
cellsForZone,
|
|
35
55
|
centerOfZone,
|
|
36
56
|
clampWorldPosition,
|
|
57
|
+
computeRoundPuDelta,
|
|
37
58
|
computeTalkAgentPowerUpsEarned,
|
|
38
59
|
costForSeconds,
|
|
60
|
+
createEmptyGameStats,
|
|
39
61
|
createInitialAgentRewardWallet,
|
|
40
62
|
createInitialPlayerWallet,
|
|
41
63
|
createVerticalStripSeedLayout,
|
|
42
64
|
desaturateColor,
|
|
43
65
|
enumerateIntegerCellsInRect,
|
|
44
66
|
expandBoundsToMinimumPlayArea,
|
|
67
|
+
featuredGameIdForUtcDate,
|
|
68
|
+
getGameCabinetByGameId,
|
|
69
|
+
getGameCabinetById,
|
|
45
70
|
getStreetPoolEntryById,
|
|
46
71
|
getWalletBundleById,
|
|
47
72
|
isAgentSpawnOccupancyPointAvailable,
|
|
48
73
|
isAgentSpawnOccupancyPointAvailableInRect,
|
|
49
74
|
isAgentSpawnOccupancyPointAvailableInZone,
|
|
75
|
+
isGameId,
|
|
50
76
|
isItemAvailableForPurchase,
|
|
51
77
|
isSpaceAnchorOccupancyPointAvailable,
|
|
52
78
|
isSpaceAnchorOccupancyPointAvailableInRect,
|
|
@@ -73,16 +99,28 @@ import {
|
|
|
73
99
|
spatialZoneBounds,
|
|
74
100
|
spatialZoneCenter,
|
|
75
101
|
streetFromPoolEntry,
|
|
102
|
+
utcDateKey,
|
|
76
103
|
zonesForGroup
|
|
77
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-Z2PYRHFU.js";
|
|
78
105
|
export {
|
|
106
|
+
ANALYTICS_EVENT_NAMES,
|
|
107
|
+
APU_TOKEN,
|
|
108
|
+
AnalyticsEventSchema,
|
|
109
|
+
AnalyticsTraitsSchema,
|
|
110
|
+
ApplyGameOutcomeInputSchema,
|
|
79
111
|
CONTINUOUS_RENDER_OFFSET,
|
|
80
112
|
CarWashCarSchema,
|
|
113
|
+
DAILY_GAME_PU_CAP,
|
|
81
114
|
DEFAULT_AGENT_SPAWN_MIN_DISTANCE,
|
|
82
115
|
DEFAULT_PLAYER_WALLET_BALANCE_USD,
|
|
116
|
+
GAME_CABINET_CATALOG,
|
|
117
|
+
GameEventSchema,
|
|
118
|
+
GamePerTitleStatsSchema,
|
|
119
|
+
GameStatsSchema,
|
|
83
120
|
MINIMUM_PLAY_WORLD_BOUNDS,
|
|
84
121
|
MINIMUM_STREET_LAYOUT_BOUNDS,
|
|
85
122
|
OCCUPANCY_POINT_MULTIPLIER,
|
|
123
|
+
PLAYABLE_GAME_IDS,
|
|
86
124
|
PLAYER_CHAIN_GENESIS_STABLE_KEY,
|
|
87
125
|
PLAYER_CHAIN_HEADER_STABLE_KEY,
|
|
88
126
|
PlayerWalletSchema,
|
|
@@ -92,6 +130,12 @@ export {
|
|
|
92
130
|
SPATIAL_ZONE_INDEX_SPACES,
|
|
93
131
|
STREET_NAME_POOL,
|
|
94
132
|
SaleStateSchema,
|
|
133
|
+
ScannerBlockRecordSchema,
|
|
134
|
+
ScannerHeadSchema,
|
|
135
|
+
ScannerMigrationStateSchema,
|
|
136
|
+
ScannerNodeProfileSchema,
|
|
137
|
+
ScannerTxRecordSchema,
|
|
138
|
+
ScannerWalletSnapshotSchema,
|
|
95
139
|
ShopItemSchema,
|
|
96
140
|
SupermarketItemSchema,
|
|
97
141
|
TALK_AGENT_PU_BILLED_SECONDS_PER_UNIT,
|
|
@@ -104,26 +148,35 @@ export {
|
|
|
104
148
|
availableCellsForZone,
|
|
105
149
|
boundingWorldRectForOccupancyPoints,
|
|
106
150
|
boundsContain,
|
|
151
|
+
buildAmenityPurchaseApuFields,
|
|
152
|
+
buildApuWalletTransaction,
|
|
107
153
|
buildRankedOccupancyPoints,
|
|
108
154
|
buildRankedOccupancyPointsForSpatialZone,
|
|
109
155
|
buildRankedOccupancyPointsForZone,
|
|
110
156
|
buildRankedOccupancyPointsInRect,
|
|
157
|
+
buildWalletBundleApuFields,
|
|
111
158
|
cellsForZone,
|
|
112
159
|
centerOfZone,
|
|
113
160
|
clampWorldPosition,
|
|
161
|
+
computeRoundPuDelta,
|
|
114
162
|
computeTalkAgentPowerUpsEarned,
|
|
115
163
|
costForSeconds,
|
|
164
|
+
createEmptyGameStats,
|
|
116
165
|
createInitialAgentRewardWallet,
|
|
117
166
|
createInitialPlayerWallet,
|
|
118
167
|
createVerticalStripSeedLayout,
|
|
119
168
|
desaturateColor,
|
|
120
169
|
enumerateIntegerCellsInRect,
|
|
121
170
|
expandBoundsToMinimumPlayArea,
|
|
171
|
+
featuredGameIdForUtcDate,
|
|
172
|
+
getGameCabinetByGameId,
|
|
173
|
+
getGameCabinetById,
|
|
122
174
|
getStreetPoolEntryById,
|
|
123
175
|
getWalletBundleById,
|
|
124
176
|
isAgentSpawnOccupancyPointAvailable,
|
|
125
177
|
isAgentSpawnOccupancyPointAvailableInRect,
|
|
126
178
|
isAgentSpawnOccupancyPointAvailableInZone,
|
|
179
|
+
isGameId,
|
|
127
180
|
isItemAvailableForPurchase,
|
|
128
181
|
isSpaceAnchorOccupancyPointAvailable,
|
|
129
182
|
isSpaceAnchorOccupancyPointAvailableInRect,
|
|
@@ -150,6 +203,7 @@ export {
|
|
|
150
203
|
spatialZoneBounds,
|
|
151
204
|
spatialZoneCenter,
|
|
152
205
|
streetFromPoolEntry,
|
|
206
|
+
utcDateKey,
|
|
153
207
|
zonesForGroup
|
|
154
208
|
};
|
|
155
209
|
//# sourceMappingURL=browser.js.map
|