@dcl/protocol 1.0.0-3874844989.commit-d6daab3 → 1.0.0-3998437165.commit-16d59c3

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 (172) hide show
  1. package/out-js/bff-services.gen.d.ts +1 -0
  2. package/out-js/bff-services.gen.js +6 -0
  3. package/out-js/bff-services.gen.js.map +1 -0
  4. package/out-js/comms.gen.d.ts +1 -0
  5. package/out-js/comms.gen.js +6 -0
  6. package/out-js/comms.gen.js.map +1 -0
  7. package/out-js/decentraland/bff/authentication_service.gen.d.ts +197 -0
  8. package/out-js/decentraland/bff/authentication_service.gen.js +244 -0
  9. package/out-js/decentraland/bff/authentication_service.gen.js.map +1 -0
  10. package/out-js/decentraland/bff/comms_director_service.gen.d.ts +289 -0
  11. package/out-js/decentraland/bff/comms_director_service.gen.js +211 -0
  12. package/out-js/decentraland/bff/comms_director_service.gen.js.map +1 -0
  13. package/out-js/decentraland/bff/comms_service.gen.d.ts +348 -0
  14. package/out-js/decentraland/bff/comms_service.gen.js +167 -0
  15. package/out-js/decentraland/bff/comms_service.gen.js.map +1 -0
  16. package/out-js/decentraland/bff/http_endpoints.gen.d.ts +929 -0
  17. package/out-js/decentraland/bff/http_endpoints.gen.js +748 -0
  18. package/out-js/decentraland/bff/http_endpoints.gen.js.map +1 -0
  19. package/out-js/decentraland/bff/topics_service.gen.d.ts +272 -0
  20. package/out-js/decentraland/bff/topics_service.gen.js +354 -0
  21. package/out-js/decentraland/bff/topics_service.gen.js.map +1 -0
  22. package/out-js/decentraland/common/content_mapping.gen.d.ts +43 -0
  23. package/out-js/decentraland/common/content_mapping.gen.js +66 -0
  24. package/out-js/decentraland/common/content_mapping.gen.js.map +1 -0
  25. package/out-js/decentraland/common/entity.gen.d.ts +89 -0
  26. package/out-js/decentraland/common/entity.gen.js +107 -0
  27. package/out-js/decentraland/common/entity.gen.js.map +1 -0
  28. package/out-js/decentraland/common/sdk/user_data.gen.d.ts +215 -0
  29. package/out-js/decentraland/common/sdk/user_data.gen.js +264 -0
  30. package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -0
  31. package/out-js/decentraland/common/vectors.gen.d.ts +101 -0
  32. package/out-js/decentraland/common/vectors.gen.js +196 -0
  33. package/out-js/decentraland/common/vectors.gen.js.map +1 -0
  34. package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +85 -0
  35. package/out-js/decentraland/kernel/apis/communications_controller.gen.js +108 -0
  36. package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -0
  37. package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +94 -0
  38. package/out-js/decentraland/kernel/apis/dev_tools.gen.js +119 -0
  39. package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -0
  40. package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +4233 -0
  41. package/out-js/decentraland/kernel/apis/engine_api.gen.js +2271 -0
  42. package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -0
  43. package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +818 -0
  44. package/out-js/decentraland/kernel/apis/environment_api.gen.js +918 -0
  45. package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -0
  46. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +543 -0
  47. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +709 -0
  48. package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -0
  49. package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +591 -0
  50. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +454 -0
  51. package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -0
  52. package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +188 -0
  53. package/out-js/decentraland/kernel/apis/permissions.gen.js +304 -0
  54. package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -0
  55. package/out-js/decentraland/kernel/apis/players.gen.d.ts +537 -0
  56. package/out-js/decentraland/kernel/apis/players.gen.js +300 -0
  57. package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -0
  58. package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +384 -0
  59. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +454 -0
  60. package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -0
  61. package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +708 -0
  62. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +661 -0
  63. package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -0
  64. package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +238 -0
  65. package/out-js/decentraland/kernel/apis/runtime.gen.js +273 -0
  66. package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -0
  67. package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +344 -0
  68. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +378 -0
  69. package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -0
  70. package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +169 -0
  71. package/out-js/decentraland/kernel/apis/social_controller.gen.js +169 -0
  72. package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -0
  73. package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +85 -0
  74. package/out-js/decentraland/kernel/apis/user_action_module.gen.js +108 -0
  75. package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -0
  76. package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +401 -0
  77. package/out-js/decentraland/kernel/apis/user_identity.gen.js +197 -0
  78. package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -0
  79. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +636 -0
  80. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +684 -0
  81. package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -0
  82. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +663 -0
  83. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +749 -0
  84. package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -0
  85. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +803 -0
  86. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +940 -0
  87. package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -0
  88. package/out-js/decentraland/renderer/common/friend_request_common.gen.d.ts +69 -0
  89. package/out-js/decentraland/renderer/common/friend_request_common.gen.js +179 -0
  90. package/out-js/decentraland/renderer/common/friend_request_common.gen.js.map +1 -0
  91. package/out-js/decentraland/renderer/engine_interface.gen.d.ts +18476 -0
  92. package/out-js/decentraland/renderer/engine_interface.gen.js +7790 -0
  93. package/out-js/decentraland/renderer/engine_interface.gen.js.map +1 -0
  94. package/out-js/decentraland/renderer/kernel_services/analytics.gen.d.ts +670 -0
  95. package/out-js/decentraland/renderer/kernel_services/analytics.gen.js +846 -0
  96. package/out-js/decentraland/renderer/kernel_services/analytics.gen.js.map +1 -0
  97. package/out-js/decentraland/renderer/kernel_services/emotes_kernel.gen.d.ts +96 -0
  98. package/out-js/decentraland/renderer/kernel_services/emotes_kernel.gen.js +120 -0
  99. package/out-js/decentraland/renderer/kernel_services/emotes_kernel.gen.js.map +1 -0
  100. package/out-js/decentraland/renderer/kernel_services/friend_request_kernel.gen.d.ts +2326 -0
  101. package/out-js/decentraland/renderer/kernel_services/friend_request_kernel.gen.js +958 -0
  102. package/out-js/decentraland/renderer/kernel_services/friend_request_kernel.gen.js.map +1 -0
  103. package/out-js/decentraland/renderer/kernel_services/friends_kernel.gen.d.ts +111 -0
  104. package/out-js/decentraland/renderer/kernel_services/friends_kernel.gen.js +162 -0
  105. package/out-js/decentraland/renderer/kernel_services/friends_kernel.gen.js.map +1 -0
  106. package/out-js/decentraland/renderer/renderer_services/crdt.gen.d.ts +182 -0
  107. package/out-js/decentraland/renderer/renderer_services/crdt.gen.js +235 -0
  108. package/out-js/decentraland/renderer/renderer_services/crdt.gen.js.map +1 -0
  109. package/out-js/decentraland/renderer/renderer_services/emotes_renderer.gen.d.ts +87 -0
  110. package/out-js/decentraland/renderer/renderer_services/emotes_renderer.gen.js +109 -0
  111. package/out-js/decentraland/renderer/renderer_services/emotes_renderer.gen.js.map +1 -0
  112. package/out-js/decentraland/renderer/renderer_services/friend_request_renderer.gen.d.ts +335 -0
  113. package/out-js/decentraland/renderer/renderer_services/friend_request_renderer.gen.js +380 -0
  114. package/out-js/decentraland/renderer/renderer_services/friend_request_renderer.gen.js.map +1 -0
  115. package/out-js/decentraland/renderer/renderer_services/scene_controller.gen.d.ts +494 -0
  116. package/out-js/decentraland/renderer/renderer_services/scene_controller.gen.js +473 -0
  117. package/out-js/decentraland/renderer/renderer_services/scene_controller.gen.js.map +1 -0
  118. package/out-js/decentraland/renderer/renderer_services/transport.gen.d.ts +88 -0
  119. package/out-js/decentraland/renderer/renderer_services/transport.gen.js +114 -0
  120. package/out-js/decentraland/renderer/renderer_services/transport.gen.js.map +1 -0
  121. package/out-js/google/protobuf/empty.gen.d.ts +38 -0
  122. package/out-js/google/protobuf/empty.gen.js +46 -0
  123. package/out-js/google/protobuf/empty.gen.js.map +1 -0
  124. package/out-js/renderer-interface.gen.d.ts +1 -0
  125. package/out-js/renderer-interface.gen.js +6 -0
  126. package/out-js/renderer-interface.gen.js.map +1 -0
  127. package/out-js/sdk-apis.gen.d.ts +1 -0
  128. package/out-js/sdk-apis.gen.js +6 -0
  129. package/out-js/sdk-apis.gen.js.map +1 -0
  130. package/out-ts/decentraland/bff/authentication_service.gen.ts +16 -0
  131. package/out-ts/decentraland/bff/comms_director_service.gen.ts +12 -0
  132. package/out-ts/decentraland/bff/comms_service.gen.ts +8 -0
  133. package/out-ts/decentraland/bff/http_endpoints.gen.ts +38 -0
  134. package/out-ts/decentraland/bff/topics_service.gen.ts +22 -0
  135. package/out-ts/decentraland/common/content_mapping.gen.ts +4 -0
  136. package/out-ts/decentraland/common/entity.gen.ts +4 -0
  137. package/out-ts/decentraland/common/sdk/user_data.gen.ts +12 -0
  138. package/out-ts/decentraland/common/vectors.gen.ts +12 -0
  139. package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +8 -0
  140. package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +8 -0
  141. package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +132 -0
  142. package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +74 -0
  143. package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +50 -0
  144. package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +32 -0
  145. package/out-ts/decentraland/kernel/apis/permissions.gen.ts +16 -0
  146. package/out-ts/decentraland/kernel/apis/players.gen.ts +24 -0
  147. package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +40 -0
  148. package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +48 -0
  149. package/out-ts/decentraland/kernel/apis/runtime.gen.ts +336 -0
  150. package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +20 -0
  151. package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +12 -0
  152. package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +8 -0
  153. package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +16 -0
  154. package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +32 -0
  155. package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +40 -0
  156. package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +54 -0
  157. package/out-ts/decentraland/renderer/common/friend_request_common.gen.ts +4 -0
  158. package/out-ts/decentraland/renderer/engine_interface.gen.ts +264 -0
  159. package/out-ts/decentraland/renderer/kernel_services/analytics.gen.ts +42 -0
  160. package/out-ts/decentraland/renderer/kernel_services/emotes_kernel.gen.ts +8 -0
  161. package/out-ts/decentraland/renderer/kernel_services/friend_request_kernel.gen.ts +60 -0
  162. package/out-ts/decentraland/renderer/kernel_services/friends_kernel.gen.ts +8 -0
  163. package/out-ts/decentraland/renderer/renderer_services/crdt.gen.ts +12 -0
  164. package/out-ts/decentraland/renderer/renderer_services/emotes_renderer.gen.ts +12 -0
  165. package/out-ts/decentraland/renderer/renderer_services/friend_request_renderer.gen.ts +32 -0
  166. package/out-ts/decentraland/renderer/renderer_services/scene_controller.gen.ts +28 -0
  167. package/out-ts/decentraland/renderer/renderer_services/transport.gen.ts +4 -0
  168. package/out-ts/google/protobuf/empty.gen.ts +4 -0
  169. package/package.json +4 -3
  170. package/proto/decentraland/kernel/apis/environment_api.proto +2 -0
  171. package/proto/decentraland/kernel/apis/runtime.proto +29 -0
  172. package/public/sdk-apis.proto +1 -0
