@quarryprotocol/quarry-sdk
Advanced tools
Comparing version 1.0.0 to 1.0.1
import { PublicKey } from "@solana/web3.js"; | ||
import type { MineProgram, MintWrapperProgram } from "./programs"; | ||
import type { RegistryProgram } from "./programs/registry"; | ||
export interface Programs { | ||
MintWrapper: MintWrapperProgram; | ||
Mine: MineProgram; | ||
Registry: RegistryProgram; | ||
} | ||
@@ -10,2 +12,3 @@ export declare const QUARRY_ADDRESSES: { | ||
Mine: PublicKey; | ||
Registry: PublicKey; | ||
}; | ||
@@ -15,2 +18,3 @@ export declare const QUARRY_IDLS: { | ||
Mine: import("./programs").QuarryMineIDL; | ||
Registry: import("./programs").QuarryRegistryIDL; | ||
}; | ||
@@ -17,0 +21,0 @@ /** |
@@ -7,6 +7,8 @@ "use strict"; | ||
const quarry_mint_wrapper_1 = require("./idls/quarry_mint_wrapper"); | ||
const registry_1 = require("./programs/registry"); | ||
// See `Anchor.toml` for all addresses. | ||
exports.QUARRY_ADDRESSES = { | ||
MintWrapper: new web3_js_1.PublicKey("QMWVettd5nC2Y9nSkXa4pznj2dMfBg5oqvwc4kV8Sa6"), | ||
Mine: new web3_js_1.PublicKey("QMNFUvncKBh11ZgEwYtoup3aXvuVxt6fzrcsjk2cjpM"), | ||
MintWrapper: new web3_js_1.PublicKey("QMWoBmAyJLAsA1Lh9ugMTw2gciTihncciphzdNzdZYV"), | ||
Mine: new web3_js_1.PublicKey("QMNeHCGYnLVDn1icRAfQZpjPLBNkfGbSKRB83G5d8KB"), | ||
Registry: new web3_js_1.PublicKey("QREGBnEj9Sa5uR91AV8u3FxThgP5ZCvdZUW2bHAkfNc"), | ||
}; | ||
@@ -16,2 +18,3 @@ exports.QUARRY_IDLS = { | ||
Mine: quarry_mine_1.QuarryMineJSON, | ||
Registry: registry_1.QuarryRegistryJSON, | ||
}; | ||
@@ -18,0 +21,0 @@ /** |
export * from "./mine"; | ||
export * from "./mintWrapper"; | ||
export * from "./registry"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -15,2 +15,3 @@ "use strict"; | ||
__exportStar(require("./mintWrapper"), exports); | ||
__exportStar(require("./registry"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@quarryprotocol/quarry-sdk", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Quarry Protocol SDK", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -6,2 +6,4 @@ import { PublicKey } from "@solana/web3.js"; | ||
import type { MineProgram, MintWrapperProgram } from "./programs"; | ||
import type { RegistryProgram } from "./programs/registry"; | ||
import { QuarryRegistryJSON } from "./programs/registry"; | ||
@@ -11,2 +13,3 @@ export interface Programs { | ||
Mine: MineProgram; | ||
Registry: RegistryProgram; | ||
} | ||
@@ -16,4 +19,5 @@ | ||
export const QUARRY_ADDRESSES = { | ||
MintWrapper: new PublicKey("QMWVettd5nC2Y9nSkXa4pznj2dMfBg5oqvwc4kV8Sa6"), | ||
Mine: new PublicKey("QMNFUvncKBh11ZgEwYtoup3aXvuVxt6fzrcsjk2cjpM"), | ||
MintWrapper: new PublicKey("QMWoBmAyJLAsA1Lh9ugMTw2gciTihncciphzdNzdZYV"), | ||
Mine: new PublicKey("QMNeHCGYnLVDn1icRAfQZpjPLBNkfGbSKRB83G5d8KB"), | ||
Registry: new PublicKey("QREGBnEj9Sa5uR91AV8u3FxThgP5ZCvdZUW2bHAkfNc"), | ||
}; | ||
@@ -24,2 +28,3 @@ | ||
Mine: QuarryMineJSON, | ||
Registry: QuarryRegistryJSON, | ||
}; | ||
@@ -26,0 +31,0 @@ |
export * from "./mine"; | ||
export * from "./mintWrapper"; | ||
export * from "./registry"; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
351747
118
8384
0