You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@keystonehq/bc-ur-registry

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keystonehq/bc-ur-registry - npm Package Compare versions

Comparing version

to
0.2.0

dist/CryptoAccount.js

2

dist/CryptoOutput.js

@@ -64,4 +64,2 @@ "use strict";

};
this.toString = () => {
};
}

@@ -68,0 +66,0 @@ }

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PathComponent = exports.ScriptExpressions = exports.MultiKey = exports.CryptoPSBT = exports.CryptoOutput = exports.CryptoECKey = exports.CryptoCoinInfoNetwork = exports.CryptoCoinInfoType = exports.CryptoCoinInfo = exports.CryptoKeypath = exports.CryptoHDKey = void 0;
exports.PathComponent = exports.ScriptExpressions = exports.MultiKey = exports.CryptoPSBT = exports.CryptoOutput = exports.CryptoECKey = exports.CryptoCoinInfoNetwork = exports.CryptoCoinInfoType = exports.CryptoCoinInfo = exports.CryptoKeypath = exports.CryptoHDKey = exports.CryptoAccount = void 0;
require("./patchCBOR");
var CryptoHDKey_1 = require("./CryptoHDKey");
const CryptoHDKey_1 = require("./CryptoHDKey");
Object.defineProperty(exports, "CryptoHDKey", { enumerable: true, get: function () { return CryptoHDKey_1.CryptoHDKey; } });
var CryptoKeypath_1 = require("./CryptoKeypath");
const CryptoKeypath_1 = require("./CryptoKeypath");
Object.defineProperty(exports, "CryptoKeypath", { enumerable: true, get: function () { return CryptoKeypath_1.CryptoKeypath; } });
var CryptoCoinInfo_1 = require("./CryptoCoinInfo");
const CryptoCoinInfo_1 = require("./CryptoCoinInfo");
Object.defineProperty(exports, "CryptoCoinInfo", { enumerable: true, get: function () { return CryptoCoinInfo_1.CryptoCoinInfo; } });
Object.defineProperty(exports, "CryptoCoinInfoType", { enumerable: true, get: function () { return CryptoCoinInfo_1.Type; } });
Object.defineProperty(exports, "CryptoCoinInfoNetwork", { enumerable: true, get: function () { return CryptoCoinInfo_1.Network; } });
var CryptoECKey_1 = require("./CryptoECKey");
const CryptoECKey_1 = require("./CryptoECKey");
Object.defineProperty(exports, "CryptoECKey", { enumerable: true, get: function () { return CryptoECKey_1.CryptoECKey; } });
var CryptoOutput_1 = require("./CryptoOutput");
const CryptoOutput_1 = require("./CryptoOutput");
Object.defineProperty(exports, "CryptoOutput", { enumerable: true, get: function () { return CryptoOutput_1.CryptoOutput; } });
var CryptoPSBT_1 = require("./CryptoPSBT");
const CryptoPSBT_1 = require("./CryptoPSBT");
Object.defineProperty(exports, "CryptoPSBT", { enumerable: true, get: function () { return CryptoPSBT_1.CryptoPSBT; } });
var MultiKey_1 = require("./MultiKey");
const CryptoAccount_1 = require("./CryptoAccount");
Object.defineProperty(exports, "CryptoAccount", { enumerable: true, get: function () { return CryptoAccount_1.CryptoAccount; } });
const MultiKey_1 = require("./MultiKey");
Object.defineProperty(exports, "MultiKey", { enumerable: true, get: function () { return MultiKey_1.MultiKey; } });
var ScriptExpression_1 = require("./ScriptExpression");
const ScriptExpression_1 = require("./ScriptExpression");
Object.defineProperty(exports, "ScriptExpressions", { enumerable: true, get: function () { return ScriptExpression_1.ScriptExpressions; } });
var PathComponent_1 = require("./PathComponent");
const PathComponent_1 = require("./PathComponent");
Object.defineProperty(exports, "PathComponent", { enumerable: true, get: function () { return PathComponent_1.PathComponent; } });
const URlib = {
CryptoAccount: CryptoAccount_1.CryptoAccount,
CryptoHDKey: CryptoHDKey_1.CryptoHDKey,
CryptoKeypath: CryptoKeypath_1.CryptoKeypath,
CryptoCoinInfo: CryptoCoinInfo_1.CryptoCoinInfo,
CryptoCoinInfoType: CryptoCoinInfo_1.Type,
CryptoCoinInfoNetwork: CryptoCoinInfo_1.Network,
CryptoECKey: CryptoECKey_1.CryptoECKey,
CryptoOutput: CryptoOutput_1.CryptoOutput,
CryptoPSBT: CryptoPSBT_1.CryptoPSBT,
MultiKey: MultiKey_1.MultiKey,
ScriptExpressions: ScriptExpression_1.ScriptExpressions,
PathComponent: PathComponent_1.PathComponent,
};
exports.default = URlib;
//# sourceMappingURL=index.js.map

