@solana/keychain-core 0.3.0 → 0.5.0
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/dist/types.d.ts +3 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/types.ts +4 -2
package/dist/types.d.ts
CHANGED
|
@@ -4,6 +4,9 @@ import type { Transaction, TransactionWithinSizeLimit, TransactionWithLifetime }
|
|
|
4
4
|
/**
|
|
5
5
|
* Unified signer interface that extends both transaction and message signers.
|
|
6
6
|
* Provides both high-level (simple) and low-level (@solana/kit compatible) APIs.
|
|
7
|
+
*
|
|
8
|
+
* Each signer package exports a `createXSigner(config)` factory function as
|
|
9
|
+
* the preferred way to construct instances.
|
|
7
10
|
*/
|
|
8
11
|
export interface SolanaSigner<TAddress extends string = string> extends TransactionPartialSigner<TAddress>, MessagePartialSigner<TAddress> {
|
|
9
12
|
/**
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EACR,oBAAoB,EACpB,eAAe,EACf,mBAAmB,EACnB,wBAAwB,EAC3B,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,WAAW,EAAE,0BAA0B,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAE7G
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EACR,oBAAoB,EACpB,eAAe,EACf,mBAAmB,EACnB,wBAAwB,EAC3B,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,WAAW,EAAE,0BAA0B,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAE7G;;;;;;GAMG;AACH,MAAM,WAAW,YAAY,CAAC,QAAQ,SAAS,MAAM,GAAG,MAAM,CAC1D,SAAQ,wBAAwB,CAAC,QAAQ,CAAC,EAAE,oBAAoB,CAAC,QAAQ,CAAC;IAC1E;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAEpC;;;OAGG;IACH,WAAW,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;IAEhC;;;;;;OAMG;IACH,YAAY,CAAC,QAAQ,EAAE,SAAS,eAAe,EAAE,GAAG,OAAO,CAAC,SAAS,mBAAmB,EAAE,CAAC,CAAC;IAE5F;;;;;;OAMG;IACH,gBAAgB,CACZ,YAAY,EAAE,SAAS,CAAC,WAAW,GAAG,0BAA0B,GAAG,uBAAuB,CAAC,EAAE,GAC9F,OAAO,CAAC,SAAS,mBAAmB,EAAE,CAAC,CAAC;CAC9C"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"author": "Solana Foundation",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "https://github.com/solana-foundation/solana-keychain",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.5.0",
|
|
7
7
|
"description": "Core interfaces and types for external Solana signers",
|
|
8
8
|
"keywords": [
|
|
9
9
|
"solana",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"src"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@solana/addresses": "^
|
|
32
|
-
"@solana/codecs-core": "^
|
|
33
|
-
"@solana/codecs-strings": "^
|
|
34
|
-
"@solana/keys": "^
|
|
35
|
-
"@solana/signers": "^
|
|
36
|
-
"@solana/transactions": "^
|
|
31
|
+
"@solana/addresses": "^6.0.1",
|
|
32
|
+
"@solana/codecs-core": "^6.0.1",
|
|
33
|
+
"@solana/codecs-strings": "^6.0.1",
|
|
34
|
+
"@solana/keys": "^6.0.1",
|
|
35
|
+
"@solana/signers": "^6.0.1",
|
|
36
|
+
"@solana/transactions": "^6.0.1"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|
package/src/types.ts
CHANGED
|
@@ -10,10 +10,12 @@ import type { Transaction, TransactionWithinSizeLimit, TransactionWithLifetime }
|
|
|
10
10
|
/**
|
|
11
11
|
* Unified signer interface that extends both transaction and message signers.
|
|
12
12
|
* Provides both high-level (simple) and low-level (@solana/kit compatible) APIs.
|
|
13
|
+
*
|
|
14
|
+
* Each signer package exports a `createXSigner(config)` factory function as
|
|
15
|
+
* the preferred way to construct instances.
|
|
13
16
|
*/
|
|
14
17
|
export interface SolanaSigner<TAddress extends string = string>
|
|
15
|
-
extends TransactionPartialSigner<TAddress>,
|
|
16
|
-
MessagePartialSigner<TAddress> {
|
|
18
|
+
extends TransactionPartialSigner<TAddress>, MessagePartialSigner<TAddress> {
|
|
17
19
|
/**
|
|
18
20
|
* Get the public key address of this signer
|
|
19
21
|
*/
|