@canton-network/core-signing-fireblocks 0.3.3 → 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/fireblocks.d.ts +2 -2
- package/dist/fireblocks.js +2 -2
- package/dist/index.js +1 -1
- package/package.json +4 -4
package/dist/fireblocks.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export declare class FireblocksHandler {
|
|
|
33
33
|
getPublicKeys(userId: string | undefined): Promise<FireblocksKey[]>;
|
|
34
34
|
/**
|
|
35
35
|
* Takes a Fireblocks response from a transactions call and extracts the transaction information
|
|
36
|
-
* relevant to the Wallet
|
|
36
|
+
* relevant to the Wallet Gateway. This will potentially fetch the public key since unsigned transactions
|
|
37
37
|
* do not include it
|
|
38
38
|
* @returns FireblocksTransaction
|
|
39
39
|
*/
|
|
@@ -62,7 +62,7 @@ export declare class FireblocksHandler {
|
|
|
62
62
|
* Sign a transaction using a public key
|
|
63
63
|
* @param tx - The transaction to sign, as a string
|
|
64
64
|
* @param publicKey - The public key to use for signing
|
|
65
|
-
* @param externalTxId - The transaction ID assigned by the
|
|
65
|
+
* @param externalTxId - The transaction ID assigned by the Wallet Gateway
|
|
66
66
|
* @return The transaction object from Fireblocks
|
|
67
67
|
*/
|
|
68
68
|
signTransaction(userId: string | undefined, tx: string, publicKey: string, externalTxId?: string): Promise<FireblocksTransaction>;
|
package/dist/fireblocks.js
CHANGED
|
@@ -94,7 +94,7 @@ export class FireblocksHandler {
|
|
|
94
94
|
}
|
|
95
95
|
/**
|
|
96
96
|
* Takes a Fireblocks response from a transactions call and extracts the transaction information
|
|
97
|
-
* relevant to the Wallet
|
|
97
|
+
* relevant to the Wallet Gateway. This will potentially fetch the public key since unsigned transactions
|
|
98
98
|
* do not include it
|
|
99
99
|
* @returns FireblocksTransaction
|
|
100
100
|
*/
|
|
@@ -227,7 +227,7 @@ export class FireblocksHandler {
|
|
|
227
227
|
* Sign a transaction using a public key
|
|
228
228
|
* @param tx - The transaction to sign, as a string
|
|
229
229
|
* @param publicKey - The public key to use for signing
|
|
230
|
-
* @param externalTxId - The transaction ID assigned by the
|
|
230
|
+
* @param externalTxId - The transaction ID assigned by the Wallet Gateway
|
|
231
231
|
* @return The transaction object from Fireblocks
|
|
232
232
|
*/
|
|
233
233
|
async signTransaction(userId, tx, publicKey, externalTxId) {
|
package/dist/index.js
CHANGED
|
@@ -122,7 +122,7 @@ export default class FireblocksSigningDriver {
|
|
|
122
122
|
createKey: async (_params) => {
|
|
123
123
|
return {
|
|
124
124
|
error: 'not_allowed',
|
|
125
|
-
error_description: 'Creating a Fireblocks key through the Wallet
|
|
125
|
+
error_description: 'Creating a Fireblocks key through the Wallet Gateway is not allowed, please create new keys directly in Fireblocks.',
|
|
126
126
|
};
|
|
127
127
|
},
|
|
128
128
|
getConfiguration: async () => {
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canton-network/core-signing-fireblocks",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "Wallet
|
|
5
|
+
"description": "Wallet Gateway signing driver for Fireblocks",
|
|
6
6
|
"repository": "github:hyperledger-labs/splice-wallet-kernel",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"packageManager": "yarn@4.9.4",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"main": "dist/index.js",
|
|
15
15
|
"types": "dist/index.d.ts",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@canton-network/core-signing-lib": "^0.
|
|
18
|
-
"@canton-network/core-wallet-auth": "^0.
|
|
17
|
+
"@canton-network/core-signing-lib": "^0.7.0",
|
|
18
|
+
"@canton-network/core-wallet-auth": "^0.5.0",
|
|
19
19
|
"@fireblocks/ts-sdk": "^10.2.0",
|
|
20
20
|
"async-mutex": "^0.5.0",
|
|
21
21
|
"fs-extra": "^11.3.0",
|