Skip to content

Conversation

Chibuzor27
Copy link

  • Update package version
  • Update demo app to angular version 19
  • Update directives and component to standalone
  • Move declarations to import in Paystack module
  • Update 'ngClass' and 'ngStyle' to 'class' and 'style' respectively in Paystack component
  • Fix no-reflecting class attribute on directive
  • Fix typo in error message in Paystack service
  • Add style for Paystack buttons in demo app

Copy link
Owner

@ashinzekene ashinzekene left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for submitting this PR!

changeDetection: ChangeDetectionStrategy.OnPush,
template: `<div id="paystackEmbedContainer"></div>`
template: `<div id="paystackEmbedContainer"></div>`,
standalone: true
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The library support angular from v8-17 (now 19). This would cause older projects to break

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tested changes with angular 16 and 17, and it seems to work pretty well.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should take this out

@chrisezedi
Copy link

@ashinzekene how's it going, any updates on this?, the current version isnt compatible with angular 19 cc @Chibuzor27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants