api-sdk-ts
api-sdk-ts copied to clipboard
Compatibility with recent taquito
Heya, and thank you!
It seems to work quite nicely :)
Small issue: it's not quite compatible with more recent versions of taquito. At best type errors (15.0), at worst runtime errors (15.1).
Ok, so the 15.1 issues seems to be a general issue with taquito - not sure how that only showed up now. Package managers...
Type error I get with 15.0:
Argument of type 'TzktExtension' is not assignable to parameter of type 'Extension | Extension[]'.
Type 'TzktExtension' is not assignable to type 'Extension'.
Types of property 'configureContext' are incompatible.
Type '(context: import("[...]/node_modules/@tzkt/ext-taquito/node_modules/@taquito/taquito/dist/types/context").Context) => void' is not assignable to type '(context: import("[...]/node_modules/@taquito/taquito/dist/types/context").Context) => void'.
Types of parameters 'context' and 'context' are incompatible.
Type 'import("[...]/node_modules/@taquito/taquito/dist/types/context").Context' is not assignable to type 'import("[...]/node_modules/@tzkt/ext-taquito/node_modules/@taquito/taquito/dist/types/context").Context'.
Types have separate declarations of a private property '_rpc'.