diff --git a/.gitignore b/.gitignore index 215e4017..95dc312d 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,5 @@ yarn-error.log* .env.development.local .env.test.local .env.production.local + +.vscode/settings.json \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index 5d4dab63..00000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "editor.tabSize": 2, - "search.exclude": { - "**/.yarn": true, - "**/.pnp.*": true - }, - "typescript.tsdk": ".yarn/sdks/typescript/lib", - "typescript.enablePromptUseWorkspaceTsdk": true, - "prettier.prettierPath": ".vscode/pnpify/prettier/index.js", - "cSpell.words": [ - "Addin", - "Blockhash", - "blockworks", - "Lamport", - "lamports", - "localnet", - "serialisation", - "solana", - "SYSVAR" - ] -} \ No newline at end of file diff --git a/packages/governance-sdk/src/governance/withCreateMintGovernance.ts b/packages/governance-sdk/src/governance/withCreateMintGovernance.ts index c3019d72..60194afe 100644 --- a/packages/governance-sdk/src/governance/withCreateMintGovernance.ts +++ b/packages/governance-sdk/src/governance/withCreateMintGovernance.ts @@ -12,6 +12,7 @@ import { SYSTEM_PROGRAM_ID } from '../tools/sdk/runtime'; import { withRealmConfigPluginAccounts } from './withRealmConfigPluginAccounts'; import { PROGRAM_VERSION_V1 } from '../registry/constants'; +/** @deprecated */ export const withCreateMintGovernance = async ( instructions: TransactionInstruction[], programId: PublicKey, diff --git a/packages/governance-sdk/src/governance/withCreateProgramGovernance.ts b/packages/governance-sdk/src/governance/withCreateProgramGovernance.ts index 9656635d..512229c6 100644 --- a/packages/governance-sdk/src/governance/withCreateProgramGovernance.ts +++ b/packages/governance-sdk/src/governance/withCreateProgramGovernance.ts @@ -12,6 +12,7 @@ import { BPF_UPGRADE_LOADER_ID } from '../tools/sdk/bpfUpgradeableLoader'; import { withRealmConfigPluginAccounts } from './withRealmConfigPluginAccounts'; import { PROGRAM_VERSION_V1 } from '../registry/constants'; +/** @deprecated */ export const withCreateProgramGovernance = async ( instructions: TransactionInstruction[], programId: PublicKey, diff --git a/packages/governance-sdk/src/governance/withCreateTokenGovernance.ts b/packages/governance-sdk/src/governance/withCreateTokenGovernance.ts index b86c759b..743dd1e5 100644 --- a/packages/governance-sdk/src/governance/withCreateTokenGovernance.ts +++ b/packages/governance-sdk/src/governance/withCreateTokenGovernance.ts @@ -12,6 +12,7 @@ import { TOKEN_PROGRAM_ID } from '../tools/sdk/splToken'; import { withRealmConfigPluginAccounts } from './withRealmConfigPluginAccounts'; import { PROGRAM_VERSION_V1 } from '../registry/constants'; +/** @deprecated */ export const withCreateTokenGovernance = async ( instructions: TransactionInstruction[], programId: PublicKey,