What version of @servicestack/client with Angular v16

We are upgrading our Angular application to Anvular v16. package.json currently has:

@servicestack/client”: “1.0.59”

in “devDependencies” section.

ng build reports the following warning:

Warning: …\src\app\shared\services\data.service.ts depends on ‘@servicestack/client’. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: Angular

Should I update the version of @servicestack/client and will any code changes be required?

The latest @servicestack/client version is v2.1.7.

The major v2 change is listed on the home page:

i.e. it now has no dependencies, uses native fetch and the default path is /api which utilizes the default JSON /api predefined route instead of /json/reply.