@solana/rpc-parsed-types 2.0.0-rc.0 → 2.0.0-rc.2

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/README.md +4 -4
  2. package/package.json +13 -2
package/README.md CHANGED
@@ -5,9 +5,9 @@
5
5
 
6
6
  [code-style-prettier-image]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square
7
7
  [code-style-prettier-url]: https://github.com/prettier/prettier
8
- [npm-downloads-image]: https://img.shields.io/npm/dm/@solana/rpc-types/experimental.svg?style=flat
9
- [npm-image]: https://img.shields.io/npm/v/@solana/rpc-types/experimental.svg?style=flat
10
- [npm-url]: https://www.npmjs.com/package/@solana/rpc-types/v/experimental
8
+ [npm-downloads-image]: https://img.shields.io/npm/dm/@solana/rpc-types/rc.svg?style=flat
9
+ [npm-image]: https://img.shields.io/npm/v/@solana/rpc-types/rc.svg?style=flat
10
+ [npm-url]: https://www.npmjs.com/package/@solana/rpc-types/v/rc
11
11
  [semantic-release-image]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
12
12
  [semantic-release-url]: https://github.com/semantic-release/semantic-release
13
13
 
@@ -16,4 +16,4 @@
16
16
  This package defines types for Parsed objects used in the
17
17
  [Solana JSON-RPC](https://docs.solana.com/api/http). It can be used standalone,
18
18
  but it is also exported as part of the Solana JavaScript SDK
19
- [`@solana/web3.js@experimental`](https://github.com/solana-labs/solana-web3.js/tree/master/packages/library).
19
+ [`@solana/web3.js@rc`](https://github.com/solana-labs/solana-web3.js/tree/master/packages/library).
package/package.json CHANGED
@@ -1,8 +1,16 @@
1
1
  {
2
2
  "name": "@solana/rpc-parsed-types",
3
- "version": "2.0.0-rc.0",
3
+ "version": "2.0.0-rc.2",
4
4
  "description": "Type definitions for parsed types used in the Solana RPC",
5
5
  "exports": {
6
+ "edge-light": {
7
+ "import": "./dist/index.node.mjs",
8
+ "require": "./dist/index.node.cjs"
9
+ },
10
+ "workerd": {
11
+ "import": "./dist/index.node.mjs",
12
+ "require": "./dist/index.node.cjs"
13
+ },
6
14
  "browser": {
7
15
  "import": "./dist/index.browser.mjs",
8
16
  "require": "./dist/index.browser.cjs"
@@ -56,13 +64,16 @@
56
64
  }
57
65
  ]
58
66
  },
67
+ "engines": {
68
+ "node": ">=20.18.0"
69
+ },
59
70
  "scripts": {
60
71
  "compile:js": "tsup --config build-scripts/tsup.config.package.ts",
61
72
  "compile:typedefs": "tsc -p ./tsconfig.declarations.json",
62
73
  "dev": "jest -c ../../node_modules/@solana/test-config/jest-dev.config.ts --globalSetup @solana/test-config/test-validator-setup.js --globalTeardown @solana/test-config/test-validator-teardown.js --rootDir . --watch",
63
74
  "publish-impl": "npm view $npm_package_name@$npm_package_version > /dev/null 2>&1 || pnpm publish --tag ${PUBLISH_TAG:-canary} --access public --no-git-checks",
64
75
  "publish-packages": "pnpm prepublishOnly && pnpm publish-impl",
65
- "style:fix": "pnpm eslint --fix src/* && pnpm prettier --log-level warn --ignore-unknown --write ./*",
76
+ "style:fix": "pnpm eslint --fix src && pnpm prettier --log-level warn --ignore-unknown --write ./*",
66
77
  "test:lint": "TERM_OVERRIDE=\"${TURBO_HASH:+dumb}\" TERM=${TERM_OVERRIDE:-$TERM} jest -c ../../node_modules/@solana/test-config/jest-lint.config.ts --rootDir . --silent",
67
78
  "test:prettier": "TERM_OVERRIDE=\"${TURBO_HASH:+dumb}\" TERM=${TERM_OVERRIDE:-$TERM} jest -c ../../node_modules/@solana/test-config/jest-prettier.config.ts --rootDir . --silent",
68
79
  "test:treeshakability:browser": "agadoo dist/index.browser.mjs",