@dcl/protocol 1.0.0-10043247792.commit-428d1eb
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/LICENSE +201 -0
- package/README.md +69 -0
- package/out-js/about.gen.d.ts +1 -0
- package/out-js/about.gen.js +6 -0
- package/out-js/about.gen.js.map +1 -0
- package/out-js/comms.gen.d.ts +1 -0
- package/out-js/comms.gen.js +6 -0
- package/out-js/comms.gen.js.map +1 -0
- package/out-js/decentraland/common/border_rect.gen.d.ts +49 -0
- package/out-js/decentraland/common/border_rect.gen.js +201 -0
- package/out-js/decentraland/common/border_rect.gen.js.map +1 -0
- package/out-js/decentraland/common/colors.gen.d.ts +46 -0
- package/out-js/decentraland/common/colors.gen.js +189 -0
- package/out-js/decentraland/common/colors.gen.js.map +1 -0
- package/out-js/decentraland/common/content_mapping.gen.d.ts +31 -0
- package/out-js/decentraland/common/content_mapping.gen.js +80 -0
- package/out-js/decentraland/common/content_mapping.gen.js.map +1 -0
- package/out-js/decentraland/common/sdk/user_data.gen.d.ts +63 -0
- package/out-js/decentraland/common/sdk/user_data.gen.js +330 -0
- package/out-js/decentraland/common/sdk/user_data.gen.js.map +1 -0
- package/out-js/decentraland/common/texture.gen.d.ts +100 -0
- package/out-js/decentraland/common/texture.gen.js +446 -0
- package/out-js/decentraland/common/texture.gen.js.map +1 -0
- package/out-js/decentraland/common/vectors.gen.d.ts +71 -0
- package/out-js/decentraland/common/vectors.gen.js +338 -0
- package/out-js/decentraland/common/vectors.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.d.ts +76 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js +257 -0
- package/out-js/decentraland/kernel/apis/comms_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.d.ts +89 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js +301 -0
- package/out-js/decentraland/kernel/apis/communications_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.d.ts +58 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js +142 -0
- package/out-js/decentraland/kernel/apis/dev_tools.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.d.ts +338 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.js +1452 -0
- package/out-js/decentraland/kernel/apis/engine_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.d.ts +283 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.js +1122 -0
- package/out-js/decentraland/kernel/apis/environment_api.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.d.ts +225 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js +878 -0
- package/out-js/decentraland/kernel/apis/ethereum_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.d.ts +146 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js +557 -0
- package/out-js/decentraland/kernel/apis/parcel_identity.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.d.ts +100 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.js +360 -0
- package/out-js/decentraland/kernel/apis/permissions.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/players.gen.d.ts +127 -0
- package/out-js/decentraland/kernel/apis/players.gen.js +372 -0
- package/out-js/decentraland/kernel/apis/players.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.d.ts +178 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js +607 -0
- package/out-js/decentraland/kernel/apis/portable_experiences.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.d.ts +244 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js +824 -0
- package/out-js/decentraland/kernel/apis/restricted_actions.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.d.ts +217 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.js +801 -0
- package/out-js/decentraland/kernel/apis/runtime.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/scene.gen.d.ts +59 -0
- package/out-js/decentraland/kernel/apis/scene.gen.js +171 -0
- package/out-js/decentraland/kernel/apis/scene.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.d.ts +139 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js +615 -0
- package/out-js/decentraland/kernel/apis/signed_fetch.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.d.ts +72 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.js +207 -0
- package/out-js/decentraland/kernel/apis/social_controller.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/testing.gen.d.ts +249 -0
- package/out-js/decentraland/kernel/apis/testing.gen.js +1073 -0
- package/out-js/decentraland/kernel/apis/testing.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.d.ts +56 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js +128 -0
- package/out-js/decentraland/kernel/apis/user_action_module.gen.js.map +1 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.d.ts +86 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.js +236 -0
- package/out-js/decentraland/kernel/apis/user_identity.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.d.ts +213 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js +1282 -0
- package/out-js/decentraland/kernel/comms/rfc4/comms.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.d.ts +183 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js +906 -0
- package/out-js/decentraland/kernel/comms/rfc5/ws_comms.gen.js.map +1 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.d.ts +224 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js +1204 -0
- package/out-js/decentraland/kernel/comms/v3/archipelago.gen.js.map +1 -0
- package/out-js/decentraland/quests/definitions.gen.d.ts +541 -0
- package/out-js/decentraland/quests/definitions.gen.js +2728 -0
- package/out-js/decentraland/quests/definitions.gen.js.map +1 -0
- package/out-js/decentraland/realm/about.gen.d.ts +150 -0
- package/out-js/decentraland/realm/about.gen.js +914 -0
- package/out-js/decentraland/realm/about.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/animator.gen.d.ts +62 -0
- package/out-js/decentraland/sdk/components/animator.gen.js +192 -0
- package/out-js/decentraland/sdk/components/animator.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.d.ts +61 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.js +151 -0
- package/out-js/decentraland/sdk/components/audio_source.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.d.ts +40 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js +95 -0
- package/out-js/decentraland/sdk/components/audio_stream.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.d.ts +76 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js +262 -0
- package/out-js/decentraland/sdk/components/avatar_attach.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js +129 -0
- package/out-js/decentraland/sdk/components/avatar_base.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.d.ts +37 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js +95 -0
- package/out-js/decentraland/sdk/components/avatar_emote_command.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js +90 -0
- package/out-js/decentraland/sdk/components/avatar_equipped_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.d.ts +60 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js +153 -0
- package/out-js/decentraland/sdk/components/avatar_modifier_area.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.d.ts +72 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js +251 -0
- package/out-js/decentraland/sdk/components/avatar_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/billboard.gen.d.ts +54 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js +128 -0
- package/out-js/decentraland/sdk/components/billboard.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.d.ts +36 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.js +70 -0
- package/out-js/decentraland/sdk/components/camera_mode.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.d.ts +48 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js +85 -0
- package/out-js/decentraland/sdk/components/camera_mode_area.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.d.ts +10 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js +46 -0
- package/out-js/decentraland/sdk/components/common/camera_type.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/id.gen.d.ts +1 -0
- package/out-js/decentraland/sdk/components/common/id.gen.js +6 -0
- package/out-js/decentraland/sdk/components/common/id.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.d.ts +30 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js +157 -0
- package/out-js/decentraland/sdk/components/common/input_action.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.d.ts +11 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js +57 -0
- package/out-js/decentraland/sdk/components/common/loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.d.ts +45 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js +163 -0
- package/out-js/decentraland/sdk/components/common/raycast_hit.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.d.ts +23 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.js +120 -0
- package/out-js/decentraland/sdk/components/common/texts.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js +95 -0
- package/out-js/decentraland/sdk/components/engine_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.js +101 -0
- package/out-js/decentraland/sdk/components/gltf_container.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js +70 -0
- package/out-js/decentraland/sdk/components/gltf_container_loading_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/material.gen.d.ts +106 -0
- package/out-js/decentraland/sdk/components/material.gen.js +515 -0
- package/out-js/decentraland/sdk/components/material.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.d.ts +128 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js +469 -0
- package/out-js/decentraland/sdk/components/mesh_collider.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.d.ts +104 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js +382 -0
- package/out-js/decentraland/sdk/components/mesh_renderer.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.d.ts +74 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.js +259 -0
- package/out-js/decentraland/sdk/components/nft_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.d.ts +37 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js +83 -0
- package/out-js/decentraland/sdk/components/player_identity_data.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.d.ts +79 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js +247 -0
- package/out-js/decentraland/sdk/components/pointer_events.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.d.ts +42 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js +133 -0
- package/out-js/decentraland/sdk/components/pointer_events_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js +69 -0
- package/out-js/decentraland/sdk/components/pointer_lock.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/raycast.gen.d.ts +79 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js +274 -0
- package/out-js/decentraland/sdk/components/raycast.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.d.ts +48 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.js +132 -0
- package/out-js/decentraland/sdk/components/raycast_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.d.ts +35 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js +131 -0
- package/out-js/decentraland/sdk/components/realm_info.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.d.ts +81 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js +345 -0
- package/out-js/decentraland/sdk/components/text_shape.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween.gen.d.ts +125 -0
- package/out-js/decentraland/sdk/components/tween.gen.js +598 -0
- package/out-js/decentraland/sdk/components/tween.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.d.ts +39 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js +122 -0
- package/out-js/decentraland/sdk/components/tween_sequence.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.d.ts +40 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js +122 -0
- package/out-js/decentraland/sdk/components/tween_state.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.d.ts +63 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.js +197 -0
- package/out-js/decentraland/sdk/components/ui_background.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.d.ts +45 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js +187 -0
- package/out-js/decentraland/sdk/components/ui_dropdown.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.d.ts +30 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js +69 -0
- package/out-js/decentraland/sdk/components/ui_dropdown_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.d.ts +44 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js +172 -0
- package/out-js/decentraland/sdk/components/ui_input.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.d.ts +32 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js +83 -0
- package/out-js/decentraland/sdk/components/ui_input_result.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.d.ts +50 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js +177 -0
- package/out-js/decentraland/sdk/components/ui_text.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.d.ts +204 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js +1210 -0
- package/out-js/decentraland/sdk/components/ui_transform.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/video_player.gen.d.ts +41 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js +138 -0
- package/out-js/decentraland/sdk/components/video_player.gen.js.map +1 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.d.ts +31 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js +69 -0
- package/out-js/decentraland/sdk/components/visibility_component.gen.js.map +1 -0
- package/out-js/decentraland/sdk/development/local_development.gen.d.ts +70 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js +283 -0
- package/out-js/decentraland/sdk/development/local_development.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.d.ts +1005 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js +7842 -0
- package/out-js/decentraland/sdk/ecs6/components_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.d.ts +398 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js +2512 -0
- package/out-js/decentraland/sdk/ecs6/engine_interface_ecs6.gen.js.map +1 -0
- package/out-js/decentraland/social/friendships/friendships.gen.d.ts +500 -0
- package/out-js/decentraland/social/friendships/friendships.gen.js +2517 -0
- package/out-js/decentraland/social/friendships/friendships.gen.js.map +1 -0
- package/out-js/decentraland/social_service_v2/social_service.gen.d.ts +357 -0
- package/out-js/decentraland/social_service_v2/social_service.gen.js +1554 -0
- package/out-js/decentraland/social_service_v2/social_service.gen.js.map +1 -0
- package/out-js/google/protobuf/descriptor.gen.d.ts +436 -0
- package/out-js/google/protobuf/descriptor.gen.js +3173 -0
- package/out-js/google/protobuf/descriptor.gen.js.map +1 -0
- package/out-js/google/protobuf/empty.gen.d.ts +38 -0
- package/out-js/google/protobuf/empty.gen.js +54 -0
- package/out-js/google/protobuf/empty.gen.js.map +1 -0
- package/out-js/quests.gen.d.ts +1 -0
- package/out-js/quests.gen.js +6 -0
- package/out-js/quests.gen.js.map +1 -0
- package/out-js/sdk-apis.gen.d.ts +1 -0
- package/out-js/sdk-apis.gen.js +6 -0
- package/out-js/sdk-apis.gen.js.map +1 -0
- package/out-js/sdk-components.gen.d.ts +1 -0
- package/out-js/sdk-components.gen.js +6 -0
- package/out-js/sdk-components.gen.js.map +1 -0
- package/out-js/sdk-development.gen.d.ts +1 -0
- package/out-js/sdk-development.gen.js +6 -0
- package/out-js/sdk-development.gen.js.map +1 -0
- package/out-js/social.gen.d.ts +1 -0
- package/out-js/social.gen.js +6 -0
- package/out-js/social.gen.js.map +1 -0
- package/out-js/social_service_v2.gen.d.ts +1 -0
- package/out-js/social_service_v2.gen.js +6 -0
- package/out-js/social_service_v2.gen.js.map +1 -0
- package/out-ts/about.gen.ts +3 -0
- package/out-ts/comms.gen.ts +3 -0
- package/out-ts/decentraland/common/border_rect.gen.ts +230 -0
- package/out-ts/decentraland/common/colors.gen.ts +214 -0
- package/out-ts/decentraland/common/content_mapping.gen.ts +93 -0
- package/out-ts/decentraland/common/sdk/user_data.gen.ts +370 -0
- package/out-ts/decentraland/common/texture.gen.ts +500 -0
- package/out-ts/decentraland/common/vectors.gen.ts +377 -0
- package/out-ts/decentraland/kernel/apis/comms_api.gen.ts +295 -0
- package/out-ts/decentraland/kernel/apis/communications_controller.gen.ts +327 -0
- package/out-ts/decentraland/kernel/apis/dev_tools.gen.ts +161 -0
- package/out-ts/decentraland/kernel/apis/engine_api.gen.ts +1587 -0
- package/out-ts/decentraland/kernel/apis/environment_api.gen.ts +1264 -0
- package/out-ts/decentraland/kernel/apis/ethereum_controller.gen.ts +982 -0
- package/out-ts/decentraland/kernel/apis/parcel_identity.gen.ts +608 -0
- package/out-ts/decentraland/kernel/apis/permissions.gen.ts +397 -0
- package/out-ts/decentraland/kernel/apis/players.gen.ts +415 -0
- package/out-ts/decentraland/kernel/apis/portable_experiences.gen.ts +668 -0
- package/out-ts/decentraland/kernel/apis/restricted_actions.gen.ts +895 -0
- package/out-ts/decentraland/kernel/apis/runtime.gen.ts +911 -0
- package/out-ts/decentraland/kernel/apis/scene.gen.ts +192 -0
- package/out-ts/decentraland/kernel/apis/signed_fetch.gen.ts +691 -0
- package/out-ts/decentraland/kernel/apis/social_controller.gen.ts +230 -0
- package/out-ts/decentraland/kernel/apis/testing.gen.ts +1270 -0
- package/out-ts/decentraland/kernel/apis/user_action_module.gen.ts +146 -0
- package/out-ts/decentraland/kernel/apis/user_identity.gen.ts +264 -0
- package/out-ts/decentraland/kernel/comms/rfc4/comms.gen.ts +1440 -0
- package/out-ts/decentraland/kernel/comms/rfc5/ws_comms.gen.ts +1029 -0
- package/out-ts/decentraland/kernel/comms/v3/archipelago.gen.ts +1338 -0
- package/out-ts/decentraland/quests/definitions.gen.ts +3020 -0
- package/out-ts/decentraland/realm/about.gen.ts +1062 -0
- package/out-ts/decentraland/sdk/components/animator.gen.ts +240 -0
- package/out-ts/decentraland/sdk/components/audio_source.gen.ts +209 -0
- package/out-ts/decentraland/sdk/components/audio_stream.gen.ts +122 -0
- package/out-ts/decentraland/sdk/components/avatar_attach.gen.ts +289 -0
- package/out-ts/decentraland/sdk/components/avatar_base.gen.ts +149 -0
- package/out-ts/decentraland/sdk/components/avatar_emote_command.gen.ts +115 -0
- package/out-ts/decentraland/sdk/components/avatar_equipped_data.gen.ts +105 -0
- package/out-ts/decentraland/sdk/components/avatar_modifier_area.gen.ts +188 -0
- package/out-ts/decentraland/sdk/components/avatar_shape.gen.ts +333 -0
- package/out-ts/decentraland/sdk/components/billboard.gen.ts +148 -0
- package/out-ts/decentraland/sdk/components/camera_mode.gen.ts +86 -0
- package/out-ts/decentraland/sdk/components/camera_mode_area.gen.ts +115 -0
- package/out-ts/decentraland/sdk/components/common/camera_type.gen.ts +43 -0
- package/out-ts/decentraland/sdk/components/common/id.gen.ts +3 -0
- package/out-ts/decentraland/sdk/components/common/input_action.gen.ts +154 -0
- package/out-ts/decentraland/sdk/components/common/loading_state.gen.ts +54 -0
- package/out-ts/decentraland/sdk/components/common/raycast_hit.gen.ts +204 -0
- package/out-ts/decentraland/sdk/components/common/texts.gen.ts +117 -0
- package/out-ts/decentraland/sdk/components/engine_info.gen.ts +119 -0
- package/out-ts/decentraland/sdk/components/gltf_container.gen.ts +127 -0
- package/out-ts/decentraland/sdk/components/gltf_container_loading_state.gen.ts +89 -0
- package/out-ts/decentraland/sdk/components/material.gen.ts +629 -0
- package/out-ts/decentraland/sdk/components/mesh_collider.gen.ts +534 -0
- package/out-ts/decentraland/sdk/components/mesh_renderer.gen.ts +454 -0
- package/out-ts/decentraland/sdk/components/nft_shape.gen.ts +288 -0
- package/out-ts/decentraland/sdk/components/player_identity_data.gen.ts +102 -0
- package/out-ts/decentraland/sdk/components/pointer_events.gen.ts +310 -0
- package/out-ts/decentraland/sdk/components/pointer_events_result.gen.ts +170 -0
- package/out-ts/decentraland/sdk/components/pointer_lock.gen.ts +85 -0
- package/out-ts/decentraland/sdk/components/raycast.gen.ts +333 -0
- package/out-ts/decentraland/sdk/components/raycast_result.gen.ts +168 -0
- package/out-ts/decentraland/sdk/components/realm_info.gen.ts +152 -0
- package/out-ts/decentraland/sdk/components/text_shape.gen.ts +470 -0
- package/out-ts/decentraland/sdk/components/tween.gen.ts +648 -0
- package/out-ts/decentraland/sdk/components/tween_sequence.gen.ts +134 -0
- package/out-ts/decentraland/sdk/components/tween_state.gen.ts +136 -0
- package/out-ts/decentraland/sdk/components/ui_background.gen.ts +223 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown.gen.ts +231 -0
- package/out-ts/decentraland/sdk/components/ui_dropdown_result.gen.ts +80 -0
- package/out-ts/decentraland/sdk/components/ui_input.gen.ts +215 -0
- package/out-ts/decentraland/sdk/components/ui_input_result.gen.ts +97 -0
- package/out-ts/decentraland/sdk/components/ui_text.gen.ts +219 -0
- package/out-ts/decentraland/sdk/components/ui_transform.gen.ts +1361 -0
- package/out-ts/decentraland/sdk/components/video_player.gen.ts +173 -0
- package/out-ts/decentraland/sdk/components/visibility_component.gen.ts +83 -0
- package/out-ts/decentraland/sdk/development/local_development.gen.ts +316 -0
- package/out-ts/decentraland/sdk/ecs6/components_ecs6.gen.ts +8957 -0
- package/out-ts/decentraland/sdk/ecs6/engine_interface_ecs6.gen.ts +2886 -0
- package/out-ts/decentraland/social/friendships/friendships.gen.ts +2798 -0
- package/out-ts/decentraland/social_service_v2/social_service.gen.ts +1709 -0
- package/out-ts/google/protobuf/descriptor.gen.ts +3470 -0
- package/out-ts/google/protobuf/empty.gen.ts +72 -0
- package/out-ts/quests.gen.ts +3 -0
- package/out-ts/sdk-apis.gen.ts +3 -0
- package/out-ts/sdk-components.gen.ts +3 -0
- package/out-ts/sdk-development.gen.ts +3 -0
- package/out-ts/social.gen.ts +3 -0
- package/out-ts/social_service_v2.gen.ts +3 -0
- package/package.json +33 -0
- package/proto/buf.yaml +47 -0
- package/proto/decentraland/common/border_rect.proto +18 -0
- package/proto/decentraland/common/colors.proto +15 -0
- package/proto/decentraland/common/content_mapping.proto +7 -0
- package/proto/decentraland/common/entity.proto +13 -0
- package/proto/decentraland/common/sdk/user_data.proto +25 -0
- package/proto/decentraland/common/texture.proto +40 -0
- package/proto/decentraland/common/vectors.proto +26 -0
- package/proto/decentraland/kernel/apis/comms_api.proto +25 -0
- package/proto/decentraland/kernel/apis/communications_controller.proto +23 -0
- package/proto/decentraland/kernel/apis/dev_tools.proto +15 -0
- package/proto/decentraland/kernel/apis/engine_api.proto +118 -0
- package/proto/decentraland/kernel/apis/environment_api.proto +76 -0
- package/proto/decentraland/kernel/apis/ethereum_controller.proto +64 -0
- package/proto/decentraland/kernel/apis/parcel_identity.proto +43 -0
- package/proto/decentraland/kernel/apis/permissions.proto +36 -0
- package/proto/decentraland/kernel/apis/players.proto +35 -0
- package/proto/decentraland/kernel/apis/portable_experiences.proto +55 -0
- package/proto/decentraland/kernel/apis/restricted_actions.proto +78 -0
- package/proto/decentraland/kernel/apis/runtime.proto +71 -0
- package/proto/decentraland/kernel/apis/scene.proto +16 -0
- package/proto/decentraland/kernel/apis/signed_fetch.proto +33 -0
- package/proto/decentraland/kernel/apis/social_controller.proto +19 -0
- package/proto/decentraland/kernel/apis/testing.proto +100 -0
- package/proto/decentraland/kernel/apis/user_action_module.proto +13 -0
- package/proto/decentraland/kernel/apis/user_identity.proto +22 -0
- package/proto/decentraland/kernel/comms/rfc4/comms.proto +110 -0
- package/proto/decentraland/kernel/comms/rfc5/ws_comms.proto +104 -0
- package/proto/decentraland/kernel/comms/v1/broker.proto +114 -0
- package/proto/decentraland/kernel/comms/v1/comms.proto +68 -0
- package/proto/decentraland/kernel/comms/v2/comms.proto +61 -0
- package/proto/decentraland/kernel/comms/v3/archipelago.proto +86 -0
- package/proto/decentraland/kernel/comms/v3/comms.proto +64 -0
- package/proto/decentraland/quests/definitions.proto +185 -0
- package/proto/decentraland/realm/about.proto +73 -0
- package/proto/decentraland/sdk/components/README.md +32 -0
- package/proto/decentraland/sdk/components/Transform.md +25 -0
- package/proto/decentraland/sdk/components/animator.proto +31 -0
- package/proto/decentraland/sdk/components/audio_event.proto +12 -0
- package/proto/decentraland/sdk/components/audio_source.proto +31 -0
- package/proto/decentraland/sdk/components/audio_stream.proto +14 -0
- package/proto/decentraland/sdk/components/avatar_attach.proto +51 -0
- package/proto/decentraland/sdk/components/avatar_base.proto +15 -0
- package/proto/decentraland/sdk/components/avatar_emote_command.proto +13 -0
- package/proto/decentraland/sdk/components/avatar_equipped_data.proto +13 -0
- package/proto/decentraland/sdk/components/avatar_modifier_area.proto +32 -0
- package/proto/decentraland/sdk/components/avatar_shape.proto +42 -0
- package/proto/decentraland/sdk/components/billboard.proto +29 -0
- package/proto/decentraland/sdk/components/camera_mode.proto +12 -0
- package/proto/decentraland/sdk/components/camera_mode_area.proto +25 -0
- package/proto/decentraland/sdk/components/common/camera_type.proto +9 -0
- package/proto/decentraland/sdk/components/common/id.md +2 -0
- package/proto/decentraland/sdk/components/common/id.proto +8 -0
- package/proto/decentraland/sdk/components/common/input_action.proto +28 -0
- package/proto/decentraland/sdk/components/common/loading_state.proto +10 -0
- package/proto/decentraland/sdk/components/common/media_state.proto +13 -0
- package/proto/decentraland/sdk/components/common/raycast_hit.proto +16 -0
- package/proto/decentraland/sdk/components/common/texts.proto +21 -0
- package/proto/decentraland/sdk/components/engine_info.proto +15 -0
- package/proto/decentraland/sdk/components/gltf_container.proto +19 -0
- package/proto/decentraland/sdk/components/gltf_container_loading_state.proto +13 -0
- package/proto/decentraland/sdk/components/material.proto +57 -0
- package/proto/decentraland/sdk/components/mesh_collider.proto +62 -0
- package/proto/decentraland/sdk/components/mesh_renderer.proto +43 -0
- package/proto/decentraland/sdk/components/nft_shape.proto +48 -0
- package/proto/decentraland/sdk/components/player_identity_data.proto +13 -0
- package/proto/decentraland/sdk/components/pointer_events.proto +37 -0
- package/proto/decentraland/sdk/components/pointer_events_result.proto +19 -0
- package/proto/decentraland/sdk/components/pointer_lock.proto +11 -0
- package/proto/decentraland/sdk/components/raycast.proto +58 -0
- package/proto/decentraland/sdk/components/raycast_result.proto +21 -0
- package/proto/decentraland/sdk/components/realm_info.proto +14 -0
- package/proto/decentraland/sdk/components/text_shape.proto +45 -0
- package/proto/decentraland/sdk/components/tween.proto +74 -0
- package/proto/decentraland/sdk/components/tween_sequence.proto +18 -0
- package/proto/decentraland/sdk/components/tween_state.proto +18 -0
- package/proto/decentraland/sdk/components/ui_background.proto +34 -0
- package/proto/decentraland/sdk/components/ui_canvas_information.proto +24 -0
- package/proto/decentraland/sdk/components/ui_dropdown.proto +22 -0
- package/proto/decentraland/sdk/components/ui_dropdown_result.proto +11 -0
- package/proto/decentraland/sdk/components/ui_input.proto +20 -0
- package/proto/decentraland/sdk/components/ui_input_result.proto +12 -0
- package/proto/decentraland/sdk/components/ui_text.proto +26 -0
- package/proto/decentraland/sdk/components/ui_transform.proto +148 -0
- package/proto/decentraland/sdk/components/video_event.proto +25 -0
- package/proto/decentraland/sdk/components/video_player.proto +16 -0
- package/proto/decentraland/sdk/components/visibility_component.proto +9 -0
- package/proto/decentraland/sdk/development/local_development.proto +29 -0
- package/proto/decentraland/sdk/ecs6/components_ecs6.proto +678 -0
- package/proto/decentraland/sdk/ecs6/engine_interface_ecs6.proto +151 -0
- package/proto/decentraland/social/friendships/friendships.proto +162 -0
- package/proto/decentraland/social_service_v2/social_service.proto +111 -0
- package/proto/google/LICENSE +27 -0
- package/proto/google/README.md +1 -0
- package/proto/google/api/annotations.json +83 -0
- package/proto/google/api/annotations.proto +11 -0
- package/proto/google/api/http.json +86 -0
- package/proto/google/api/http.proto +31 -0
- package/proto/google/protobuf/api.json +118 -0
- package/proto/google/protobuf/api.proto +34 -0
- package/proto/google/protobuf/descriptor.json +739 -0
- package/proto/google/protobuf/descriptor.proto +286 -0
- package/proto/google/protobuf/source_context.json +20 -0
- package/proto/google/protobuf/source_context.proto +7 -0
- package/proto/google/protobuf/type.json +202 -0
- package/proto/google/protobuf/type.proto +89 -0
- package/public/about.proto +5 -0
- package/public/comms.proto +5 -0
- package/public/quests.proto +5 -0
- package/public/sdk-apis.proto +25 -0
- package/public/sdk-components.proto +42 -0
- package/public/sdk-development.proto +5 -0
- package/public/social.proto +4 -0
- package/public/social_service_v2.proto +4 -0
|
@@ -0,0 +1,878 @@
|
|
|
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.EthereumControllerServiceDefinition = exports.GetUserAccountResponse = exports.GetUserAccountRequest = exports.SendAsyncResponse = exports.SendAsyncRequest = exports.ConvertMessageToObjectResponse_DictEntry = exports.ConvertMessageToObjectResponse = exports.ConvertMessageToObjectRequest = exports.SignMessageResponse = exports.SignMessageRequest_MessageEntry = exports.SignMessageRequest = exports.RequirePaymentResponse = exports.RequirePaymentRequest = exports.protobufPackage = void 0;
|
|
7
|
+
/* eslint-disable */
|
|
8
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
9
|
+
exports.protobufPackage = "decentraland.kernel.apis";
|
|
10
|
+
function createBaseRequirePaymentRequest() {
|
|
11
|
+
return { toAddress: "", amount: 0, currency: "" };
|
|
12
|
+
}
|
|
13
|
+
var RequirePaymentRequest;
|
|
14
|
+
(function (RequirePaymentRequest) {
|
|
15
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
16
|
+
if (message.toAddress !== "") {
|
|
17
|
+
writer.uint32(10).string(message.toAddress);
|
|
18
|
+
}
|
|
19
|
+
if (message.amount !== 0) {
|
|
20
|
+
writer.uint32(21).float(message.amount);
|
|
21
|
+
}
|
|
22
|
+
if (message.currency !== "") {
|
|
23
|
+
writer.uint32(26).string(message.currency);
|
|
24
|
+
}
|
|
25
|
+
return writer;
|
|
26
|
+
}
|
|
27
|
+
RequirePaymentRequest.encode = encode;
|
|
28
|
+
function decode(input, length) {
|
|
29
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
30
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
+
const message = createBaseRequirePaymentRequest();
|
|
32
|
+
while (reader.pos < end) {
|
|
33
|
+
const tag = reader.uint32();
|
|
34
|
+
switch (tag >>> 3) {
|
|
35
|
+
case 1:
|
|
36
|
+
if (tag !== 10) {
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
message.toAddress = reader.string();
|
|
40
|
+
continue;
|
|
41
|
+
case 2:
|
|
42
|
+
if (tag !== 21) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.amount = reader.float();
|
|
46
|
+
continue;
|
|
47
|
+
case 3:
|
|
48
|
+
if (tag !== 26) {
|
|
49
|
+
break;
|
|
50
|
+
}
|
|
51
|
+
message.currency = reader.string();
|
|
52
|
+
continue;
|
|
53
|
+
}
|
|
54
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
55
|
+
break;
|
|
56
|
+
}
|
|
57
|
+
reader.skipType(tag & 7);
|
|
58
|
+
}
|
|
59
|
+
return message;
|
|
60
|
+
}
|
|
61
|
+
RequirePaymentRequest.decode = decode;
|
|
62
|
+
function fromJSON(object) {
|
|
63
|
+
return {
|
|
64
|
+
toAddress: isSet(object.toAddress) ? String(object.toAddress) : "",
|
|
65
|
+
amount: isSet(object.amount) ? Number(object.amount) : 0,
|
|
66
|
+
currency: isSet(object.currency) ? String(object.currency) : "",
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
RequirePaymentRequest.fromJSON = fromJSON;
|
|
70
|
+
function toJSON(message) {
|
|
71
|
+
const obj = {};
|
|
72
|
+
message.toAddress !== undefined && (obj.toAddress = message.toAddress);
|
|
73
|
+
message.amount !== undefined && (obj.amount = message.amount);
|
|
74
|
+
message.currency !== undefined && (obj.currency = message.currency);
|
|
75
|
+
return obj;
|
|
76
|
+
}
|
|
77
|
+
RequirePaymentRequest.toJSON = toJSON;
|
|
78
|
+
function create(base) {
|
|
79
|
+
return RequirePaymentRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
80
|
+
}
|
|
81
|
+
RequirePaymentRequest.create = create;
|
|
82
|
+
function fromPartial(object) {
|
|
83
|
+
var _a, _b, _c;
|
|
84
|
+
const message = createBaseRequirePaymentRequest();
|
|
85
|
+
message.toAddress = (_a = object.toAddress) !== null && _a !== void 0 ? _a : "";
|
|
86
|
+
message.amount = (_b = object.amount) !== null && _b !== void 0 ? _b : 0;
|
|
87
|
+
message.currency = (_c = object.currency) !== null && _c !== void 0 ? _c : "";
|
|
88
|
+
return message;
|
|
89
|
+
}
|
|
90
|
+
RequirePaymentRequest.fromPartial = fromPartial;
|
|
91
|
+
})(RequirePaymentRequest || (exports.RequirePaymentRequest = RequirePaymentRequest = {}));
|
|
92
|
+
function createBaseRequirePaymentResponse() {
|
|
93
|
+
return { jsonAnyResponse: "" };
|
|
94
|
+
}
|
|
95
|
+
var RequirePaymentResponse;
|
|
96
|
+
(function (RequirePaymentResponse) {
|
|
97
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
98
|
+
if (message.jsonAnyResponse !== "") {
|
|
99
|
+
writer.uint32(10).string(message.jsonAnyResponse);
|
|
100
|
+
}
|
|
101
|
+
return writer;
|
|
102
|
+
}
|
|
103
|
+
RequirePaymentResponse.encode = encode;
|
|
104
|
+
function decode(input, length) {
|
|
105
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
106
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
107
|
+
const message = createBaseRequirePaymentResponse();
|
|
108
|
+
while (reader.pos < end) {
|
|
109
|
+
const tag = reader.uint32();
|
|
110
|
+
switch (tag >>> 3) {
|
|
111
|
+
case 1:
|
|
112
|
+
if (tag !== 10) {
|
|
113
|
+
break;
|
|
114
|
+
}
|
|
115
|
+
message.jsonAnyResponse = reader.string();
|
|
116
|
+
continue;
|
|
117
|
+
}
|
|
118
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
119
|
+
break;
|
|
120
|
+
}
|
|
121
|
+
reader.skipType(tag & 7);
|
|
122
|
+
}
|
|
123
|
+
return message;
|
|
124
|
+
}
|
|
125
|
+
RequirePaymentResponse.decode = decode;
|
|
126
|
+
function fromJSON(object) {
|
|
127
|
+
return { jsonAnyResponse: isSet(object.jsonAnyResponse) ? String(object.jsonAnyResponse) : "" };
|
|
128
|
+
}
|
|
129
|
+
RequirePaymentResponse.fromJSON = fromJSON;
|
|
130
|
+
function toJSON(message) {
|
|
131
|
+
const obj = {};
|
|
132
|
+
message.jsonAnyResponse !== undefined && (obj.jsonAnyResponse = message.jsonAnyResponse);
|
|
133
|
+
return obj;
|
|
134
|
+
}
|
|
135
|
+
RequirePaymentResponse.toJSON = toJSON;
|
|
136
|
+
function create(base) {
|
|
137
|
+
return RequirePaymentResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
138
|
+
}
|
|
139
|
+
RequirePaymentResponse.create = create;
|
|
140
|
+
function fromPartial(object) {
|
|
141
|
+
var _a;
|
|
142
|
+
const message = createBaseRequirePaymentResponse();
|
|
143
|
+
message.jsonAnyResponse = (_a = object.jsonAnyResponse) !== null && _a !== void 0 ? _a : "";
|
|
144
|
+
return message;
|
|
145
|
+
}
|
|
146
|
+
RequirePaymentResponse.fromPartial = fromPartial;
|
|
147
|
+
})(RequirePaymentResponse || (exports.RequirePaymentResponse = RequirePaymentResponse = {}));
|
|
148
|
+
function createBaseSignMessageRequest() {
|
|
149
|
+
return { message: {} };
|
|
150
|
+
}
|
|
151
|
+
var SignMessageRequest;
|
|
152
|
+
(function (SignMessageRequest) {
|
|
153
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
154
|
+
Object.entries(message.message).forEach(([key, value]) => {
|
|
155
|
+
SignMessageRequest_MessageEntry.encode({ key: key, value }, writer.uint32(10).fork()).ldelim();
|
|
156
|
+
});
|
|
157
|
+
return writer;
|
|
158
|
+
}
|
|
159
|
+
SignMessageRequest.encode = encode;
|
|
160
|
+
function decode(input, length) {
|
|
161
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
162
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
163
|
+
const message = createBaseSignMessageRequest();
|
|
164
|
+
while (reader.pos < end) {
|
|
165
|
+
const tag = reader.uint32();
|
|
166
|
+
switch (tag >>> 3) {
|
|
167
|
+
case 1:
|
|
168
|
+
if (tag !== 10) {
|
|
169
|
+
break;
|
|
170
|
+
}
|
|
171
|
+
const entry1 = SignMessageRequest_MessageEntry.decode(reader, reader.uint32());
|
|
172
|
+
if (entry1.value !== undefined) {
|
|
173
|
+
message.message[entry1.key] = entry1.value;
|
|
174
|
+
}
|
|
175
|
+
continue;
|
|
176
|
+
}
|
|
177
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
178
|
+
break;
|
|
179
|
+
}
|
|
180
|
+
reader.skipType(tag & 7);
|
|
181
|
+
}
|
|
182
|
+
return message;
|
|
183
|
+
}
|
|
184
|
+
SignMessageRequest.decode = decode;
|
|
185
|
+
function fromJSON(object) {
|
|
186
|
+
return {
|
|
187
|
+
message: isObject(object.message)
|
|
188
|
+
? Object.entries(object.message).reduce((acc, [key, value]) => {
|
|
189
|
+
acc[key] = String(value);
|
|
190
|
+
return acc;
|
|
191
|
+
}, {})
|
|
192
|
+
: {},
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
SignMessageRequest.fromJSON = fromJSON;
|
|
196
|
+
function toJSON(message) {
|
|
197
|
+
const obj = {};
|
|
198
|
+
obj.message = {};
|
|
199
|
+
if (message.message) {
|
|
200
|
+
Object.entries(message.message).forEach(([k, v]) => {
|
|
201
|
+
obj.message[k] = v;
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
return obj;
|
|
205
|
+
}
|
|
206
|
+
SignMessageRequest.toJSON = toJSON;
|
|
207
|
+
function create(base) {
|
|
208
|
+
return SignMessageRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
209
|
+
}
|
|
210
|
+
SignMessageRequest.create = create;
|
|
211
|
+
function fromPartial(object) {
|
|
212
|
+
var _a;
|
|
213
|
+
const message = createBaseSignMessageRequest();
|
|
214
|
+
message.message = Object.entries((_a = object.message) !== null && _a !== void 0 ? _a : {}).reduce((acc, [key, value]) => {
|
|
215
|
+
if (value !== undefined) {
|
|
216
|
+
acc[key] = String(value);
|
|
217
|
+
}
|
|
218
|
+
return acc;
|
|
219
|
+
}, {});
|
|
220
|
+
return message;
|
|
221
|
+
}
|
|
222
|
+
SignMessageRequest.fromPartial = fromPartial;
|
|
223
|
+
})(SignMessageRequest || (exports.SignMessageRequest = SignMessageRequest = {}));
|
|
224
|
+
function createBaseSignMessageRequest_MessageEntry() {
|
|
225
|
+
return { key: "", value: "" };
|
|
226
|
+
}
|
|
227
|
+
var SignMessageRequest_MessageEntry;
|
|
228
|
+
(function (SignMessageRequest_MessageEntry) {
|
|
229
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
230
|
+
if (message.key !== "") {
|
|
231
|
+
writer.uint32(10).string(message.key);
|
|
232
|
+
}
|
|
233
|
+
if (message.value !== "") {
|
|
234
|
+
writer.uint32(18).string(message.value);
|
|
235
|
+
}
|
|
236
|
+
return writer;
|
|
237
|
+
}
|
|
238
|
+
SignMessageRequest_MessageEntry.encode = encode;
|
|
239
|
+
function decode(input, length) {
|
|
240
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
241
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
242
|
+
const message = createBaseSignMessageRequest_MessageEntry();
|
|
243
|
+
while (reader.pos < end) {
|
|
244
|
+
const tag = reader.uint32();
|
|
245
|
+
switch (tag >>> 3) {
|
|
246
|
+
case 1:
|
|
247
|
+
if (tag !== 10) {
|
|
248
|
+
break;
|
|
249
|
+
}
|
|
250
|
+
message.key = reader.string();
|
|
251
|
+
continue;
|
|
252
|
+
case 2:
|
|
253
|
+
if (tag !== 18) {
|
|
254
|
+
break;
|
|
255
|
+
}
|
|
256
|
+
message.value = reader.string();
|
|
257
|
+
continue;
|
|
258
|
+
}
|
|
259
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
260
|
+
break;
|
|
261
|
+
}
|
|
262
|
+
reader.skipType(tag & 7);
|
|
263
|
+
}
|
|
264
|
+
return message;
|
|
265
|
+
}
|
|
266
|
+
SignMessageRequest_MessageEntry.decode = decode;
|
|
267
|
+
function fromJSON(object) {
|
|
268
|
+
return { key: isSet(object.key) ? String(object.key) : "", value: isSet(object.value) ? String(object.value) : "" };
|
|
269
|
+
}
|
|
270
|
+
SignMessageRequest_MessageEntry.fromJSON = fromJSON;
|
|
271
|
+
function toJSON(message) {
|
|
272
|
+
const obj = {};
|
|
273
|
+
message.key !== undefined && (obj.key = message.key);
|
|
274
|
+
message.value !== undefined && (obj.value = message.value);
|
|
275
|
+
return obj;
|
|
276
|
+
}
|
|
277
|
+
SignMessageRequest_MessageEntry.toJSON = toJSON;
|
|
278
|
+
function create(base) {
|
|
279
|
+
return SignMessageRequest_MessageEntry.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
280
|
+
}
|
|
281
|
+
SignMessageRequest_MessageEntry.create = create;
|
|
282
|
+
function fromPartial(object) {
|
|
283
|
+
var _a, _b;
|
|
284
|
+
const message = createBaseSignMessageRequest_MessageEntry();
|
|
285
|
+
message.key = (_a = object.key) !== null && _a !== void 0 ? _a : "";
|
|
286
|
+
message.value = (_b = object.value) !== null && _b !== void 0 ? _b : "";
|
|
287
|
+
return message;
|
|
288
|
+
}
|
|
289
|
+
SignMessageRequest_MessageEntry.fromPartial = fromPartial;
|
|
290
|
+
})(SignMessageRequest_MessageEntry || (exports.SignMessageRequest_MessageEntry = SignMessageRequest_MessageEntry = {}));
|
|
291
|
+
function createBaseSignMessageResponse() {
|
|
292
|
+
return { message: "", hexEncodedMessage: "", signature: "" };
|
|
293
|
+
}
|
|
294
|
+
var SignMessageResponse;
|
|
295
|
+
(function (SignMessageResponse) {
|
|
296
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
297
|
+
if (message.message !== "") {
|
|
298
|
+
writer.uint32(10).string(message.message);
|
|
299
|
+
}
|
|
300
|
+
if (message.hexEncodedMessage !== "") {
|
|
301
|
+
writer.uint32(18).string(message.hexEncodedMessage);
|
|
302
|
+
}
|
|
303
|
+
if (message.signature !== "") {
|
|
304
|
+
writer.uint32(26).string(message.signature);
|
|
305
|
+
}
|
|
306
|
+
return writer;
|
|
307
|
+
}
|
|
308
|
+
SignMessageResponse.encode = encode;
|
|
309
|
+
function decode(input, length) {
|
|
310
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
311
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
312
|
+
const message = createBaseSignMessageResponse();
|
|
313
|
+
while (reader.pos < end) {
|
|
314
|
+
const tag = reader.uint32();
|
|
315
|
+
switch (tag >>> 3) {
|
|
316
|
+
case 1:
|
|
317
|
+
if (tag !== 10) {
|
|
318
|
+
break;
|
|
319
|
+
}
|
|
320
|
+
message.message = reader.string();
|
|
321
|
+
continue;
|
|
322
|
+
case 2:
|
|
323
|
+
if (tag !== 18) {
|
|
324
|
+
break;
|
|
325
|
+
}
|
|
326
|
+
message.hexEncodedMessage = reader.string();
|
|
327
|
+
continue;
|
|
328
|
+
case 3:
|
|
329
|
+
if (tag !== 26) {
|
|
330
|
+
break;
|
|
331
|
+
}
|
|
332
|
+
message.signature = reader.string();
|
|
333
|
+
continue;
|
|
334
|
+
}
|
|
335
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
336
|
+
break;
|
|
337
|
+
}
|
|
338
|
+
reader.skipType(tag & 7);
|
|
339
|
+
}
|
|
340
|
+
return message;
|
|
341
|
+
}
|
|
342
|
+
SignMessageResponse.decode = decode;
|
|
343
|
+
function fromJSON(object) {
|
|
344
|
+
return {
|
|
345
|
+
message: isSet(object.message) ? String(object.message) : "",
|
|
346
|
+
hexEncodedMessage: isSet(object.hexEncodedMessage) ? String(object.hexEncodedMessage) : "",
|
|
347
|
+
signature: isSet(object.signature) ? String(object.signature) : "",
|
|
348
|
+
};
|
|
349
|
+
}
|
|
350
|
+
SignMessageResponse.fromJSON = fromJSON;
|
|
351
|
+
function toJSON(message) {
|
|
352
|
+
const obj = {};
|
|
353
|
+
message.message !== undefined && (obj.message = message.message);
|
|
354
|
+
message.hexEncodedMessage !== undefined && (obj.hexEncodedMessage = message.hexEncodedMessage);
|
|
355
|
+
message.signature !== undefined && (obj.signature = message.signature);
|
|
356
|
+
return obj;
|
|
357
|
+
}
|
|
358
|
+
SignMessageResponse.toJSON = toJSON;
|
|
359
|
+
function create(base) {
|
|
360
|
+
return SignMessageResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
361
|
+
}
|
|
362
|
+
SignMessageResponse.create = create;
|
|
363
|
+
function fromPartial(object) {
|
|
364
|
+
var _a, _b, _c;
|
|
365
|
+
const message = createBaseSignMessageResponse();
|
|
366
|
+
message.message = (_a = object.message) !== null && _a !== void 0 ? _a : "";
|
|
367
|
+
message.hexEncodedMessage = (_b = object.hexEncodedMessage) !== null && _b !== void 0 ? _b : "";
|
|
368
|
+
message.signature = (_c = object.signature) !== null && _c !== void 0 ? _c : "";
|
|
369
|
+
return message;
|
|
370
|
+
}
|
|
371
|
+
SignMessageResponse.fromPartial = fromPartial;
|
|
372
|
+
})(SignMessageResponse || (exports.SignMessageResponse = SignMessageResponse = {}));
|
|
373
|
+
function createBaseConvertMessageToObjectRequest() {
|
|
374
|
+
return { message: "" };
|
|
375
|
+
}
|
|
376
|
+
var ConvertMessageToObjectRequest;
|
|
377
|
+
(function (ConvertMessageToObjectRequest) {
|
|
378
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
379
|
+
if (message.message !== "") {
|
|
380
|
+
writer.uint32(10).string(message.message);
|
|
381
|
+
}
|
|
382
|
+
return writer;
|
|
383
|
+
}
|
|
384
|
+
ConvertMessageToObjectRequest.encode = encode;
|
|
385
|
+
function decode(input, length) {
|
|
386
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
387
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
388
|
+
const message = createBaseConvertMessageToObjectRequest();
|
|
389
|
+
while (reader.pos < end) {
|
|
390
|
+
const tag = reader.uint32();
|
|
391
|
+
switch (tag >>> 3) {
|
|
392
|
+
case 1:
|
|
393
|
+
if (tag !== 10) {
|
|
394
|
+
break;
|
|
395
|
+
}
|
|
396
|
+
message.message = reader.string();
|
|
397
|
+
continue;
|
|
398
|
+
}
|
|
399
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
400
|
+
break;
|
|
401
|
+
}
|
|
402
|
+
reader.skipType(tag & 7);
|
|
403
|
+
}
|
|
404
|
+
return message;
|
|
405
|
+
}
|
|
406
|
+
ConvertMessageToObjectRequest.decode = decode;
|
|
407
|
+
function fromJSON(object) {
|
|
408
|
+
return { message: isSet(object.message) ? String(object.message) : "" };
|
|
409
|
+
}
|
|
410
|
+
ConvertMessageToObjectRequest.fromJSON = fromJSON;
|
|
411
|
+
function toJSON(message) {
|
|
412
|
+
const obj = {};
|
|
413
|
+
message.message !== undefined && (obj.message = message.message);
|
|
414
|
+
return obj;
|
|
415
|
+
}
|
|
416
|
+
ConvertMessageToObjectRequest.toJSON = toJSON;
|
|
417
|
+
function create(base) {
|
|
418
|
+
return ConvertMessageToObjectRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
419
|
+
}
|
|
420
|
+
ConvertMessageToObjectRequest.create = create;
|
|
421
|
+
function fromPartial(object) {
|
|
422
|
+
var _a;
|
|
423
|
+
const message = createBaseConvertMessageToObjectRequest();
|
|
424
|
+
message.message = (_a = object.message) !== null && _a !== void 0 ? _a : "";
|
|
425
|
+
return message;
|
|
426
|
+
}
|
|
427
|
+
ConvertMessageToObjectRequest.fromPartial = fromPartial;
|
|
428
|
+
})(ConvertMessageToObjectRequest || (exports.ConvertMessageToObjectRequest = ConvertMessageToObjectRequest = {}));
|
|
429
|
+
function createBaseConvertMessageToObjectResponse() {
|
|
430
|
+
return { dict: {} };
|
|
431
|
+
}
|
|
432
|
+
var ConvertMessageToObjectResponse;
|
|
433
|
+
(function (ConvertMessageToObjectResponse) {
|
|
434
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
435
|
+
Object.entries(message.dict).forEach(([key, value]) => {
|
|
436
|
+
ConvertMessageToObjectResponse_DictEntry.encode({ key: key, value }, writer.uint32(10).fork()).ldelim();
|
|
437
|
+
});
|
|
438
|
+
return writer;
|
|
439
|
+
}
|
|
440
|
+
ConvertMessageToObjectResponse.encode = encode;
|
|
441
|
+
function decode(input, length) {
|
|
442
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
443
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
444
|
+
const message = createBaseConvertMessageToObjectResponse();
|
|
445
|
+
while (reader.pos < end) {
|
|
446
|
+
const tag = reader.uint32();
|
|
447
|
+
switch (tag >>> 3) {
|
|
448
|
+
case 1:
|
|
449
|
+
if (tag !== 10) {
|
|
450
|
+
break;
|
|
451
|
+
}
|
|
452
|
+
const entry1 = ConvertMessageToObjectResponse_DictEntry.decode(reader, reader.uint32());
|
|
453
|
+
if (entry1.value !== undefined) {
|
|
454
|
+
message.dict[entry1.key] = entry1.value;
|
|
455
|
+
}
|
|
456
|
+
continue;
|
|
457
|
+
}
|
|
458
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
459
|
+
break;
|
|
460
|
+
}
|
|
461
|
+
reader.skipType(tag & 7);
|
|
462
|
+
}
|
|
463
|
+
return message;
|
|
464
|
+
}
|
|
465
|
+
ConvertMessageToObjectResponse.decode = decode;
|
|
466
|
+
function fromJSON(object) {
|
|
467
|
+
return {
|
|
468
|
+
dict: isObject(object.dict)
|
|
469
|
+
? Object.entries(object.dict).reduce((acc, [key, value]) => {
|
|
470
|
+
acc[key] = String(value);
|
|
471
|
+
return acc;
|
|
472
|
+
}, {})
|
|
473
|
+
: {},
|
|
474
|
+
};
|
|
475
|
+
}
|
|
476
|
+
ConvertMessageToObjectResponse.fromJSON = fromJSON;
|
|
477
|
+
function toJSON(message) {
|
|
478
|
+
const obj = {};
|
|
479
|
+
obj.dict = {};
|
|
480
|
+
if (message.dict) {
|
|
481
|
+
Object.entries(message.dict).forEach(([k, v]) => {
|
|
482
|
+
obj.dict[k] = v;
|
|
483
|
+
});
|
|
484
|
+
}
|
|
485
|
+
return obj;
|
|
486
|
+
}
|
|
487
|
+
ConvertMessageToObjectResponse.toJSON = toJSON;
|
|
488
|
+
function create(base) {
|
|
489
|
+
return ConvertMessageToObjectResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
490
|
+
}
|
|
491
|
+
ConvertMessageToObjectResponse.create = create;
|
|
492
|
+
function fromPartial(object) {
|
|
493
|
+
var _a;
|
|
494
|
+
const message = createBaseConvertMessageToObjectResponse();
|
|
495
|
+
message.dict = Object.entries((_a = object.dict) !== null && _a !== void 0 ? _a : {}).reduce((acc, [key, value]) => {
|
|
496
|
+
if (value !== undefined) {
|
|
497
|
+
acc[key] = String(value);
|
|
498
|
+
}
|
|
499
|
+
return acc;
|
|
500
|
+
}, {});
|
|
501
|
+
return message;
|
|
502
|
+
}
|
|
503
|
+
ConvertMessageToObjectResponse.fromPartial = fromPartial;
|
|
504
|
+
})(ConvertMessageToObjectResponse || (exports.ConvertMessageToObjectResponse = ConvertMessageToObjectResponse = {}));
|
|
505
|
+
function createBaseConvertMessageToObjectResponse_DictEntry() {
|
|
506
|
+
return { key: "", value: "" };
|
|
507
|
+
}
|
|
508
|
+
var ConvertMessageToObjectResponse_DictEntry;
|
|
509
|
+
(function (ConvertMessageToObjectResponse_DictEntry) {
|
|
510
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
511
|
+
if (message.key !== "") {
|
|
512
|
+
writer.uint32(10).string(message.key);
|
|
513
|
+
}
|
|
514
|
+
if (message.value !== "") {
|
|
515
|
+
writer.uint32(18).string(message.value);
|
|
516
|
+
}
|
|
517
|
+
return writer;
|
|
518
|
+
}
|
|
519
|
+
ConvertMessageToObjectResponse_DictEntry.encode = encode;
|
|
520
|
+
function decode(input, length) {
|
|
521
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
522
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
523
|
+
const message = createBaseConvertMessageToObjectResponse_DictEntry();
|
|
524
|
+
while (reader.pos < end) {
|
|
525
|
+
const tag = reader.uint32();
|
|
526
|
+
switch (tag >>> 3) {
|
|
527
|
+
case 1:
|
|
528
|
+
if (tag !== 10) {
|
|
529
|
+
break;
|
|
530
|
+
}
|
|
531
|
+
message.key = reader.string();
|
|
532
|
+
continue;
|
|
533
|
+
case 2:
|
|
534
|
+
if (tag !== 18) {
|
|
535
|
+
break;
|
|
536
|
+
}
|
|
537
|
+
message.value = reader.string();
|
|
538
|
+
continue;
|
|
539
|
+
}
|
|
540
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
541
|
+
break;
|
|
542
|
+
}
|
|
543
|
+
reader.skipType(tag & 7);
|
|
544
|
+
}
|
|
545
|
+
return message;
|
|
546
|
+
}
|
|
547
|
+
ConvertMessageToObjectResponse_DictEntry.decode = decode;
|
|
548
|
+
function fromJSON(object) {
|
|
549
|
+
return { key: isSet(object.key) ? String(object.key) : "", value: isSet(object.value) ? String(object.value) : "" };
|
|
550
|
+
}
|
|
551
|
+
ConvertMessageToObjectResponse_DictEntry.fromJSON = fromJSON;
|
|
552
|
+
function toJSON(message) {
|
|
553
|
+
const obj = {};
|
|
554
|
+
message.key !== undefined && (obj.key = message.key);
|
|
555
|
+
message.value !== undefined && (obj.value = message.value);
|
|
556
|
+
return obj;
|
|
557
|
+
}
|
|
558
|
+
ConvertMessageToObjectResponse_DictEntry.toJSON = toJSON;
|
|
559
|
+
function create(base) {
|
|
560
|
+
return ConvertMessageToObjectResponse_DictEntry.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
561
|
+
}
|
|
562
|
+
ConvertMessageToObjectResponse_DictEntry.create = create;
|
|
563
|
+
function fromPartial(object) {
|
|
564
|
+
var _a, _b;
|
|
565
|
+
const message = createBaseConvertMessageToObjectResponse_DictEntry();
|
|
566
|
+
message.key = (_a = object.key) !== null && _a !== void 0 ? _a : "";
|
|
567
|
+
message.value = (_b = object.value) !== null && _b !== void 0 ? _b : "";
|
|
568
|
+
return message;
|
|
569
|
+
}
|
|
570
|
+
ConvertMessageToObjectResponse_DictEntry.fromPartial = fromPartial;
|
|
571
|
+
})(ConvertMessageToObjectResponse_DictEntry || (exports.ConvertMessageToObjectResponse_DictEntry = ConvertMessageToObjectResponse_DictEntry = {}));
|
|
572
|
+
function createBaseSendAsyncRequest() {
|
|
573
|
+
return { id: 0, method: "", jsonParams: "" };
|
|
574
|
+
}
|
|
575
|
+
var SendAsyncRequest;
|
|
576
|
+
(function (SendAsyncRequest) {
|
|
577
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
578
|
+
if (message.id !== 0) {
|
|
579
|
+
writer.uint32(8).int32(message.id);
|
|
580
|
+
}
|
|
581
|
+
if (message.method !== "") {
|
|
582
|
+
writer.uint32(18).string(message.method);
|
|
583
|
+
}
|
|
584
|
+
if (message.jsonParams !== "") {
|
|
585
|
+
writer.uint32(26).string(message.jsonParams);
|
|
586
|
+
}
|
|
587
|
+
return writer;
|
|
588
|
+
}
|
|
589
|
+
SendAsyncRequest.encode = encode;
|
|
590
|
+
function decode(input, length) {
|
|
591
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
592
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
593
|
+
const message = createBaseSendAsyncRequest();
|
|
594
|
+
while (reader.pos < end) {
|
|
595
|
+
const tag = reader.uint32();
|
|
596
|
+
switch (tag >>> 3) {
|
|
597
|
+
case 1:
|
|
598
|
+
if (tag !== 8) {
|
|
599
|
+
break;
|
|
600
|
+
}
|
|
601
|
+
message.id = reader.int32();
|
|
602
|
+
continue;
|
|
603
|
+
case 2:
|
|
604
|
+
if (tag !== 18) {
|
|
605
|
+
break;
|
|
606
|
+
}
|
|
607
|
+
message.method = reader.string();
|
|
608
|
+
continue;
|
|
609
|
+
case 3:
|
|
610
|
+
if (tag !== 26) {
|
|
611
|
+
break;
|
|
612
|
+
}
|
|
613
|
+
message.jsonParams = reader.string();
|
|
614
|
+
continue;
|
|
615
|
+
}
|
|
616
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
617
|
+
break;
|
|
618
|
+
}
|
|
619
|
+
reader.skipType(tag & 7);
|
|
620
|
+
}
|
|
621
|
+
return message;
|
|
622
|
+
}
|
|
623
|
+
SendAsyncRequest.decode = decode;
|
|
624
|
+
function fromJSON(object) {
|
|
625
|
+
return {
|
|
626
|
+
id: isSet(object.id) ? Number(object.id) : 0,
|
|
627
|
+
method: isSet(object.method) ? String(object.method) : "",
|
|
628
|
+
jsonParams: isSet(object.jsonParams) ? String(object.jsonParams) : "",
|
|
629
|
+
};
|
|
630
|
+
}
|
|
631
|
+
SendAsyncRequest.fromJSON = fromJSON;
|
|
632
|
+
function toJSON(message) {
|
|
633
|
+
const obj = {};
|
|
634
|
+
message.id !== undefined && (obj.id = Math.round(message.id));
|
|
635
|
+
message.method !== undefined && (obj.method = message.method);
|
|
636
|
+
message.jsonParams !== undefined && (obj.jsonParams = message.jsonParams);
|
|
637
|
+
return obj;
|
|
638
|
+
}
|
|
639
|
+
SendAsyncRequest.toJSON = toJSON;
|
|
640
|
+
function create(base) {
|
|
641
|
+
return SendAsyncRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
642
|
+
}
|
|
643
|
+
SendAsyncRequest.create = create;
|
|
644
|
+
function fromPartial(object) {
|
|
645
|
+
var _a, _b, _c;
|
|
646
|
+
const message = createBaseSendAsyncRequest();
|
|
647
|
+
message.id = (_a = object.id) !== null && _a !== void 0 ? _a : 0;
|
|
648
|
+
message.method = (_b = object.method) !== null && _b !== void 0 ? _b : "";
|
|
649
|
+
message.jsonParams = (_c = object.jsonParams) !== null && _c !== void 0 ? _c : "";
|
|
650
|
+
return message;
|
|
651
|
+
}
|
|
652
|
+
SendAsyncRequest.fromPartial = fromPartial;
|
|
653
|
+
})(SendAsyncRequest || (exports.SendAsyncRequest = SendAsyncRequest = {}));
|
|
654
|
+
function createBaseSendAsyncResponse() {
|
|
655
|
+
return { jsonAnyResponse: "" };
|
|
656
|
+
}
|
|
657
|
+
var SendAsyncResponse;
|
|
658
|
+
(function (SendAsyncResponse) {
|
|
659
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
660
|
+
if (message.jsonAnyResponse !== "") {
|
|
661
|
+
writer.uint32(10).string(message.jsonAnyResponse);
|
|
662
|
+
}
|
|
663
|
+
return writer;
|
|
664
|
+
}
|
|
665
|
+
SendAsyncResponse.encode = encode;
|
|
666
|
+
function decode(input, length) {
|
|
667
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
668
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
669
|
+
const message = createBaseSendAsyncResponse();
|
|
670
|
+
while (reader.pos < end) {
|
|
671
|
+
const tag = reader.uint32();
|
|
672
|
+
switch (tag >>> 3) {
|
|
673
|
+
case 1:
|
|
674
|
+
if (tag !== 10) {
|
|
675
|
+
break;
|
|
676
|
+
}
|
|
677
|
+
message.jsonAnyResponse = reader.string();
|
|
678
|
+
continue;
|
|
679
|
+
}
|
|
680
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
681
|
+
break;
|
|
682
|
+
}
|
|
683
|
+
reader.skipType(tag & 7);
|
|
684
|
+
}
|
|
685
|
+
return message;
|
|
686
|
+
}
|
|
687
|
+
SendAsyncResponse.decode = decode;
|
|
688
|
+
function fromJSON(object) {
|
|
689
|
+
return { jsonAnyResponse: isSet(object.jsonAnyResponse) ? String(object.jsonAnyResponse) : "" };
|
|
690
|
+
}
|
|
691
|
+
SendAsyncResponse.fromJSON = fromJSON;
|
|
692
|
+
function toJSON(message) {
|
|
693
|
+
const obj = {};
|
|
694
|
+
message.jsonAnyResponse !== undefined && (obj.jsonAnyResponse = message.jsonAnyResponse);
|
|
695
|
+
return obj;
|
|
696
|
+
}
|
|
697
|
+
SendAsyncResponse.toJSON = toJSON;
|
|
698
|
+
function create(base) {
|
|
699
|
+
return SendAsyncResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
700
|
+
}
|
|
701
|
+
SendAsyncResponse.create = create;
|
|
702
|
+
function fromPartial(object) {
|
|
703
|
+
var _a;
|
|
704
|
+
const message = createBaseSendAsyncResponse();
|
|
705
|
+
message.jsonAnyResponse = (_a = object.jsonAnyResponse) !== null && _a !== void 0 ? _a : "";
|
|
706
|
+
return message;
|
|
707
|
+
}
|
|
708
|
+
SendAsyncResponse.fromPartial = fromPartial;
|
|
709
|
+
})(SendAsyncResponse || (exports.SendAsyncResponse = SendAsyncResponse = {}));
|
|
710
|
+
function createBaseGetUserAccountRequest() {
|
|
711
|
+
return {};
|
|
712
|
+
}
|
|
713
|
+
var GetUserAccountRequest;
|
|
714
|
+
(function (GetUserAccountRequest) {
|
|
715
|
+
function encode(_, writer = minimal_1.default.Writer.create()) {
|
|
716
|
+
return writer;
|
|
717
|
+
}
|
|
718
|
+
GetUserAccountRequest.encode = encode;
|
|
719
|
+
function decode(input, length) {
|
|
720
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
721
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
722
|
+
const message = createBaseGetUserAccountRequest();
|
|
723
|
+
while (reader.pos < end) {
|
|
724
|
+
const tag = reader.uint32();
|
|
725
|
+
switch (tag >>> 3) {
|
|
726
|
+
}
|
|
727
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
728
|
+
break;
|
|
729
|
+
}
|
|
730
|
+
reader.skipType(tag & 7);
|
|
731
|
+
}
|
|
732
|
+
return message;
|
|
733
|
+
}
|
|
734
|
+
GetUserAccountRequest.decode = decode;
|
|
735
|
+
function fromJSON(_) {
|
|
736
|
+
return {};
|
|
737
|
+
}
|
|
738
|
+
GetUserAccountRequest.fromJSON = fromJSON;
|
|
739
|
+
function toJSON(_) {
|
|
740
|
+
const obj = {};
|
|
741
|
+
return obj;
|
|
742
|
+
}
|
|
743
|
+
GetUserAccountRequest.toJSON = toJSON;
|
|
744
|
+
function create(base) {
|
|
745
|
+
return GetUserAccountRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
746
|
+
}
|
|
747
|
+
GetUserAccountRequest.create = create;
|
|
748
|
+
function fromPartial(_) {
|
|
749
|
+
const message = createBaseGetUserAccountRequest();
|
|
750
|
+
return message;
|
|
751
|
+
}
|
|
752
|
+
GetUserAccountRequest.fromPartial = fromPartial;
|
|
753
|
+
})(GetUserAccountRequest || (exports.GetUserAccountRequest = GetUserAccountRequest = {}));
|
|
754
|
+
function createBaseGetUserAccountResponse() {
|
|
755
|
+
return { address: undefined };
|
|
756
|
+
}
|
|
757
|
+
var GetUserAccountResponse;
|
|
758
|
+
(function (GetUserAccountResponse) {
|
|
759
|
+
function encode(message, writer = minimal_1.default.Writer.create()) {
|
|
760
|
+
if (message.address !== undefined) {
|
|
761
|
+
writer.uint32(10).string(message.address);
|
|
762
|
+
}
|
|
763
|
+
return writer;
|
|
764
|
+
}
|
|
765
|
+
GetUserAccountResponse.encode = encode;
|
|
766
|
+
function decode(input, length) {
|
|
767
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
768
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
769
|
+
const message = createBaseGetUserAccountResponse();
|
|
770
|
+
while (reader.pos < end) {
|
|
771
|
+
const tag = reader.uint32();
|
|
772
|
+
switch (tag >>> 3) {
|
|
773
|
+
case 1:
|
|
774
|
+
if (tag !== 10) {
|
|
775
|
+
break;
|
|
776
|
+
}
|
|
777
|
+
message.address = reader.string();
|
|
778
|
+
continue;
|
|
779
|
+
}
|
|
780
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
781
|
+
break;
|
|
782
|
+
}
|
|
783
|
+
reader.skipType(tag & 7);
|
|
784
|
+
}
|
|
785
|
+
return message;
|
|
786
|
+
}
|
|
787
|
+
GetUserAccountResponse.decode = decode;
|
|
788
|
+
function fromJSON(object) {
|
|
789
|
+
return { address: isSet(object.address) ? String(object.address) : undefined };
|
|
790
|
+
}
|
|
791
|
+
GetUserAccountResponse.fromJSON = fromJSON;
|
|
792
|
+
function toJSON(message) {
|
|
793
|
+
const obj = {};
|
|
794
|
+
message.address !== undefined && (obj.address = message.address);
|
|
795
|
+
return obj;
|
|
796
|
+
}
|
|
797
|
+
GetUserAccountResponse.toJSON = toJSON;
|
|
798
|
+
function create(base) {
|
|
799
|
+
return GetUserAccountResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
800
|
+
}
|
|
801
|
+
GetUserAccountResponse.create = create;
|
|
802
|
+
function fromPartial(object) {
|
|
803
|
+
var _a;
|
|
804
|
+
const message = createBaseGetUserAccountResponse();
|
|
805
|
+
message.address = (_a = object.address) !== null && _a !== void 0 ? _a : undefined;
|
|
806
|
+
return message;
|
|
807
|
+
}
|
|
808
|
+
GetUserAccountResponse.fromPartial = fromPartial;
|
|
809
|
+
})(GetUserAccountResponse || (exports.GetUserAccountResponse = GetUserAccountResponse = {}));
|
|
810
|
+
exports.EthereumControllerServiceDefinition = {
|
|
811
|
+
name: "EthereumControllerService",
|
|
812
|
+
fullName: "decentraland.kernel.apis.EthereumControllerService",
|
|
813
|
+
methods: {
|
|
814
|
+
/**
|
|
815
|
+
* @deprecated, only available for SDK6 compatibility. This was a low level API that can
|
|
816
|
+
* be replaced by any ethereum library on top of the provider
|
|
817
|
+
*/
|
|
818
|
+
requirePayment: {
|
|
819
|
+
name: "RequirePayment",
|
|
820
|
+
requestType: RequirePaymentRequest,
|
|
821
|
+
requestStream: false,
|
|
822
|
+
responseType: RequirePaymentResponse,
|
|
823
|
+
responseStream: false,
|
|
824
|
+
options: {},
|
|
825
|
+
},
|
|
826
|
+
/**
|
|
827
|
+
* @deprecated, only available for SDK6 compatibility. This was a low level API that can
|
|
828
|
+
* be replaced by any ethereum library on top of the provider
|
|
829
|
+
*/
|
|
830
|
+
signMessage: {
|
|
831
|
+
name: "SignMessage",
|
|
832
|
+
requestType: SignMessageRequest,
|
|
833
|
+
requestStream: false,
|
|
834
|
+
responseType: SignMessageResponse,
|
|
835
|
+
responseStream: false,
|
|
836
|
+
options: {},
|
|
837
|
+
},
|
|
838
|
+
/**
|
|
839
|
+
* @deprecated, only available for SDK6 compatibility. This was a low level API that can
|
|
840
|
+
* be replaced by any ethereum library on top of the provider
|
|
841
|
+
*/
|
|
842
|
+
convertMessageToObject: {
|
|
843
|
+
name: "ConvertMessageToObject",
|
|
844
|
+
requestType: ConvertMessageToObjectRequest,
|
|
845
|
+
requestStream: false,
|
|
846
|
+
responseType: ConvertMessageToObjectResponse,
|
|
847
|
+
responseStream: false,
|
|
848
|
+
options: {},
|
|
849
|
+
},
|
|
850
|
+
sendAsync: {
|
|
851
|
+
name: "SendAsync",
|
|
852
|
+
requestType: SendAsyncRequest,
|
|
853
|
+
requestStream: false,
|
|
854
|
+
responseType: SendAsyncResponse,
|
|
855
|
+
responseStream: false,
|
|
856
|
+
options: {},
|
|
857
|
+
},
|
|
858
|
+
/**
|
|
859
|
+
* @deprecated, only available for SDK6 compatibility. This was a low level API that can
|
|
860
|
+
* be replaced by any ethereum library on top of the provider
|
|
861
|
+
*/
|
|
862
|
+
getUserAccount: {
|
|
863
|
+
name: "GetUserAccount",
|
|
864
|
+
requestType: GetUserAccountRequest,
|
|
865
|
+
requestStream: false,
|
|
866
|
+
responseType: GetUserAccountResponse,
|
|
867
|
+
responseStream: false,
|
|
868
|
+
options: {},
|
|
869
|
+
},
|
|
870
|
+
},
|
|
871
|
+
};
|
|
872
|
+
function isObject(value) {
|
|
873
|
+
return typeof value === "object" && value !== null;
|
|
874
|
+
}
|
|
875
|
+
function isSet(value) {
|
|
876
|
+
return value !== null && value !== undefined;
|
|
877
|
+
}
|
|
878
|
+
//# sourceMappingURL=ethereum_controller.gen.js.map
|