@dcl/protocol 1.0.0-19630274392.commit-b26a1a0 → 1.0.0-19675433701.commit-48bfb23

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.
Files changed (30) hide show
  1. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +0 -9
  2. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +5 -55
  3. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -1
  4. package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +10 -0
  5. package/out-js/decentraland/sdk/components/audio_stream.gen.js +45 -2
  6. package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -1
  7. package/out-js/decentraland/sdk/components/video_player.gen.d.ts +10 -0
  8. package/out-js/decentraland/sdk/components/video_player.gen.js +40 -1
  9. package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -1
  10. package/out-js/decentraland/social_service/v2/social_service_v2.gen.d.ts +32 -1368
  11. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js +148 -7057
  12. package/out-js/decentraland/social_service/v2/social_service_v2.gen.js.map +1 -1
  13. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +2 -65
  14. package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +61 -1
  15. package/out-ts/decentraland/sdk/components/video_player.gen.ts +59 -1
  16. package/out-ts/decentraland/social_service/v2/social_service_v2.gen.ts +984 -8945
  17. package/package.json +3 -3
  18. package/proto/decentraland/kernel/comms/rfc4/comms.proto +2 -8
  19. package/proto/decentraland/sdk/components/audio_stream.proto +8 -0
  20. package/proto/decentraland/sdk/components/light_source.proto +1 -1
  21. package/proto/decentraland/sdk/components/video_player.proto +8 -0
  22. package/proto/decentraland/sdk/components/virtual_camera.proto +0 -2
  23. package/proto/decentraland/social_service/v2/social_service_v2.proto +11 -563
  24. package/out-js/decentraland/social_service/errors.gen.d.ts +0 -96
  25. package/out-js/decentraland/social_service/errors.gen.js +0 -405
  26. package/out-js/decentraland/social_service/errors.gen.js.map +0 -1
  27. package/out-ts/decentraland/social_service/errors.gen.ts +0 -442
  28. package/proto/decentraland/sdk/components/avatar_locomotion_settings.proto +0 -18
  29. package/proto/decentraland/social_service/errors.proto +0 -30
  30. package/proto/decentraland/social_service/v3/social_service_v3.proto +0 -51
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/protocol",
3
- "version": "1.0.0-19630274392.commit-b26a1a0",
3
+ "version": "1.0.0-19675433701.commit-48bfb23",
4
4
  "description": "",
5
5
  "repository": "decentraland/protocol.git",
6
6
  "homepage": "https://github.com/decentraland/protocol#readme",
@@ -13,7 +13,7 @@
13
13
  "test": "./scripts/check-proto-compabitility.sh"
14
14
  },
15
15
  "devDependencies": {
16
- "@protobuf-ts/protoc": "^2.11.0",
16
+ "@protobuf-ts/protoc": "^2.8.1",
17
17
  "proto-compatibility-tool": "^1.1.2-20220925163655.commit-25bd040",
18
18
  "typescript": "^5.0.4"
19
19
  },
@@ -30,5 +30,5 @@
30
30
  "out-js",
31
31
  "public"
32
32
  ],
33
- "commit": "b26a1a0e1b86b1dc2fd8f6d58a0d77eeb980f569"
33
+ "commit": "48bfb23c927b775518e182c8e0ef5c235104ee7a"
34
34
  }
@@ -55,11 +55,10 @@ message Movement {
55
55
  bool is_long_jump = 12;
56
56
  bool is_long_fall = 13;
57
57
  bool is_falling = 14;
58
+
58
59
  bool is_stunned = 15;
60
+
59
61
  float rotation_y = 16;
60
- // interpolation
61
- bool is_instant = 17;
62
- bool is_emoting = 18;
63
62
  }
64
63
 
65
64
  message MovementCompressed {
@@ -70,7 +69,6 @@ message MovementCompressed {
70
69
  message PlayerEmote {
71
70
  uint32 incremental_id = 1;
72
71
  string urn = 2;
73
- float timestamp = 3;
74
72
  }
75
73
 
76
74
  message SceneEmote {
@@ -103,10 +101,6 @@ message ProfileResponse {
103
101
  message Chat {
104
102
  string message = 1;
105
103
  double timestamp = 2;
106
-
107
- // Extension: optional forwarded_from to identify the original sender when
108
- // messages are forwarded through an SFU
109
- optional string forwarded_from = 3;
110
104
  }
111
105
 
112
106
  message Scene {
@@ -11,4 +11,12 @@ message PBAudioStream {
11
11
  optional bool playing = 1; // whether the clip is currently playing
12
12
  optional float volume = 2; // the audio volume (default: 1.0)
13
13
  string url = 3; // the audio stream HTTP URL
14
+ // either the audio will be global or spatial (default: false)
15
+ // global: plays the same way for every listener. It is not affected by distance, direction, or position.
16
+ // spatial: changes depending on where the listener is relative to the sound source
17
+ optional bool spatial = 4;
18
+ // Within the min distance the audio will cease to grow louder in volume (default: 0)
19
+ optional float spatial_min_distance = 5;
20
+ // The distance where sound either becomes inaudible or stops attenuation (default: 60)
21
+ optional float spatial_max_distance = 6;
14
22
  }
@@ -25,4 +25,4 @@ message PBLightSource {
25
25
  optional float inner_angle = 9; // default = 21.8. Inner angle can't be higher than outer angle, otherwise will default to same value. Min value is 0. Max value is 179.
26
26
  optional float outer_angle = 10; // default = 30. Outer angle can't be lower than inner angle, otherwise will inner angle will be set to same value. Max value is 179.
27
27
  }
28
- }
28
+ }
@@ -13,4 +13,12 @@ message PBVideoPlayer {
13
13
  optional float volume = 4; // default 1.0
14
14
  optional float playback_rate = 5; // default 1.0
15
15
  optional bool loop = 6; // default false
16
+ // either the audio will be global or spatial (default: false)
17
+ // global: plays the same way for every listener. It is not affected by distance, direction, or position.
18
+ // spatial: changes depending on where the listener is relative to the sound source
19
+ optional bool spatial = 7;
20
+ // Within the min distance the audio will cease to grow louder in volume (default: 0)
21
+ optional float spatial_min_distance = 8;
22
+ // The distance where sound either becomes inaudible or stops attenuation (default: 60)
23
+ optional float spatial_max_distance = 9;
16
24
  }
@@ -10,9 +10,7 @@ option (common.ecs_component_id) = 1076;
10
10
  // an 'instant' transition (like using speed/time = 0)
11
11
  // * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
12
12
  // the holding entity transform).
13
- // * The fov defines the Field of View of the virtual camera
14
13
  message PBVirtualCamera {
15
14
  optional common.CameraTransition default_transition = 1;
16
15
  optional uint32 look_at_entity = 2;
17
- optional float fov = 3; // default: 60
18
16
  }