Hi,
It seems like there is a dependency issue with the NodeJS package from version 35.0.0 and above.
I cannot build my typescript project unless I use 34.0.1.
node_modules/square/dist/types/authProvider.d.ts:2:153 - error TS2307: Cannot find module '@apimatic/authentication-adapters/lib/compositeAuthenticationAdapter' or its corresponding type declarations.
2 export declare function createAuthProviderFromConfig(config: Partial<Configuration>): import("@apimatic/core-interfaces").AuthenticatorInterface<import("@apimatic/authentication-adapters/lib/compositeAuthenticationAdapter").CompositeAuthParams<"global", {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 1 error in node_modules/square/dist/types/authProvider.d.ts:2
Running
npm i @apimatic/authentication-adapters
fixes the build problem it seems but that should not be required. Also it leads to a following runtime error anyway.
TypeError: core_interfaces_1.combineHttpInterceptors is not a function
Thanks.