@viji-dev/core 0.3.11 → 0.3.13

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.ts CHANGED
@@ -729,7 +729,6 @@ declare interface DeviceOrientationData {
729
729
  declare interface DeviceSensorState {
730
730
  motion: DeviceMotionData | null;
731
731
  orientation: DeviceOrientationData | null;
732
- geolocation: GeolocationData | null;
733
732
  }
734
733
 
735
734
  /**
@@ -788,27 +787,6 @@ export declare interface FrequencyBand {
788
787
  max: number;
789
788
  }
790
789
 
791
- /**
792
- * Geolocation API data
793
- * Matches native GeolocationPosition.coords structure
794
- */
795
- declare interface GeolocationData {
796
- /** Latitude in decimal degrees */
797
- latitude: number | null;
798
- /** Longitude in decimal degrees */
799
- longitude: number | null;
800
- /** Altitude in meters above sea level */
801
- altitude: number | null;
802
- /** Accuracy of latitude/longitude in meters */
803
- accuracy: number | null;
804
- /** Accuracy of altitude in meters */
805
- altitudeAccuracy: number | null;
806
- /** Direction of travel (0-360 degrees, 0=North, 90=East) */
807
- heading: number | null;
808
- /** Speed in meters per second */
809
- speed: number | null;
810
- }
811
-
812
790
  export declare interface HandData {
813
791
  id: number;
814
792
  handedness: 'left' | 'right';
@@ -1847,7 +1825,6 @@ export declare class VijiCore {
1847
1825
  name?: string;
1848
1826
  motion?: DeviceMotionData | null;
1849
1827
  orientation?: DeviceOrientationData | null;
1850
- geolocation?: GeolocationData | null;
1851
1828
  }): boolean;
1852
1829
  /**
1853
1830
  * Remove/ban an external device
@@ -1928,7 +1905,7 @@ export declare interface VijiCoreConfig {
1928
1905
  noInputs?: boolean;
1929
1906
  /** Enable user interaction events (DOM event capture, disabled in headless by default) */
1930
1907
  allowUserInteraction?: boolean;
1931
- /** Enable device sensor APIs (motion, orientation, geolocation) */
1908
+ /** Enable device sensor APIs (motion, orientation) */
1932
1909
  allowDeviceInteraction?: boolean;
1933
1910
  }
1934
1911
 
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A, V, a, b } from "./index-DBTm0Ys2.js";
1
+ import { A, V, a, b } from "./index-Cj4pl_5w.js";
2
2
  export {
3
3
  A as AudioSystem,
4
4
  V as VERSION,
@@ -614,16 +614,6 @@ export const shaderUniforms = {
614
614
  "category": "Device Sensors",
615
615
  "description": "True if orientation uses magnetometer (compass)"
616
616
  },
617
- "u_deviceLocation": {
618
- "type": "vec2",
619
- "category": "Device Sensors",
620
- "description": "Geolocation (degrees) - latitude, longitude"
621
- },
622
- "u_deviceLocationExt": {
623
- "type": "vec4",
624
- "category": "Device Sensors",
625
- "description": "Extended geolocation - altitude(m), accuracy(m), heading(deg), speed(m/s)"
626
- },
627
617
  "u_externalDeviceCount": {
628
618
  "type": "int",
629
619
  "category": "Device Sensors",
@@ -649,11 +639,6 @@ export const shaderUniforms = {
649
639
  "category": "Device Sensors",
650
640
  "description": "Device 0 orientation (degrees) - alpha, beta, gamma"
651
641
  },
652
- "u_device0Location": {
653
- "type": "vec2",
654
- "category": "Device Sensors",
655
- "description": "Device 0 location - latitude, longitude"
656
- },
657
642
  "u_device1Acceleration": {
658
643
  "type": "vec3",
659
644
  "category": "Device Sensors",
@@ -674,11 +659,6 @@ export const shaderUniforms = {
674
659
  "category": "Device Sensors",
675
660
  "description": "Device 1 orientation (degrees) - alpha, beta, gamma"
676
661
  },
677
- "u_device1Location": {
678
- "type": "vec2",
679
- "category": "Device Sensors",
680
- "description": "Device 1 location - latitude, longitude"
681
- },
682
662
  "u_device2Acceleration": {
683
663
  "type": "vec3",
684
664
  "category": "Device Sensors",
@@ -699,11 +679,6 @@ export const shaderUniforms = {
699
679
  "category": "Device Sensors",
700
680
  "description": "Device 2 orientation (degrees) - alpha, beta, gamma"
701
681
  },
702
- "u_device2Location": {
703
- "type": "vec2",
704
- "category": "Device Sensors",
705
- "description": "Device 2 location - latitude, longitude"
706
- },
707
682
  "u_device3Acceleration": {
708
683
  "type": "vec3",
709
684
  "category": "Device Sensors",
@@ -724,11 +699,6 @@ export const shaderUniforms = {
724
699
  "category": "Device Sensors",
725
700
  "description": "Device 3 orientation (degrees) - alpha, beta, gamma"
726
701
  },
727
- "u_device3Location": {
728
- "type": "vec2",
729
- "category": "Device Sensors",
730
- "description": "Device 3 location - latitude, longitude"
731
- },
732
702
  "u_device4Acceleration": {
733
703
  "type": "vec3",
734
704
  "category": "Device Sensors",
@@ -749,11 +719,6 @@ export const shaderUniforms = {
749
719
  "category": "Device Sensors",
750
720
  "description": "Device 4 orientation (degrees) - alpha, beta, gamma"
751
721
  },
752
- "u_device4Location": {
753
- "type": "vec2",
754
- "category": "Device Sensors",
755
- "description": "Device 4 location - latitude, longitude"
756
- },
757
722
  "u_device5Acceleration": {
758
723
  "type": "vec3",
759
724
  "category": "Device Sensors",
@@ -774,11 +739,6 @@ export const shaderUniforms = {
774
739
  "category": "Device Sensors",
775
740
  "description": "Device 5 orientation (degrees) - alpha, beta, gamma"
776
741
  },
777
- "u_device5Location": {
778
- "type": "vec2",
779
- "category": "Device Sensors",
780
- "description": "Device 5 location - latitude, longitude"
781
- },
782
742
  "u_device6Acceleration": {
783
743
  "type": "vec3",
784
744
  "category": "Device Sensors",
@@ -799,11 +759,6 @@ export const shaderUniforms = {
799
759
  "category": "Device Sensors",
800
760
  "description": "Device 6 orientation (degrees) - alpha, beta, gamma"
801
761
  },
802
- "u_device6Location": {
803
- "type": "vec2",
804
- "category": "Device Sensors",
805
- "description": "Device 6 location - latitude, longitude"
806
- },
807
762
  "u_device7Acceleration": {
808
763
  "type": "vec3",
809
764
  "category": "Device Sensors",
@@ -824,11 +779,6 @@ export const shaderUniforms = {
824
779
  "category": "Device Sensors",
825
780
  "description": "Device 7 orientation (degrees) - alpha, beta, gamma"
826
781
  },
827
- "u_device7Location": {
828
- "type": "vec2",
829
- "category": "Device Sensors",
830
- "description": "Device 7 location - latitude, longitude"
831
- },
832
782
  "backbuffer": {
833
783
  "type": "sampler2D",
834
784
  "category": "Backbuffer",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viji-dev/core",
3
- "version": "0.3.11",
3
+ "version": "0.3.13",
4
4
  "description": "Universal execution engine for Viji Creative scenes",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",