Socket
Socket
Sign inDemoInstall

@solana/programs

Package Overview
Dependencies
Maintainers
15
Versions
781
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/programs - npm Package Compare versions

Comparing version 2.0.0-experimental.d3890b7 to 2.0.0-experimental.d49ac92

16

dist/types/program.d.ts

@@ -7,2 +7,10 @@ import type { Address } from '@solana/addresses';

/**
* The base58 address of the program.
*/
address: Address<TAddress>;
/**
* Retrieves a program-specific error from a given error code.
*/
getErrorFromCode?: (code: number, cause?: Error) => Error;
/**
* A unique name for the Program.

@@ -17,10 +25,2 @@ *

name: string;
/**
* The base58 address of the program.
*/
address: Address<TAddress>;
/**
* Retrieves a program-specific error from a given error code.
*/
getErrorFromCode?: (code: number, cause?: Error) => Error;
};

@@ -27,0 +27,0 @@ /**

{
"name": "@solana/programs",
"version": "2.0.0-experimental.d3890b7",
"version": "2.0.0-experimental.d49ac92",
"description": "Helpers for defining programs and resolving program errors",

@@ -58,9 +58,9 @@ "exports": {

"compile:js": "tsup --config build-scripts/tsup.config.package.ts",
"compile:typedefs": "tsc -p ./tsconfig.declarations.json && node node_modules/@solana/build-scripts/add-js-extension-to-types.mjs",
"dev": "jest -c node_modules/@solana/test-config/jest-dev.config.ts --rootDir . --watch",
"compile:typedefs": "tsc -p ./tsconfig.declarations.json && node ../../node_modules/@solana/build-scripts/add-js-extension-to-types.mjs",
"dev": "jest -c ../../node_modules/@solana/test-config/jest-dev.config.ts --rootDir . --watch",
"publish-impl": "npm view $npm_package_name@$npm_package_version > /dev/null 2>&1 || pnpm publish --tag experimental --access public --no-git-checks",
"publish-packages": "pnpm prepublishOnly && pnpm publish-impl",
"style:fix": "pnpm eslint --fix src/* && pnpm prettier -w src/* package.json",
"test:lint": "jest -c node_modules/@solana/test-config/jest-lint.config.ts --rootDir . --silent",
"test:prettier": "jest -c node_modules/@solana/test-config/jest-prettier.config.ts --rootDir . --silent",
"test:lint": "jest -c ../../node_modules/@solana/test-config/jest-lint.config.ts --rootDir . --silent",
"test:prettier": "jest -c ../../node_modules/@solana/test-config/jest-prettier.config.ts --rootDir . --silent",
"test:treeshakability:browser": "agadoo dist/index.browser.js",

@@ -70,5 +70,5 @@ "test:treeshakability:native": "agadoo dist/index.native.js",

"test:typecheck": "tsc --noEmit",
"test:unit:browser": "jest -c node_modules/@solana/test-config/jest-unit.config.browser.ts --rootDir . --silent",
"test:unit:node": "jest -c node_modules/@solana/test-config/jest-unit.config.node.ts --rootDir . --silent"
"test:unit:browser": "jest -c ../../node_modules/@solana/test-config/jest-unit.config.browser.ts --rootDir . --silent",
"test:unit:node": "jest -c ../../node_modules/@solana/test-config/jest-unit.config.node.ts --rootDir . --silent"
}
}

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