You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem and use case? Please describe.
An injector property is present in the Context class and set by default to an instance of RpcInjector. There is no easy way for the users to customize or override the injector.
Describe the solution you'd like
Allows easy customization of the injector by adding a setInjectorProvider method on the TezosToolkit class.
Additional context
When using the current implementation of the RpcInjector, the RPC waits for the operation to be (pre-)validated before returning the operation hash.
The RPC /injection/operation endpoint has an optional property name async, which when set to true, skips the (pre-)validated and returns immediately.
By providing access to the injector, users will be able to skip this validation if needed.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem and use case? Please describe.
An
injector
property is present in the Context class and set by default to an instance ofRpcInjector
. There is no easy way for the users to customize or override the injector.Describe the solution you'd like
Allows easy customization of the injector by adding a
setInjectorProvider
method on theTezosToolkit
class.Additional context
When using the current implementation of the
RpcInjector
, the RPC waits for the operation to be (pre-)validated before returning the operation hash.The RPC
/injection/operation
endpoint has an optional property nameasync
, which when set totrue
, skips the (pre-)validated and returns immediately.By providing access to the injector, users will be able to skip this validation if needed.
The text was updated successfully, but these errors were encountered: