@airgap/beacon-blockchain-tezos
Advanced tools
Comparing version 2.5.0-beta.3 to 2.5.0-beta.4
@@ -6,3 +6,7 @@ import { Blockchain, BlockchainMessage, PermissionResponseV3, ResponseInput } from '@airgap/beacon-types'; | ||
handleResponse(input: ResponseInput): Promise<void>; | ||
getAddressFromPermissionResponse(_permissionResponse: PermissionResponseV3<'tezos'>): Promise<string[]>; | ||
getAccountInfosFromPermissionResponse(_permissionResponse: PermissionResponseV3<'tezos'>): Promise<{ | ||
accountId: string; | ||
address: string; | ||
publicKey: string; | ||
}[]>; | ||
} |
@@ -66,6 +66,6 @@ "use strict"; | ||
}; | ||
TezosBlockchain.prototype.getAddressFromPermissionResponse = function (_permissionResponse) { | ||
TezosBlockchain.prototype.getAccountInfosFromPermissionResponse = function (_permissionResponse) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, ['']]; // getAddressFromPublicKey(permissionResponse.publicKey) | ||
return [2 /*return*/, [{ accountId: '', address: '', publicKey: '' }]]; | ||
}); | ||
@@ -72,0 +72,0 @@ }); |
@@ -6,3 +6,7 @@ import { Blockchain, BlockchainMessage, PermissionResponseV3, ResponseInput } from '@airgap/beacon-types'; | ||
handleResponse(input: ResponseInput): Promise<void>; | ||
getAddressFromPermissionResponse(_permissionResponse: PermissionResponseV3<'tezos'>): Promise<string[]>; | ||
getAccountInfosFromPermissionResponse(_permissionResponse: PermissionResponseV3<'tezos'>): Promise<{ | ||
accountId: string; | ||
address: string; | ||
publicKey: string; | ||
}[]>; | ||
} |
@@ -30,5 +30,5 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
} | ||
getAddressFromPermissionResponse(_permissionResponse) { | ||
getAccountInfosFromPermissionResponse(_permissionResponse) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return ['']; // getAddressFromPublicKey(permissionResponse.publicKey) | ||
return [{ accountId: '', address: '', publicKey: '' }]; | ||
}); | ||
@@ -35,0 +35,0 @@ } |
{ | ||
"name": "@airgap/beacon-blockchain-tezos", | ||
"version": "2.5.0-beta.3", | ||
"version": "2.5.0-beta.4", | ||
"description": "> TODO: description", | ||
@@ -37,6 +37,6 @@ "author": "Andreas Gassmann <a.gassmann@papers.ch>", | ||
"dependencies": { | ||
"@airgap/beacon-types": "^2.5.0-beta.3", | ||
"@airgap/beacon-ui": "^2.5.0-beta.3" | ||
"@airgap/beacon-types": "^2.5.0-beta.4", | ||
"@airgap/beacon-ui": "^2.5.0-beta.4" | ||
}, | ||
"gitHead": "84a2156c535e800aa2088bd1e74dced8e9c96a36" | ||
"gitHead": "90acde43c43ea6bab8ea06ff7b282124b35585c9" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
10645
140