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

@hyperledger/cactus-common

Package Overview
Dependencies
Maintainers
7
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyperledger/cactus-common - npm Package Compare versions

Comparing version 1.0.0-rc.3 to 1.0.0

2

dist/lib/test/typescript/unit/js-object-signer.test.d.ts

@@ -1,1 +0,1 @@

export {};
import "jest-extended";

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const tape_1 = __importDefault(require("tape"));
require("jest-extended");
const js_object_signer_1 = require("../../../main/typescript/js-object-signer");

@@ -24,3 +24,3 @@ const secp256k1_keys_1 = require("../../../main/typescript/secp256k1-keys");

};
tape_1.default("Simple JSON Test", async (assert) => {
test("Simple JSON Test", async () => {
const jsObjectSignerOptions = {

@@ -35,6 +35,5 @@ privateKey: keyPairs.privateKey,

const sign2 = jsObjectSigner.sign(payload2);
assert.equals(sign1.toString, sign2.toString);
assert.end();
expect(sign1.toString).toEqual(sign2.toString);
});
tape_1.default("Simple Nested JSON Test", async (assert) => {
test("Simple Nested JSON Test", async () => {
const jsObjectSignerOptions = {

@@ -51,6 +50,5 @@ privateKey: keyPairs.privateKey,

const sign2 = jsObjectSigner.sign(outer2);
assert.equals(sign1.toString, sign2.toString);
assert.end();
expect(sign1.toString).toEqual(sign2.toString);
});
tape_1.default("Simple Date JSON Test", async (assert) => {
test("Simple Date JSON Test", async () => {
const jsObjectSignerOptions = {

@@ -84,6 +82,5 @@ privateKey: keyPairs.privateKey,

const sign2 = jsObjectSigner.sign(outer2);
assert.equals(sign1.toString, sign2.toString);
assert.end();
expect(sign1.toString).toEqual(sign2.toString);
});
tape_1.default("Circular JSON Test", async (assert) => {
test("Circular JSON Test", async () => {
const jsObjectSignerOptions = {

@@ -98,6 +95,5 @@ privateKey: keyPairs.privateKey,

obj.b = obj;
assert.throws(() => jsObjectSigner.sign(obj));
assert.end();
expect(() => jsObjectSigner.sign(obj)).toThrow(Error);
});
tape_1.default("Very Signature Test", async (assert) => {
test("Very Signature Test", async () => {
const jsObjectSignerOptions = {

@@ -111,6 +107,5 @@ privateKey: keyPairs.privateKey,

const verify = jsObjectSigner.verify(payload1, sign1, keyPairs.publicKey);
assert.equals(true, verify);
assert.end();
expect(verify).toBe(true);
});
tape_1.default("Test optional sign function", async (assert) => {
test("Test optional sign function", async () => {
const jsObjectSignerOptions = {

@@ -128,6 +123,5 @@ privateKey: keyPairs.privateKey,

const sign2 = jsObjectSigner.sign(outer2);
assert.equals(sign1.toString, sign2.toString);
assert.end();
expect(sign1.toString()).toEqual(sign2.toString());
});
tape_1.default("Test optional verify sign function", async (assert) => {
test("Test optional verify sign function", async () => {
const jsObjectSignerOptions = {

@@ -144,6 +138,5 @@ privateKey: keyPairs.privateKey,

const verify = jsObjectSigner.verify(outer1, sign1, keyPairs.publicKey);
assert.equals(true, verify);
assert.end();
expect(verify).toBe(true);
});
tape_1.default("Test optional hash function", async (assert) => {
test("Test optional hash function", async () => {
const jsObjectSignerOptions = {

@@ -161,6 +154,5 @@ privateKey: keyPairs.privateKey,

const sign2 = jsObjectSigner.sign(outer2);
assert.equals(sign1.toString, sign2.toString);
assert.end();
expect(sign1.toString).toEqual(sign2.toString);
});
tape_1.default("Test missing required constructor field", async (assert) => {
test("Test missing required constructor field", async () => {
try {

@@ -174,8 +166,9 @@ const pkey = undefined;

catch (e) {
if (e instanceof Error) {
assert.equal(e.message, "JsObjectSigner#ctor options.privateKey falsy.");
}
expect(e).toBeInstanceOf(Error);
expect(e).toContainEntry([
"message",
"JsObjectSigner#ctor options.privateKey falsy.",
]);
}
assert.end();
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoianMtb2JqZWN0LXNpZ25lci50ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL3Rlc3Q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1BQU0sQ0FBQyxDQUFDLENBQUMsQ0FBQyxjQUFjLENBQUM7WUFDdkIsU0FBUztZQUVULCtDQUErQztTQUNoRCxDQUFDLENBQUM7S0FDSjtBQUNILENBQUMsQ0FBQyxDQUFDIn0=

@@ -1,1 +0,1 @@

export {};
import "jest-extended";
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const tape_1 = __importDefault(require("tape"));
const public_api_1 = require("../../../../main/typescript/public-api");
tape_1.default("tests for get the properties of object", async (assert) => {
require("jest-extended");
test("tests for get the properties of object", async () => {
const student = {

@@ -26,9 +23,8 @@ name: "Jack",

];
assert.ok(Array.isArray(fieldNames), "expect an array of strings returned");
assert.ok(fieldNames.length === arrayResultExpected.length, "Arrays have same length");
assert.ok(Object.prototype.hasOwnProperty.call(student, "course"), '"course" property present in object');
assert.ok(fieldNames.includes("course"), '"course" element present in array');
assert.deepEqual(fieldNames, arrayResultExpected);
assert.end();
expect(Array.isArray(fieldNames)).toBeTruthy();
expect(fieldNames.length).toBe(arrayResultExpected.length);
expect(Object.prototype.hasOwnProperty.call(student, "course")).toBeTruthy();
expect(fieldNames.includes("course")).toBeTruthy();
expect(fieldNames).toStrictEqual(arrayResultExpected);
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LWFsbC1maWVsZC1uYW1lcy50ZXN0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL3Rlc3QvdHlwZXNjcmlwdC91bml0L29iamVjdHMvZ2V0LWFsbC1maWVsZC1uYW1lcy50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsZ0RBQWtDO0FBQ2xDLHVFQUFpRTtBQUVqRSxjQUFJLENBQUMsd0NBQXdDLEVBQUUsS0FBSyxFQUFFL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sSUFBSSxDQUFDLE9BQU8sRUFBRSxRQUFRLENBQUMsQ0FBQyxDQUFDLFVBQVUsRUFBRSxDQUFDO0lBQzdFLE1BQU0sQ0FBQyxVQUFVLENBQUMsUUFBUSxDQUFDLFFBQVEsQ0FBQyxDQUFDLENBQUMsVUFBVSxFQUFFLENBQUM7SUFDbkQsTUFBTSxDQUFDLFVBQVUsQ0FBQyxDQUFDLGFBQWEsQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDO0FBQ3hELENBQUMsQ0FBQyxDQUFDIn0=

@@ -37,3 +37,3 @@ "use strict";

const prefPort = 4123;
const host = "0.0.0.0";
const host = "localhost";
const portBlocker = http_1.createServer();

@@ -60,2 +60,2 @@ tape_1.default.onFinish(() => portBlocker.close());

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

@@ -1,1 +0,1 @@

export {};
import "jest-extended";
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const tape_1 = __importDefault(require("tape"));
const strings_1 = require("../../../../main/typescript/strings");
tape_1.default("Strings#isString()", async (assert) => {
require("jest-extended");
test("Strings#isString()", async () => {
const thisIsAString = "This is a original string for a test";

@@ -15,7 +12,6 @@ const thisIsANumber = 10;

const testForNotString2 = strings_1.Strings.isString(thisIsABool);
assert.true(testForString);
assert.false(testForNotString1);
assert.false(testForNotString2);
assert.end();
expect(testForString).toBe(true);
expect(testForNotString1).not.toBe(true);
expect(testForNotString2).not.toBe(true);
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtc3RyaW5nLnRlc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvdGVzdC90eXBlc2NyaXB0L3VuaXQvc3RyaW5ncy9pcy1zdHJpbmcudGVzdC50cyJdLCJu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UFFLEtBQUssSUFBSSxFQUFFO0lBQ3BDLE1BQU0sYUFBYSxHQUFHLHNDQUFzQyxDQUFDO0lBQzdELE1BQU0sYUFBYSxHQUFHLEVBQUUsQ0FBQztJQUN6QixNQUFNLFdBQVcsR0FBRyxJQUFJLENBQUM7SUFFekIsTUFBTSxhQUFhLEdBQUcsaUJBQU8sQ0FBQyxRQUFRLENBQUMsYUFBYSxDQUFDLENBQUM7SUFDdEQsTUFBTSxpQkFBaUIsR0FBRyxpQkFBTyxDQUFDLFFBQVEsQ0FBQyxhQUFhLENBQUMsQ0FBQztJQUMxRCxNQUFNLGlCQUFpQixHQUFHLGlCQUFPLENBQUMsUUFBUSxDQUFDLFdBQVcsQ0FBQyxDQUFDO0lBRXhELE1BQU0sQ0FBQyxhQUFhLENBQUMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUM7SUFDakMsTUFBTSxDQUFDLGlCQUFpQixDQUFDLENBQUMsR0FBRyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQztJQUN6QyxNQUFNLENBQUMsaUJBQWlCLENBQUMsQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO0FBQzNDLENBQUMsQ0FBQyxDQUFDIn0=

@@ -1,1 +0,1 @@

export {};
import "jest-extended";
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const tape_1 = __importDefault(require("tape"));
const strings_1 = require("../../../../main/typescript/strings");
tape_1.default("Strings#replaceAll() replaces strings", async (assert) => {
require("jest-extended");
test("Strings#replaceAll() replaces strings", async () => {
const originalString = "This is a original original string for a test";
const replace = strings_1.Strings.replaceAll(originalString, "original", "new");
assert.equal(replace, "This is a new new string for a test");
assert.end();
expect(replace).toEqual("This is a new new string for a test");
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmV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UsVUFBVSxFQUFFLEtBQUssQ0FBQyxDQUFDO0lBRXRFLE1BQU0sQ0FBQyxPQUFPLENBQUMsQ0FBQyxPQUFPLENBQUMscUNBQXFDLENBQUMsQ0FBQztBQUNqRSxDQUFDLENBQUMsQ0FBQyJ9
{
"name": "@hyperledger/cactus-common",
"version": "1.0.0-rc.3",
"version": "1.0.0",
"description": "Universal library used by both front end and back end components of Cactus. Aims to be a developer swiss army knife.",
"main": "dist/lib/main/typescript/index.js",
"mainMinified": "dist/cactus-common.node.umd.min.js",
"browser": "dist/cactus-common.web.umd.js",
"browserMinified": "dist/cactus-common.web.umd.min.js",
"module": "dist/lib/main/typescript/index.js",
"types": "dist/lib/main/typescript/index.d.ts",
"files": [
"dist/*"
],
"scripts": {
"watch": "npm-watch",
"webpack": "npm-run-all webpack:dev",
"webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web",
"webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js",
"webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js"
},
"watch": {},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=10",
"npm": ">=6"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hyperledger/cactus.git"
},
"keywords": [

@@ -40,2 +12,11 @@ "Hyperledger",

],
"homepage": "https://github.com/hyperledger/cactus#readme",
"bugs": {
"url": "https://github.com/hyperledger/cactus/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/hyperledger/cactus.git"
},
"license": "Apache-2.0",
"author": {

@@ -58,7 +39,16 @@ "name": "Hyperledger Cactus Contributors",

],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/hyperledger/cactus/issues"
"main": "dist/lib/main/typescript/index.js",
"module": "dist/lib/main/typescript/index.js",
"browser": "dist/cactus-common.web.umd.js",
"types": "dist/lib/main/typescript/index.d.ts",
"files": [
"dist/*"
],
"scripts": {
"watch": "npm-watch",
"webpack": "npm-run-all webpack:dev",
"webpack:dev": "npm-run-all webpack:dev:node webpack:dev:web",
"webpack:dev:node": "webpack --env=dev --target=node --config ../../webpack.config.js",
"webpack:dev:web": "webpack --env=dev --target=web --config ../../webpack.config.js"
},
"homepage": "https://github.com/hyperledger/cactus#readme",
"dependencies": {

@@ -78,3 +68,13 @@ "json-stable-stringify": "1.0.1",

},
"gitHead": "fdd888396d6727ee225b6729a2aac6d6d05b802c"
"engines": {
"node": ">=10",
"npm": ">=6"
},
"publishConfig": {
"access": "public"
},
"browserMinified": "dist/cactus-common.web.umd.min.js",
"mainMinified": "dist/cactus-common.node.umd.min.js",
"watch": {},
"gitHead": "864449fb96c39e4605d5df4d51465af765b3d10f"
}
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