@newkrok/nape-js 3.3.42 → 3.3.43
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.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -67857,8 +67857,9 @@ var Shape = class _Shape extends Interactor {
|
|
|
67857
67857
|
/** @internal */
|
|
67858
67858
|
static _wrap(inner) {
|
|
67859
67859
|
if (!inner) return null;
|
|
67860
|
-
|
|
67861
|
-
if (
|
|
67860
|
+
const type = inner.isCircle ? inner.isCircle() ? 0 : inner.isPolygon?.() ? 1 : -1 : inner.zpp_inner?.type ?? -1;
|
|
67861
|
+
if (type === 0 && _circleWrap) return _circleWrap(inner);
|
|
67862
|
+
if (type === 1 && _polygonWrap) return _polygonWrap(inner);
|
|
67862
67863
|
if (inner.outer) return inner.outer;
|
|
67863
67864
|
return getOrCreate(inner, (raw) => {
|
|
67864
67865
|
const s = Object.create(_Shape.prototype);
|
|
@@ -75836,7 +75837,7 @@ var PulleyJoint = class _PulleyJoint extends Constraint {
|
|
|
75836
75837
|
};
|
|
75837
75838
|
|
|
75838
75839
|
// src/index.ts
|
|
75839
|
-
var VERSION = "3.3.
|
|
75840
|
+
var VERSION = "3.3.42";
|
|
75840
75841
|
// Annotate the CommonJS export names for ESM import in node:
|
|
75841
75842
|
0 && (module.exports = {
|
|
75842
75843
|
AABB,
|