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

@saberhq/solana-contrib

Package Overview
Dependencies
Maintainers
2
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saberhq/solana-contrib - npm Package Compare versions

Comparing version 1.12.52 to 1.12.53

20

dist/cjs/interfaces.d.ts

@@ -0,1 +1,2 @@

/// <reference types="node" />
import type { Blockhash, Commitment, ConfirmOptions, Connection, KeyedAccountInfo, PublicKey, RpcResponseAndContext, Signer, SimulatedTransactionResponse, Transaction } from "@solana/web3.js";

@@ -165,2 +166,21 @@ import type { PendingTransaction } from ".";

export declare type EventParser<E extends Event> = (logs: string[]) => E[];
/**
* A parser for program-owned accounts.
*
* This is used downstream by Sail.
*/
export interface ProgramAccountParser<T> {
/**
* ID of the program.
*/
programID: PublicKey;
/**
* Name of the account.
*/
name: string;
/**
* Function which parses the account.
*/
parse: (data: Buffer) => T;
}
//# sourceMappingURL=interfaces.d.ts.map

@@ -0,1 +1,2 @@

/// <reference types="node" />
import type { Blockhash, Commitment, ConfirmOptions, Connection, KeyedAccountInfo, PublicKey, RpcResponseAndContext, Signer, SimulatedTransactionResponse, Transaction } from "@solana/web3.js";

@@ -165,2 +166,21 @@ import type { PendingTransaction } from ".";

export declare type EventParser<E extends Event> = (logs: string[]) => E[];
/**
* A parser for program-owned accounts.
*
* This is used downstream by Sail.
*/
export interface ProgramAccountParser<T> {
/**
* ID of the program.
*/
programID: PublicKey;
/**
* Name of the account.
*/
name: string;
/**
* Function which parses the account.
*/
parse: (data: Buffer) => T;
}
//# sourceMappingURL=interfaces.d.ts.map

4

package.json
{
"name": "@saberhq/solana-contrib",
"version": "1.12.52",
"version": "1.12.53",
"description": "Common types and libraries for Solana",

@@ -45,3 +45,3 @@ "author": "Ian Macalinao <ian@saber.so>",

},
"gitHead": "7dde0daf9c8b79f5ee2e3ac6406fddd28aec46e7",
"gitHead": "27bd412a8bf627783d09aba117f8c87417d41d24",
"publishConfig": {

@@ -48,0 +48,0 @@ "access": "public"

@@ -225,1 +225,21 @@ import type {

export type EventParser<E extends Event> = (logs: string[]) => E[];
/**
* A parser for program-owned accounts.
*
* This is used downstream by Sail.
*/
export interface ProgramAccountParser<T> {
/**
* ID of the program.
*/
programID: PublicKey;
/**
* Name of the account.
*/
name: string;
/**
* Function which parses the account.
*/
parse: (data: Buffer) => T;
}

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