@absolutejs/rapier3d 0.6.0 → 0.8.0

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.
@@ -0,0 +1,21 @@
1
+ /** Artifact identity for diagnostics. Importing the build-info subpath loads no WASM. */
2
+ export interface PhysicsBuildInfo {
3
+ readonly schemaVersion: 1;
4
+ readonly scope: 'package';
5
+ readonly packageName: '@absolutejs/rapier3d';
6
+ readonly packageVersion: string;
7
+ readonly qualifiedKernelRelease: string;
8
+ readonly upstream: string;
9
+ readonly engine: string;
10
+ /** Collision library version and exact Cargo source identity used by this build. */
11
+ readonly collisionLibraryVersion: string;
12
+ readonly collisionSource: string;
13
+ readonly bindings: string;
14
+ readonly bindgen: string;
15
+ readonly wasmSha256: string;
16
+ readonly wasmBytes: number;
17
+ /** Whether this kernel changes the pinned upstream solver, not the prior package version. */
18
+ readonly solverChanges: boolean;
19
+ }
20
+ /** Frozen metadata; available before init(). */
21
+ export declare const buildInfo: PhysicsBuildInfo;
@@ -6,3 +6,4 @@ export * from "./geometry";
6
6
  export * from "./pipeline";
7
7
  export * from "./init";
8
8
  export * from "./control";
9
+ export { buildInfo, type PhysicsBuildInfo } from "./build-info";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@absolutejs/rapier3d",
3
- "version": "0.6.0",
4
- "description": "Rapier 3D with accurate prescribed kinematics and solver-contact diagnostics",
3
+ "version": "0.8.0",
4
+ "description": "Rapier 3D with corrected contact witnesses, rotation precision and solver diagnostics",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -17,6 +17,10 @@
17
17
  ".": {
18
18
  "types": "./dist/types/rapier.d.ts",
19
19
  "import": "./dist/rapier.mjs"
20
+ },
21
+ "./build-info": {
22
+ "types": "./dist/types/build-info.d.ts",
23
+ "import": "./dist/build-info.mjs"
20
24
  }
21
25
  },
22
26
  "module": "./dist/rapier.mjs",