@solana/addresses 2.0.0-experimental.15440e6 → 2.0.0-experimental.16f8db8
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.
- package/README.md +1 -1
- package/package.json +12 -33
package/README.md
CHANGED
|
@@ -82,7 +82,7 @@ function handleSubmit() {
|
|
|
82
82
|
|
|
83
83
|
### `assertIsProgramDerivedAddress()`
|
|
84
84
|
|
|
85
|
-
In the event that you receive an address/bump-seed tuple from some untrusted source, you can assert that such
|
|
85
|
+
In the event that you receive an address/bump-seed tuple from some untrusted source, you can assert that such a tuple conforms to the `ProgramDerivedAddress` type using this function.
|
|
86
86
|
|
|
87
87
|
See [`assertIsAddress()`](#assertisaddress) for an example of how to use an assertion function.
|
|
88
88
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solana/addresses",
|
|
3
|
-
"version": "2.0.0-experimental.
|
|
3
|
+
"version": "2.0.0-experimental.16f8db8",
|
|
4
4
|
"description": "Helpers for generating account addresses",
|
|
5
5
|
"exports": {
|
|
6
6
|
"browser": {
|
|
@@ -49,31 +49,9 @@
|
|
|
49
49
|
"node": ">=17.4"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@solana/assertions": "2.0.0-experimental.
|
|
53
|
-
"@solana/codecs-core": "2.0.0-experimental.
|
|
54
|
-
"@solana/codecs-strings": "2.0.0-experimental.
|
|
55
|
-
},
|
|
56
|
-
"devDependencies": {
|
|
57
|
-
"@solana/eslint-config-solana": "^1.0.2",
|
|
58
|
-
"@swc/jest": "^0.2.29",
|
|
59
|
-
"@types/jest": "^29.5.11",
|
|
60
|
-
"@typescript-eslint/eslint-plugin": "^6.13.2",
|
|
61
|
-
"@typescript-eslint/parser": "^6.3.0",
|
|
62
|
-
"agadoo": "^3.0.0",
|
|
63
|
-
"eslint": "^8.45.0",
|
|
64
|
-
"eslint-plugin-jest": "^27.4.2",
|
|
65
|
-
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
66
|
-
"jest": "^29.7.0",
|
|
67
|
-
"jest-environment-jsdom": "^29.7.0",
|
|
68
|
-
"jest-runner-eslint": "^2.1.2",
|
|
69
|
-
"jest-runner-prettier": "^1.0.0",
|
|
70
|
-
"prettier": "^3.1",
|
|
71
|
-
"tsup": "^8.0.1",
|
|
72
|
-
"typescript": "^5.2.2",
|
|
73
|
-
"version-from-git": "^1.1.1",
|
|
74
|
-
"build-scripts": "0.0.0",
|
|
75
|
-
"test-config": "0.0.0",
|
|
76
|
-
"tsconfig": "0.0.0"
|
|
52
|
+
"@solana/assertions": "2.0.0-experimental.16f8db8",
|
|
53
|
+
"@solana/codecs-core": "2.0.0-experimental.16f8db8",
|
|
54
|
+
"@solana/codecs-strings": "2.0.0-experimental.16f8db8"
|
|
77
55
|
},
|
|
78
56
|
"bundlewatch": {
|
|
79
57
|
"defaultCompression": "gzip",
|
|
@@ -85,17 +63,18 @@
|
|
|
85
63
|
},
|
|
86
64
|
"scripts": {
|
|
87
65
|
"compile:js": "tsup --config build-scripts/tsup.config.package.ts",
|
|
88
|
-
"compile:typedefs": "tsc -p ./tsconfig.declarations.json && node node_modules/build-scripts/add-js-extension-to-types.mjs",
|
|
89
|
-
"dev": "jest -c node_modules/test-config/jest-dev.config.ts --rootDir . --watch",
|
|
90
|
-
"publish-
|
|
66
|
+
"compile:typedefs": "tsc -p ./tsconfig.declarations.json && node node_modules/@solana/build-scripts/add-js-extension-to-types.mjs",
|
|
67
|
+
"dev": "jest -c node_modules/@solana/test-config/jest-dev.config.ts --rootDir . --watch",
|
|
68
|
+
"publish-impl": "npm view $npm_package_name@$npm_package_version > /dev/null 2>&1 || pnpm publish --tag experimental --access public --no-git-checks",
|
|
69
|
+
"publish-packages": "pnpm prepublishOnly && pnpm publish-impl",
|
|
91
70
|
"style:fix": "pnpm eslint --fix src/* && pnpm prettier -w src/* package.json",
|
|
92
|
-
"test:lint": "jest -c node_modules/test-config/jest-lint.config.ts --rootDir . --silent",
|
|
93
|
-
"test:prettier": "jest -c node_modules/test-config/jest-prettier.config.ts --rootDir . --silent",
|
|
71
|
+
"test:lint": "jest -c node_modules/@solana/test-config/jest-lint.config.ts --rootDir . --silent",
|
|
72
|
+
"test:prettier": "jest -c node_modules/@solana/test-config/jest-prettier.config.ts --rootDir . --silent",
|
|
94
73
|
"test:treeshakability:browser": "agadoo dist/index.browser.js",
|
|
95
74
|
"test:treeshakability:native": "agadoo dist/index.native.js",
|
|
96
75
|
"test:treeshakability:node": "agadoo dist/index.node.js",
|
|
97
76
|
"test:typecheck": "tsc --noEmit",
|
|
98
|
-
"test:unit:browser": "jest -c node_modules/test-config/jest-unit.config.browser.ts --rootDir . --silent",
|
|
99
|
-
"test:unit:node": "jest -c node_modules/test-config/jest-unit.config.node.ts --rootDir . --silent"
|
|
77
|
+
"test:unit:browser": "jest -c node_modules/@solana/test-config/jest-unit.config.browser.ts --rootDir . --silent",
|
|
78
|
+
"test:unit:node": "jest -c node_modules/@solana/test-config/jest-unit.config.node.ts --rootDir . --silent"
|
|
100
79
|
}
|
|
101
80
|
}
|