passageidentity / example-angular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compatibility with angular 8?

artur-deeb opened this issue · comments

hello team passage.id,

I am interested in integrating your authentication into the project.
I have the problem with your npm-installable package:

  • @passageidentity/passage-elements
  • @passageidentity/passage-js

in all 2 cases I end up with a simple error that does not explain why:

`ERROR in node_modules/@passageidentity/passage-js/dist/index.d.ts:110:5 - error TS1127: Invalid character.

110 #private;

ℹ 「wdm」: Failed to compile.`

I noticed that your packege works on angular 13, but I have angula 8 on a large project and an immigration is not invisagable.
can you tell me if we can solve the compatibility problem?

thank you

Thanks for the note @artur-deeb. The root of the issue is our use of the private properties in Typescript which is incompatible with Angular 8.

We have just published new versions of these packages that fixes this issue. Please use the following package versions, which now support Angular 8:
passage-js@2.3.4
passage-elements@0.1.0-beta.45