Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rosen-bridge/rosen-extractor

Package Overview
Dependencies
Maintainers
3
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rosen-bridge/rosen-extractor - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

dist/lib/getRosenData/abstract/AbstractRosenDataExtractor.d.ts
import { RosenTokens, TokenMap } from '@rosen-bridge/tokens';
import { RosenData } from './types';
import { AbstractLogger } from '@rosen-bridge/logger-interface';
import { AbstractLogger } from '@rosen-bridge/abstract-logger';
export default abstract class AbstractRosenDataExtractor<TransactionType> {

@@ -5,0 +5,0 @@ protected readonly logger: AbstractLogger;

import { TokenMap } from '@rosen-bridge/tokens';
import { DummyLogger } from '@rosen-bridge/logger-interface';
import { DummyLogger } from '@rosen-bridge/abstract-logger';
export default class AbstractRosenDataExtractor {

@@ -13,2 +13,2 @@ logger;

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQWJzdHJhY3RSb3NlbkRhdGFFeHRyYWN0b3IuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWIvZ2V0Um9zZW5EYXRhL2Fic3RyYWN0L0Fic3RyYWN0Um9zZW5EYXRhRXh0cmFjdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBZSxRQUFRLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUU3RCxPQUFPLEVBQWtCLFdBQVcsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBRTdFLE1BQU0sQ0FBQyxPQUFPLE9BQWdCLDBCQUEwQjtJQUNuQyxNQUFNLENBQWlCO0lBQ3ZCLE1BQU0sQ0FBVztJQUNqQixXQUFXLENBQVM7SUFFdkMsWUFDRSxXQUFtQixFQUNuQixNQUFtQixFQUNuQixNQ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Dtcbn1cbiJdfQ==

@@ -5,3 +5,3 @@ import { RosenData } from '../abstract/types';

import { RosenTokens } from '@rosen-bridge/tokens';
import { AbstractLogger } from '@rosen-bridge/logger-interface';
import { AbstractLogger } from '@rosen-bridge/abstract-logger';
export declare class ErgoNodeRosenExtractor extends AbstractRosenDataExtractor<NodeTransaction> {

@@ -8,0 +8,0 @@ lockErgoTree: string;

@@ -103,2 +103,2 @@ import AbstractRosenDataExtractor from '../abstract/AbstractRosenDataExtractor';

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXJnb05vZGVSb3NlbkV4dHJhY3Rvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL2xpYi9nZXRSb3NlbkRhdGEvZXJnby9FcmdvTm9kZVJvc2VuRXh0cmFjdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sMEJBQTBCLE1BQU0sd0NBQXdDLENBQUM7QUFDaEYsT0FBTyxFQUFFLFVBQVUsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUd6RCxPQUFPLEVBQUUsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBRXpELE9BQU8sS0FBSyxNQUFNLFVBQVUsQ0FBQztBQUU3QixNQUFNLE9BQU8sc0JBQXVCLFNBQVEsMEJBQTJDO0lBQ3JGLFlBQVksQ0FBUztJQUVyQixZQUNFLFdBQW1CLEVBQ25CLE1BQW1CLEVBQ25CLE1BQXVCO1FBRXZCLEtBQUssQ0FBQyxXQUFXLEVBQUUsTUFBTSxFQUFFLE1BQU0sQ0FBQyxDQUFDO1FBQ25DLElBQUksQ0FBQyxZQUFZLEdBQUcsT0FBTyxDQUFDLFdBQVcsQ0FBQyxXQUFXLENBQUM7YUFDakQsWUFBWSxFQUFFO2FBQ2QsZUFBZSxFQUFFLENBQUM7S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gICAgICAgICAgICAgICBib3gsXG4gICAgICAgICAgICAgICAgdG9DaGFpblxuICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICBpZiAoYXNzZXRUcmFuc2Zvcm1hdGlvbikge1xuICAgICAgICAgICAgICAgIHJldHVybiB7XG4gICAgICAgICAgICAgICAgICB0b0NoYWluOiB0b0NoYWluLFxuICAgICAgICAgICAgICAgICAgdG9BZGRyZXNzOiBCdWZmZXIuZnJvbShSNFNlcmlhbGl6ZWRbMV0pLnRvU3RyaW5nKCksXG4gICAgICAgICAgICAgICAgICBicmlkZ2VGZWU6IEJ1ZmZlci5mcm9tKFI0U2VyaWFsaXplZFszXSkudG9TdHJpbmcoKSxcbiAgICAgICAgICAgICAgICAgIG5ldHdvcmtGZWU6IEJ1ZmZlci5mcm9tKFI0U2VyaWFsaXplZFsyXSkudG9TdHJpbmcoKSxcbiAgICAgICAgICAgICAgICAgIGZyb21BZGRyZXNzOiBCdWZmZXIuZnJvbShSNFNlcmlhbGl6ZWRbNF0pLnRvU3RyaW5nKCksXG4gICAgICAgICAgICAgICAgICBzb3VyY2VDaGFpblRva2VuSWQ6IGFzc2V0VHJhbnNmb3JtYXRpb24uZnJvbSxcbiAgICAgICAgICAgICAgICAgIGFtb3VudDogYXNzZXRUcmFuc2Zvcm1hdGlvbi5hbW91bnQudG9TdHJpbmcoKSxcbiAgICAgICAgICAgICAgICAgIHRhcmdldENoYWluVG9rZW5JZDogYXNzZXRUcmFuc2Zvcm1hdGlvbi50byxcbiAgICAgICAgICAgICAgICAgIHNvdXJjZVR4SWQ6IHRyYW5zYWN0aW9uLmlkLFxuICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0gZWxzZVxuICAgICAgICAgICAgICB0aGlzLmxvZ2dlci5kZWJ1ZyhcbiAgICAgICAgICAgICAgICBib3hCYXNlRXJyb3IgK1xuICAgICAgICAgICAgICAgICAgYDogbGVuZ3RoIG9mIGRhdGEgaW4gUjQg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SNCkge1xuICAgICAgICAgICAgY29uc3QgUjRTZXJpYWxpemVkID0gUjQudG9fY29sbF9jb2xsX2J5dGUoKTtcbiAgICAgICAgICAgIGlmIChSNFNlcmlhbGl6ZWQubGVuZ3RoID49IDUpIHtcbiAgICAgICAgICAgICAgY29uc3QgdG9DaGFpbiA9IEJ1ZmZlci5mcm9tKFI0U2VyaWFsaXplZFswXSkudG9TdHJpbmcoKTtcblxuICAgICAgICAgICAgICBjb25zdCBhc3NldFRyYW5zZm9ybWF0aW9uID0gdGhpcy5nZXRBc3NldFRyYW5zZm9ybWF0aW9uKFxuICAgICAgICAgICAgICAgIGJveCxcbiAgICAgICAgICAgICAgICB0b0NoYWluXG4gICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgIGlmIChhc3NldFRyYW5zZm9ybWF0aW9uKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICAgIHRvQ2hhaW46IHRvQ2hhaW4sXG4gICAgICAgICAgICAgICAgICB0b0FkZHJlc3M6IEJ1ZmZlci5mcm9tKFI0U2VyaWFsaXplZFsxXSkudG9TdHJpbmcoKSxcbiAgICAgICAgICAgICAgICAgIGJyaWRnZUZlZTogQnVmZmVyLmZyb20oUjRTZXJpYWxpemVkWzNdKS50b1N0cmluZygpLFxuICAgICAgICAgICAgICAgICAgbmV0d29ya0ZlZTogQnVmZmVyLmZyb20oUjRTZXJpYWxpemVkWzJdKS50b1N0cmluZygpLFxuICAgICAgICAgICAgICAgICAgZnJvbUFkZHJlc3M6IEJ1ZmZlci5mcm9tKFI0U2VyaWFsaXplZFs0XSkudG9TdHJpbmcoKSxcbiAgICAgICAgICAgICAgICAgIHNvdXJjZUNoYWluVG9rZW5JZDogYXNzZXRUcmFuc2Zvcm1hdGlvbi5mcm9tLFxuICAgICAgICAgICAgICAgICAgYW1vdW50OiBhc3NldFRyYW5zZm9ybWF0aW9uLmFtb3VudC50b1N0cmluZygpLFxuICAgICAgICAgICAgICAgICAgdGFyZ2V0Q2hhaW5Ub2tlbklkOiBhc3NldFRyYW5zZm9ybWF0aW9uLnRvLFxuICAgICAgICAgICAgICAgICAgc291cmNlVHhJZDogdHJhbnNhY3Rpb24uaWQsXG4gICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSBlbHNlXG4gICAgICAgICAgICAgIHRoaXMubG9nZ2VyLmRlYnVnKFxuICAgICAgICAgICAgICAgIGJveEJhc2VFcnJvciArXG4gICAgICAgICAgICAgICAgICBgOiBsZW5ndGggb2YgZGF0YSBpbiBSNCBpcyBsZXNzIHRoYW4gZXhwZWN0ZWQgWyR7UjRTZXJpYWxpemVkLmxlbmd0aH0gPCA1XWBcbiAgICAgICAgICAgICAgKTtcbiAgICAgICAgICB9XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgaWYgKGJveC5lcmdvVHJlZSAhPT0gdGhpcy5sb2NrRXJnb1RyZWUpXG4gICAgICAgICAgICB0aGlzLmxvZ2dlci5kZWJ1ZyhcbiAgICAgICAgICAgICAgYm94QmFzZUVycm9yICtcbiAgICAgICAgICAgICAgICBgOiBpbnZhbGlkIGVyZ28gdHJlZSBbJHtib3guZXJnb1RyZWV9ICE9PSAke3RoaXMubG9ja0VyZ29UcmVlfV1gXG4gICAgICAgICAgICApO1xuICAgICAgICAgIGVsc2UgdGhpcy5sb2dnZXIuZGVidWcoYm94QmFzZUVycm9yICsgYDogbm8gUjRgKTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgICAgdGhpcy5sb2dnZXIuZGVidWcoXG4gICAgICAgIGJhc2VFcnJvciArIGA6IE5vIHZhbGlkIHJvc2VuIGRhdGEgZm91bmQgaW4gYW55IG91dHB1dCBib3ggcmVnaXN0ZXJzYFxuICAgICAgKTtcbiAgICB9IGNhdGNoIChlKSB7XG4gICAgICB0aGlzLmxvZ2dlci5kZWJ1ZyhcbiAgICAgICAgYEFuIGVycm9yIG9jY3VycmVkIHdoaWxlIGdldHR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0SUQodG9rZW5bMF0sIEVSR09fQ0hBSU4pLFxuICAgICAgICAgICAgdG86IHRoaXMudG9rZW5zLmdldElEKHRva2VuWzBdLCB0b0NoYWluKSxcbiAgICAgICAgICAgIGFtb3VudDogbG9ja2VkVG9rZW4uYW1vdW50LFxuICAgICAgICAgIH07XG4gICAgICB9XG4gICAgfVxuXG4gICAgLy8gdHJ5IHRvIGJ1aWxkIHRyYW5zZm9ybWF0aW9uIHVzaW5nIGxvY2tlZCBFcmdcbiAgICBjb25zdCBlcmcgPSB0aGlzLnRva2Vucy5zZWFyY2goRVJHT19DSEFJTiwge1xuICAgICAgW3RoaXMudG9rZW5zLmdldElkS2V5KEVSR09fQ0hBSU4pXTogRVJHT19OQVRJVkVfVE9LRU4sXG4gICAgfSk7XG4gICAgaWYgKGVyZy5sZW5ndGggPiAwKSB7XG4gICAgICByZXR1cm4ge1xuICAgICAgICBmcm9tOiBFUkdPX05BVElWRV9UT0tFTixcbiAgICAgICAgdG86IHRoaXMudG9rZW5zLmdldElEKGVyZ1swXSwgdG9DaGFpbiksXG4gICAgICAgIGFtb3VudDogYm94LnZhbHVlLFxuICAgICAgfTtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5sb2dnZXIuZGVidWcoXG4gICAgICAgIGBObyByb3NlbiBhc3NldCB0cmFuc2Zvcm1hdGlvbiBmb3VuZCBmb3IgYm94IFske1xuICAgICAgICAgIGJveC5ib3hJZFxuICAgICAgICB9XTogYm94IGFzc2V0czogJHtVdGlscy5Kc29uQkkuc3RyaW5naWZ5KGJveC5hc3NldHMpfWBcbiAgICAgICk7XG4gICAgICByZXR1cm4gdW5kZWZpbmVkO1xuICAgIH1cbiAgfTtcbn1cbiJdfQ==
import { RosenData } from '../abstract/types';
import AbstractRosenDataExtractor from '../abstract/AbstractRosenDataExtractor';
import { RosenTokens } from '@rosen-bridge/tokens';
import { AbstractLogger } from '@rosen-bridge/logger-interface';
import { AbstractLogger } from '@rosen-bridge/abstract-logger';
export declare class ErgoRosenExtractor extends AbstractRosenDataExtractor<string> {

@@ -6,0 +6,0 @@ private nodeExtractor;

@@ -31,2 +31,2 @@ import AbstractRosenDataExtractor from '../abstract/AbstractRosenDataExtractor';

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXJnb1Jvc2VuRXh0cmFjdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vbGliL2dldFJvc2VuRGF0YS9lcmdvL0VyZ29Sb3NlbkV4dHJhY3Rvci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLDBCQUEwQixNQUFNLHdDQUF3QyxDQUFDO0FBR2hGLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUVuRCxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUNsRSxPQUFPLEtBQUssTUFBTSxVQUFVLENBQUM7QUFFN0IsTUFBTSxPQUFPLGtCQUFtQixTQUFRLDBCQUFrQztJQUNoRSxhQUFhLENBQXlCO0lBRTlDLFlBQ0UsV0FBbUIsRUFDbkIsTUFBbUIsRUFDbkIsTUFBdUI7UUFFdkIsS0FBSyxDQUFDLFdBQVcsRUFBRSxNQUFNLEVBQUUsTUFBTSxDQUFDLENBQUM7UUFDbkMsSUFBSSxDQUFDLGFBQWEsR0FBRyxJQUFJLHNCQUFzQixDQUM3QyxXQUFXLEVBQ1gsTUFBTSxFQUNOLE1BQU0sQ0FDUCxDQUFDO0lBQ0osQ0FBQztJQUVEOzs7T0FHRztJQUNILEdBQUcsR0FBRyxDQUFDLHFCQUE2QixFQUF5QixFQUFFO1FBQzdELElBQUksV0FBd0IsQ0FBQztRQUM3QixJQUFJO1lBQ0YsV0FBVyxHQUFHLFdBQVcsQ0FBQyxpQkFBaUIsQ0FDekMsTUFBTSxDQUFDLElBQUksQ0FBQyxxQk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24oKSkgYXMgTm9kZVRyYW5zYWN0aW9uO1xuICAgIHJldHVybiB0aGlzLm5vZGVFeHRyYWN0b3IuZ2V0KG5vZGVUeCk7XG4gIH07XG59XG4iXX0=
{
"name": "@rosen-bridge/rosen-extractor",
"version": "0.2.0",
"version": "0.2.1",
"description": "this project contains methods to get rosen data from blockchain",

@@ -28,3 +28,3 @@ "main": "dist/lib/index.js",

"@rosen-bridge/tokens": "^0.2.0",
"@rosen-bridge/logger-interface": "^0.2.0",
"@rosen-bridge/abstract-logger": "^0.3.0",
"ergo-lib-wasm-nodejs": "^0.24.0-alpha-1f24f53",

@@ -31,0 +31,0 @@ "json-bigint": "^1.0.0",

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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc