@fireballgg/sdk 0.0.1 → 0.0.2

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Fireball
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,39 +1,187 @@
1
- # sdk package
1
+ # @fireballgg/sdk
2
2
 
3
- Shared SDK for Gigaverse and Fireball APIs with comprehensive type safety and GraphQL integration.
3
+ TypeScript SDK for building applications on Gigaverse and Fireball. Includes type-safe API clients, game data, and utilities for dungeons, fishing, and on-chain integrations.
4
4
 
5
- ## features
5
+ ## Installation
6
6
 
7
- - 🎮 **Game Integration**: Complete API coverage for all Gigaverse game features
8
- - 📊 **State Management**: Robust game state tracking and management
9
- - 🔄 **Real-time Updates**: Support for real-time game state synchronization
10
- - 🛠️ **Type Safety**: Full TypeScript support with comprehensive type definitions
11
- - 📝 **Documentation**: Detailed API documentation and usage examples
7
+ ```bash
8
+ npm install @fireballgg/sdk
9
+ # or
10
+ yarn add @fireballgg/sdk
11
+ # or
12
+ bun add @fireballgg/sdk
13
+ ```
14
+
15
+ ## Features
16
+
17
+ - 🎮 **Game APIs**: Full TypeScript clients for Gigaverse and Fireball APIs
18
+ - 🔗 **Blockchain Integration**: Juiced subgraph and API clients
19
+ - 📊 **Game Data**: Comprehensive game data exports (items, enemies, gear, recipes)
20
+ - 🪵 **Logging**: Built-in structured logging with Pino
21
+ - 🔒 **Type Safety**: Full TypeScript support with auto-generated types
22
+ - 📦 **Modular**: Tree-shakeable exports for optimal bundle size
23
+
24
+ ## API Modules
25
+
26
+ ### Gigaverse API
27
+
28
+ Game API client for dungeon runs, fishing, and other Gigaverse features.
29
+
30
+ ```typescript
31
+ import { createGigaverseApi } from '@fireballgg/sdk/gigaverse-api';
32
+
33
+ const api = createGigaverseApi({
34
+ authToken: 'your-jwt-token'
35
+ });
36
+
37
+ // Example: Fetch account data
38
+ const account = await api.getAccount();
39
+ ```
40
+
41
+ ### Fireball API
42
+
43
+ GraphQL API client for Fireball backend services. All methods are auto-generated from GraphQL operations.
44
+
45
+ ```typescript
46
+ import { createFireballApi } from '@fireballgg/sdk/fireball-api';
47
+
48
+ const api = createFireballApi({
49
+ endpoint: 'https://fireball.gg/graphql',
50
+ jwt: 'your-jwt-token'
51
+ });
52
+
53
+ // Example: Fetch account by ID
54
+ const account = await api.GetAccountById({ id: '123' });
55
+
56
+ // Example: Fetch dungeons
57
+ const dungeons = await api.GetDungeons({ take: 10 });
58
+ ```
59
+
60
+ ### Juiced Subgraph
61
+
62
+ GraphQL client for querying Juiced blockchain data (item listings, trade history).
63
+
64
+ ```typescript
65
+ import { createJuicedSubgraph } from '@fireballgg/sdk/juiced-subgraph';
66
+
67
+ const subgraph = createJuicedSubgraph();
68
+
69
+ // Example: Get items last sale data
70
+ const result = await subgraph.GetItemsLastSale({ first: 100 });
71
+ ```
72
+
73
+ ### Juiced API
74
+
75
+ REST API client for Juiced marketplace at juiced.sh.
12
76
 
