Skip to content

feat: attribute JS package requests#294

Draft
Takaros999 wants to merge 3 commits into
takis/bridge-package-metadata-nativefrom
takis/idkit-react-package-metadata
Draft

feat: attribute JS package requests#294
Takaros999 wants to merge 3 commits into
takis/bridge-package-metadata-nativefrom
takis/idkit-react-package-metadata

Conversation

@Takaros999

@Takaros999 Takaros999 commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

stacked on top of #293, adds factory pattern createIDKitNamespace in order to configure IDKit object with a package_name and package_version. This might sound more complex than it should be but we need it to differentiate between idkit core and react.

@vercel

vercel Bot commented Jun 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
idkit-js-example Ready Ready Preview, Comment Jun 26, 2026 11:29pm

Request Review

@Takaros999 Takaros999 force-pushed the takis/idkit-react-package-metadata branch from e633f86 to 1be49f7 Compare June 26, 2026 21:24
@Takaros999 Takaros999 force-pushed the takis/bridge-package-metadata-native branch from a67862a to 531f593 Compare June 26, 2026 21:31
@Takaros999 Takaros999 force-pushed the takis/idkit-react-package-metadata branch from 1be49f7 to fab1cf2 Compare June 26, 2026 21:38
@Takaros999 Takaros999 changed the title feat: attribute React package requests feat: attribute JS package requests Jun 26, 2026
@Takaros999

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: b69d012d1d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@Takaros999 Takaros999 force-pushed the takis/idkit-react-package-metadata branch from b69d012 to 3189c0f Compare June 26, 2026 22:27
@Takaros999

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3189c0f61f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@@ -0,0 +1,7 @@
import { createIDKitNamespace } from "@worldcoin/idkit-core/internal";

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Bump core before importing the internal subpath

In the publish-react workflow I inspected, the React package dependency is rewritten to the version from js/packages/core/package.json and the workflow only verifies that this version exists on npm. This new unconditional import requires the newly added @worldcoin/idkit-core/internal export, but this commit does not bump the core package version, so an independent React release can be paired with an already-published core tarball that lacks ./internal and fail on any @worldcoin/idkit import with a package-subpath export error. Please ensure core is bumped/released with this subpath before React depends on it.

Useful? React with 👍 / 👎.

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.

1 participant