How to use the @tanker/identity._deserializeProvisionalIdentity function in @tanker/identity

To help you get started, we’ve selected a few @tanker/identity examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github TankerHQ / sdk-js / packages / core / src / Tanker.js View on Github external
async attachProvisionalIdentity(provisionalIdentity: b64string): Promise<*> {
    this.assert(statuses.READY, 'attach a provisional identity');

    const provisionalIdentityObj = _deserializeProvisionalIdentity(provisionalIdentity);

    return this._session.attachProvisionalIdentity(provisionalIdentityObj);
  }