@@ -0,0 +1,114 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TransportServiceDefinition = exports.Payload = exports.protobufPackage = void 0;
7
+ /* eslint-disable */
8
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
9
+ exports.protobufPackage = "decentraland.renderer.renderer_services";
10
+ function createBasePayload() {
11
+ return { payload: new Uint8Array() };
12
+ }
13
+ exports.Payload = {
14
+ encode(message, writer = minimal_1.default.Writer.create()) {
15
+ if (message.payload.length !== 0) {
16
+ writer.uint32(10).bytes(message.payload);
17
+ }
18
+ return writer;
19
+ },
20
+ decode(input, length) {
21
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
22
+ let end = length === undefined ? reader.len : reader.pos + length;
23
+ const message = createBasePayload();
24
+ while (reader.pos < end) {
25
+ const tag = reader.uint32();
26
+ switch (tag >>> 3) {
27
+ case 1:
28
+ message.payload = reader.bytes();
29
+ break;
30
+ default:
31
+ reader.skipType(tag & 7);
32
+ break;
33
+ }
34
+ }
35
+ return message;
36
+ },
37
+ fromJSON(object) {
38
+ return { payload: isSet(object.payload) ? bytesFromBase64(object.payload) : new Uint8Array() };
39
+ },
40
+ toJSON(message) {
41
+ const obj = {};
42
+ message.payload !== undefined &&
43
+ (obj.payload = base64FromBytes(message.payload !== undefined ? message.payload : new Uint8Array()));
44
+ return obj;
45
+ },
46
+ create(base) {
47
+ return exports.Payload.fromPartial(base !== null && base !== void 0 ? base : {});
48
+ },
49
+ fromPartial(object) {
50
+ var _a;
51
+ const message = createBasePayload();
52
+ message.payload = (_a = object.payload) !== null && _a !== void 0 ? _a : new Uint8Array();
53
+ return message;
54
+ },
55
+ };
56
+ exports.TransportServiceDefinition = {
57
+ name: "TransportService",
58
+ fullName: "decentraland.renderer.renderer_services.TransportService",
59
+ methods: {
60
+ /** Bidirectional stream to exchange payloads */
61
+ openTransportStream: {
62
+ name: "OpenTransportStream",
63
+ requestType: exports.Payload,
64
+ requestStream: true,
65
+ responseType: exports.Payload,
66
+ responseStream: true,
67
+ options: {},
68
+ },
69
+ },
70
+ };
71
+ var tsProtoGlobalThis = (() => {
72
+ if (typeof globalThis !== "undefined") {
73
+ return globalThis;
74
+ }
75
+ if (typeof self !== "undefined") {
76
+ return self;
77
+ }
78
+ if (typeof window !== "undefined") {
79
+ return window;
80
+ }
81
+ if (typeof global !== "undefined") {
82
+ return global;
83
+ }
84
+ throw "Unable to locate global object";
85
+ })();
86
+ function bytesFromBase64(b64) {
87
+ if (tsProtoGlobalThis.Buffer) {
88
+ return Uint8Array.from(tsProtoGlobalThis.Buffer.from(b64, "base64"));
89
+ }
90
+ else {
91
+ const bin = tsProtoGlobalThis.atob(b64);
92
+ const arr = new Uint8Array(bin.length);
93
+ for (let i = 0; i < bin.length; ++i) {
94
+ arr[i] = bin.charCodeAt(i);
95
+ }
96
+ return arr;
97
+ }
98
+ }
99
+ function base64FromBytes(arr) {
100
+ if (tsProtoGlobalThis.Buffer) {
101
+ return tsProtoGlobalThis.Buffer.from(arr).toString("base64");
102
+ }
103
+ else {
104
+ const bin = [];
105
+ arr.forEach((byte) => {
106
+ bin.push(String.fromCharCode(byte));
107
+ });
108
+ return tsProtoGlobalThis.btoa(bin.join(""));
109
+ }
110
+ }
111
+ function isSet(value) {
112
+ return value !== null && value !== undefined;
113
+ }
114
+ //# sourceMappingURL=transport.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transport.gen.js","sourceRoot":"","sources":["../../../../out-ts/decentraland/renderer/renderer_services/transport.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEAAqC;AAExB,QAAA,eAAe,GAAG,yCAAyC,CAAC;AAMzE,SAAS,iBAAiB;IACxB,OAAO,EAAE,OAAO,EAAE,IAAI,UAAU,EAAE,EAAE,CAAC;AACvC,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,MAAM,CAAC,OAAgB,EAAE,SAAqB,iBAAG,CAAC,MAAM,CAAC,MAAM,EAAE;QAC/D,IAAI,OAAO,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE;YAChC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;SAC1C;QACD,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,MAAM,CAAC,KAA8B,EAAE,MAAe;QACpD,MAAM,MAAM,GAAG,KAAK,YAAY,iBAAG,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,iBAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC3E,IAAI,GAAG,GAAG,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,GAAG,MAAM,CAAC;QAClE,MAAM,OAAO,GAAG,iBAAiB,EAAE,CAAC;QACpC,OAAO,MAAM,CAAC,GAAG,GAAG,GAAG,EAAE;YACvB,MAAM,GAAG,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC;YAC5B,QAAQ,GAAG,KAAK,CAAC,EAAE;g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AC;KAC9D;SAAM;QACL,MAAM,GAAG,GAAa,EAAE,CAAC;QACzB,GAAG,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;YACnB,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC;QACtC,CAAC,CAAC,CAAC;QACH,OAAO,iBAAiB,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;KAC7C;AACH,CAAC;AAcD,SAAS,KAAK,CAAC,KAAU;IACvB,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC"}
@@ -0,0 +1,38 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "google.protobuf";
3
+ /**
4
+ * A generic empty message that you can re-use to avoid defining duplicated
5
+ * empty messages in your APIs. A typical example is to use it as the request
6
+ * or the response type of an API method. For instance:
7
+ *
8
+ * service Foo {
9
+ * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
10
+ * }
11
+ */
12
+ export interface Empty {
13
+ }
14
+ export declare const Empty: {
15
+ encode(_: Empty, writer?: _m0.Writer): _m0.Writer;
16
+ decode(input: _m0.Reader | Uint8Array, length?: number): Empty;
17
+ fromJSON(_: any): Empty;
18
+ toJSON(_: Empty): unknown;
19
+ create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I | undefined): Empty;
20
+ fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): Empty;
21
+ };
22
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
23
+ export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {
24
+ $case: string;
25
+ } ? {
26
+ [K in keyof Omit<T, "$case">]?: DeepPartial<T[K]>;
27
+ } & {
28
+ $case: T["$case"];
29
+ } : T extends {} ? {
30
+ [K in keyof T]?: DeepPartial<T[K]>;
31
+ } : Partial<T>;
32
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
33
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
34
+ [K in keyof P]: Exact<P[K], I[K]>;
35
+ } & {
36
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
37
+ };
38
+ export {};
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Empty = exports.protobufPackage = void 0;
7
+ /* eslint-disable */
8
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
9
+ exports.protobufPackage = "google.protobuf";
10
+ function createBaseEmpty() {
11
+ return {};
12
+ }
13
+ exports.Empty = {
14
+ encode(_, writer = minimal_1.default.Writer.create()) {
15
+ return writer;
16
+ },
17
+ decode(input, length) {
18
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
19
+ let end = length === undefined ? reader.len : reader.pos + length;
20
+ const message = createBaseEmpty();
21
+ while (reader.pos < end) {
22
+ const tag = reader.uint32();
23
+ switch (tag >>> 3) {
24
+ default:
25
+ reader.skipType(tag & 7);
26
+ break;
27
+ }
28
+ }
29
+ return message;
30
+ },
31
+ fromJSON(_) {
32
+ return {};
33
+ },
34
+ toJSON(_) {
35
+ const obj = {};
36
+ return obj;
37
+ },
38
+ create(base) {
39
+ return exports.Empty.fromPartial(base !== null && base !== void 0 ? base : {});
40
+ },
41
+ fromPartial(_) {
42
+ const message = createBaseEmpty();
43
+ return message;
44
+ },
45
+ };
46
+ //# sourceMappingURL=empty.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"empty.gen.js","sourceRoot":"","sources":["../../../out-ts/google/protobuf/empty.gen.ts"],"names":[],"mappings":";;;;;;AAAA,oBAAoB;AACpB,iEA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C;IACjB,CAAC;CACF,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const protobufPackage = "";
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.protobufPackage = void 0;
5
+ exports.protobufPackage = "";
6
+ //# sourceMappingURL=renderer-interface.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderer-interface.gen.js","sourceRoot":"","sources":["../out-ts/renderer-interface.gen.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAEP,QAAA,eAAe,GAAG,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const protobufPackage = "decentraland.sdk";
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ /* eslint-disable */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.protobufPackage = void 0;
5
+ exports.protobufPackage = "decentraland.sdk";
6
+ //# sourceMappingURL=sdk-apis.gen.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sdk-apis.gen.js","sourceRoot":"","sources":["../out-ts/sdk-apis.gen.ts"],"names":[],"mappings":";AAAA,oBAAoB;;;AAEP,QAAA,eAAe,GAAG,kBAAkB,CAAC"}
@@ -62,6 +62,10 @@ export const GetChallengeRequest = {
62
62
  return obj;
63
63
  },
