Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@staratlas/profile-faction

Package Overview
Dependencies
Maintainers
20
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@staratlas/profile-faction - npm Package Compare versions

Comparing version 0.2.4 to 0.3.0

2

dist/src/constants.d.ts

@@ -12,3 +12,3 @@ import { Coder, Provider } from '@project-serum/anchor';

export type ProfileFactionIDLAccounts = ProfileFactionTypes['Accounts'];
export type ProfileFactionData = ProfileFactionIDLAccounts['profileFactionAccount'];
export type ProfileFactionData = ProfileFactionIDLAccounts['playerFaction'];
export declare const profileFactionErrorMap: import("@staratlas/data-source").ErrorMap<ProfileFactionIDL>;

@@ -15,0 +15,0 @@ export type ProfileFactionAccounts = {

export type ProfileFaction = {
version: '0.6.0';
version: '0.3.0';
name: 'profile_faction';

@@ -55,4 +55,4 @@ instructions: [

{
name: 'profileFactionAccount';
docs: ["Stores a profile's enlisted faction on-chain."];
name: 'playerFaction';
docs: ["Stores a player's enlisted faction on-chain."];
type: {

@@ -59,0 +59,0 @@ kind: 'struct';

@@ -5,3 +5,3 @@ "use strict";

exports.IDL = {
version: '0.6.0',
version: '0.3.0',
name: 'profile_faction',

@@ -59,4 +59,4 @@ instructions: [

{
name: 'profileFactionAccount',
docs: ["Stores a profile's enlisted faction on-chain."],
name: 'playerFaction',
docs: ["Stores a player's enlisted faction on-chain."],
type: {

@@ -63,0 +63,0 @@ kind: 'struct',

@@ -42,3 +42,3 @@ /// <reference types="bn.js" />

* @param keyIndex - The Index of the `key` in the profile's permission list
* @returns the instruction(s) to choose the new faction and the profileFactionAccount account address
* @returns the instruction(s) to choose the new faction and the playerFaction account address
*/

@@ -54,3 +54,3 @@ static chooseFactionBareBones(program: ProfileFactionIDLProgram, key: AsyncSigner, profile: PublicKey, faction: Exclude<Faction, Faction.Unaligned>, keyIndex: number): {

* @param faction - The faction to change to. Must not be unaligned.
* @returns the instruction(s) to choose the new faction and the profileFactionAccount account address
* @returns the instruction(s) to choose the new faction and the playerFaction account address
*/

@@ -57,0 +57,0 @@ static chooseFaction(program: ProfileFactionIDLProgram, keyInput: ProfileKeyInput<FactionPermissions, AsyncSigner>, faction: Exclude<Faction, Faction.Unaligned>): {

@@ -64,3 +64,3 @@ "use strict";

* @param keyIndex - The Index of the `key` in the profile's permission list
* @returns the instruction(s) to choose the new faction and the profileFactionAccount account address
* @returns the instruction(s) to choose the new faction and the playerFaction account address
*/

@@ -93,3 +93,3 @@ static chooseFactionBareBones(program, key, profile, faction, keyIndex) {

* @param faction - The faction to change to. Must not be unaligned.
* @returns the instruction(s) to choose the new faction and the profileFactionAccount account address
* @returns the instruction(s) to choose the new faction and the playerFaction account address
*/

@@ -111,3 +111,3 @@ static chooseFaction(program, keyInput, faction) {

};
ProfileFactionAccount.ACCOUNT_NAME = 'profileFactionAccount';
ProfileFactionAccount.ACCOUNT_NAME = 'playerFaction';
ProfileFactionAccount.MIN_DATA_SIZE = 8 + // discriminator

@@ -114,0 +114,0 @@ 1 + // version

{
"name": "@staratlas/profile-faction",
"version": "0.2.4",
"version": "0.3.0",
"description": "> TODO: description",

@@ -24,6 +24,6 @@ "author": "Bryan Zierk <bryan@staratlas.com>",

"@solana/web3.js": "^1.74.0",
"@staratlas/data-source": "^0.5.0",
"@staratlas/player-profile": "^0.7.3"
"@staratlas/data-source": "^0.6.0",
"@staratlas/player-profile": "^0.8.0"
},
"gitHead": "65238481865c08162649a892883bf46d0f0de124"
"gitHead": "2c8459bbb79a178c9fa7ed9d3abc62ce5fadcea7"
}

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

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