@solana/programs
Advanced tools
Comparing version 2.0.0-experimental.feaeef2 to 2.0.0-experimental-20240308012709.069e0006f493b83e842579fada1c983874f245b7
@@ -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.feaeef2", | ||
"version": "2.0.0-experimental-20240308012709.069e0006f493b83e842579fada1c983874f245b7", | ||
"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", | ||
"publish-impl": "npm view $npm_package_name@$npm_package_version > /dev/null 2>&1 || pnpm publish --tag experimental --access public --no-git-checks", | ||
"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 preview --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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33172
19
177