64
64
 
65
+ create<I extends Exact<DeepPartial<GetChallengeRequest>, I>>(base?: I): GetChallengeRequest {
66
+ return GetChallengeRequest.fromPartial(base ?? {});
67
+ },
68
+
65
69
  fromPartial<I extends Exact<DeepPartial<GetChallengeRequest>, I>>(object: I): GetChallengeRequest {
66
70
  const message = createBaseGetChallengeRequest();
67
71
  message.address = object.address ?? "";
@@ -119,6 +123,10 @@ export const GetChallengeResponse = {
119
123
  return obj;
120
124
  },
121
125
 
126
+ create<I extends Exact<DeepPartial<GetChallengeResponse>, I>>(base?: I): GetChallengeResponse {
127
+ return GetChallengeResponse.fromPartial(base ?? {});
128
+ },
129
+
122
130
  fromPartial<I extends Exact<DeepPartial<GetChallengeResponse>, I>>(object: I): GetChallengeResponse {
123
131
  const message = createBaseGetChallengeResponse();
124
132
  message.challengeToSign = object.challengeToSign ?? "";
@@ -167,6 +175,10 @@ export const SignedChallenge = {
167
175
  return obj;
168
176
  },
169
177
 
178
+ create<I extends Exact<DeepPartial<SignedChallenge>, I>>(base?: I): SignedChallenge {
179
+ return SignedChallenge.fromPartial(base ?? {});
180
+ },
181
+
170
182
  fromPartial<I extends Exact<DeepPartial<SignedChallenge>, I>>(object: I): SignedChallenge {
171
183
  const message = createBaseSignedChallenge();
172
184
  message.authChainJson = object.authChainJson ?? "";
@@ -230,6 +242,10 @@ export const WelcomePeerInformation = {
230
242
  return obj;
231
243
  },
232
244
 
245
+ create<I extends Exact<DeepPartial<WelcomePeerInformation>, I>>(base?: I): WelcomePeerInformation {
246
+ return WelcomePeerInformation.fromPartial(base ?? {});
247
+ },
248
+
233
249
  fromPartial<I extends Exact<DeepPartial<WelcomePeerInformation>, I>>(object: I): WelcomePeerInformation {
234
250
  const message = createBaseWelcomePeerInformation();
235
251
  message.peerId = object.peerId ?? "";
@@ -67,6 +67,10 @@ export const WorldCommand = {
67
67
  return obj;
68
68
  },
69
69
 
70
+ create<I extends Exact<DeepPartial<WorldCommand>, I>>(base?: I): WorldCommand {
71
+ return WorldCommand.fromPartial(base ?? {});
72
+ },
73
+
70
74
  fromPartial<I extends Exact<DeepPartial<WorldCommand>, I>>(object: I): WorldCommand {
71
75
  const message = createBaseWorldCommand();
72
76
  if (
@@ -123,6 +127,10 @@ export const SetCommsAdapter = {
123
127
  return obj;
124
128
  },
125
129
 
130
+ create<I extends Exact<DeepPartial<SetCommsAdapter>, I>>(base?: I): SetCommsAdapter {
131
+ return SetCommsAdapter.fromPartial(base ?? {});
132
+ },
133
+
126
134
  fromPartial<I extends Exact<DeepPartial<SetCommsAdapter>, I>>(object: I): SetCommsAdapter {
127
135
  const message = createBaseSetCommsAdapter();
128
136
  message.connectionString = object.connectionString ?? "";
@@ -180,6 +188,10 @@ export const Heartbeat = {
180
188
  return obj;
181
189
  },
182
190
 
191
+ create<I extends Exact<DeepPartial<Heartbeat>, I>>(base?: I): Heartbeat {
192
+ return Heartbeat.fromPartial(base ?? {});
193
+ },
194
+
183
195
  fromPartial<I extends Exact<DeepPartial<Heartbeat>, I>>(object: I): Heartbeat {
184
196
  const message = createBaseHeartbeat();
185
197
  message.position = (object.position !== undefined && object.position !== null)
@@ -58,6 +58,10 @@ export const Subscription = {
58
58
  return obj;
59
59
  },
60
60
 
61
+ create<I extends Exact<DeepPartial<Subscription>, I>>(base?: I): Subscription {
62
+ return Subscription.fromPartial(base ?? {});
63
+ },
64
+
61
65
  fromPartial<I extends Exact<DeepPartial<Subscription>, I>>(object: I): Subscription {
62
66
  const message = createBaseSubscription();
63
67
  message.subscriptionId = object.subscriptionId ?? 0;
@@ -105,6 +109,10 @@ export const UnsubscriptionResult = {
105
109
  return obj;
106
110
  },
107
111
 
112
+ create<I extends Exact<DeepPartial<UnsubscriptionResult>, I>>(base?: I): UnsubscriptionResult {
113
+ return UnsubscriptionResult.fromPartial(base ?? {});
114
+ },
115
+
108
116
  fromPartial<I extends Exact<DeepPartial<UnsubscriptionResult>, I>>(object: I): UnsubscriptionResult {
109
117
  const message = createBaseUnsubscriptionResult();
110
118
  message.ok = object.ok ?? false;
@@ -188,6 +188,10 @@ export const AboutResponse = {
188
188
  return obj;
189
189
  },
190
190
 
191
+ create<I extends Exact<DeepPartial<AboutResponse>, I>>(base?: I): AboutResponse {
192
+ return AboutResponse.fromPartial(base ?? {});
193
+ },
194
+
191
195
  fromPartial<I extends Exact<DeepPartial<AboutResponse>, I>>(object: I): AboutResponse {
192
196
  const message = createBaseAboutResponse();
193
197
  message.healthy = object.healthy ?? false;
@@ -269,6 +273,12 @@ export const AboutResponse_MinimapConfiguration = {
269
273
  return obj;
270
274
  },
271
275
 
276
+ create<I extends Exact<DeepPartial<AboutResponse_MinimapConfiguration>, I>>(
277
+ base?: I,
278
+ ): AboutResponse_MinimapConfiguration {
279
+ return AboutResponse_MinimapConfiguration.fromPartial(base ?? {});
280
+ },
281
+
272
282
  fromPartial<I extends Exact<DeepPartial<AboutResponse_MinimapConfiguration>, I>>(
273
283
  object: I,
274
284
  ): AboutResponse_MinimapConfiguration {
@@ -320,6 +330,12 @@ export const AboutResponse_SkyboxConfiguration = {
320
330
  return obj;
321
331
  },
322
332
 
333
+ create<I extends Exact<DeepPartial<AboutResponse_SkyboxConfiguration>, I>>(
334
+ base?: I,
335
+ ): AboutResponse_SkyboxConfiguration {
336
+ return AboutResponse_SkyboxConfiguration.fromPartial(base ?? {});
337
+ },
338
+
323
339
  fromPartial<I extends Exact<DeepPartial<AboutResponse_SkyboxConfiguration>, I>>(
324
340
  object: I,
325
341
  ): AboutResponse_SkyboxConfiguration {
@@ -439,6 +455,12 @@ export const AboutResponse_AboutConfiguration = {
439
455
  return obj;
440
456
  },
441
457
 
458
+ create<I extends Exact<DeepPartial<AboutResponse_AboutConfiguration>, I>>(
459
+ base?: I,
460
+ ): AboutResponse_AboutConfiguration {
461
+ return AboutResponse_AboutConfiguration.fromPartial(base ?? {});
462
+ },
463
+
442
464
  fromPartial<I extends Exact<DeepPartial<AboutResponse_AboutConfiguration>, I>>(
443
465
  object: I,
444
466
  ): AboutResponse_AboutConfiguration {
@@ -524,6 +546,10 @@ export const AboutResponse_ContentInfo = {
524
546
  return obj;
525
547
  },
526
548
 
549
+ create<I extends Exact<DeepPartial<AboutResponse_ContentInfo>, I>>(base?: I): AboutResponse_ContentInfo {
550
+ return AboutResponse_ContentInfo.fromPartial(base ?? {});
551
+ },
552
+
527
553
  fromPartial<I extends Exact<DeepPartial<AboutResponse_ContentInfo>, I>>(object: I): AboutResponse_ContentInfo {
528
554
  const message = createBaseAboutResponse_ContentInfo();
529
555
  message.healthy = object.healthy ?? false;
@@ -600,6 +626,10 @@ export const AboutResponse_LambdasInfo = {
600
626
  return obj;
601
627
  },
602
628
 
629
+ create<I extends Exact<DeepPartial<AboutResponse_LambdasInfo>, I>>(base?: I): AboutResponse_LambdasInfo {
630
+ return AboutResponse_LambdasInfo.fromPartial(base ?? {});
631
+ },
632
+
603
633
  fromPartial<I extends Exact<DeepPartial<AboutResponse_LambdasInfo>, I>>(object: I): AboutResponse_LambdasInfo {
604
634
  const message = createBaseAboutResponse_LambdasInfo();
605
635
  message.healthy = object.healthy ?? false;
@@ -708,6 +738,10 @@ export const AboutResponse_CommsInfo = {
708
738
  return obj;
709
739
  },
710
740
 
741
+ create<I extends Exact<DeepPartial<AboutResponse_CommsInfo>, I>>(base?: I): AboutResponse_CommsInfo {
742
+ return AboutResponse_CommsInfo.fromPartial(base ?? {});
743
+ },
744
+
711
745
  fromPartial<I extends Exact<DeepPartial<AboutResponse_CommsInfo>, I>>(object: I): AboutResponse_CommsInfo {
712
746
  const message = createBaseAboutResponse_CommsInfo();
713
747
  message.healthy = object.healthy ?? false;
@@ -810,6 +844,10 @@ export const AboutResponse_BffInfo = {
810
844
  return obj;
811
845
  },
812
846
 
847
+ create<I extends Exact<DeepPartial<AboutResponse_BffInfo>, I>>(base?: I): AboutResponse_BffInfo {
848
+ return AboutResponse_BffInfo.fromPartial(base ?? {});
849
+ },
850
+
813
851
  fromPartial<I extends Exact<DeepPartial<AboutResponse_BffInfo>, I>>(object: I): AboutResponse_BffInfo {
814
852
  const message = createBaseAboutResponse_BffInfo();
815
853
  message.healthy = object.healthy ?? false;
@@ -67,6 +67,10 @@ export const SubscriptionRequest = {
67
67
  return obj;
68
68
  },
69
69
 
70
+ create<I extends Exact<DeepPartial<SubscriptionRequest>, I>>(base?: I): SubscriptionRequest {
71
+ return SubscriptionRequest.fromPartial(base ?? {});
72
+ },
73
+
70
74
  fromPartial<I extends Exact<DeepPartial<SubscriptionRequest>, I>>(object: I): SubscriptionRequest {
71
75
  const message = createBaseSubscriptionRequest();
72
76
  message.topic = object.topic ?? "";
@@ -133,6 +137,10 @@ export const PeerTopicSubscriptionResultElem = {
133
137
  return obj;
134
138
  },
135
139
 
140
+ create<I extends Exact<DeepPartial<PeerTopicSubscriptionResultElem>, I>>(base?: I): PeerTopicSubscriptionResultElem {
141
+ return PeerTopicSubscriptionResultElem.fromPartial(base ?? {});
142
+ },
143
+
136
144
  fromPartial<I extends Exact<DeepPartial<PeerTopicSubscriptionResultElem>, I>>(
137
145
  object: I,
138
146
  ): PeerTopicSubscriptionResultElem {
@@ -195,6 +203,12 @@ export const SystemTopicSubscriptionResultElem = {
195
203
  return obj;
196
204
  },
197
205
 
206
+ create<I extends Exact<DeepPartial<SystemTopicSubscriptionResultElem>, I>>(
207
+ base?: I,
208
+ ): SystemTopicSubscriptionResultElem {
209
+ return SystemTopicSubscriptionResultElem.fromPartial(base ?? {});
210
+ },
211
+
198
212
  fromPartial<I extends Exact<DeepPartial<SystemTopicSubscriptionResultElem>, I>>(
199
213
  object: I,
200
214
  ): SystemTopicSubscriptionResultElem {
@@ -256,6 +270,10 @@ export const PublishToTopicRequest = {
256
270
  return obj;
257
271
  },
258
272
 
273
+ create<I extends Exact<DeepPartial<PublishToTopicRequest>, I>>(base?: I): PublishToTopicRequest {
274
+ return PublishToTopicRequest.fromPartial(base ?? {});
275
+ },
276
+
259
277
  fromPartial<I extends Exact<DeepPartial<PublishToTopicRequest>, I>>(object: I): PublishToTopicRequest {
260
278
  const message = createBasePublishToTopicRequest();
261
279
  message.topic = object.topic ?? "";
@@ -304,6 +322,10 @@ export const PublishToTopicResult = {
304
322
  return obj;
305
323
  },
306
324
 
325
+ create<I extends Exact<DeepPartial<PublishToTopicResult>, I>>(base?: I): PublishToTopicResult {
326
+ return PublishToTopicResult.fromPartial(base ?? {});
327
+ },
328
+
307
329
  fromPartial<I extends Exact<DeepPartial<PublishToTopicResult>, I>>(object: I): PublishToTopicResult {
308
330
  const message = createBasePublishToTopicResult();
309
331
  message.ok = object.ok ?? false;
@@ -55,6 +55,10 @@ export const ContentMapping = {
55
55
  return obj;
56
56
  },
57
57
 
58
+ create<I extends Exact<DeepPartial<ContentMapping>, I>>(base?: I): ContentMapping {
59
+ return ContentMapping.fromPartial(base ?? {});
60
+ },
61
+
58
62
  fromPartial<I extends Exact<DeepPartial<ContentMapping>, I>>(object: I): ContentMapping {
59
63
  const message = createBaseContentMapping();
60
64
  message.file = object.file ?? "";
@@ -94,6 +94,10 @@ export const Entity = {
94
94
  return obj;
95
95
  },
96
96
 
97
+ create<I extends Exact<DeepPartial<Entity>, I>>(base?: I): Entity {
98
+ return Entity.fromPartial(base ?? {});
99
+ },
100
+
97
101
  fromPartial<I extends Exact<DeepPartial<Entity>, I>>(object: I): Entity {
98
102
  const message = createBaseEntity();
99
103
  message.id = object.id ?? "";
@@ -76,6 +76,10 @@ export const Snapshots = {
76
76
  return obj;
77
77
  },
78
78
 
79
+ create<I extends Exact<DeepPartial<Snapshots>, I>>(base?: I): Snapshots {
80
+ return Snapshots.fromPartial(base ?? {});
81
+ },
82
+
79
83
  fromPartial<I extends Exact<DeepPartial<Snapshots>, I>>(object: I): Snapshots {
80
84
  const message = createBaseSnapshots();
81
85
  message.face256 = object.face256 ?? "";
@@ -171,6 +175,10 @@ export const AvatarForUserData = {
171
175
  return obj;
172
176
  },
173
177
 
178
+ create<I extends Exact<DeepPartial<AvatarForUserData>, I>>(base?: I): AvatarForUserData {
179
+ return AvatarForUserData.fromPartial(base ?? {});
180
+ },
181
+
174
182
  fromPartial<I extends Exact<DeepPartial<AvatarForUserData>, I>>(object: I): AvatarForUserData {
175
183
  const message = createBaseAvatarForUserData();
176
184
  message.bodyShape = object.bodyShape ?? "";
@@ -268,6 +276,10 @@ export const UserData = {
268
276
  return obj;
269
277
  },
270
278
 
279
+ create<I extends Exact<DeepPartial<UserData>, I>>(base?: I): UserData {
280
+ return UserData.fromPartial(base ?? {});
281
+ },
282
+
271
283
  fromPartial<I extends Exact<DeepPartial<UserData>, I>>(object: I): UserData {
272
284
  const message = createBaseUserData();
273
285
  message.displayName = object.displayName ?? "";
@@ -78,6 +78,10 @@ export const Position = {
78
78
  return obj;
79
79
  },
80
80
 
81
+ create<I extends Exact<DeepPartial<Position>, I>>(base?: I): Position {
82
+ return Position.fromPartial(base ?? {});
83
+ },
84
+
81
85
  fromPartial<I extends Exact<DeepPartial<Position>, I>>(object: I): Position {
82
86
  const message = createBasePosition();
83
87
  message.x = object.x ?? 0;
@@ -145,6 +149,10 @@ export const Vector3 = {
145
149
  return obj;
146
150
  },
147
151
 
152
+ create<I extends Exact<DeepPartial<Vector3>, I>>(base?: I): Vector3 {
153
+ return Vector3.fromPartial(base ?? {});
154
+ },
155
+
148
156
  fromPartial<I extends Exact<DeepPartial<Vector3>, I>>(object: I): Vector3 {
149
157
  const message = createBaseVector3();
150
158
  message.x = object.x ?? 0;
@@ -201,6 +209,10 @@ export const Vector2 = {
201
209
  return obj;
202
210
  },
203
211
 
212
+ create<I extends Exact<DeepPartial<Vector2>, I>>(base?: I): Vector2 {
213
+ return Vector2.fromPartial(base ?? {});
214
+ },
215
+
204
216
  fromPartial<I extends Exact<DeepPartial<Vector2>, I>>(object: I): Vector2 {
205
217
  const message = createBaseVector2();
206
218
  message.x = object.x ?? 0;
@@ -50,6 +50,10 @@ export const RealSendRequest = {
50
50
  return obj;
51
51
  },
52
52
 
53
+ create<I extends Exact<DeepPartial<RealSendRequest>, I>>(base?: I): RealSendRequest {
54
+ return RealSendRequest.fromPartial(base ?? {});
55
+ },
56
+
53
57
  fromPartial<I extends Exact<DeepPartial<RealSendRequest>, I>>(object: I): RealSendRequest {
54
58
  const message = createBaseRealSendRequest();
55
59
  message.message = object.message ?? "";
@@ -90,6 +94,10 @@ export const RealSendResponse = {
90
94
  return obj;
91
95
  },
92
96
 
97
+ create<I extends Exact<DeepPartial<RealSendResponse>, I>>(base?: I): RealSendResponse {
98
+ return RealSendResponse.fromPartial(base ?? {});
99
+ },
100
+
93
101
  fromPartial<I extends Exact<DeepPartial<RealSendResponse>, I>>(_: I): RealSendResponse {
94
102
  const message = createBaseRealSendResponse();
95
103
  return message;
@@ -61,6 +61,10 @@ export const DevToolsBody = {
61
61
  return obj;
62
62
  },
63
63
 
64
+ create<I extends Exact<DeepPartial<DevToolsBody>, I>>(base?: I): DevToolsBody {
65
+ return DevToolsBody.fromPartial(base ?? {});
66
+ },
67
+
64
68
  fromPartial<I extends Exact<DeepPartial<DevToolsBody>, I>>(object: I): DevToolsBody {
65
69
  const message = createBaseDevToolsBody();
66
70
  message.type = object.type ?? "";
@@ -102,6 +106,10 @@ export const EventResponse = {
102
106
  return obj;
103
107
  },
104
108
 
109
+ create<I extends Exact<DeepPartial<EventResponse>, I>>(base?: I): EventResponse {
110
+ return EventResponse.fromPartial(base ?? {});
111
+ },
112
+
105
113
  fromPartial<I extends Exact<DeepPartial<EventResponse>, I>>(_: I): EventResponse {
106
114
  const message = createBaseEventResponse();
107
115
  return message;