dialectlabs / sdk

Apache License 2.0
22 stars 7 forks source link

[CORE-1581] feat: make upserting wallet optional #106

Closed dshuvalov closed 1 year ago

dshuvalov commented 1 year ago

Description

By default, we have behavior when sdk upserts a wallet after creating the token. This is the bottleneck in dial-app while we are creating a new user because the upsert wallet endpoint (api/v1/wallets/me) invokes with x-client-name: dialect-sdk. For example, when we want to handle created user from the dial-app we won't be able to do that, because the user will be created according to dialect-sdk HTTP headers context in a request