@solana/spl-governance
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "@solana/spl-governance", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "SPL Governance Client API", | ||
"author": "Solana Maintainers <maintainers@solana.foundation>", | ||
"homepage": "https://github.com/solana-labs/oyster#readme", | ||
"homepage": "https://github.com/solana-labs/oyster/blob/main/packages/governance-sdk/README.md", | ||
"license": "MIT", | ||
@@ -31,3 +31,8 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"superstruct": "^0.15.2" | ||
"superstruct": "^0.15.2", | ||
"@solana/web3.js": "^1.22.0", | ||
"bn.js": "^5.1.3", | ||
"bs58": "^4.0.1", | ||
"borsh": "^0.3.1", | ||
"@solana/wallet-adapter-base": "^0.6.0" | ||
}, | ||
@@ -34,0 +39,0 @@ "devDependencies": { |
@@ -8,2 +8,8 @@ # `governance-sdk` | ||
```typescript | ||
import { withCreateRealm } from "@solana/spl-governance"; | ||
import { getRealms } from '@solana/spl-governance'; | ||
const governanceProgramId = new PublicKey('GovER5Lthms3bLBqWub97yVrMmEogzX7xNjdXpPPCVZw'); | ||
const rpcEndpoint = "https://api.mainnet-beta.solana.com"; | ||
const realms = getRealms(rpcEndpoint, governanceProgramId); | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
422950
15
6
+ Added@solana/web3.js@^1.22.0
+ Addedbn.js@^5.1.3
+ Addedborsh@^0.3.1
+ Addedbs58@^4.0.1
+ Added@babel/runtime@7.26.0(transitive)
+ Added@noble/curves@1.6.0(transitive)
+ Added@noble/hashes@1.5.0(transitive)
+ Added@solana/buffer-layout@4.0.1(transitive)
+ Added@solana/wallet-adapter-base@0.6.0(transitive)
+ Added@solana/web3.js@1.95.4(transitive)
+ Added@swc/helpers@0.5.15(transitive)
+ Added@types/bn.js@4.11.6(transitive)
+ Added@types/connect@3.4.38(transitive)
+ Added@types/node@12.20.5522.9.0(transitive)
+ Added@types/uuid@8.3.4(transitive)
+ Added@types/ws@7.4.78.5.13(transitive)
+ AddedJSONStream@1.3.5(transitive)
+ Addedagentkeepalive@4.5.0(transitive)
+ Addedbase-x@3.0.10(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedbigint-buffer@1.1.5(transitive)
+ Addedbindings@1.5.0(transitive)
+ Addedbn.js@5.2.1(transitive)
+ Addedborsh@0.3.10.7.0(transitive)
+ Addedbs58@4.0.1(transitive)
+ Addedbuffer@6.0.3(transitive)
+ Addedbufferutil@4.0.8(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addeddelay@5.0.0(transitive)
+ Addedes6-promise@4.2.8(transitive)
+ Addedes6-promisify@5.0.0(transitive)
+ Addedeventemitter3@4.0.75.0.1(transitive)
+ Addedeyes@0.1.8(transitive)
+ Addedfast-stable-stringify@1.0.0(transitive)
+ Addedfile-uri-to-path@1.0.0(transitive)
+ Addedhumanize-ms@1.2.1(transitive)
+ Addedieee754@1.2.1(transitive)
+ Addedisomorphic-ws@4.0.1(transitive)
+ Addedjayson@4.1.2(transitive)
+ Addedjson-stringify-safe@5.0.1(transitive)
+ Addedjsonparse@1.3.1(transitive)
+ Addedms@2.1.3(transitive)
+ Addednode-fetch@2.7.0(transitive)
+ Addednode-gyp-build@4.8.3(transitive)
+ Addedregenerator-runtime@0.14.1(transitive)
+ Addedrpc-websockets@9.0.4(transitive)
+ Addedsafe-buffer@5.2.1(transitive)
+ Addedsuperstruct@2.0.2(transitive)
+ Addedtext-encoding-utf-8@1.0.2(transitive)
+ Addedthrough@2.3.8(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addedtslib@2.8.1(transitive)
+ Addedundici-types@6.19.8(transitive)
+ Addedutf-8-validate@5.0.10(transitive)
+ Addeduuid@8.3.2(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)
+ Addedws@7.5.108.18.0(transitive)