From bcf9f24af7e05755a217c20325c7c4eeced133d2 Mon Sep 17 00:00:00 2001 From: Charon-Fan Date: Fri, 31 May 2024 13:34:46 +0700 Subject: [PATCH] feat: add support for Stellar transaction hash signing --- packages/ur-registry-stellar/package.json | 2 +- packages/ur-registry-stellar/src/StellarSignRequest.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/ur-registry-stellar/package.json b/packages/ur-registry-stellar/package.json index e751489..4de2375 100644 --- a/packages/ur-registry-stellar/package.json +++ b/packages/ur-registry-stellar/package.json @@ -1,6 +1,6 @@ { "name": "@keystonehq/bc-ur-registry-stellar", - "version": "0.0.1", + "version": "0.0.2", "description": "bc-ur-registry extension for Stellar", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/ur-registry-stellar/src/StellarSignRequest.ts b/packages/ur-registry-stellar/src/StellarSignRequest.ts index 2101e0e..79fa1c5 100644 --- a/packages/ur-registry-stellar/src/StellarSignRequest.ts +++ b/packages/ur-registry-stellar/src/StellarSignRequest.ts @@ -13,7 +13,8 @@ const { decodeToDataItem, RegistryTypes } = extend; export enum SignType { Transaction = 1, - Message = 2, + TransactionHash, + Message, } enum Keys {