13
- ## development
77
+ ```typescript
78
+ import { JuicedApi } from '@fireballgg/sdk/juiced-api';
79
+
80
+ const api = new JuicedApi();
81
+
82
+ // Example: Get latest trades
83
+ const trades = await api.getLatestTrades({ limit: 50 });
84
+ ```
85
+
86
+ ### Logger
87
+
88
+ Structured logging with Pino (with console fallback for browser environments).
89
+
90
+ ```typescript
91
+ import { createLogger } from '@fireballgg/sdk/logger';
92
+
93
+ const logger = createLogger({ service: 'my-app' });
94
+ logger.info('Hello world');
95
+ ```
96
+
97
+ ## Game Data
98
+
99
+ Import static game data as JSON:
100
+
101
+ ```typescript
102
+ // Core game data
103
+ import items from '@fireballgg/sdk/data/items.json';
104
+ import gear from '@fireballgg/sdk/data/gear.json';
105
+ import enemies from '@fireballgg/sdk/data/enemies.json';
106
+ import recipes from '@fireballgg/sdk/data/recipes.json';
107
+
108
+ // Fishing data
109
+ import fishingCards from '@fireballgg/sdk/data/fishing_cards.json';
110
+ import fishingRates from '@fireballgg/sdk/data/fishing_exchange_rates.json';
111
+
112
+ // Other game data
113
+ import constants from '@fireballgg/sdk/data/constants.json';
114
+ import checkpoints from '@fireballgg/sdk/data/checkpoints.json';
115
+ import hatchery from '@fireballgg/sdk/data/hatchery.json';
116
+ ```
117
+
118
+ ## Utilities & Types
119
+
120
+ The main package export includes shared utilities, types, enums, and constants:
121
+
122
+ ```typescript
123
+ import {
124
+ // Enums
125
+ DungeonType,
126
+ GameType,
127
+ FishingAction,
128
+ FishingType,
129
+ ItemRarity,
130
+
131
+ // Types
132
+ Gear,
133
+ Item,
134
+ Enemy,
135
+ Action,
136
+
137
+ // Constants
138
+ GIGAVERSE_ENDPOINT,
139
+ HATCHERY_COMFORT_ITEM_ID,
140
+ HATCHERY_FUEL_ITEM_ID,
141
+
142
+ // Utilities
143
+ // ... and more
144
+ } from '@fireballgg/sdk';
145
+ ```
146
+
147
+ ## Development
14
148
 
15
149
  ```bash
150
+ # Install dependencies
151
+ bun install
152
+
16
153
  # Build SDK
17
- bun build
154
+ bun run build
18
155
 
19
156
  # Build in watch mode
20
- bun build:watch
157
+ bun run build:watch
21
158
 
22
159
  # Generate GraphQL types
23
- bun codegen
160
+ bun run codegen
24
161
 
25
- # Fetch external data
26
- bun fetch
162
+ # Fetch external game data
163
+ bun run fetch
27
164
  ```
28
165
 
29
- ## structure
166
+ ## Package Structure
167
+
168
+ ```
169
+ @fireballgg/sdk
170
+ ├── / - Core utilities, types, enums, and constants
171
+ ├── /gigaverse-api - Gigaverse game API client
172
+ ├── /fireball-api - Fireball GraphQL API client (auto-generated)
173
+ ├── /juiced-api - Juiced REST API client
174
+ ├── /juiced-subgraph - Juiced GraphQL subgraph client
175
+ ├── /logger - Structured logging utilities
176
+ ├── /data/*.json - Game data exports
177
+ └── /abis/*.json - Smart contract ABIs
178
+ ```
30
179
 
31
- - `src/gigaverse-api/` - Gigaverse game API client
32
- - `src/fireball-api/` - Fireball backend API client
33
- - `src/data/` - Shared game data (items, enemies, gear)
180
+ ## License
34
181
 
35
- ## license
182
+ MIT License - see [LICENSE](./LICENSE) file for details.
36
183
 
37
- Business Source License 1.1 - see [LICENSE](../../LICENSE) file for details.
184
+ ## Links
38
185
 
