@threlte/rapier 3.1.3 → 3.1.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.
@@ -1,5 +1,5 @@
1
1
  import type { CoefficientCombineRule, Collider } from '@dimforge/rapier3d-compat';
2
- import { type Snippet } from 'svelte';
2
+ import type { Snippet } from 'svelte';
3
3
  import type { Euler, Vector3 } from 'three';
4
4
  import type { AutoCollidersShapes, ColliderEvents, CreateEvent } from '../../../types/types';
5
5
  type BaseProps = {
@@ -1 +1 @@
1
- import {} from 'svelte';
1
+ export {};
@@ -1,5 +1,5 @@
1
1
  import type { CoefficientCombineRule, Collider, ColliderDesc, Collider as RapierCollider } from '@dimforge/rapier3d-compat';
2
- import { type Snippet } from 'svelte';
2
+ import type { Snippet } from 'svelte';
3
3
  import type { Euler, Vector3 } from 'three';
4
4
  import type { ColliderEvents, CreateEvent } from '../../../types/types';
5
5
  type Type = 'static' | 'dynamic';
@@ -1 +1 @@
1
- import {} from 'svelte';
1
+ export {};
@@ -1,4 +1,4 @@
1
- import { type Snippet } from 'svelte';
1
+ import type { Snippet } from 'svelte';
2
2
  type N = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15;
3
3
  export type Groups = N[];
4
4
  export type MembershipsAndFilter = N[];
@@ -1 +1 @@
1
- import {} from 'svelte';
1
+ export {};
@@ -1,5 +1,5 @@
1
- import { RigidBody as RapierRigidBody } from '@dimforge/rapier3d-compat';
2
- import { type Snippet } from 'svelte';
1
+ import type { RigidBody as RapierRigidBody } from '@dimforge/rapier3d-compat';
2
+ import type { Snippet } from 'svelte';
3
3
  import type { Euler, Vector3 } from 'three';
4
4
  import type { RigidBodyTypeString } from '../../lib/parseRigidBodyType';
5
5
  import type { CreateEvent, RigidBodyEvents } from '../../types/types';
@@ -1,2 +1 @@
1
- import { RigidBody as RapierRigidBody } from '@dimforge/rapier3d-compat';
2
- import {} from 'svelte';
1
+ export {};
@@ -3,7 +3,7 @@ import InnerWorld from './InnerWorld.svelte';
3
3
  let { fallback, children, ...rest } = $props();
4
4
  </script>
5
5
 
6
- {#await initRapier()}
6
+ {#await initRapier() then}
7
7
  <InnerWorld {...rest}>
8
8
  {@render children?.()}
9
9
  </InnerWorld>
@@ -1,6 +1,6 @@
1
1
  import type { RawBroadPhase, RawCCDSolver, RawColliderSet, RawDebugRenderPipeline, RawImpulseJointSet, RawIntegrationParameters, RawIslandManager, RawMultibodyJointSet, RawNarrowPhase, RawPhysicsPipeline, RawQueryPipeline, RawRigidBodySet, RawSerializationPipeline } from '@dimforge/rapier3d-compat/raw';
2
2
  import type { Key, Stage } from '@threlte/core';
3
- import { type Snippet } from 'svelte';
3
+ import type { Snippet } from 'svelte';
4
4
  import type { Vector3 } from 'three';
5
5
  export type WorldProps = {
6
6
  framerate?: number | 'varying';
@@ -1 +1 @@
1
- import {} from 'svelte';
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threlte/rapier",
3
- "version": "3.1.3",
3
+ "version": "3.1.5",
4
4
  "author": "Grischa Erbe <hello@legrisch.com> (https://legrisch.com)",
5
5
  "license": "MIT",
6
6
  "description": "Components and hooks to use the Rapier physics engine in Threlte",
@@ -21,7 +21,7 @@
21
21
  "prettier-plugin-svelte": "^3.2.2",
22
22
  "publint": "^0.2.7",
23
23
  "rimraf": "^5.0.5",
24
- "svelte": "^5.26.2",
24
+ "svelte": "5.26.2",
25
25
  "svelte-check": "^4.1.7",
26
26
  "svelte-preprocess": "^5.1.3",
27
27
  "svelte2tsx": "^0.7.6",
@@ -31,7 +31,7 @@
31
31
  "typescript": "^5.6.3",
32
32
  "typescript-eslint": "^8.32.0",
33
33
  "vite": "^5.2.8",
34
- "@threlte/core": "8.0.4"
34
+ "@threlte/core": "8.1.4"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@dimforge/rapier3d-compat": ">=0.16",