@newkrok/nape-js 3.4.4 → 3.4.5

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/dist/index.d.cts CHANGED
@@ -781,8 +781,6 @@ declare class GeomPoly {
781
781
  get _inner(): Any$_;
782
782
  constructor(vertices?: Any$_);
783
783
  private _checkDisposed;
784
- /** @internal Get compiled ZPP_GeomVert class */
785
- private static _gvClass;
786
784
  /** @internal Create a ZPP_GeomVert from pool or new */
787
785
  private static _createVert;
788
786
  /** @internal Insert vertex after current head (push pattern) */
@@ -2123,7 +2121,7 @@ declare class ZPP_Space {
2123
2121
  iterateVel(times: Any$P): void;
2124
2122
  iteratePos(times: Any$P): void;
2125
2123
  group_ignore(s1: Any$P, s2: Any$P): boolean;
2126
- interactionType(s1: Any$P, s2: Any$P, b1: Any$P, b2: Any$P): 2 | 0 | 1 | -1;
2124
+ interactionType(s1: Any$P, s2: Any$P, b1: Any$P, b2: Any$P): 0 | 1 | 2 | -1;
2127
2125
  narrowPhase(s1: Any$P, s2: Any$P, stat: Any$P, in_arb: Any$P, continuous: Any$P): any;
2128
2126
  MRCA_chains(s1: Any$P, s2: Any$P): void;
2129
2127
  inlined_MRCA_chains(s1: Any$P, s2: Any$P): void;
@@ -3066,17 +3064,17 @@ declare class ArbiterType {
3066
3064
  }
3067
3065
 
3068
3066
  /**
3069
- * Core engine module — manages access to the compiled nape namespace.
3067
+ * Core engine module — manages access to the nape namespace.
3070
3068
  *
3071
- * The nape-compiled.js file is generated by the prebuild script from the
3072
- * original AMD module. It evaluates synchronously on import, so the
3073
- * namespace is available immediately.
3069
+ * Priority 20: nape-compiled.js has been fully eliminated. The nape namespace
3070
+ * is now built entirely in TypeScript via registerZPPClasses() in ZPPRegistry.ts.
3074
3071
  */
3075
3072
  /**
3076
3073
  * Returns the internal nape namespace object.
3077
3074
  *
3078
- * All wrapper classes use this to access the underlying Haxe-compiled
3079
- * constructors and prototypes.
3075
+ * Lazily initializes on first call so that side-effect imports (Config, Listener,
3076
+ * etc.) that call getNape() during ESM module evaluation always succeed, even
3077
+ * before the engine.ts module body has fully executed.
3080
3078
  *
3081
3079
  * @internal
3082
3080
  */
package/dist/index.d.ts CHANGED
@@ -781,8 +781,6 @@ declare class GeomPoly {
781
781
  get _inner(): Any$_;
782
782
  constructor(vertices?: Any$_);
783
783
  private _checkDisposed;
784
- /** @internal Get compiled ZPP_GeomVert class */
785
- private static _gvClass;
786
784
  /** @internal Create a ZPP_GeomVert from pool or new */
787
785
  private static _createVert;
788
786
  /** @internal Insert vertex after current head (push pattern) */
@@ -2123,7 +2121,7 @@ declare class ZPP_Space {
2123
2121
  iterateVel(times: Any$P): void;
2124
2122
  iteratePos(times: Any$P): void;
2125
2123
  group_ignore(s1: Any$P, s2: Any$P): boolean;
2126
- interactionType(s1: Any$P, s2: Any$P, b1: Any$P, b2: Any$P): 2 | 0 | 1 | -1;
2124
+ interactionType(s1: Any$P, s2: Any$P, b1: Any$P, b2: Any$P): 0 | 1 | 2 | -1;
2127
2125
  narrowPhase(s1: Any$P, s2: Any$P, stat: Any$P, in_arb: Any$P, continuous: Any$P): any;
2128
2126
  MRCA_chains(s1: Any$P, s2: Any$P): void;
2129
2127
  inlined_MRCA_chains(s1: Any$P, s2: Any$P): void;
@@ -3066,17 +3064,17 @@ declare class ArbiterType {
3066
3064
  }
3067
3065
 
3068
3066
  /**
3069
- * Core engine module — manages access to the compiled nape namespace.
3067
+ * Core engine module — manages access to the nape namespace.
3070
3068
  *
3071
- * The nape-compiled.js file is generated by the prebuild script from the
3072
- * original AMD module. It evaluates synchronously on import, so the
3073
- * namespace is available immediately.
3069
+ * Priority 20: nape-compiled.js has been fully eliminated. The nape namespace
3070
+ * is now built entirely in TypeScript via registerZPPClasses() in ZPPRegistry.ts.
3074
3071
  */
3075
3072
  /**
3076
3073
  * Returns the internal nape namespace object.
3077
3074
  *
3078
- * All wrapper classes use this to access the underlying Haxe-compiled
3079
- * constructors and prototypes.
3075
+ * Lazily initializes on first call so that side-effect imports (Config, Listener,
3076
+ * etc.) that call getNape() during ESM module evaluation always succeed, even
3077
+ * before the engine.ts module body has fully executed.
3080
3078
  *
3081
3079
  * @internal
3082
3080
  */