4irelabs-blackchain-smart-contract
Advanced tools
Comparing version 0.0.35 to 0.0.36
@@ -6,3 +6,3 @@ /// <reference types="node" /> | ||
import { BlackchainProgram } from "../idl/blackchain_program"; | ||
import { PublicKey } from "@solana/web3.js"; | ||
import { PublicKey, TransactionInstruction } from "@solana/web3.js"; | ||
import { Wallet } from "@project-serum/anchor/dist/cjs/provider"; | ||
@@ -70,5 +70,5 @@ import { BN } from "@project-serum/anchor"; | ||
deleteCharacter(characterPubkey: PublicKey): Promise<Buffer | BCError>; | ||
deleteWeapon(address: PublicKey): Promise<Buffer | BCError>; | ||
deleteArmor(address: PublicKey): Promise<Buffer | BCError>; | ||
deleteShield(address: PublicKey): Promise<Buffer | BCError>; | ||
deleteWeapon<T extends boolean>(address: PublicKey, sign?: T): Promise<del<T>>; | ||
deleteArmor<T extends boolean>(address: PublicKey, sign?: T): Promise<del<T>>; | ||
deleteShield<T extends boolean>(address: PublicKey, sign?: T): Promise<del<T>>; | ||
deleteDungeon(address: PublicKey): Promise<Buffer | BCError>; | ||
@@ -78,8 +78,9 @@ deletePlayerAccount(deleteAllItems?: boolean): Promise<void>; | ||
scoutDungeonWithoutSending(difficulty: Difficulty, character: PublicKey): Promise<[Buffer, PublicKey] | BCError>; | ||
setWeaponWithoutSending(character: PublicKey, weapon: PublicKey): Promise<Buffer | BCError>; | ||
setArmorWithoutSending(character: PublicKey, armor: PublicKey): Promise<Buffer | BCError>; | ||
setShieldWithoutSending(character: PublicKey, shield: PublicKey): Promise<Buffer | BCError>; | ||
unsetWeaponWithoutSending(character: PublicKey, weapon: PublicKey): Promise<Buffer | BCError>; | ||
unsetArmorWithoutSending(character: PublicKey, armor: PublicKey): Promise<Buffer | BCError>; | ||
unsetShieldWithoutSending(character: PublicKey, shield: PublicKey): Promise<Buffer | BCError>; | ||
setWeaponWithoutSending(character: PublicKey, weapon: PublicKey): Promise<TransactionInstruction>; | ||
setArmorWithoutSending(character: PublicKey, armor: PublicKey): Promise<TransactionInstruction>; | ||
setShieldWithoutSending(character: PublicKey, shield: PublicKey): Promise<TransactionInstruction>; | ||
unsetWeaponWithoutSending(character: PublicKey, weapon: PublicKey): Promise<TransactionInstruction>; | ||
unsetArmorWithoutSending(character: PublicKey, armor: PublicKey): Promise<TransactionInstruction>; | ||
unsetShieldWithoutSending(character: PublicKey, shield: PublicKey): Promise<TransactionInstruction>; | ||
instructionsToBuffer(instructions: TransactionInstruction[]): Promise<Buffer>; | ||
setCharacterWithoutSending(character: PublicKey): Promise<Buffer | BCError>; | ||
@@ -89,1 +90,3 @@ unsetCharacterWithoutSending(character: PublicKey): Promise<Buffer | BCError>; | ||
} | ||
declare type del<T extends boolean> = T extends false ? TransactionInstruction : Buffer | BCError; | ||
export {}; |
{ | ||
"name": "4irelabs-blackchain-smart-contract", | ||
"version": "0.0.35", | ||
"version": "0.0.36", | ||
"description": "Integration with Solana API", | ||
@@ -5,0 +5,0 @@ "author": "", |
Sorry, the diff of this file is too big to display
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
434041
13314