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