angular-three 2.0.0-beta.6 → 2.0.0-beta.7

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/lib/types.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  /// <reference types="webxr" />
2
2
  import type { ElementRef, EventEmitter, WritableSignal } from '@angular/core';
3
+ import { BehaviorSubject } from 'rxjs';
3
4
  import * as THREE from 'three';
4
5
  import type { NgtSignalStore } from './stores/signal.store';
5
6
  import { NgtObject3DNode } from './three-types';
@@ -228,7 +229,7 @@ export type NgtInstanceLocalState = {
228
229
  add: (instance: NgtInstanceNode, type: 'objects' | 'nonObjects') => void;
229
230
  remove: (instance: NgtInstanceNode, type: 'objects' | 'nonObjects') => void;
230
231
  nativeProps: NgtSignalStore<NgtAnyRecord>;
231
- parent: WritableSignal<NgtInstanceNode | null>;
232
+ parent: BehaviorSubject<NgtInstanceNode | null>;
232
233
  primitive?: boolean;
233
234
  eventCount: number;
234
235
  handlers: Partial<NgtEventHandlers>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "angular-three",
3
- "version": "2.0.0-beta.6",
3
+ "version": "2.0.0-beta.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -24,8 +24,8 @@
24
24
  "@angular/common": "^16.0.0",
25
25
  "@angular/core": "^16.0.0",
26
26
  "three": "^0.148.0 || ^0.149.0 || ^0.150.0 || ^0.151.0 || ^0.152.0",
27
- "@angular/router": "16.0.3",
28
- "rxjs": "7.8.1"
27
+ "rxjs": "7.8.1",
28
+ "@angular/router": "16.0.3"
29
29
  },
30
30
  "dependencies": {
31
31
  "ngx-resize": "^2.0.0",