39
- [ Back to main README](../../README.md)
186
+ - [npm package](https://www.npmjs.com/package/@fireballgg/sdk)
187
+ - [fireball client](https://fireball.gg)
@@ -1,2 +1,2 @@
1
- import{id as a,jd as b}from"../chunk-HSPNA3WS.js";import"../chunk-VFDUHPNG.js";import"../chunk-VMT37ZHW.js";import"../chunk-CAWVA63V.js";import"../chunk-ZBGOXQP5.js";import"../chunk-3GG7NNPX.js";import"../chunk-4C666HHU.js";export{a as GigaverseApi,b as createGigaverseApi};
1
+ import{id as a,jd as b}from"../chunk-HSPNA3WS.js";import"../chunk-VFDUHPNG.js";import"../chunk-VMT37ZHW.js";import"../chunk-3GG7NNPX.js";import"../chunk-CAWVA63V.js";import"../chunk-ZBGOXQP5.js";import"../chunk-4C666HHU.js";export{a as GigaverseApi,b as createGigaverseApi};
2
2
  //# sourceMappingURL=index.js.map
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import{$,$a,$b,$c,A,Aa,Ab,Ac,B,Ba,Bb,Bc,C,Ca,Cb,Cc,D,Da,Db,Dc,E,Ea,Eb,Ec,F,Fa,Fb,Fc,G,Ga,Gb,Gc,H,Ha,Hb,Hc,I,Ia,Ib,Ic,J,Ja,Jb,Jc,K,Ka,Kb,Kc,L,La,Lb,Lc,M,Ma,Mb,Mc,N,Na,Nb,Nc,O,Oa,Ob,Oc,P,Pa,Pb,Pc,Q,Qa,Qb,Qc,R,Ra,Rb,Rc,S,Sa,Sb,Sc,T,Ta,Tb,Tc,U,Ua,Ub,Uc,V,Va,Vb,Vc,W,Wa,Wb,Wc,X,Xa,Xb,Xc,Y,Ya,Yb,Yc,Z,Za,Zb,Zc,_,_a,_b,_c,a,aa,ab,ac,ad,b,ba,bb,bc,bd,c,ca,cb,cc,cd,d,da,db,dc,dd,e,ea,eb,ec,ed,f,fa,fb,fc,fd,g,ga,gb,gc,gd,h,ha,hb,hc,hd,i,ia,ib,ic,j,ja,jb,jc,k,ka,kb,kc,kd as jd,l,la,lb,lc,m,ma,mb,mc,n,na,nb,nc,o,oa,ob,oc,p,pa,pb,pc,q,qa,qb,qc,r,ra,rb,rc,s,sa,sb,sc,t,ta,tb,tc,u,ua,ub,uc,v,va,vb,vc,w,wa,wb,wc,x,xa,xb,xc,y,ya,yb,yc,z,za,zb,zc}from"./chunk-HSPNA3WS.js";import{kc as id}from"./chunk-VFDUHPNG.js";import"./chunk-VMT37ZHW.js";import{u as kd}from"./chunk-CAWVA63V.js";import"./chunk-ZBGOXQP5.js";import{d as ld}from"./chunk-3GG7NNPX.js";import"./chunk-4C666HHU.js";export{nc as ALLOWED_TRIGGER_TYPES,sa as ARMOR_CONSUMABLES_IDS,bd as AbortedError,l as ActionType,K as ActiveEffectType,za as BLUE_POT_RECIPE_ID,va as BOOM_CONSUMABLES_IDS,Ga as CHIMPU_LURE_ID,ma as CRIT_DAMAGE_MULTIPLIER,z as Checkpoint,wb as CheckpointRecipeIdLookup,ga as DAILY_RESET_HOUR_UTC,ha as DAILY_RESET_MINUTE_UTC,ja as DEFAULT_CRIT_PROTECTION,na as DEFAULT_NERF_THRESHOLD,wc as DEFAULT_PRESERVE_FISH_AMOUNT,vc as DEFAULT_VALUE_THRESHOLD_MULTIPLIER,Y as DISCORD_URL,Kc as DUNGEON_SKILL_1_SP_REQUIREMENTS,Hc as DUNGEON_SKILL_1_SP_TO_LEVEL,Lc as DUNGEON_SKILL_2_SP_REQUIREMENTS,Ic as DUNGEON_SKILL_2_SP_TO_LEVEL,Mc as DUNGEON_SP_REQUIREMENTS,Jc as DUNGEON_SP_TO_LEVEL,Ha as DURABILITY_PER_USE,N as DungeonGearSlot,h as DungeonLegacyType,bb as DungeonLegacyTypeNameLookup,i as DungeonModel,db as DungeonModelNameLookup,fb as DungeonModelVersionLookup,j as DungeonPreset,Ya as DungeonPresetAggressionLookup,cb as DungeonStatsNameLookup,d as DungeonType,$a as DungeonTypeCheckpointLookup,Za as DungeonTypeCostLookup,Xa as DungeonTypeEmojiLookup,ab as DungeonTypeJuicedLookup,Wa as DungeonTypeJuicedMaxRunsLookup,_a as DungeonTypeLegacyLookup,Ua as DungeonTypeMaxRoomLookup,Va as DungeonTypeMaxRunsLookup,Ra as DungeonTypeNameLookup,R as EffectPlayerType,Q as EffectTriggerType,Ab as EggRarityOrderLookup,D as EggType,Bb as EggTypeLookup,xa as FACTION_DUST_ITEM_IDS,fa as FIFTEEN_MINUTES_FROM_NOW,qc as FISHING_FIRST_SKILL_SP_REQUIREMENTS,oc as FISHING_FIRST_SKILL_SP_TO_LEVEL,rc as FISHING_OTHER_SKILLS_SP_REQUIREMENTS,pc as FISHING_OTHER_SKILLS_SP_TO_LEVEL,uc as FISHING_SKILL_INDICES,da as FIVE_MINUTES_FROM_NOW,y as Faction,zb as FactionDustItemIdLookup,yb as FactionIdNameLookup,xb as FactionNameIdLookup,id as FireballApi,g as FishMoveStrategy,mb as FishMoveStrategyNameLookup,p as FishingAction,O as FishingGearSlot,k as FishingModel,eb as FishingModelNameLookup,gb as FishingModelVersionLookup,f as FishingType,jb as FishingTypeCostLookup,lb as FishingTypeJuicedMaxRunsLookup,kb as FishingTypeMaxRunsLookup,Sa as FishingTypeNameLookup,Oa as GAME_ACTION_DELAY_MS,Pa as GEAR_REPAIR_DELAY_MS,U as GIGAVERSE_ENDPOINT,m as GameAction,Qa as GameActionIndexLookup,ub as GameActionNameLookup,q as GameOutcome,c as GameType,hb as GameTypeNameLookup,M as GearSlot,L as GearType,jd as GigaverseApi,Na as HATCHERY_COMFORT_ITEM_ID,Tc as HATCHERY_CRAFTING_RECIPES,Ma as HATCHERY_FUEL_ITEM_ID,ra as HEALING_CONSUMABLES_IDS,cd as InvalidMessageError,G as ItemType,Ba as JUICED_CHEST_RECIPE_ID,B as JobStatus,ib as JobStatusNameLookup,ld as JuicedApi,kd as JuicedSubgraph,ia as LEVEL_THRESHOLD,w as LogLevel,x as LogType,n as LootAction,tb as LootIndexTypeLookup,s as LootSubType,r as LootType,sb as LootTypeIndexLookup,rb as LootTypeNameLookup,la as MAX_CRIT_PROTECTION,pa as MAX_NERF_THRESHOLD,Ka as MAX_REPAIRS_BEFORE_RESET,ka as MIN_CRIT_PROTECTION,oa as MIN_NERF_THRESHOLD,fd as MessageHandler,ya as NOOB_CHEST_RECIPE_ID,A as Node,vb as NodeRecipeIdLookup,S as NotificationType,Db as NotificationTypeMetadataLookup,o as OtherAction,Ia as PAPER_HANDS_BASE_DURABILITY,Ea as PAPER_HANDS_ID,Ca as PAPER_HANDS_RECIPE_ID,_ as PETS_CONTRACT_ADDRESS,E as PetType,I as QuestItemType,H as QuestType,La as RECIPE_LOOT_COUNTS,ca as REFERRAL_PERCENTAGE,qa as RESTORE_CONSUMABLES_IDS,Ja as ROCK_HANDS_BASE_DURABILITY,Fa as ROCK_HANDS_ID,Da as ROCK_HANDS_RECIPE_ID,Z as ROMS_CONTRACT_ADDRESS,_c as ROM_CLAIM_THRESHOLD,u as Rarity,pb as RarityNameLookup,qb as RarityShortLookup,v as ResourceType,F as RomMemory,ob as RomMemoryIndexLookup,C as RomTier,nb as RomTierNameIndexLookup,wa as SEAWEED_ITEM_ID,$ as SPARKS_CONTRACT_ADDRESS,aa as SPARK_PRICE,ba as SPARK_PRICE_IN_ETH,W as SQS_DLQ_ENDPOINT,V as SQS_ENDPOINT,X as SQS_TEST_ENDPOINT,a as Scroll,$c as ServiceAction,T as ServiceType,ad as ServiceTypeNameLookup,t as Skill,e as SkillId,b as SparkTransactionType,Ta as SparkTransactionTypeNameLookup,gd as SqsQueue,Cb as StatusEffectModifiers,J as StatusEffectType,Aa as TAN_POT_RECIPE_ID,ea as TEN_MINUTES_FROM_NOW,P as ToolGearSlot,Oc as VOID_MAX_STATS_SP_REQUIREMENTS,Nc as VOID_MAX_STATS_SP_TO_LEVEL,ua as VULNERABLE_CONSUMABLES_IDS,Eb as VoidStatsDescriptionLookup,ta as WEAK_CONSUMABLES_IDS,hd as ZodMessageParser,Ac as analyzeFishInventory,Yc as calculateComfortMaterials,Uc as calculateFateDustForLevel,Dc as calculateFishInventoryDisplay,hc as calculateFishingCatchValue,Zc as calculateHatcheryCost,Wc as calculateMultiFactionDustCost,Xc as calculateTemperatureMaterials,Vc as calculateTotalFateDust,xc as calculateWeedDealerBonus,Ob as capitalize,Yb as checkDungeonEligibility,Zb as checkFishingEligibility,Gc as claimEnergyIfNeeded,Wb as delay,Fc as determineFishStrategy,Ec as executeFishSelling,Cc as extractSeaweedEarned,zc as filterFishFromInventory,yc as findOptimalBatchSize,Lb as formatLootName,Mb as formatLootNameOptimized,Gb as getActionIndex,mc as getActiveSqsEndpoint,ac as getCheckpoint,Pc as getDungeonLevelFromSP,Qc as getDungeonLevelProgress,dc as getDungeonModelData,Fb as getDungeonNameWithEmoji,Hb as getEnemyById,bc as getEnemyLevel,cc as getEnemyLootId,Ib as getEnemyNameById,ic as getFishBaseSeaweedValue,gc as getFishingCardById,sc as getFishingLevelFromSP,tc as getFishingLevelProgress,ec as getFishingModelData,Sc as getGameCount,Tb as getGearById,Pb as getItemById,Sb as getItemIconById,Qb as getItemIdByName,Rb as getItemNameById,Vb as getItemRarity,Nb as getLootSubType,Jb as getLootTypeSuffix,Kb as getLootTypeSuffixOptimized,fc as getModelData,$b as getRecipe,_b as getRoomData,kc as getSqsDlqEndpoint,jc as getSqsEndpoint,lc as getSqsTestEndpoint,Rc as getWinrate,ed as invalid,Ub as parseGear,Bc as prepareFishBatches,dd as valid,Xb as validateEnv};
1
+ import{$,$a,$b,$c,A,Aa,Ab,Ac,B,Ba,Bb,Bc,C,Ca,Cb,Cc,D,Da,Db,Dc,E,Ea,Eb,Ec,F,Fa,Fb,Fc,G,Ga,Gb,Gc,H,Ha,Hb,Hc,I,Ia,Ib,Ic,J,Ja,Jb,Jc,K,Ka,Kb,Kc,L,La,Lb,Lc,M,Ma,Mb,Mc,N,Na,Nb,Nc,O,Oa,Ob,Oc,P,Pa,Pb,Pc,Q,Qa,Qb,Qc,R,Ra,Rb,Rc,S,Sa,Sb,Sc,T,Ta,Tb,Tc,U,Ua,Ub,Uc,V,Va,Vb,Vc,W,Wa,Wb,Wc,X,Xa,Xb,Xc,Y,Ya,Yb,Yc,Z,Za,Zb,Zc,_,_a,_b,_c,a,aa,ab,ac,ad,b,ba,bb,bc,bd,c,ca,cb,cc,cd,d,da,db,dc,dd,e,ea,eb,ec,ed,f,fa,fb,fc,fd,g,ga,gb,gc,gd,h,ha,hb,hc,hd,i,ia,ib,ic,j,ja,jb,jc,k,ka,kb,kc,kd as jd,l,la,lb,lc,m,ma,mb,mc,n,na,nb,nc,o,oa,ob,oc,p,pa,pb,pc,q,qa,qb,qc,r,ra,rb,rc,s,sa,sb,sc,t,ta,tb,tc,u,ua,ub,uc,v,va,vb,vc,w,wa,wb,wc,x,xa,xb,xc,y,ya,yb,yc,z,za,zb,zc}from"./chunk-HSPNA3WS.js";import{kc as id}from"./chunk-VFDUHPNG.js";import"./chunk-VMT37ZHW.js";import{d as ld}from"./chunk-3GG7NNPX.js";import{u as kd}from"./chunk-CAWVA63V.js";import"./chunk-ZBGOXQP5.js";import"./chunk-4C666HHU.js";export{nc as ALLOWED_TRIGGER_TYPES,sa as ARMOR_CONSUMABLES_IDS,bd as AbortedError,l as ActionType,K as ActiveEffectType,za as BLUE_POT_RECIPE_ID,va as BOOM_CONSUMABLES_IDS,Ga as CHIMPU_LURE_ID,ma as CRIT_DAMAGE_MULTIPLIER,z as Checkpoint,wb as CheckpointRecipeIdLookup,ga as DAILY_RESET_HOUR_UTC,ha as DAILY_RESET_MINUTE_UTC,ja as DEFAULT_CRIT_PROTECTION,na as DEFAULT_NERF_THRESHOLD,wc as DEFAULT_PRESERVE_FISH_AMOUNT,vc as DEFAULT_VALUE_THRESHOLD_MULTIPLIER,Y as DISCORD_URL,Kc as DUNGEON_SKILL_1_SP_REQUIREMENTS,Hc as DUNGEON_SKILL_1_SP_TO_LEVEL,Lc as DUNGEON_SKILL_2_SP_REQUIREMENTS,Ic as DUNGEON_SKILL_2_SP_TO_LEVEL,Mc as DUNGEON_SP_REQUIREMENTS,Jc as DUNGEON_SP_TO_LEVEL,Ha as DURABILITY_PER_USE,N as DungeonGearSlot,h as DungeonLegacyType,bb as DungeonLegacyTypeNameLookup,i as DungeonModel,db as DungeonModelNameLookup,fb as DungeonModelVersionLookup,j as DungeonPreset,Ya as DungeonPresetAggressionLookup,cb as DungeonStatsNameLookup,d as DungeonType,$a as DungeonTypeCheckpointLookup,Za as DungeonTypeCostLookup,Xa as DungeonTypeEmojiLookup,ab as DungeonTypeJuicedLookup,Wa as DungeonTypeJuicedMaxRunsLookup,_a as DungeonTypeLegacyLookup,Ua as DungeonTypeMaxRoomLookup,Va as DungeonTypeMaxRunsLookup,Ra as DungeonTypeNameLookup,R as EffectPlayerType,Q as EffectTriggerType,Ab as EggRarityOrderLookup,D as EggType,Bb as EggTypeLookup,xa as FACTION_DUST_ITEM_IDS,fa as FIFTEEN_MINUTES_FROM_NOW,qc as FISHING_FIRST_SKILL_SP_REQUIREMENTS,oc as FISHING_FIRST_SKILL_SP_TO_LEVEL,rc as FISHING_OTHER_SKILLS_SP_REQUIREMENTS,pc as FISHING_OTHER_SKILLS_SP_TO_LEVEL,uc as FISHING_SKILL_INDICES,da as FIVE_MINUTES_FROM_NOW,y as Faction,zb as FactionDustItemIdLookup,yb as FactionIdNameLookup,xb as FactionNameIdLookup,id as FireballApi,g as FishMoveStrategy,mb as FishMoveStrategyNameLookup,p as FishingAction,O as FishingGearSlot,k as FishingModel,eb as FishingModelNameLookup,gb as FishingModelVersionLookup,f as FishingType,jb as FishingTypeCostLookup,lb as FishingTypeJuicedMaxRunsLookup,kb as FishingTypeMaxRunsLookup,Sa as FishingTypeNameLookup,Oa as GAME_ACTION_DELAY_MS,Pa as GEAR_REPAIR_DELAY_MS,U as GIGAVERSE_ENDPOINT,m as GameAction,Qa as GameActionIndexLookup,ub as GameActionNameLookup,q as GameOutcome,c as GameType,hb as GameTypeNameLookup,M as GearSlot,L as GearType,jd as GigaverseApi,Na as HATCHERY_COMFORT_ITEM_ID,Tc as HATCHERY_CRAFTING_RECIPES,Ma as HATCHERY_FUEL_ITEM_ID,ra as HEALING_CONSUMABLES_IDS,cd as InvalidMessageError,G as ItemType,Ba as JUICED_CHEST_RECIPE_ID,B as JobStatus,ib as JobStatusNameLookup,ld as JuicedApi,kd as JuicedSubgraph,ia as LEVEL_THRESHOLD,w as LogLevel,x as LogType,n as LootAction,tb as LootIndexTypeLookup,s as LootSubType,r as LootType,sb as LootTypeIndexLookup,rb as LootTypeNameLookup,la as MAX_CRIT_PROTECTION,pa as MAX_NERF_THRESHOLD,Ka as MAX_REPAIRS_BEFORE_RESET,ka as MIN_CRIT_PROTECTION,oa as MIN_NERF_THRESHOLD,fd as MessageHandler,ya as NOOB_CHEST_RECIPE_ID,A as Node,vb as NodeRecipeIdLookup,S as NotificationType,Db as NotificationTypeMetadataLookup,o as OtherAction,Ia as PAPER_HANDS_BASE_DURABILITY,Ea as PAPER_HANDS_ID,Ca as PAPER_HANDS_RECIPE_ID,_ as PETS_CONTRACT_ADDRESS,E as PetType,I as QuestItemType,H as QuestType,La as RECIPE_LOOT_COUNTS,ca as REFERRAL_PERCENTAGE,qa as RESTORE_CONSUMABLES_IDS,Ja as ROCK_HANDS_BASE_DURABILITY,Fa as ROCK_HANDS_ID,Da as ROCK_HANDS_RECIPE_ID,Z as ROMS_CONTRACT_ADDRESS,_c as ROM_CLAIM_THRESHOLD,u as Rarity,pb as RarityNameLookup,qb as RarityShortLookup,v as ResourceType,F as RomMemory,ob as RomMemoryIndexLookup,C as RomTier,nb as RomTierNameIndexLookup,wa as SEAWEED_ITEM_ID,$ as SPARKS_CONTRACT_ADDRESS,aa as SPARK_PRICE,ba as SPARK_PRICE_IN_ETH,W as SQS_DLQ_ENDPOINT,V as SQS_ENDPOINT,X as SQS_TEST_ENDPOINT,a as Scroll,$c as ServiceAction,T as ServiceType,ad as ServiceTypeNameLookup,t as Skill,e as SkillId,b as SparkTransactionType,Ta as SparkTransactionTypeNameLookup,gd as SqsQueue,Cb as StatusEffectModifiers,J as StatusEffectType,Aa as TAN_POT_RECIPE_ID,ea as TEN_MINUTES_FROM_NOW,P as ToolGearSlot,Oc as VOID_MAX_STATS_SP_REQUIREMENTS,Nc as VOID_MAX_STATS_SP_TO_LEVEL,ua as VULNERABLE_CONSUMABLES_IDS,Eb as VoidStatsDescriptionLookup,ta as WEAK_CONSUMABLES_IDS,hd as ZodMessageParser,Ac as analyzeFishInventory,Yc as calculateComfortMaterials,Uc as calculateFateDustForLevel,Dc as calculateFishInventoryDisplay,hc as calculateFishingCatchValue,Zc as calculateHatcheryCost,Wc as calculateMultiFactionDustCost,Xc as calculateTemperatureMaterials,Vc as calculateTotalFateDust,xc as calculateWeedDealerBonus,Ob as capitalize,Yb as checkDungeonEligibility,Zb as checkFishingEligibility,Gc as claimEnergyIfNeeded,Wb as delay,Fc as determineFishStrategy,Ec as executeFishSelling,Cc as extractSeaweedEarned,zc as filterFishFromInventory,yc as findOptimalBatchSize,Lb as formatLootName,Mb as formatLootNameOptimized,Gb as getActionIndex,mc as getActiveSqsEndpoint,ac as getCheckpoint,Pc as getDungeonLevelFromSP,Qc as getDungeonLevelProgress,dc as getDungeonModelData,Fb as getDungeonNameWithEmoji,Hb as getEnemyById,bc as getEnemyLevel,cc as getEnemyLootId,Ib as getEnemyNameById,ic as getFishBaseSeaweedValue,gc as getFishingCardById,sc as getFishingLevelFromSP,tc as getFishingLevelProgress,ec as getFishingModelData,Sc as getGameCount,Tb as getGearById,Pb as getItemById,Sb as getItemIconById,Qb as getItemIdByName,Rb as getItemNameById,Vb as getItemRarity,Nb as getLootSubType,Jb as getLootTypeSuffix,Kb as getLootTypeSuffixOptimized,fc as getModelData,$b as getRecipe,_b as getRoomData,kc as getSqsDlqEndpoint,jc as getSqsEndpoint,lc as getSqsTestEndpoint,Rc as getWinrate,ed as invalid,Ub as parseGear,Bc as prepareFishBatches,dd as valid,Xb as validateEnv};
2
2
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fireballgg/sdk",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",