async UseRegion({region}) {
    if(!this.configUrl) {
      throw Error("Unable to change region: Configuration URL not set");
    }

    const { fabricURIs, ethereumURIs } = await ElvClient.Configuration({
      configUrl: this.configUrl,
      region
    });

    this.fabricURIs = fabricURIs;
    this.ethereumURIs = ethereumURIs;

    this.HttpClient.uris = fabricURIs;
    this.HttpClient.uriIndex = 0;

    this.ethClient.ethereumURIs = ethereumURIs;
    this.ethClient.ethereumURIIndex = 0;

    return {
      fabricURIs,
      ethereumURIs
    };
  }
/**
   * Update fabric URLs to prefer the specified region.
   *
   * Note: Client must have been initialized with FromConfiguration
   *
   * @methodGroup Nodes
   * @namedParams
   * @param {string} region - Preferred region - the fabric will auto-detect the best region if not specified
   * - Available regions: na-west-north na-west-south na-east eu-west
   *
   * @return {Promise<Object>} - An object containing the updated fabric and ethereum URLs in order of preference
   */
Update fabric URLs to prefer the specified region.
Note: Client must have been initialized with FromConfiguration



@return {Promise} - An object containing the updated fabric and ethereum URLs in order of preference
Update fabric URLs to prefer the specified region . Note : Client must have been initialized with FromConfiguration @return { Promise } - An object containing the updated fabric and ethereum URLs in order of preference
async UseRegion({region}) {
    if(!this.configUrl) {
      throw Error("Unable to change region: Configuration URL not set");
    }
    const { fabricURIs, ethereumURIs } = await ElvClient.Configuration({
      configUrl: this.configUrl,
      region
    });
    this.fabricURIs = fabricURIs;
    this.ethereumURIs = ethereumURIs;
    this.HttpClient.uris = fabricURIs;
    this.HttpClient.uriIndex = 0;
    this.ethClient.ethereumURIs = ethereumURIs;
    this.ethClient.ethereumURIIndex = 0;
    return {
      fabricURIs,
      ethereumURIs
    };
  }
async UseRegion ( { region } ) { if ( ! this . configUrl ) { throw Error ( "Unable to change region: Configuration URL not set" ) ; } const { fabricURIs , ethereumURIs } = await ElvClient . Configuration ( { configUrl : this . configUrl , region } ) ; this . fabricURIs = fabricURIs ; this . ethereumURIs = ethereumURIs ; this . HttpClient . uris = fabricURIs ; this . HttpClient . uriIndex = 0 ; this . ethClient . ethereumURIs = ethereumURIs ; this . ethClient . ethereumURIIndex = 0 ; return { fabricURIs , ethereumURIs } ; }
Update fabric URLs to prefer the specified region.
Update fabric URLs to prefer the specified region .