@dcl/protocol 1.0.0-4493564897.commit-c858f8a → 1.0.0-4596906552.commit-18a5668

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 (100) hide show
  1. package/out-js/decentraland/bff/authentication_service.gen.d.ts +2 -6
  2. package/out-js/decentraland/bff/authentication_service.gen.js +2 -2
  3. package/out-js/decentraland/bff/authentication_service.gen.js.map +1 -1
  4. package/out-js/decentraland/bff/comms_director_service.gen.d.ts +2 -6
  5. package/out-js/decentraland/bff/comms_director_service.gen.js +2 -2
  6. package/out-js/decentraland/bff/comms_director_service.gen.js.map +1 -1
  7. package/out-js/decentraland/bff/comms_service.gen.d.ts +7 -21
  8. package/out-js/decentraland/bff/comms_service.gen.js +7 -7
  9. package/out-js/decentraland/bff/comms_service.gen.js.map +1 -1
  10. package/out-js/decentraland/bff/http_endpoints.gen.d.ts +1 -3
  11. package/out-js/decentraland/bff/http_endpoints.gen.js +1 -1
  12. package/out-js/decentraland/bff/http_endpoints.gen.js.map +1 -1
  13. package/out-js/decentraland/bff/topics_service.gen.d.ts +3 -9
  14. package/out-js/decentraland/bff/topics_service.gen.js +3 -3
  15. package/out-js/decentraland/bff/topics_service.gen.js.map +1 -1
  16. package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +1 -3
  17. package/out-js/decentraland/kernel/apis/communications_controller.gen.js +1 -1
  18. package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -1
  19. package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +1 -3
  20. package/out-js/decentraland/kernel/apis/dev_tools.gen.js +1 -1
  21. package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -1
  22. package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +6 -18
  23. package/out-js/decentraland/kernel/apis/engine_api.gen.js +6 -6
  24. package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -1
  25. package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +7 -21
  26. package/out-js/decentraland/kernel/apis/environment_api.gen.js +7 -7
  27. package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -1
  28. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +5 -15
  29. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +5 -5
  30. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -1
  31. package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +3 -9
  32. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +3 -3
  33. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -1
  34. package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +2 -6
  35. package/out-js/decentraland/kernel/apis/permissions.gen.js +2 -2
  36. package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -1
  37. package/out-js/decentraland/kernel/apis/players.gen.d.ts +3 -9
  38. package/out-js/decentraland/kernel/apis/players.gen.js +3 -3
  39. package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -1
  40. package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +4 -12
  41. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +4 -4
  42. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -1
  43. package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +7 -21
  44. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +7 -7
  45. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -1
  46. package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +2 -6
  47. package/out-js/decentraland/kernel/apis/runtime.gen.js +2 -2
  48. package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -1
  49. package/out-js/decentraland/kernel/apis/scene.gen.d.ts +1 -3
  50. package/out-js/decentraland/kernel/apis/scene.gen.js +1 -1
  51. package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -1
  52. package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +1 -3
  53. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +1 -1
  54. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -1
  55. package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +1 -3
  56. package/out-js/decentraland/kernel/apis/social_controller.gen.js +1 -1
  57. package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -1
  58. package/out-js/decentraland/kernel/apis/testing.gen.d.ts +426 -0
  59. package/out-js/decentraland/kernel/apis/testing.gen.js +603 -0
  60. package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -0
  61. package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +1 -3
  62. package/out-js/decentraland/kernel/apis/user_action_module.gen.js +1 -1
  63. package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -1
  64. package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +2 -6
  65. package/out-js/decentraland/kernel/apis/user_identity.gen.js +2 -2
  66. package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -1
  67. package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +1 -2
  68. package/out-js/decentraland/sdk/components/mesh_collider.gen.js +5 -6
  69. package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -1
  70. package/out-js/decentraland/social/friendships/friendships.gen.d.ts +4 -12
  71. package/out-js/decentraland/social/friendships/friendships.gen.js +4 -4
  72. package/out-js/decentraland/social/friendships/friendships.gen.js.map +1 -1
  73. package/out-ts/decentraland/bff/authentication_service.gen.ts +2 -2
  74. package/out-ts/decentraland/bff/comms_director_service.gen.ts +2 -2
  75. package/out-ts/decentraland/bff/comms_service.gen.ts +7 -7
  76. package/out-ts/decentraland/bff/http_endpoints.gen.ts +1 -1
  77. package/out-ts/decentraland/bff/topics_service.gen.ts +3 -3
  78. package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +1 -1
  79. package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +1 -1
  80. package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +6 -6
  81. package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +7 -7
  82. package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +5 -5
  83. package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +3 -3
  84. package/out-ts/decentraland/kernel/apis/permissions.gen.ts +2 -2
  85. package/out-ts/decentraland/kernel/apis/players.gen.ts +3 -3
  86. package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +4 -4
  87. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +7 -7
  88. package/out-ts/decentraland/kernel/apis/runtime.gen.ts +2 -2
  89. package/out-ts/decentraland/kernel/apis/scene.gen.ts +1 -1
  90. package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +1 -1
  91. package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +1 -1
  92. package/out-ts/decentraland/kernel/apis/testing.gen.ts +746 -0
  93. package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +1 -1
  94. package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +2 -2
  95. package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +5 -6
  96. package/out-ts/decentraland/social/friendships/friendships.gen.ts +4 -4
  97. package/package.json +2 -2
  98. package/proto/decentraland/kernel/apis/testing.proto +55 -0
  99. package/proto/decentraland/sdk/components/mesh_collider.proto +1 -1
  100. package/public/sdk-apis.proto +1 -0
