pkhex 25.12.2 → 25.12.12

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/PKHeX.Core.dll CHANGED
Binary file
package/PKHeX.deps.json CHANGED
@@ -9,7 +9,7 @@
9
9
  ".NETCoreApp,Version=v9.0/browser-wasm": {
10
10
  "PKHeX/1.0.0": {
11
11
  "dependencies": {
12
- "PKHeX.Core": "25.12.2",
12
+ "PKHeX.Core": "25.12.12",
13
13
  "runtimepack.Microsoft.NETCore.App.Runtime.Mono.browser-wasm": "9.0.13"
14
14
  },
15
15
  "runtime": {
@@ -266,11 +266,11 @@
266
266
  }
267
267
  }
268
268
  },
269
- "PKHeX.Core/25.12.2": {
269
+ "PKHeX.Core/25.12.12": {
270
270
  "runtime": {
271
271
  "PKHeX.Core.dll": {
272
- "assemblyVersion": "25.12.2.0",
273
- "fileVersion": "25.12.2.0"
272
+ "assemblyVersion": "25.12.12.0",
273
+ "fileVersion": "25.12.12.0"
274
274
  }
275
275
  }
276
276
  }
@@ -287,7 +287,7 @@
287
287
  "serviceable": false,
288
288
  "sha512": ""
289
289
  },
290
- "PKHeX.Core/25.12.2": {
290
+ "PKHeX.Core/25.12.12": {
291
291
  "type": "project",
292
292
  "serviceable": false,
293
293
  "sha512": ""
package/PKHeX.dll CHANGED
Binary file
package/api-wrapper.d.ts CHANGED
@@ -92,8 +92,11 @@ interface RawPKHeXApi {
92
92
  GetTypeName(typeId: number): string;
93
93
  GetAllTypes(): string;
94
94
  GetSpeciesCategory(species: number): string;
95
+ IsPrimalForm(species: number, form: number): string;
95
96
  GetPlayerAppearance9a(handle: number): string;
96
97
  SetPlayerAppearance9a(handle: number, appearanceJson: string): string;
98
+ GetSaveRevision(handle: number): string;
99
+ CollectTechnicalMachines(handle: number): string;
97
100
  GetPKMData(base64PkmData: string, generation: number): string;
98
101
  ModifyPKMData(base64PkmData: string, generation: number, modificationsJson: string): string;
99
102
  CheckPKMLegality(base64PkmData: string, generation: number): string;
package/api-wrapper.js CHANGED
@@ -34,6 +34,7 @@ export function createPKHeXApiWrapper(rawApiOrExports) {
34
34
  dispose: (handle) => parseJson(rawApi.DisposeSave(handle)),
35
35
  setTextSpeed: (handle, speed) => parseJson(rawApi.SetTextSpeed(handle, speed)),
36
36
  getTextSpeed: (handle) => parseJson(rawApi.GetTextSpeed(handle)),
37
+ getSaveRevision: (handle) => parseJson(rawApi.GetSaveRevision(handle)),
37
38
  pokemon: {
38
39
  get: (handle, box, slot) => parseJson(rawApi.GetPokemon(handle, box, slot)),
39
40
  getAll: (handle) => parseJson(rawApi.GetAllPokemon(handle)),
@@ -138,6 +139,7 @@ export function createPKHeXApiWrapper(rawApiOrExports) {
138
139
  getColorfulScrewLocations: (handle, collected) => parseJson(rawApi.GetColorfulScrewLocations(handle, collected)),
139
140
  getInfiniteRoyalePoints: (handle) => parseJson(rawApi.GetInfiniteRoyalePoints(handle)),
140
141
  setInfiniteRoyalePoints: (handle, royalePoints, infinitePoints) => parseJson(rawApi.SetInfiniteRoyalePoints(handle, royalePoints, infinitePoints)),
142
+ collectTechnicalMachines: (handle) => parseJson(rawApi.CollectTechnicalMachines(handle)),
141
143
  },
142
144
  time: {
143
145
  getSecondsPlayed: (handle) => parseJson(rawApi.GetSecondsPlayed(handle)),
@@ -197,6 +199,7 @@ export function createPKHeXApiWrapper(rawApiOrExports) {
197
199
  getMemoryStrings: () => parseJson(rawApi.GetMemoryStrings()),
198
200
  getAllTeraTypes: () => parseJson(rawApi.GetAllTeraTypes()),
199
201
  getSpeciesCategory: (species) => parseJson(rawApi.GetSpeciesCategory(species)),
202
+ isPrimalForm: (species, form) => parseJson(rawApi.IsPrimalForm(species, form)),
200
203
  },
201
204
  gen9a: {
202
205
  collectColorfulScrews: (handle) => {
package/index.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  import type { PKHeXApi } from './index.d.ts';
6
6
  export { isError, isSuccess, unwrap, getError } from './helpers.js';
7
7
  export { createPKHeXApiWrapper } from './api-wrapper.js';
8
- export type { SaveHandle, SuccessResponse, ErrorResponse, ApiResult, SaveFileInfo, SaveFileHandle, PokemonSummary, PokemonDetail, PokemonModifications, LegalityResult, RibbonData, ContestStats, TrainerInfo, TrainerCard, TrainerAppearance, BadgeData, PIDInfo, PKMDataResponse, ShinyType, BoxInfo, DaycareData, ItemSlot, PouchData, PokedexEntry, HallOfFameEntry, MailMessage, MysteryGiftCard, SecretBaseData, EntralinkData, PokePelagoData, FestivalPlazaData, PokeJobsData, NamedEntity, BattleFacilityStats, MessageResponse, PKHeXApi, FriendshipData, MemoriesData, MemoryStringsData, MemoryInfo, PokemonFormData, FormInfoEntry, AvailableFormsData, TeraTypeData, TeraTypeInfo, BoxSlotLocation, BatchLegalityResult, BatchLegalityResponse, BatchModification, BatchOperationResult, BatchOperationResponse, BoxStatsData, SpeciesCategoryData, PlayerAppearance9aData, } from './index.d.js';
8
+ export type { SaveHandle, SuccessResponse, ErrorResponse, ApiResult, SaveFileInfo, SaveFileHandle, PokemonSummary, PokemonDetail, PokemonModifications, LegalityResult, RibbonData, ContestStats, TrainerInfo, TrainerCard, TrainerAppearance, BadgeData, PIDInfo, PKMDataResponse, ShinyType, BoxInfo, DaycareData, ItemSlot, PouchData, PokedexEntry, HallOfFameEntry, MailMessage, MysteryGiftCard, SecretBaseData, EntralinkData, PokePelagoData, FestivalPlazaData, PokeJobsData, NamedEntity, BattleFacilityStats, MessageResponse, PKHeXApi, FriendshipData, MemoriesData, MemoryStringsData, MemoryInfo, PokemonFormData, FormInfoEntry, AvailableFormsData, TeraTypeData, TeraTypeInfo, BoxSlotLocation, BatchLegalityResult, BatchLegalityResponse, BatchModification, BatchOperationResult, BatchOperationResponse, BoxStatsData, SpeciesCategoryData, PrimalFormData, PlayerAppearance9aData, SaveRevisionData, } from './index.d.js';
9
9
  /**
10
10
  * Setup the PKHeX WASM library via automatic initialization
11
11
  * @returns Promise that resolves to the PKHeX API
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pkhex",
3
- "version": "25.12.2",
3
+ "version": "25.12.12",
4
4
  "description": "WebAssembly library wrapping PKHeX.Core for Pokemon save file editing in JavaScript/TypeScript",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",