@@ -20,3 +20,4 @@ "use strict";

CRYPTO_PSBT: new RegistryType(310, 'crypto-psbt'),
CRYPTO_ACCOUNT: new RegistryType(311, 'crypto-account'),
};
//# sourceMappingURL=RegistryType.js.map
{
"name": "@keystonehq/bc-ur-registry",
"version": "0.1.1",
"version": "0.2.0",
"description": "A JS implementation of Uniform Resources(UR) Registry specification from Blockchain Commons",

@@ -26,2 +26,5 @@ "engines": {

"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/preset-env": "^7.6.3",
"@babel/preset-typescript": "^7.6.0",
"@types/jest": "~26.0.23",

@@ -31,2 +34,3 @@ "@types/node": "~14.14.44",

"@typescript-eslint/parser": "~4.23.0",
"babel-loader": "^8.2.2",
"eslint": "~7.26.0",

@@ -36,2 +40,3 @@ "eslint-config-prettier": "~8.3.0",

"jest": "~26.6.3",
"node-polyfill-webpack-plugin": "^1.1.2",
"prettier": "~2.3.0",

@@ -41,4 +46,12 @@ "rimraf": "~3.0.2",

"tsutils": "~3.21.0",
"typescript": "~4.2.4"
"typescript": "~4.2.4",
"webpack": "4.46.0",
"webpack-cli": "4.3.1"
},
"babel": {
"presets": [
"@babel/preset-env",
"@babel/preset-typescript"
]
},
"scripts": {

@@ -51,3 +64,4 @@ "start": "node dist/index.js",

"test": "jest --coverage",
"test:watch": "jest --watch"
"test:watch": "jest --watch",
"build:purescript": "webpack --config webpack.config.js"
},

@@ -54,0 +68,0 @@ "author": "Soralit <soralitria@gmail.com>",

@@ -7,3 +7,3 @@ # BC-UR-Registry

crypto-output, crypto-eckey, crypto-hdkey, crypto-keypath, crypto-coin-info, crypto-psbt
crypto-output, crypto-eckey, crypto-hdkey, crypto-keypath, crypto-coin-info, crypto-psbt, crypto-account

@@ -10,0 +10,0 @@ ## Installing

@@ -71,6 +71,2 @@ import { CryptoECKey } from './CryptoECKey';

public toString = () => {
}
public static fromDataItem = (dataItem: DataItem) => {

@@ -77,0 +73,0 @@ const scriptExpressions: ScriptExpression[] = [];

import './patchCBOR';
export { CryptoHDKey } from './CryptoHDKey';
export { CryptoKeypath } from './CryptoKeypath';
export {
import { CryptoHDKey } from './CryptoHDKey';
import { CryptoKeypath } from './CryptoKeypath';
import {
CryptoCoinInfo,

@@ -10,9 +10,42 @@ Type as CryptoCoinInfoType,

} from './CryptoCoinInfo';
export { CryptoECKey } from './CryptoECKey';
export { CryptoOutput } from './CryptoOutput';
export { CryptoPSBT } from './CryptoPSBT';
import { CryptoECKey } from './CryptoECKey';
import { CryptoOutput } from './CryptoOutput';
import { CryptoPSBT } from './CryptoPSBT';
import { CryptoAccount } from './CryptoAccount';
export { MultiKey } from './MultiKey';
import { MultiKey } from './MultiKey';
export { ScriptExpressions } from './ScriptExpression';
export { PathComponent } from './PathComponent';
import { ScriptExpressions } from './ScriptExpression';
import { PathComponent } from './PathComponent';
const URlib = {
CryptoAccount,
CryptoHDKey,
CryptoKeypath,
CryptoCoinInfo,
CryptoCoinInfoType,
CryptoCoinInfoNetwork,
CryptoECKey,
CryptoOutput,
CryptoPSBT,
MultiKey,
ScriptExpressions,
PathComponent,
};
export {
CryptoAccount,
CryptoHDKey,
CryptoKeypath,
CryptoCoinInfo,
CryptoCoinInfoType,
CryptoCoinInfoNetwork,
CryptoECKey,
CryptoOutput,
CryptoPSBT,
MultiKey,
ScriptExpressions,
PathComponent,
};
export default URlib;

@@ -17,2 +17,3 @@ // cbor registry types: https://github.com/BlockchainCommons/Research/blob/master/papers/bcr-2020-006-urtypes.md

CRYPTO_PSBT: new RegistryType(310, 'crypto-psbt'),
CRYPTO_ACCOUNT: new RegistryType(311, 'crypto-account'),
};

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