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

sdk changes for SuperMinterV2 #292

Merged
merged 17 commits into from
Dec 18, 2023
Merged

sdk changes for SuperMinterV2 #292

merged 17 commits into from
Dec 18, 2023

Conversation

vigneshka
Copy link
Collaborator

No description provided.

Copy link

changeset-bot bot commented Dec 7, 2023

🦋 Changeset detected

Latest commit: 83512d8

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

This PR includes changesets to release 3 packages
Name Type
@soundxyz/legacy-sdk Patch
@soundxyz/sdk Minor
soundxyz-sdk-nextjs-example Patch

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

Copy link

vercel bot commented Dec 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
sdk-nextjs-example ✅ Ready (Inspect) Visit Preview Dec 18, 2023 5:42pm

@vigneshka vigneshka marked this pull request as ready for review December 18, 2023 16:50
@vigneshka vigneshka changed the title sdk changes for SuperMinterV1_1 sdk changes for SuperMinterV2 Dec 18, 2023
if (this.cache.has(key)) {
return this.cache.get(key) as T
}
const data = await fetchData()
Copy link
Member

Choose a reason for hiding this comment

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

I still feel like making this call idempotent would be worth

Comment on lines 48 to 50
const version = superMinter.version

switch (version) {
Copy link
Member

@PabloSzx PabloSzx Dec 18, 2023

Choose a reason for hiding this comment

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

Suggested change
const version = superMinter.version
switch (version) {
switch (superMinter.version) {

})
}
default:
exhaustiveGuard(version)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
exhaustiveGuard(version)
exhaustiveGuard(superMinter)

@PabloSzx PabloSzx merged commit 69a4e0f into main Dec 18, 2023
2 of 3 checks passed
@PabloSzx PabloSzx deleted the vigneshka/sdk-changes branch December 18, 2023 17:41
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.

2 participants