deepwoken 0.1.1 → 0.1.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/index.ts CHANGED
@@ -1,9 +1,10 @@
1
- export { default as init } from './pkg/deepwoken.js';
2
1
  export type { Talent, Weapon, Mantra, Outfit, Aspect, Stat } from './types.js';
3
2
 
4
- import { DeepData as WasmDeepData } from './pkg/deepwoken.js';
3
+ import wasmInit, { DeepData as WasmDeepData } from './pkg/deepwoken.js';
5
4
  import type { Talent, Weapon, Mantra, Outfit, Aspect } from './types.js';
6
5
 
6
+ await wasmInit();
7
+
7
8
  export class DeepData {
8
9
  private _wasm: WasmDeepData;
9
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepwoken",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "type": "module",
5
5
  "main": "index.ts",
6
6
  "types": "index.ts",
Binary file
package/types.ts CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  export type Stat =
4
4
  | "Strength" | "Fortitude" | "Agility" | "Intelligence" | "Willpower" | "Charisma"
5
- | "Heavy Wep." | "Medium Wep." | "Light Wep."
5
+ | "Heavy" | "Medium" | "Light"
6
6
  | "Frostdraw" | "Flamecharm" | "Thundercall" | "Galebreathe" | "Shadowcast" | "Ironsing" | "Bloodrend"
7
7
  | "Total";
8
8