deepwoken 0.2.2 → 0.2.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepwoken",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "type": "module",
5
5
  "main": "index.ts",
6
6
  "types": "index.ts",
package/pkg/deepwoken.js CHANGED
@@ -758,12 +758,12 @@ function __wbg_get_imports() {
758
758
  return ret;
759
759
  },
760
760
  __wbindgen_cast_0000000000000001: function(arg0, arg1) {
761
- // Cast intrinsic for `Closure(Closure { dtor_idx: 146, function: Function { arguments: [], shim_idx: 147, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
761
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 147, function: Function { arguments: [], shim_idx: 148, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
762
762
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hfbac65673247baa3, wasm_bindgen__convert__closures_____invoke__hcf18b6c4eb572639);
763
763
  return ret;
764
764
  },
765
765
  __wbindgen_cast_0000000000000002: function(arg0, arg1) {
766
- // Cast intrinsic for `Closure(Closure { dtor_idx: 166, function: Function { arguments: [Externref], shim_idx: 167, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
766
+ // Cast intrinsic for `Closure(Closure { dtor_idx: 167, function: Function { arguments: [Externref], shim_idx: 168, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
767
767
  const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h22f2fd8de233cef9, wasm_bindgen__convert__closures_____invoke__h462ab53fb1f380e1);
768
768
  return ret;
769
769
  },
Binary file
package/types.ts CHANGED
@@ -53,8 +53,15 @@ export interface Outfit {
53
53
  notes: number;
54
54
  }
55
55
 
56
+ export interface AspectVariantInfo {
57
+ unlock: string | null;
58
+ colors: Record<string, string>;
59
+ }
60
+
56
61
  export interface Aspect {
57
62
  name: string;
63
+ desc: string;
58
64
  innate: Partial<Record<Stat, number>>;
59
65
  is_pathfinder: boolean;
66
+ variants: Record<string, AspectVariantInfo>;
60
67
  }