@rosen-bridge/rosen-extractor
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -20,4 +20,7 @@ import AbstractRosenDataExtractor from '../abstract/AbstractRosenDataExtractor'; | ||
const rosenMetadata = transaction.metadata?.['0']; | ||
if (rosenMetadata && | ||
'to' in rosenMetadata && | ||
if (!rosenMetadata || typeof rosenMetadata === 'string') { | ||
this.logger.debug(baseError + `: Invalid metadata type: ${typeof rosenMetadata}`); | ||
return undefined; | ||
} | ||
if ('to' in rosenMetadata && | ||
'bridgeFee' in rosenMetadata && | ||
@@ -90,2 +93,2 @@ 'networkFee' in rosenMetadata && | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ2FyZGFub1Jvc2VuRXh0cmFjdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vbGliL2dldFJvc2VuRGF0YS9jYXJkYW5vL0NhcmRhbm9Sb3NlbkV4dHJhY3Rvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLDBCQUEwQixNQUFNLHdDQUF3QyxDQUFDO0FBUWhGLE9BQU8sRUFBRSxhQUFhLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFDL0QsT0FBTyxLQUFLLFVBQVUsTUFBTSxhQUFhLENBQUM7QUFDMUMsT0FBTyxLQUFLLE1BQU0sVUFBVSxDQUFDO0FBRTdCLE1BQU0sT0FBTyxxQkFBc0IsU0FBUSwwQkFBa0M7SUFDM0U7OztPQUdHO0lBQ0gsR0FBRyxHQUFHLENBQUMscUJBQTZCLEVBQXlCLEVBQUU7UUFDN0QsSUFBSSxXQUFzQixDQUFDO1FBQzNCLElBQUk7WUFDRixXQUFXLEdBQUcsVUFBVSxDQUFDLEtBQUssQ0FBQyxxQkFBcUIsQ0FBQyxDQUFDO1NBQ3ZEO1FBQUMsT0FBTyxDQUFDLEVBQUU7WUFDVixN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gICAgb3V0cHV0LFxuICAgICAgICAgIGRhdGEudG9cbiAgICAgICAgKTtcbiAgICAgICAgaWYgKGFzc2V0VHJhbnNmb3JtYXRpb24pIHtcbiAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgdG9DaGFpbjogZGF0YS50byxcbiAgICAgICAgICAgIHRvQWRkcmVzczogZGF0YS50b0FkZHJlc3MsXG4gICAgICAgICAgICBicmlkZ2VGZWU6IGRhdGEuYnJpZGdlRmVlLFxuICAgICAgICAgICAgbmV0d29ya0ZlZTogZGF0YS5uZXR3b3JrRmVlLFxuICAgICAgICAgICAgZnJvbUFkZHJlc3M6IGRhdGEuZnJvbUFkZHJlc3Muam9pbignJyksXG4gICAgICAgICAgICBzb3VyY2VDaGFpblRva2VuSWQ6IGFzc2V0VHJhbnNmb3JtYXRpb24uZnJvbSxcbiAgICAgICAgICAgIGFtb3VudDogYXNzZXRUcmFuc2Zvcm1hdGlvbi5hbW91bnQsXG4gICAgICAgICAgICB0YXJnZXRDaGFpblRva2VuSWQ6IGFzc2V0VHJhbnNmb3JtYXRpb24udG8sXG4gICAgICAgICAgICBzb3VyY2VUeElkOiB0cmFuc2FjdGlvbi5pZCxcbiAgICAgICAgICB9O1xuICAgICAgICB9XG4gICAgICB9XG4gICAgICB0aGlzLmxvZ2dlci5kZWJ1ZyhcbiAgICAgICAgYmFzZUVycm9yICsgYDogTm8gdmFsaWQgdHJhbnNmb3JtYXRpb24gZm91bmQgaW4gYW55IG91dHB1dCBib3hlc2BcbiAgICAgICk7XG4gICAgfSBlbHNlXG4gICAgICB0aGlzLmxvZ2dlci5kZWJ1ZyhcbiAgICAgICAgYmFzZUVycm9yICtcbiAgICAgICAgICBgOiBJbmNvbXBsZXRlIG1ldGFkYXRhOiAke1V0aWxzLkpzb25CSS5zdHJpbmdpZnkoXG4gICAgICAgICAgICB0cmFuc2FjdGlvbi5tZXRhZGF0YVxuICAgICAgICAgICl9YFxuICAgICAgKTtcbiAgICByZXR1cm4gdW5k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ZWxhY2UgPSB0aGlzLnRva2Vucy5zZWFyY2goQ0FSREFOT19DSEFJTiwge1xuICAgICAgW3RoaXMudG9rZW5zLmdldElkS2V5KENBUkRBTk9fQ0hBSU4pXTogQ0FSREFOT19OQVRJVkVfVE9LRU4sXG4gICAgfSk7XG4gICAgaWYgKGxvdmVsYWNlLmxlbmd0aCA+IDApIHtcbiAgICAgIHJldHVybiB7XG4gICAgICAgIGZyb206IENBUkRBTk9fTkFUSVZFX1RPS0VOLFxuICAgICAgICB0bzogdGhpcy50b2tlbnMuZ2V0SUQobG92ZWxhY2VbMF0sIHRvQ2hhaW4pLFxuICAgICAgICBhbW91bnQ6IGJveC52YWx1ZS50b1N0cmluZygpLFxuICAgICAgfTtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5sb2dnZXIuZGVidWcoXG4gICAgICAgIGBObyByb3NlbiBhc3NldCB0cmFuc2Zvcm1hdGlvbiBmb3VuZCBmb3IgQ2FyZGFub0JveENhbmRpZGF0ZSB3aXRoIGFzc2V0czogJHtVdGlscy5Kc29uQkkuc3RyaW5naWZ5KFxuICAgICAgICAgIGJveC5hc3NldHNcbiAgICAgICAgKX1gXG4gICAgICApO1xuICAgICAgcmV0dXJuIHVuZGVmaW5lZDtcbiAgICB9XG4gIH07XG59XG4iXX0= |
@@ -70,2 +70,3 @@ interface PaymentAddr { | ||
} | ||
type CardanoMetadata = Record<string, string | Record<string, any>>; | ||
interface CardanoTx { | ||
@@ -76,5 +77,5 @@ id: string; | ||
fee: bigint; | ||
metadata?: Record<string, Record<string, any>>; | ||
metadata?: CardanoMetadata; | ||
} | ||
export { Utxo, KoiosTransaction, TokenTransformation, CardanoRosenData, CardanoMetadataRosenData, Metadata, MetadataObject, JsonObject, ListObject, NativeValue, CardanoTx, CardanoBoxCandidate, }; | ||
export { Utxo, KoiosTransaction, TokenTransformation, CardanoRosenData, CardanoMetadataRosenData, Metadata, MetadataObject, JsonObject, ListObject, NativeValue, CardanoMetadata, CardanoTx, CardanoBoxCandidate, }; | ||
//# sourceMappingURL=types.d.ts.map |
export {}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWIvZ2V0Um9zZW5EYXRhL2NhcmRhbm8vdHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImludGVyZmFjZSBQYXltZW50QWRkciB7XG4gIGJlY2gzMjogc3RyaW5nO1xuICBjcmVkOiBzdHJpbmc7XG59XG5cbmludGVyZmFjZSBBc3NldCB7XG4gIHBvbGljeV9pZDogc3RyaW5nO1xuICBhc3NldF9uYW1lOiBzdHJpbmc7XG4gIHF1YW50aXR5OiBzdHJpbmc7XG59XG5cbmludGVyZmFjZSBVdHhvIHtcbiAgcGF5bWVudF9hZGRyOiBQYXltZW50QWRkcjtcbiAgc3Rha2VfYWRkcj86IHN0cmluZyB8IG51bGw7XG4gIHR4X2hhc2g6IHN0cmluZztcbiAgdHhfaW5kZXg6IG51bWJlcjtcbiAgdmFsdWU6IHN0cmluZztcbiAgYXNzZXRfbGlzdDogQXJyYXk8QXNzZXQ+O1xufVxuXG5pbnRlcmZhY2UgTWV0YWRhdGEge1xuICBba2V5OiBzdHJpbmddOiBSZWNvcmQ8c3RyaW5nLCB1bmtub3duPjtcbn1cblxuaW50ZXJmYWNlIEtvaW9zVHJhbnNhY3Rpb24ge1xuICB0eF9oYXNoOiBzdHJpbmc7XG4gIGJsb2NrX2hhc2g6IHN0cmluZztcbiAgaW5wdXRzOiBBcnJheTxVdHhvPjtcbiAgb3V0cHV0czogQXJyYXk8VXR4bz47XG4gIG1ldGFkYXRhPzogTWV0YWRhdGE7XG59XG5cbmludGVyZmFjZSBUb2tlblRyYW5zZm9ybWF0aW9uIHtcbiAgZnJvbTogc3RyaW5nO1xuICB0bzogc3RyaW5nO1xuICBhb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Q2FyZGFub01ldGFkYXRhUm9zZW5EYXRhLFxuICBNZXRhZGF0YSxcbiAgTWV0YWRhdGFPYmplY3QsXG4gIEpzb25PYmplY3QsXG4gIExpc3RPYmplY3QsXG4gIE5hdGl2ZVZhbHVlLFxuICBDYXJkYW5vTWV0YWRhdGEsXG4gIENhcmRhbm9UeCxcbiAgQ2FyZGFub0JveENhbmRpZGF0ZSxcbn07XG4iXX0= |
{ | ||
"name": "@rosen-bridge/rosen-extractor", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "this project contains methods to get rosen data from blockchain", | ||
@@ -5,0 +5,0 @@ "main": "dist/lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
200191
834