@fireballgg/sdk 0.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.
- package/README.md +39 -0
- package/dist/abis/sparks.abi.json +195 -0
- package/dist/chunk-3GG7NNPX.js +2 -0
- package/dist/chunk-3GG7NNPX.js.map +1 -0
- package/dist/chunk-4C666HHU.js +2 -0
- package/dist/chunk-4C666HHU.js.map +1 -0
- package/dist/chunk-CAWVA63V.js +10 -0
- package/dist/chunk-CAWVA63V.js.map +1 -0
- package/dist/chunk-HSPNA3WS.js +40 -0
- package/dist/chunk-HSPNA3WS.js.map +1 -0
- package/dist/chunk-VFDUHPNG.js +2185 -0
- package/dist/chunk-VFDUHPNG.js.map +1 -0
- package/dist/chunk-VMT37ZHW.js +2 -0
- package/dist/chunk-VMT37ZHW.js.map +1 -0
- package/dist/chunk-ZBGOXQP5.js +4 -0
- package/dist/chunk-ZBGOXQP5.js.map +1 -0
- package/dist/data/checkpoints.json +22 -0
- package/dist/data/constants.json +9 -0
- package/dist/data/enemies.json +632 -0
- package/dist/data/fishing_cards.json +1152 -0
- package/dist/data/fishing_exchange_rates.json +236 -0
- package/dist/data/gear.json +11617 -0
- package/dist/data/hatchery.json +54 -0
- package/dist/data/items.json +6073 -0
- package/dist/data/recipes.json +9471 -0
- package/dist/fireball-api/index.d.ts +5 -0
- package/dist/fireball-api/index.js +2 -0
- package/dist/fireball-api/index.js.map +1 -0
- package/dist/gigaverse-api/index.d.ts +5 -0
- package/dist/gigaverse-api/index.js +2 -0
- package/dist/gigaverse-api/index.js.map +1 -0
- package/dist/index-BPihDahL.d.ts +2514 -0
- package/dist/index-D5hv4Edu.d.ts +2474 -0
- package/dist/index-DKZ1Igbv.d.ts +88 -0
- package/dist/index-DO_0xTs_.d.ts +7499 -0
- package/dist/index.d.ts +1691 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/juiced-api/index.d.ts +1 -0
- package/dist/juiced-api/index.js +2 -0
- package/dist/juiced-api/index.js.map +1 -0
- package/dist/juiced-subgraph/index.d.ts +3 -0
- package/dist/juiced-subgraph/index.js +2 -0
- package/dist/juiced-subgraph/index.js.map +1 -0
- package/dist/logger/index.d.ts +56 -0
- package/dist/logger/index.js +2 -0
- package/dist/logger/index.js.map +1 -0
- package/package.json +125 -0
package/dist/index.js
ADDED
|
@@ -0,0 +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};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { G as GetTradesParams, a as GetTradesResponse, J as JUICED_API_ENDPOINT, b as JuicedApi, c as JuicedApiOptions, T as Trade, d as createJuicedApi } from '../index-DKZ1Igbv.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { A as Aggregation_Interval, B as BlockChangedFilter, a as Block_Height, D as DailyMarketSnapshot, b as DailyMarketSnapshot_Filter, c as DailyMarketSnapshot_OrderBy, E as Exact, G as GetItemsLastSaleDocument, d as GetItemsLastSaleQuery, e as GetItemsLastSaleQueryVariables, f as GlobalStats, g as GlobalStats_Filter, h as GlobalStats_OrderBy, I as Incremental, j as InputMaybe, k as Item, l as Item24hMetrics, m as Item24hMetrics_Filter, n as Item24hMetrics_OrderBy, o as ItemDayData, p as ItemDayData_Filter, q as ItemDayData_OrderBy, r as ItemHourData, s as ItemHourData_Filter, t as ItemHourData_OrderBy, u as ItemHourSnapshot, v as ItemHourSnapshot_Filter, w as ItemHourSnapshot_OrderBy, x as ItemListingsArgs, y as ItemTransfersArgs, z as Item_Filter, C as Item_OrderBy, J as JUICED_SUBGRAPH_ENDPOINT, F as JuicedSubgraph, H as JuicedSubgraphOptions, L as Listing, K as ListingTransfersArgs, M as Listing_Filter, N as Listing_OrderBy, O as MakeEmpty, P as MakeMaybe, Q as MakeOptional, R as MarketHourSnapshot, S as MarketHourSnapshot_Filter, T as MarketHourSnapshot_OrderBy, U as Maybe, V as OrderDirection, W as Query, X as QueryDailyMarketSnapshotArgs, Y as QueryDailyMarketSnapshotsArgs, Z as QueryGlobalStatsArgs, _ as QueryGlobalStats_CollectionArgs, $ as QueryItem24HMetricsArgs, a0 as QueryItem24HMetrics_CollectionArgs, a1 as QueryItemArgs, a2 as QueryItemDayDataArgs, a3 as QueryItemDayDatasArgs, a4 as QueryItemHourDataArgs, a5 as QueryItemHourDatasArgs, a6 as QueryItemHourSnapshotArgs, a7 as QueryItemHourSnapshotsArgs, a8 as QueryItemsArgs, a9 as QueryListingArgs, aa as QueryListingsArgs, ab as QueryMarketHourSnapshotArgs, ac as QueryMarketHourSnapshotsArgs, ad as QueryTransferArgs, ae as QueryTransfersArgs, af as QueryUserArgs, ag as QueryUserItemPositionArgs, ah as QueryUserItemPositionsArgs, ai as QueryUserTransactionArgs, aj as QueryUserTransactionsArgs, ak as QueryUsersArgs, al as Query_MetaArgs, am as Scalars, an as Sdk, ao as SdkFunctionWrapper, ap as Transfer, aq as Transfer_Filter, ar as Transfer_OrderBy, as as User, at as UserItemPosition, au as UserItemPosition_Filter, av as UserItemPosition_OrderBy, aw as UserItemPositionsArgs, ax as UserListingsArgs, ay as UserPurchasesArgs, az as UserTransaction, aA as UserTransaction_Filter, aB as UserTransaction_OrderBy, aC as UserTransactionsArgs, aD as User_Filter, aE as User_OrderBy, aF as _Block_, aG as _Meta_, aH as _SubgraphErrorPolicy_, aI as createJuicedSubgraph, aJ as getSdk } from '../index-BPihDahL.js';
|
|
2
|
+
import 'graphql';
|
|
3
|
+
import 'graphql-request';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t}from"../chunk-CAWVA63V.js";import"../chunk-ZBGOXQP5.js";import"../chunk-4C666HHU.js";export{a as Aggregation_Interval,b as DailyMarketSnapshot_OrderBy,q as GetItemsLastSaleDocument,c as GlobalStats_OrderBy,d as Item24hMetrics_OrderBy,e as ItemDayData_OrderBy,f as ItemHourData_OrderBy,g as ItemHourSnapshot_OrderBy,h as Item_OrderBy,s as JUICED_SUBGRAPH_ENDPOINT,i as Listing_OrderBy,j as MarketHourSnapshot_OrderBy,k as OrderDirection,l as Transfer_OrderBy,m as UserItemPosition_OrderBy,n as UserTransaction_OrderBy,o as User_OrderBy,p as _SubgraphErrorPolicy_,t as createJuicedSubgraph,r as getSdk};
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Logger as Logger$1 } from 'pino';
|
|
2
|
+
import { PrettyOptions } from 'pino-pretty';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Logger configuration options
|
|
6
|
+
*/
|
|
7
|
+
interface LoggerConfig {
|
|
8
|
+
/** Service name to include in logs */
|
|
9
|
+
service: string;
|
|
10
|
+
/** Log level (trace, debug, info, warn, error, fatal). Defaults to LOG_LEVEL env var or "info" */
|
|
11
|
+
level?: string;
|
|
12
|
+
/** Enable pretty printing. Defaults to true unless NODE_ENV === "production" */
|
|
13
|
+
pretty?: boolean | PrettyOptions;
|
|
14
|
+
/** Additional base context to include in all logs */
|
|
15
|
+
base?: Record<string, unknown>;
|
|
16
|
+
}
|
|
17
|
+
type LogMetadata = Record<string, unknown>;
|
|
18
|
+
/**
|
|
19
|
+
* Logger class that wraps the underlying logging implementation.
|
|
20
|
+
* This abstraction allows swapping logging libraries without changing consumer code.
|
|
21
|
+
*/
|
|
22
|
+
declare class Logger {
|
|
23
|
+
private pino;
|
|
24
|
+
constructor(pinoInstance: Logger$1);
|
|
25
|
+
/**
|
|
26
|
+
* Create a child logger with additional context merged into all log entries.
|
|
27
|
+
*/
|
|
28
|
+
child(context: LogMetadata): Logger;
|
|
29
|
+
trace(message: string, metadata?: LogMetadata): void;
|
|
30
|
+
debug(message: string, metadata?: LogMetadata): void;
|
|
31
|
+
info(message: string, metadata?: LogMetadata): void;
|
|
32
|
+
warn(message: string, metadata?: LogMetadata): void;
|
|
33
|
+
error(message: string, metadata?: LogMetadata): void;
|
|
34
|
+
fatal(message: string, metadata?: LogMetadata): void;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Create a configured logger instance with auto-generated correlation ID.
|
|
38
|
+
*
|
|
39
|
+
* @see https://microsoft.github.io/code-with-engineering-playbook/observability/correlation-id/
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* const logger = createLogger({ service: "sqs-worker" });
|
|
44
|
+
* logger.info("Processing job", { jobId: "123" });
|
|
45
|
+
*
|
|
46
|
+
* // With additional base context
|
|
47
|
+
* const logger = createLogger({
|
|
48
|
+
* service: "dungeon-bot",
|
|
49
|
+
* base: { accountId: "0x...", jobId: 123 },
|
|
50
|
+
* });
|
|
51
|
+
* logger.info("Starting job"); // All logs include correlationId, service, accountId, jobId
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
declare function createLogger(config: LoggerConfig): Logger;
|
|
55
|
+
|
|
56
|
+
export { type LogMetadata, Logger, type LoggerConfig, createLogger };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/package.json
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@fireballgg/sdk",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"typesVersions": {
|
|
9
|
+
"*": {
|
|
10
|
+
"*": [
|
|
11
|
+
"dist/index.d.ts"
|
|
12
|
+
],
|
|
13
|
+
"gigaverse-api": [
|
|
14
|
+
"dist/gigaverse-api/index.d.ts"
|
|
15
|
+
],
|
|
16
|
+
"fireball-api": [
|
|
17
|
+
"dist/fireball-api/index.d.ts"
|
|
18
|
+
],
|
|
19
|
+
"juiced-subgraph": [
|
|
20
|
+
"dist/juiced-subgraph/index.d.ts"
|
|
21
|
+
],
|
|
22
|
+
"juiced-api": [
|
|
23
|
+
"dist/juiced-api/index.d.ts"
|
|
24
|
+
],
|
|
25
|
+
"logger": [
|
|
26
|
+
"dist/logger/index.d.ts"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist"
|
|
32
|
+
],
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public"
|
|
35
|
+
},
|
|
36
|
+
"scripts": {
|
|
37
|
+
"fetch": "bun run src/fetch-data.ts",
|
|
38
|
+
"build": "bun run clean && tsup --dts-resolve",
|
|
39
|
+
"build:watch": "bun run clean && tsup --dts-resolve --watch",
|
|
40
|
+
"clean": "rm -rf dist dist-tmp",
|
|
41
|
+
"codegen": "graphql-codegen --require dotenv/config --config codegen.ts dotenv_config_path=./.env",
|
|
42
|
+
"prepublishOnly": "bun run build",
|
|
43
|
+
"airdrop:sparks": "bun run src/scripts/airdrop-sparks.ts",
|
|
44
|
+
"fetch-dungeon-refunds": "bun run src/scripts/fetch-dungeon-refunds.ts",
|
|
45
|
+
"process-dungeon-refunds": "bun run src/scripts/process-dungeon-refunds.ts",
|
|
46
|
+
"fetch-role-rewards": "bun run src/scripts/fetch-role-rewards.ts",
|
|
47
|
+
"process-role-rewards": "bun run src/scripts/process-role-rewards.ts",
|
|
48
|
+
"fetch-faction-rewards": "bun run src/scripts/fetch-faction-rewards.ts",
|
|
49
|
+
"process-faction-rewards": "bun run src/scripts/process-faction-rewards.ts",
|
|
50
|
+
"airdrop:test": "bun run src/scripts/test-airdrop-single.ts"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"@aws-sdk/client-sqs": "3.883.0",
|
|
54
|
+
"@graphql-typed-document-node/core": "3.2.0",
|
|
55
|
+
"axios": "1.12.0",
|
|
56
|
+
"exponential-backoff": "3.1.2",
|
|
57
|
+
"graphql": "16.11.0",
|
|
58
|
+
"graphql-request": "7.2.0",
|
|
59
|
+
"pino": "10.1.0",
|
|
60
|
+
"pino-pretty": "13.1.2",
|
|
61
|
+
"viem": "2.38.3",
|
|
62
|
+
"zod": "3.25.76"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@changesets/cli": "2.30.0",
|
|
66
|
+
"@graphql-codegen/cli": "6.0.0",
|
|
67
|
+
"@graphql-codegen/client-preset": "5.0.0",
|
|
68
|
+
"@graphql-codegen/typescript": "5.0.0",
|
|
69
|
+
"@graphql-codegen/typescript-graphql-request": "6.3.0",
|
|
70
|
+
"@graphql-codegen/typescript-operations": "5.0.0",
|
|
71
|
+
"@types/bun": "1.2.21",
|
|
72
|
+
"bun-types": "1.2.21",
|
|
73
|
+
"tsup": "8.5.0",
|
|
74
|
+
"typescript": "5.9.2"
|
|
75
|
+
},
|
|
76
|
+
"exports": {
|
|
77
|
+
"./package.json": "./package.json",
|
|
78
|
+
".": {
|
|
79
|
+
"types": "./dist/index.d.ts",
|
|
80
|
+
"import": {
|
|
81
|
+
"default": "./dist/index.js"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"./gigaverse-api": {
|
|
85
|
+
"types": "./dist/gigaverse-api/index.d.ts",
|
|
86
|
+
"import": {
|
|
87
|
+
"default": "./dist/gigaverse-api/index.js"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"./fireball-api": {
|
|
91
|
+
"types": "./dist/fireball-api/index.d.ts",
|
|
92
|
+
"import": {
|
|
93
|
+
"default": "./dist/fireball-api/index.js"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"./juiced-subgraph": {
|
|
97
|
+
"types": "./dist/juiced-subgraph/index.d.ts",
|
|
98
|
+
"import": {
|
|
99
|
+
"default": "./dist/juiced-subgraph/index.js"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"./juiced-api": {
|
|
103
|
+
"types": "./dist/juiced-api/index.d.ts",
|
|
104
|
+
"import": {
|
|
105
|
+
"default": "./dist/juiced-api/index.js"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"./logger": {
|
|
109
|
+
"types": "./dist/logger/index.d.ts",
|
|
110
|
+
"import": {
|
|
111
|
+
"default": "./dist/logger/index.js"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"./data/checkpoints.json": "./dist/data/checkpoints.json",
|
|
115
|
+
"./data/constants.json": "./dist/data/constants.json",
|
|
116
|
+
"./data/enemies.json": "./dist/data/enemies.json",
|
|
117
|
+
"./data/gear.json": "./dist/data/gear.json",
|
|
118
|
+
"./data/items.json": "./dist/data/items.json",
|
|
119
|
+
"./data/recipes.json": "./dist/data/recipes.json",
|
|
120
|
+
"./data/fishing_cards.json": "./dist/data/fishing_cards.json",
|
|
121
|
+
"./data/fishing_exchange_rates.json": "./dist/data/fishing_exchange_rates.json",
|
|
122
|
+
"./abis/sparks.abi.json": "./dist/abis/sparks.abi.json"
|
|
123
|
+
},
|
|
124
|
+
"license": "MIT"
|
|
125
|
+
}
|