-
Notifications
You must be signed in to change notification settings - Fork 8
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
Conversation
* Update dependencies * Fix flashes * Fix daosdk fallback * Remove unused files and comments * Formatting fix
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
}; | ||
|
||
const DaoSDK = VM.require("sdks.near/widget/SDKs.Sputnik.DaoSDK") || (() => {}); | ||
const sdk = DaoSDK("build.sputnik-dao.near"); |
There was a problem hiding this comment.
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?
const sdk = DaoSDK("build.sputnik-dao.near"); | |
const sdk = DaoSDK("${alias_buildDAO}"); |
daos: [], | ||
}; | ||
|
||
const DaoSDK = VM.require("sdks.near/widget/SDKs.Sputnik.DaoSDK") || (() => {}); |
There was a problem hiding this comment.
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?
const DaoSDK = VM.require("sdks.near/widget/SDKs.Sputnik.DaoSDK") || (() => {}); | |
const DaoSDK = VM.require("${alias_daosdk") || (() => {}); |
hey @itexpert120 I have added a comment to the SDK PR. |
Should be reopened, too many conflicts. |
Requires NEARBuilders/sdks.near#19
Resolves #281