@solana/keys 2.0.0-experimental.aeec044 → 2.0.0-experimental.aef0571
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/LICENSE +1 -1
- package/README.md +85 -15
- package/dist/index.browser.cjs +120 -17
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.js +115 -14
- package/dist/index.browser.js.map +1 -1
- package/dist/index.development.js +234 -186
- package/dist/index.development.js.map +1 -1
- package/dist/index.native.js +115 -12
- package/dist/index.native.js.map +1 -1
- package/dist/index.node.cjs +120 -15
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.js +115 -12
- package/dist/index.node.js.map +1 -1
- package/dist/index.production.min.js +12 -2
- package/dist/types/index.d.ts +3 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/key-pair.d.ts +2 -0
- package/dist/types/key-pair.d.ts.map +1 -0
- package/dist/types/private-key.d.ts +2 -0
- package/dist/types/private-key.d.ts.map +1 -0
- package/dist/types/signatures.d.ts +12 -0
- package/dist/types/signatures.d.ts.map +1 -0
- package/package.json +25 -23
- package/dist/types/base58.d.ts +0 -5
- package/dist/types/base58.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solana/keys",
|
|
3
|
-
"version": "2.0.0-experimental.
|
|
3
|
+
"version": "2.0.0-experimental.aef0571",
|
|
4
4
|
"description": "Helpers for generating and transforming key material",
|
|
5
5
|
"exports": {
|
|
6
6
|
"browser": {
|
|
@@ -45,27 +45,31 @@
|
|
|
45
45
|
"supports bigint and not dead",
|
|
46
46
|
"maintained node versions"
|
|
47
47
|
],
|
|
48
|
+
"engine": {
|
|
49
|
+
"node": ">=17.4"
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"@solana/assertions": "2.0.0-experimental.aef0571",
|
|
53
|
+
"@solana/codecs-core": "2.0.0-experimental.aef0571",
|
|
54
|
+
"@solana/codecs-strings": "2.0.0-experimental.aef0571"
|
|
55
|
+
},
|
|
48
56
|
"devDependencies": {
|
|
49
|
-
"@solana/eslint-config-solana": "^1.0.
|
|
50
|
-
"@swc/
|
|
51
|
-
"@
|
|
52
|
-
"@
|
|
53
|
-
"@typescript-eslint/
|
|
54
|
-
"@typescript-eslint/parser": "^5.57.1",
|
|
57
|
+
"@solana/eslint-config-solana": "^1.0.2",
|
|
58
|
+
"@swc/jest": "^0.2.29",
|
|
59
|
+
"@types/jest": "^29.5.6",
|
|
60
|
+
"@typescript-eslint/eslint-plugin": "^6.7.0",
|
|
61
|
+
"@typescript-eslint/parser": "^6.3.0",
|
|
55
62
|
"agadoo": "^3.0.0",
|
|
56
|
-
"eslint": "^8.
|
|
57
|
-
"eslint-plugin-jest": "^27.
|
|
58
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
63
|
+
"eslint": "^8.45.0",
|
|
64
|
+
"eslint-plugin-jest": "^27.4.2",
|
|
59
65
|
"eslint-plugin-sort-keys-fix": "^1.1.2",
|
|
60
|
-
"jest": "^29.
|
|
61
|
-
"jest-environment-jsdom": "^29.
|
|
62
|
-
"jest-runner-eslint": "^2.1.
|
|
66
|
+
"jest": "^29.7.0",
|
|
67
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
68
|
+
"jest-runner-eslint": "^2.1.2",
|
|
63
69
|
"jest-runner-prettier": "^1.0.0",
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"tsup": "6.7.0",
|
|
68
|
-
"typescript": "^5.0.4",
|
|
70
|
+
"prettier": "^3.1",
|
|
71
|
+
"tsup": "^8.0.1",
|
|
72
|
+
"typescript": "^5.2.2",
|
|
69
73
|
"version-from-git": "^1.1.1",
|
|
70
74
|
"build-scripts": "0.0.0",
|
|
71
75
|
"test-config": "0.0.0",
|
|
@@ -79,19 +83,17 @@
|
|
|
79
83
|
}
|
|
80
84
|
]
|
|
81
85
|
},
|
|
82
|
-
"dependencies": {
|
|
83
|
-
"bs58": "^5.0.0"
|
|
84
|
-
},
|
|
85
86
|
"scripts": {
|
|
86
87
|
"compile:js": "tsup --config build-scripts/tsup.config.library.ts",
|
|
87
88
|
"compile:typedefs": "tsc -p ./tsconfig.declarations.json",
|
|
88
89
|
"dev": "jest -c node_modules/test-config/jest-dev.config.ts --rootDir . --watch",
|
|
89
90
|
"publish-packages": "pnpm publish --tag experimental --access public --no-git-checks",
|
|
91
|
+
"style:fix": "pnpm eslint --fix src/* && pnpm prettier -w src/* package.json",
|
|
90
92
|
"test:lint": "jest -c node_modules/test-config/jest-lint.config.ts --rootDir . --silent",
|
|
91
93
|
"test:prettier": "jest -c node_modules/test-config/jest-prettier.config.ts --rootDir . --silent",
|
|
92
94
|
"test:treeshakability:browser": "agadoo dist/index.browser.js",
|
|
93
|
-
"test:treeshakability:native": "agadoo dist/index.
|
|
94
|
-
"test:treeshakability:node": "agadoo dist/index.
|
|
95
|
+
"test:treeshakability:native": "agadoo dist/index.native.js",
|
|
96
|
+
"test:treeshakability:node": "agadoo dist/index.node.js",
|
|
95
97
|
"test:typecheck": "tsc --noEmit",
|
|
96
98
|
"test:unit:browser": "jest -c node_modules/test-config/jest-unit.config.browser.ts --rootDir . --silent",
|
|
97
99
|
"test:unit:node": "jest -c node_modules/test-config/jest-unit.config.node.ts --rootDir . --silent"
|
package/dist/types/base58.d.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export type Base58EncodedAddress<TAddress extends string = string> = TAddress & {
|
|
2
|
-
readonly __base58EncodedAddress: unique symbol;
|
|
3
|
-
};
|
|
4
|
-
export declare function assertIsBase58EncodedAddress(putativeBase58EncodedAddress: string): asserts putativeBase58EncodedAddress is Base58EncodedAddress<typeof putativeBase58EncodedAddress>;
|
|
5
|
-
//# sourceMappingURL=base58.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base58.d.ts","sourceRoot":"","sources":["../../src/base58.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,oBAAoB,CAAC,QAAQ,SAAS,MAAM,GAAG,MAAM,IAAI,QAAQ,GAAG;IAC5E,QAAQ,CAAC,sBAAsB,EAAE,OAAO,MAAM,CAAC;CAClD,CAAC;AAEF,wBAAgB,4BAA4B,CACxC,4BAA4B,EAAE,MAAM,GACrC,OAAO,CAAC,4BAA4B,IAAI,oBAAoB,CAAC,OAAO,4BAA4B,CAAC,CAsBnG"}
|