@@ -122,7 +122,7 @@ export const UserActionModuleServiceDefinition = {
122
122
  requestStream: false,
123
123
  responseType: RequestTeleportResponse,
124
124
  responseStream: false,
125
- options: { _unknownFields: {} },
125
+ options: {},
126
126
  },
127
127
  },
128
128
  } as const;
@@ -230,7 +230,7 @@ export const UserIdentityServiceDefinition = {
230
230
  requestStream: false,
231
231
  responseType: GetUserPublicKeyResponse,
232
232
  responseStream: false,
233
- options: { _unknownFields: {} },
233
+ options: {},
234
234
  },
235
235
  getUserData: {
236
236
  name: "GetUserData",
@@ -238,7 +238,7 @@ export const UserIdentityServiceDefinition = {
238
238
  requestStream: false,
239
239
  responseType: GetUserDataResponse,
240
240
  responseStream: false,
241
- options: { _unknownFields: {} },
241
+ options: {},
242
242
  },
243
243
  },
244
244
  } as const;
@@ -11,8 +11,7 @@ export enum ColliderLayer {
11
11
  CL_POINTER = 1,
12
12
  /** CL_PHYSICS - collision affecting your player's physics i.e. walls, floor, moving platfroms */
13
13
  CL_PHYSICS = 2,
14
- /** CL_VISIBLE_MESHES - all visible meshes, use with extreme care since the performance penalty is high */
15
- CL_VISIBLE_MESHES = 4,
14
+ CL_RESERVED1 = 4,
16
15
  CL_RESERVED2 = 8,
17
16
  CL_RESERVED3 = 16,
18
17
  CL_RESERVED4 = 32,
@@ -41,8 +40,8 @@ export function colliderLayerFromJSON(object: any): ColliderLayer {
41
40
  case "CL_PHYSICS":
42
41
  return ColliderLayer.CL_PHYSICS;
43
42
  case 4:
44
- case "CL_VISIBLE_MESHES":
45
- return ColliderLayer.CL_VISIBLE_MESHES;
43
+ case "CL_RESERVED1":
44
+ return ColliderLayer.CL_RESERVED1;
46
45
  case 8:
47
46
  case "CL_RESERVED2":
48
47
  return ColliderLayer.CL_RESERVED2;
@@ -97,8 +96,8 @@ export function colliderLayerToJSON(object: ColliderLayer): string {
97
96
  return "CL_POINTER";
98
97
  case ColliderLayer.CL_PHYSICS:
99
98
  return "CL_PHYSICS";
100
- case ColliderLayer.CL_VISIBLE_MESHES:
101
- return "CL_VISIBLE_MESHES";
99
+ case ColliderLayer.CL_RESERVED1:
100
+ return "CL_RESERVED1";
102
101
  case ColliderLayer.CL_RESERVED2:
103
102
  return "CL_RESERVED2";
104
103
  case ColliderLayer.CL_RESERVED3:
@@ -1515,7 +1515,7 @@ export const FriendshipsServiceDefinition = {
1515
1515
  requestStream: false,
1516
1516
  responseType: Users,
1517
1517
  responseStream: true,
1518
- options: { _unknownFields: {} },
1518
+ options: {},
1519
1519
  },
1520
1520
  /** Get the list of request events for the authenticated user */
1521
1521
  getRequestEvents: {
@@ -1524,7 +1524,7 @@ export const FriendshipsServiceDefinition = {
1524
1524
  requestStream: false,
1525
1525
  responseType: RequestEvents,
1526
1526
  responseStream: false,
1527
- options: { _unknownFields: {} },
1527
+ options: {},
1528
1528
  },
1529
1529
  /** Update friendship status: REQUEST, ACCEPT, REJECT, CANCEL, DELETE */
1530
1530
  updateFriendshipEvent: {
@@ -1533,7 +1533,7 @@ export const FriendshipsServiceDefinition = {
1533
1533
  requestStream: false,
1534
1534
  responseType: UpdateFriendshipResponse,
1535
1535
  responseStream: false,
1536
- options: { _unknownFields: {} },
1536
+ options: {},
1537
1537
  },
1538
1538
  /**
1539
1539
  * Subscribe to updates of friendship status: REQUEST, ACCEPT, REJECT, CANCEL,
@@ -1545,7 +1545,7 @@ export const FriendshipsServiceDefinition = {
1545
1545
  requestStream: false,
1546
1546
  responseType: SubscribeFriendshipEventsUpdatesResponse,
1547
1547
  responseStream: true,
1548
- options: { _unknownFields: {} },
1548
+ options: {},
1549
1549
  },
1550
1550
  },
1551
1551
  } as const;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/protocol",
3
- "version": "1.0.0-4493564897.commit-c858f8a",
3
+ "version": "1.0.0-4596906552.commit-18a5668",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -26,5 +26,5 @@
26
26
  "out-js",
27
27
  "public"
28
28
  ],
29
- "commit": "c858f8a15323fd86a18474c8b650deea28507d3b"
29
+ "commit": "18a56686fceb9d300bae963e9bc6afb676412e4b"
30
30
  }
@@ -0,0 +1,55 @@
1
+ syntax = "proto3";
2
+ package decentraland.kernel.apis;
3
+
4
+ service TestingService {
5
+ // sends a test result to the test runner
6
+ rpc LogTestResult(TestResult) returns (TestResultResponse) {}
7
+ // send a list of all planned tests to the test runner
8
+ rpc Plan(TestPlan) returns (TestPlanResponse) {}
9
+ // sets the camera position and rotation in the engine
10
+ rpc SetCameraTransform (SetCameraTransformTestCommandResponse) returns (SetCameraTransformTestCommandResponse) {}
11
+ }
12
+
13
+
14
+ message TestResult {
15
+ string name = 1;
16
+ bool ok = 2;
17
+ optional string error = 3;
18
+ optional string stack = 4;
19
+
20
+ // how many ADR-148 ticks were spent running this test
21
+ uint32 total_frames = 5;
22
+
23
+ // total time in seconds spent running this test
24
+ float total_time = 6;
25
+ }
26
+ message TestResultResponse {}
27
+
28
+ message TestPlan {
29
+ message TestPlanEntry {
30
+ string name = 1;
31
+ }
32
+
33
+ repeated TestPlanEntry tests = 1;
34
+ }
35
+ message TestPlanResponse {}
36
+
37
+ message SetCameraPositionTestCommand {
38
+ Vector3 position = 1;
39
+ Quaternion rotation = 2;
40
+
41
+ message Vector3 {
42
+ float x = 1;
43
+ float y = 2;
44
+ float z = 3;
45
+ }
46
+
47
+ message Quaternion {
48
+ float x = 1;
49
+ float y = 2;
50
+ float z = 3;
51
+ float w = 4;
52
+ }
53
+ }
54
+ message SetCameraTransformTestCommandResponse {}
55
+
@@ -45,7 +45,7 @@ enum ColliderLayer {
45
45
  CL_NONE = 0; // no collisions
46
46
  CL_POINTER = 1; // collisions with the player's pointer ray (e.g. mouse cursor hovering)
47
47
  CL_PHYSICS = 2; // collision affecting your player's physics i.e. walls, floor, moving platfroms
48
- CL_VISIBLE_MESHES = 4; // all visible meshes, use with extreme care since the performance penalty is high
48
+ CL_RESERVED1 = 4;
49
49
  CL_RESERVED2 = 8;
50
50
  CL_RESERVED3 = 16;
51
51
  CL_RESERVED4 = 32;
@@ -16,6 +16,7 @@ import public "decentraland/kernel/apis/players.proto";
16
16
  import public "decentraland/kernel/apis/portable_experiences.proto";
17
17
  import public "decentraland/kernel/apis/restricted_actions.proto";
18
18
  import public "decentraland/kernel/apis/runtime.proto";
19
+ import public "decentraland/kernel/apis/testing.proto";
19
20
  import public "decentraland/kernel/apis/signed_fetch.proto";
20
21
  import public "decentraland/kernel/apis/social_controller.proto";
21
22
  import public "decentraland/kernel/apis/user_action_module.proto";