@solana/errors 2.0.0-experimental.6725a9f → 2.0.0-experimental.6cea83c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/cli.ts +1 -1
  2. package/package.json +98 -97
package/bin/cli.ts CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env -S node_modules/.bin/tsx
1
+ #!/usr/bin/env -S tsx
2
2
 
3
3
  import chalk from 'chalk';
4
4
  import { Command, InvalidArgumentError } from 'commander';
package/package.json CHANGED
@@ -1,102 +1,103 @@
1
1
  {
2
- "name": "@solana/errors",
3
- "version": "2.0.0-experimental.6725a9f",
4
- "description": "Throw, identify, and decode Solana JavaScript errors",
5
- "exports": {
6
- "browser": {
7
- "import": "./dist/index.browser.js",
8
- "require": "./dist/index.browser.cjs"
2
+ "name": "@solana/errors",
3
+ "version": "2.0.0-experimental.6cea83c",
4
+ "description": "Throw, identify, and decode Solana JavaScript errors",
5
+ "exports": {
6
+ "browser": {
7
+ "import": "./dist/index.browser.js",
8
+ "require": "./dist/index.browser.cjs"
9
+ },
10
+ "node": {
11
+ "import": "./dist/index.node.js",
12
+ "require": "./dist/index.node.cjs"
13
+ },
14
+ "react-native": "./dist/index.native.js",
15
+ "types": "./dist/types/index.d.ts"
9
16
  },
10
- "node": {
11
- "import": "./dist/index.node.js",
12
- "require": "./dist/index.node.cjs"
17
+ "browser": {
18
+ "./dist/index.node.cjs": "./dist/index.browser.cjs",
19
+ "./dist/index.node.js": "./dist/index.browser.js"
13
20
  },
21
+ "main": "./dist/index.node.cjs",
22
+ "module": "./dist/index.node.js",
14
23
  "react-native": "./dist/index.native.js",
15
- "types": "./dist/types/index.d.ts"
16
- },
17
- "browser": {
18
- "./dist/index.node.cjs": "./dist/index.browser.cjs",
19
- "./dist/index.node.js": "./dist/index.browser.js"
20
- },
21
- "main": "./dist/index.node.cjs",
22
- "module": "./dist/index.node.js",
23
- "react-native": "./dist/index.native.js",
24
- "types": "./dist/types/index.d.ts",
25
- "type": "module",
26
- "files": [
27
- "./dist/"
28
- ],
29
- "sideEffects": false,
30
- "keywords": [
31
- "blockchain",
32
- "solana",
33
- "web3"
34
- ],
35
- "bin": "./bin/cli.ts",
36
- "author": "Solana Labs Maintainers <maintainers@solanalabs.com>",
37
- "license": "MIT",
38
- "repository": {
39
- "type": "git",
40
- "url": "https://github.com/solana-labs/solana-web3.js"
41
- },
42
- "bugs": {
43
- "url": "http://github.com/solana-labs/solana-web3.js/issues"
44
- },
45
- "browserslist": [
46
- "supports bigint and not dead",
47
- "maintained node versions"
48
- ],
49
- "engine": {
50
- "node": ">=17.4"
51
- },
52
- "devDependencies": {
53
- "@solana/eslint-config-solana": "^1.0.2",
54
- "@swc/jest": "^0.2.29",
55
- "@types/jest": "^29.5.11",
56
- "@types/node": "18.11.19",
57
- "@typescript-eslint/eslint-plugin": "^6.13.2",
58
- "@typescript-eslint/parser": "^6.3.0",
59
- "agadoo": "^3.0.0",
60
- "chalk": "^5.3.0",
61
- "commander": "^11.1.0",
62
- "eslint": "^8.45.0",
63
- "eslint-plugin-jest": "^27.4.2",
64
- "eslint-plugin-sort-keys-fix": "^1.1.2",
65
- "jest": "^29.7.0",
66
- "jest-environment-jsdom": "^29.7.0",
67
- "jest-runner-eslint": "^2.1.2",
68
- "jest-runner-prettier": "^1.0.0",
69
- "prettier": "^3.1",
70
- "tsup": "^8.0.1",
71
- "tsx": "^4.7.0",
72
- "typescript": "^5.2.2",
73
- "version-from-git": "^1.1.1",
74
- "build-scripts": "0.0.0",
75
- "@solana/addresses": "2.0.0-experimental.6725a9f",
76
- "test-config": "0.0.0",
77
- "tsconfig": "0.0.0"
78
- },
79
- "bundlewatch": {
80
- "defaultCompression": "gzip",
24
+ "types": "./dist/types/index.d.ts",
25
+ "type": "module",
81
26
  "files": [
82
- {
83
- "path": "./dist/index*.js"
84
- }
85
- ]
86
- },
87
- "scripts": {
88
- "compile:js": "tsup --config build-scripts/tsup.config.package.ts",
89
- "compile:typedefs": "tsc -p ./tsconfig.declarations.json && node node_modules/build-scripts/add-js-extension-to-types.mjs",
90
- "dev": "jest -c node_modules/test-config/jest-dev.config.ts --rootDir . --watch",
91
- "publish-packages": "pnpm publish --tag experimental --access public --no-git-checks",
92
- "style:fix": "pnpm eslint --fix src/* && pnpm prettier -w src/* package.json",
93
- "test:lint": "jest -c node_modules/test-config/jest-lint.config.ts --rootDir . --silent",
94
- "test:prettier": "jest -c node_modules/test-config/jest-prettier.config.ts --rootDir . --silent",
95
- "test:treeshakability:browser": "agadoo dist/index.browser.js",
96
- "test:treeshakability:native": "agadoo dist/index.native.js",
97
- "test:treeshakability:node": "agadoo dist/index.node.js",
98
- "test:typecheck": "tsc --noEmit",
99
- "test:unit:browser": "jest -c node_modules/test-config/jest-unit.config.browser.ts --rootDir . --silent",
100
- "test:unit:node": "jest -c node_modules/test-config/jest-unit.config.node.ts --rootDir . --silent"
101
- }
102
- }
27
+ "./dist/"
28
+ ],
29
+ "sideEffects": false,
30
+ "keywords": [
31
+ "blockchain",
32
+ "solana",
33
+ "web3"
34
+ ],
35
+ "bin": "./bin/cli.ts",
36
+ "scripts": {
37
+ "compile:js": "tsup --config build-scripts/tsup.config.package.ts",
38
+ "compile:typedefs": "tsc -p ./tsconfig.declarations.json && node node_modules/build-scripts/add-js-extension-to-types.mjs",
39
+ "dev": "jest -c node_modules/test-config/jest-dev.config.ts --rootDir . --watch",
40
+ "prepublishOnly": "version-from-git --no-git-tag-version --template experimental.short",
41
+ "publish-packages": "pnpm publish --tag experimental --access public --no-git-checks",
42
+ "style:fix": "pnpm eslint --fix src/* && pnpm prettier -w src/* package.json",
43
+ "test:lint": "jest -c node_modules/test-config/jest-lint.config.ts --rootDir . --silent",
44
+ "test:prettier": "jest -c node_modules/test-config/jest-prettier.config.ts --rootDir . --silent",
45
+ "test:treeshakability:browser": "agadoo dist/index.browser.js",
46
+ "test:treeshakability:native": "agadoo dist/index.native.js",
47
+ "test:treeshakability:node": "agadoo dist/index.node.js",
48
+ "test:typecheck": "tsc --noEmit",
49
+ "test:unit:browser": "jest -c node_modules/test-config/jest-unit.config.browser.ts --rootDir . --silent",
50
+ "test:unit:node": "jest -c node_modules/test-config/jest-unit.config.node.ts --rootDir . --silent"
51
+ },
52
+ "author": "Solana Labs Maintainers <maintainers@solanalabs.com>",
53
+ "license": "MIT",
54
+ "repository": {
55
+ "type": "git",
56
+ "url": "https://github.com/solana-labs/solana-web3.js"
57
+ },
58
+ "bugs": {
59
+ "url": "http://github.com/solana-labs/solana-web3.js/issues"
60
+ },
61
+ "browserslist": [
62
+ "supports bigint and not dead",
63
+ "maintained node versions"
64
+ ],
65
+ "engine": {
66
+ "node": ">=17.4"
67
+ },
68
+ "devDependencies": {
69
+ "@solana/addresses": "2.0.0-experimental.b93299a",
70
+ "@solana/eslint-config-solana": "^1.0.2",
71
+ "@swc/jest": "^0.2.29",
72
+ "@types/jest": "^29.5.11",
73
+ "@types/node": "18.11.19",
74
+ "@typescript-eslint/eslint-plugin": "^6.13.2",
75
+ "@typescript-eslint/parser": "^6.3.0",
76
+ "agadoo": "^3.0.0",
77
+ "build-scripts": "0.0.0",
78
+ "chalk": "^5.3.0",
79
+ "commander": "^11.1.0",
80
+ "eslint": "^8.45.0",
81
+ "eslint-plugin-jest": "^27.4.2",
82
+ "eslint-plugin-sort-keys-fix": "^1.1.2",
83
+ "jest": "^29.7.0",
84
+ "jest-environment-jsdom": "^29.7.0",
85
+ "jest-runner-eslint": "^2.1.2",
86
+ "jest-runner-prettier": "^1.0.0",
87
+ "prettier": "^3.1",
88
+ "test-config": "0.0.0",
89
+ "tsconfig": "0.0.0",
90
+ "tsup": "^8.0.1",
91
+ "tsx": "^4.7.0",
92
+ "typescript": "^5.2.2",
93
+ "version-from-git": "^1.1.1"
94
+ },
95
+ "bundlewatch": {
96
+ "defaultCompression": "gzip",
97
+ "files": [
98
+ {
99
+ "path": "./dist/index*.js"
100
+ }
101
+ ]
102
+ }
103
+ }