Socket
Socket
Sign inDemoInstall

4irelabs-blackchain-smart-contract

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

4irelabs-blackchain-smart-contract - npm Package Compare versions

Comparing version 0.0.35 to 0.0.36

23

dist/src/blackchainApi.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc