Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update index.d.ts to include the properties for liveactivity #167

Closed
sreelakshmitsree opened this issue Feb 5, 2025 · 3 comments
Closed
Labels

Comments

@sreelakshmitsree
Copy link

Is it possible to include staleDate, timestamp, event, attributes, attributes-type in index.d.ts, and APS properties to work with Live Activities? These properties are currently missing.

Copy link

Thanks for opening this issue!

@cbaker6
Copy link

cbaker6 commented Feb 8, 2025

These were all added in #164, released in version 6.4.0, and can be seen here:

node-apn/index.d.ts

Lines 131 to 137 in 0999242

"stale-date"?: number
"content-state"?: Object
timestamp?: number
event?: string
"dismissal-date"?: number
"attributes-type"?: string
attributes?: Object

@mtrezza
Copy link
Member

mtrezza commented Feb 8, 2025

Closing via #164

@mtrezza mtrezza closed this as completed Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants