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

Remove fetch daos function #280

Closed
wants to merge 13 commits into from
Closed

Remove fetch daos function #280

wants to merge 13 commits into from

Conversation

itexpert120
Copy link
Collaborator

@itexpert120 itexpert120 commented May 3, 2024

Requires NEARBuilders/sdks.near#19
Resolves #281

Copy link

vercel bot commented May 3, 2024

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

Name Status Preview Comments Updated (UTC)
gateway ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 3, 2024 3:21pm

};

const DaoSDK = VM.require("sdks.near/widget/SDKs.Sputnik.DaoSDK") || (() => {});
const sdk = DaoSDK("build.sputnik-dao.near");
Copy link
Collaborator

Choose a reason for hiding this comment

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

Perhaps this could also be added to aliases?

Suggested change
const sdk = DaoSDK("build.sputnik-dao.near");
const sdk = DaoSDK("${alias_buildDAO}");

daos: [],
};

const DaoSDK = VM.require("sdks.near/widget/SDKs.Sputnik.DaoSDK") || (() => {});
Copy link
Collaborator

Choose a reason for hiding this comment

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

How about placing this as "daosdk": "sdks.near/widget/SDKs.Sputnik.DaoSDK" in aliases (mainnet and testnet) and use ${alias_daosdk} instead?

Suggested change
const DaoSDK = VM.require("sdks.near/widget/SDKs.Sputnik.DaoSDK") || (() => {});
const DaoSDK = VM.require("${alias_daosdk") || (() => {});

@Megha-Dev-19
Copy link
Collaborator

hey @itexpert120 I have added a comment to the SDK PR.

@Megha-Dev-19
Copy link
Collaborator

Should be reopened, too many conflicts.

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.

move daos fetch to sdks.near
5 participants