Skip to content

Conversation

@Aliiiu
Copy link
Contributor

@Aliiiu Aliiiu commented Jan 9, 2025

  • What kind of change does this PR introduce? Add the sendTwitterApiRequest

  • What is the current behavior? we currently don't have a sendTwitterApiRequest function

  • What is the new behavior (if this is a feature change)? adds the sendTwitterApiRequest feature

@changeset-bot
Copy link

changeset-bot bot commented Jan 9, 2025

🦋 Changeset detected

Latest commit: 6664b15

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@everipedia/iq-utils Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Aliiiu Aliiiu requested a review from Adebesin-Cell January 9, 2025 16:11
Copy link
Member

@Adebesin-Cell Adebesin-Cell left a comment

Choose a reason for hiding this comment

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

The code for Twitter looks great! Could you kindly remove any unrelated changes that aren’t directly related to configuring Twitter?

Also, please expose the necessary utility for making requests in index.ts, as it serves as the entry point of the package.

export * from "./lib/wiki-score";
export * from "./lib/check-deep-equal";
export * from "./lib/check-wiki-validity";
export * from "./data/constants";
export * from "./schema";

// ===============================
export function isEventWikiValid(wiki: any): boolean {
if (wiki.tags.some((tag: any) => tag.id === "Events")) {
export function isEventWikiValid(wiki: {
Copy link
Member

Choose a reason for hiding this comment

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

Why these changes? Are they related to this PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I got a failed build due to any usage

Copy link
Member

Choose a reason for hiding this comment

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

Weird

"@changesets/cli": "^2.24.0",
"@types/node": "^22.7.4",
"changeset": "^0.2.6",
"husky": "^9.1.7",
Copy link
Member

Choose a reason for hiding this comment

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

Why are we introducing husky?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was getting a failed build because it was not catching some errors here. So I setup a pre-commit hook to help prevent future occurrences

Copy link
Member

Choose a reason for hiding this comment

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

I think we could add in another PR. 👍 Keeps the PR lean

@Aliiiu Aliiiu merged commit 27dd2d8 into main Jan 10, 2025
1 check passed
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