@ngundotra/spl-account-compression
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -17,3 +17,7 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SPL_ACCOUNT_COMPRESSION_PROGRAM_ID = exports.SPL_ACCOUNT_COMPRESSION_ADDRESS = void 0; | ||
__exportStar(require("./generated"), exports); | ||
var generated_1 = require("./generated"); | ||
Object.defineProperty(exports, "SPL_ACCOUNT_COMPRESSION_ADDRESS", { enumerable: true, get: function () { return generated_1.PROGRAM_ADDRESS; } }); | ||
Object.defineProperty(exports, "SPL_ACCOUNT_COMPRESSION_PROGRAM_ID", { enumerable: true, get: function () { return generated_1.PROGRAM_ID; } }); | ||
__exportStar(require("./instructions"), exports); | ||
@@ -20,0 +24,0 @@ __exportStar(require("./accounts"), exports); |
@@ -35,3 +35,3 @@ "use strict"; | ||
authority: authority.publicKey, | ||
logWrapper: utils_1.LOG_WRAPPER_PROGRAM_ID, | ||
logWrapper: utils_1.SPL_NOOP_PROGRAM_ID, | ||
}, { | ||
@@ -49,3 +49,3 @@ root: Array.from(treeRoot), | ||
authority: authority.publicKey, | ||
logWrapper: utils_1.LOG_WRAPPER_PROGRAM_ID, | ||
logWrapper: utils_1.SPL_NOOP_PROGRAM_ID, | ||
}, { | ||
@@ -52,0 +52,0 @@ leaf: Array.from(newLeaf), |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.readPublicKey = exports.LOG_WRAPPER_PROGRAM_ID = void 0; | ||
exports.readPublicKey = exports.SPL_NOOP_PROGRAM_ID = exports.SPL_NOOP_ADDRESS = void 0; | ||
const web3_js_1 = require("@solana/web3.js"); | ||
exports.LOG_WRAPPER_PROGRAM_ID = new web3_js_1.PublicKey("WRAPYChf58WFCnyjXKJHtrPgzKXgHp6MD9aVDqJBbGh"); | ||
exports.SPL_NOOP_ADDRESS = "WRAPYChf58WFCnyjXKJHtrPgzKXgHp6MD9aVDqJBbGh"; | ||
exports.SPL_NOOP_PROGRAM_ID = new web3_js_1.PublicKey("WRAPYChf58WFCnyjXKJHtrPgzKXgHp6MD9aVDqJBbGh"); | ||
/// Read in a public key from a BinaryReader | ||
@@ -7,0 +8,0 @@ function readPublicKey(reader) { |
export * from './generated'; | ||
export { PROGRAM_ADDRESS as SPL_ACCOUNT_COMPRESSION_ADDRESS, PROGRAM_ID as SPL_ACCOUNT_COMPRESSION_PROGRAM_ID, } from './generated'; | ||
export * from './instructions'; | ||
@@ -3,0 +4,0 @@ export * from './accounts'; |
import { PublicKey, SystemProgram } from '@solana/web3.js'; | ||
import { LOG_WRAPPER_PROGRAM_ID } from "../utils"; | ||
import { SPL_NOOP_PROGRAM_ID } from "../utils"; | ||
import { getConcurrentMerkleTreeAccountSize } from '../accounts'; | ||
@@ -22,3 +22,3 @@ import { createReplaceLeafInstruction, createAppendInstruction, createTransferAuthorityInstruction, createVerifyLeafInstruction, PROGRAM_ID } from "../generated"; | ||
authority: authority.publicKey, | ||
logWrapper: LOG_WRAPPER_PROGRAM_ID, | ||
logWrapper: SPL_NOOP_PROGRAM_ID, | ||
}, { | ||
@@ -35,3 +35,3 @@ root: Array.from(treeRoot), | ||
authority: authority.publicKey, | ||
logWrapper: LOG_WRAPPER_PROGRAM_ID, | ||
logWrapper: SPL_NOOP_PROGRAM_ID, | ||
}, { | ||
@@ -38,0 +38,0 @@ leaf: Array.from(newLeaf), |
import { PublicKey, } from "@solana/web3.js"; | ||
export const LOG_WRAPPER_PROGRAM_ID = new PublicKey("WRAPYChf58WFCnyjXKJHtrPgzKXgHp6MD9aVDqJBbGh"); | ||
export const SPL_NOOP_ADDRESS = "WRAPYChf58WFCnyjXKJHtrPgzKXgHp6MD9aVDqJBbGh"; | ||
export const SPL_NOOP_PROGRAM_ID = new PublicKey("WRAPYChf58WFCnyjXKJHtrPgzKXgHp6MD9aVDqJBbGh"); | ||
/// Read in a public key from a BinaryReader | ||
@@ -4,0 +5,0 @@ export function readPublicKey(reader) { |
export * from './generated'; | ||
export { PROGRAM_ADDRESS as SPL_ACCOUNT_COMPRESSION_ADDRESS, PROGRAM_ID as SPL_ACCOUNT_COMPRESSION_PROGRAM_ID, } from './generated'; | ||
export * from './instructions'; | ||
@@ -3,0 +4,0 @@ export * from './accounts'; |
import { PublicKey } from "@solana/web3.js"; | ||
import * as borsh from "borsh"; | ||
export declare const LOG_WRAPPER_PROGRAM_ID: PublicKey; | ||
export declare const SPL_NOOP_ADDRESS = "WRAPYChf58WFCnyjXKJHtrPgzKXgHp6MD9aVDqJBbGh"; | ||
export declare const SPL_NOOP_PROGRAM_ID: PublicKey; | ||
export declare function readPublicKey(reader: borsh.BinaryReader): PublicKey; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@ngundotra/spl-account-compression", | ||
"description": "SPL Account Compression Program JS API", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"author": "Solana Maintainers <maintainers@solana.foundation>", | ||
@@ -6,0 +6,0 @@ "repository": { |
export * from './generated'; | ||
export { | ||
PROGRAM_ADDRESS as SPL_ACCOUNT_COMPRESSION_ADDRESS, | ||
PROGRAM_ID as SPL_ACCOUNT_COMPRESSION_PROGRAM_ID, | ||
} from './generated'; | ||
export * from './instructions'; | ||
@@ -3,0 +7,0 @@ export * from './accounts'; |
import { Connection, Keypair, PublicKey, SystemProgram, TransactionInstruction } from '@solana/web3.js'; | ||
import { LOG_WRAPPER_PROGRAM_ID } from "../utils"; | ||
import { SPL_NOOP_PROGRAM_ID } from "../utils"; | ||
import { getConcurrentMerkleTreeAccountSize } from '../accounts'; | ||
@@ -44,3 +44,3 @@ import { | ||
authority: authority.publicKey, | ||
logWrapper: LOG_WRAPPER_PROGRAM_ID, | ||
logWrapper: SPL_NOOP_PROGRAM_ID, | ||
}, | ||
@@ -65,3 +65,3 @@ { | ||
authority: authority.publicKey, | ||
logWrapper: LOG_WRAPPER_PROGRAM_ID, | ||
logWrapper: SPL_NOOP_PROGRAM_ID, | ||
}, | ||
@@ -68,0 +68,0 @@ { |
@@ -6,3 +6,4 @@ import { | ||
export const LOG_WRAPPER_PROGRAM_ID = new PublicKey("WRAPYChf58WFCnyjXKJHtrPgzKXgHp6MD9aVDqJBbGh"); | ||
export const SPL_NOOP_ADDRESS = "WRAPYChf58WFCnyjXKJHtrPgzKXgHp6MD9aVDqJBbGh"; | ||
export const SPL_NOOP_PROGRAM_ID = new PublicKey("WRAPYChf58WFCnyjXKJHtrPgzKXgHp6MD9aVDqJBbGh"); | ||
@@ -9,0 +10,0 @@ /// Read in a public key from a BinaryReader |
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
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
187388
3986