-
Notifications
You must be signed in to change notification settings - Fork 8
Implemented preview token generation #350
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements preview token generation for delivery tokens. Key changes include:
- Adding test assertions to verify that a preview_token is generated.
- Updating the delivery token creation logic in both the DeliveryToken class and the entity module to include support for preview tokens.
- Bumping the package version and updating the changelog accordingly.
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
test/sanity-check/api/deliveryToken-test.js | Added assertions to verify preview_token is not null in delivery token responses. |
package.json | Updated version number from 1.21.1 to 1.21.2. |
lib/stack/deliveryToken/index.js | Modified the create function call to include create_with_preview_token flag. |
lib/entity.js | Updated the create function to accept and merge a create_with_preview_token flag. |
CHANGELOG.md | Documented the enhancement related to preview token generation. |
Coverage report for commit: 64c04eb
Summary - Lines: 89.12% | Methods: 98.58% | Branches: 72.38%
🤖 comment via lucassabreu/comment-coverage-clover |
No description provided.