user4587: With the new version of library TranasctionBuilder.new() arguments have changed.
When running:
    const txBuilder = this.S.TransactionBuilder.new(
      this.S.LinearFee.new(
        this.S.BigNum.from_str(protocolParameters.linearFee.minFeeA),
        this.S.BigNum.from_str(protocolParameters.linearFee.minFeeB)
      ),
      this.S.BigNum.from_str(protocolParameters.minUtxo),
      this.S.BigNum.from_str(protocolParameters.poolDeposit),
      this.S.BigNum.from_str(protocolParameters.keyDeposit),
      this.S.BigNum.from_str(protocolParameters.coinsPerUtxoWord),
      protocolParameters.maxValSize,
      protocolParameters.maxTxSize,
      protocolParameters.priceMem,
      protocolParameters.priceStep,
      this.S.LanguageViews.new(Buffer.from(languageViews, "hex"))
    );

It throws an error
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'new')

What do I do wrong here?

user4627: You should probably now use the ConfigBuilder to create a config for creating the TransactionBuilder.
This should do the trick:
const cfg = TransactionBuilderConfigBuilder.new()
      .fee_algo(this.S.LinearFee.new(
        this.S.BigNum.from_str(protocolParameters.linearFee.minFeeA),
        this.S.BigNum.from_str(protocolParameters.linearFee.minFeeB)
      ))
      .pool_deposit(this.S.BigNum.from_str(protocolParameters.poolDeposit))
      .key_deposit(this.S.BigNum.from_str(protocolParameters.keyDeposit))
      .max_tx_size(protocolParameters.maxTxSize)
      .max_value_size(protocolParameters.maxValSize)
      .coins_per_utxo_word(this.S.BigNum.from_str(protocolParameters.coinsPerUtxoWord))
      .build()

const txBuilder = this.S.TransactionBuilder.new(cfg);


4587: <p>With the new version of library TranasctionBuilder.new() arguments have changed.</p>
<p>When running:</p>
<pre><code>    const txBuilder = this.S.TransactionBuilder.new(
      this.S.LinearFee.new(
        this.S.BigNum.from_str(protocolParameters.linearFee.minFeeA),
        this.S.BigNum.from_str(protocolParameters.linearFee.minFeeB)
      ),
      this.S.BigNum.from_str(protocolParameters.minUtxo),
      this.S.BigNum.from_str(protocolParameters.poolDeposit),
      this.S.BigNum.from_str(protocolParameters.keyDeposit),
      this.S.BigNum.from_str(protocolParameters.coinsPerUtxoWord),
      protocolParameters.maxValSize,
      protocolParameters.maxTxSize,
      protocolParameters.priceMem,
      protocolParameters.priceStep,
      this.S.LanguageViews.new(Buffer.from(languageViews, &quot;hex&quot;))
    );
</code></pre>
<p>It throws an error</p>
<pre><code>Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'new')
</code></pre>
<p>What do I do wrong here?</p>
 4627: <p>You should probably now use the ConfigBuilder to create a config for creating the TransactionBuilder.</p>
<p>This should do the trick:</p>
<pre><code>const cfg = TransactionBuilderConfigBuilder.new()
      .fee_algo(this.S.LinearFee.new(
        this.S.BigNum.from_str(protocolParameters.linearFee.minFeeA),
        this.S.BigNum.from_str(protocolParameters.linearFee.minFeeB)
      ))
      .pool_deposit(this.S.BigNum.from_str(protocolParameters.poolDeposit))
      .key_deposit(this.S.BigNum.from_str(protocolParameters.keyDeposit))
      .max_tx_size(protocolParameters.maxTxSize)
      .max_value_size(protocolParameters.maxValSize)
      .coins_per_utxo_word(this.S.BigNum.from_str(protocolParameters.coinsPerUtxoWord))
      .build()

const txBuilder = this.S.TransactionBuilder.new(cfg);
</code></pre>
