async UserProfileImage({address}={}) {
    let walletAddress;
    if(address) {
      walletAddress = await this.UserWalletAddress({address});
    } else {
      address = this.client.signer.address;
      walletAddress = this.walletAddress;
    }

    if(!walletAddress) { return; }

    const imageHash = await this.PublicUserMetadata({address, metadataSubtree: "image"});

    if(!imageHash) { return; }

    const libraryId = this.client.contentSpaceLibraryId;
    const objectId = Utils.AddressToObjectId(walletAddress);

    return await this.client.PublicRep({
      libraryId,
      objectId,
      rep: "image",
      queryParams: {hash: imageHash},
      noAuth: true,
      channelAuth: false
    });
  }
/**
   * Get the URL of the current user's profile image
   *
   * Note: Part hash of profile image will be appended to the URL as a query parameter to invalidate
   * browser caching when the image is updated
   *
   * @namedParams
   * @param {string=} address - The address of the user. If not specified, the address of the current user will be used.
   *
   * @return {Promise<string | undefined>} - URL of the user's profile image. Will be undefined if no profile image is set.
   */
Get the URL of the current user's profile image
Note: Part hash of profile image will be appended to the URL as a query parameter to invalidate
browser caching when the image is updated

@namedParams
@param {string=} address - The address of the user. If not specified, the address of the current user will be used.

@return {Promise} - URL of the user's profile image. Will be undefined if no profile image is set.
Get the URL of the current user ' s profile image Note : Part hash of profile image will be appended to the URL as a query parameter to invalidate browser caching when the image is updated @namedParams @param { string = } address - The address of the user . If not specified the address of the current user will be used . @return { Promise } - URL of the user ' s profile image . Will be undefined if no profile image is set .
async UserProfileImage({address}={}) {
    let walletAddress;
    if(address) {
      walletAddress = await this.UserWalletAddress({address});
    } else {
      address = this.client.signer.address;
      walletAddress = this.walletAddress;
    }
    if(!walletAddress) { return; }
    const imageHash = await this.PublicUserMetadata({address, metadataSubtree: "image"});
    if(!imageHash) { return; }
    const libraryId = this.client.contentSpaceLibraryId;
    const objectId = Utils.AddressToObjectId(walletAddress);
    return await this.client.PublicRep({
      libraryId,
      objectId,
      rep: "image",
      queryParams: {hash: imageHash},
      noAuth: true,
      channelAuth: false
    });
  }
async UserProfileImage ( { address } = { } ) { let walletAddress ; if ( address ) { walletAddress = await this . UserWalletAddress ( { address } ) ; } else { address = this . client . signer . address ; walletAddress = this . walletAddress ; } if ( ! walletAddress ) { return ; } const imageHash = await this . PublicUserMetadata ( { address , metadataSubtree : "image" } ) ; if ( ! imageHash ) { return ; } const libraryId = this . client . contentSpaceLibraryId ; const objectId = Utils . AddressToObjectId ( walletAddress ) ; return await this . client . PublicRep ( { libraryId , objectId , rep : "image" , queryParams : { hash : imageHash } , noAuth : true , channelAuth : false } ) ; }
Get the URL of the current user's profile image
 Note: Part hash of profile image will be appended to the URL as a query parameter to invalidate
 browser caching when the image is updated
Get the URL of the current user ' s profile image Note : Part hash of profile image will be appended to the URL as a query parameter to invalidate browser caching when the image is updated