-
Notifications
You must be signed in to change notification settings - Fork 51
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
Document timeDifference
startegyOption
#199
Comments
Oh yeah definitely! I'll get on that |
Hey @gr2m, I was looking into documenting this, but it looks like We could add it as an option and then initialize the state with the |
hmm sorry I found Lines 76 to 89 in 90bc639
but it really should only be set on State instead. I just checked and everything still works if we do the change diff --git a/src/types.ts b/src/types.ts
index 7093605..99ca9a3 100644
--- a/src/types.ts
+++ b/src/types.ts
@@ -81,7 +81,6 @@ export type StrategyOptions = {
clientSecret?: string;
request?: OctokitTypes.RequestInterface;
cache?: Cache;
- timeDifference?: number;
log?: {
warn: (message: string, additionalInfo?: object) => any;
[key: string]: any;
@@ -125,6 +124,7 @@ export type State = StrategyOptions & {
installationId?: number;
request: OctokitTypes.RequestInterface;
cache: Cache;
+ timeDifference?: number;
log: {
warn: (message: string, additionalInfo?: object) => any;
[key: string]: any; Would you like to send a PR for that? |
Ah yeah, I see what you mean. Thanks for pointing that out! I'll make a PR right now. |
🎉 This issue has been resolved in version 2.8.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
follow up to #164. Looks like we implemented the option without documenting it.
@copperwall would you mind adding the documentation for the option?
The text was updated successfully, but these errors were encountered: