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

@saberhq/chai-solana

Package Overview
Dependencies
Maintainers
2
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saberhq/chai-solana - npm Package Compare versions

Comparing version 0.7.8 to 0.7.9

5

dist/index.d.ts
/// <reference types="chai" />
import { Address } from "@project-serum/anchor";
import { BigintIsh, TokenAmount } from "@saberhq/token-utils";
import type { Address } from "@project-serum/anchor";
import type { BigintIsh } from "@saberhq/token-utils";
import { TokenAmount } from "@saberhq/token-utils";
export * from "./utils";

@@ -5,0 +6,0 @@ declare global {

import "chai-as-promised";
import { Idl } from "@project-serum/anchor";
import { PendingTransaction, TransactionEnvelope, TransactionReceipt } from "@saberhq/solana";
import type { Idl } from "@project-serum/anchor";
import type { TransactionEnvelope, TransactionReceipt } from "@saberhq/solana";
import { PendingTransaction } from "@saberhq/solana";
export declare const expectTX: (tx: TransactionEnvelope | null | Promise<TransactionEnvelope | null> | PendingTransaction | Promise<PendingTransaction>, msg?: string | undefined, cb?: ((receipt: TransactionReceipt) => Promise<void>) | undefined) => Chai.PromisedAssertion;

@@ -5,0 +6,0 @@ export declare type IDLError = NonNullable<Idl["errors"]>[number];

8

package.json
{
"name": "@saberhq/chai-solana",
"version": "0.7.8",
"version": "0.7.9",
"description": "Solana Chai helpers",

@@ -27,4 +27,4 @@ "author": "Ian Macalinao <ian@saber.so>",

"@project-serum/anchor": "^0.11.1",
"@saberhq/solana": "^0.7.7",
"@saberhq/token-utils": "^0.7.7",
"@saberhq/solana": "^0.7.9",
"@saberhq/token-utils": "^0.7.9",
"@solana/web3.js": "^1.22.0",

@@ -39,3 +39,3 @@ "@types/chai": "^4.2.21",

},
"gitHead": "9436f69b4fc8cc914ab4ba9b814a6870f00b6eb5",
"gitHead": "362642a74f6b17db0411fb067b2144784c0ef43c",
"publishConfig": {

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

@@ -1,3 +0,5 @@

import { Address, BN } from "@project-serum/anchor";
import { BigintIsh, TokenAmount } from "@saberhq/token-utils";
import type { Address } from "@project-serum/anchor";
import { BN } from "@project-serum/anchor";
import type { BigintIsh } from "@saberhq/token-utils";
import { TokenAmount } from "@saberhq/token-utils";
import { PublicKey } from "@solana/web3.js";

@@ -4,0 +6,0 @@ import chaiAsPromised from "chai-as-promised";

import "chai-as-promised";
import { Idl } from "@project-serum/anchor";
import {
PendingTransaction,
TransactionEnvelope,
TransactionReceipt,
} from "@saberhq/solana";
import type { Idl } from "@project-serum/anchor";
import type { TransactionEnvelope, TransactionReceipt } from "@saberhq/solana";
import { PendingTransaction } from "@saberhq/solana";
import { assert, expect } from "chai";

@@ -10,0 +7,0 @@

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