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

@saberhq/anchor-contrib

Package Overview
Dependencies
Maintainers
2
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saberhq/anchor-contrib - npm Package Compare versions

Comparing version 1.3.14 to 1.3.15

7

dist/index.d.ts

@@ -34,7 +34,2 @@ /// <reference types="node" />

declare type TransactionNamespace<R extends InstructionsParsed> = MakeInstructionsNamespace<R, Transaction>;
declare type StateNamespace<R extends InstructionsParsed, S> = Omit<StateClient, "rpc" | "fetch" | "instruction"> & {
rpc: RpcNamespace<R>;
fetch: () => Promise<S>;
instruction: InstructionNamespace<R>;
};
declare type AccountsNamespace<A> = {

@@ -102,3 +97,3 @@ [K in keyof A]: Omit<AccountClient, "fetch" | "all" | "associated"> & {

rpc: RpcNamespace<RPCInstructions>;
state: StateNamespace<Methods, AnchorState<IDL, Defined>>;
state: StateClient<IDL>;
account: AccountsNamespace<A>;

@@ -105,0 +100,0 @@ transaction: TransactionNamespace<RPCInstructions & Methods>;

6

package.json

@@ -7,3 +7,3 @@ {

},
"version": "1.3.14",
"version": "1.3.15",
"main": "dist/index.js",

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

"devDependencies": {
"@project-serum/anchor": "^0.16.2",
"@project-serum/anchor": "^0.17.1-beta.1",
"@solana/web3.js": "^1.29.2"

@@ -36,3 +36,3 @@ },

},
"gitHead": "51017994f21fdf9d169c98e7c39c67c8945419b8"
"gitHead": "59a7c3ade242c05519e82585cb05db803418fb09"
}

@@ -82,11 +82,2 @@ import type {

type StateNamespace<R extends InstructionsParsed, S> = Omit<
StateClient,
"rpc" | "fetch" | "instruction"
> & {
rpc: RpcNamespace<R>;
fetch: () => Promise<S>;
instruction: InstructionNamespace<R>;
};
type AccountsNamespace<A> = {

@@ -170,3 +161,3 @@ [K in keyof A]: Omit<AccountClient, "fetch" | "all" | "associated"> & {

rpc: RpcNamespace<RPCInstructions>;
state: StateNamespace<Methods, AnchorState<IDL, Defined>>;
state: StateClient<IDL>;
account: AccountsNamespace<A>;

@@ -173,0 +164,0 @@ transaction: TransactionNamespace<RPCInstructions & Methods>;

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