screwdriver-wrenchUtils

The Utils class provides helper functions for Cryptalk inbox IDs.

Class: Utils

Constructor

  • constructor(enableLogging?: boolean): Initializes a new Utils instance.

Instance Methods

  • async generateInboxId(identifier: Identifier): Promise<string>: Generates an inbox ID for a given identifier.

  • async getInboxIdForIdentifier(identifier: Identifier, env?: XmtpEnv): Promise<string | undefined>: Gets the inbox ID for a specific identifier and optional environment.

  • close(): void: Terminates the underlying worker.

Last updated