New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@theledger/fabric-mock-stub

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@theledger/fabric-mock-stub - npm Package Compare versions

Comparing version 2.0.3 to 3.0.0

dist/models/mockKeyModification.d.ts

27

dist/ChaincodeMockStub.d.ts
/// <reference types="node" />
/// <reference types="@theledger/fabric-shim-types" />
import { ChaincodeInterface, ChaincodeResponse, Iterators, KeyModification, MockStub, ProposalCreator, SignedProposal, SplitCompositekey } from 'fabric-shim';
import { ChaincodeInterface, ChaincodeResponse, Iterators, SplitCompositekey, ChaincodeProposal, ChaincodeStub, StateQueryResponse } from 'fabric-shim';
import { Timestamp } from 'google-protobuf/google/protobuf/timestamp_pb';
import { ChaincodeProposalCreator } from './ChaincodeProposalCreator';
import { MockStub } from '.';
/**

@@ -9,3 +10,3 @@ * Mock implementation of the fabric-shim stub

export declare type StateMap = Map<string, Buffer>;
export declare class ChaincodeMockStub implements MockStub {
export declare class ChaincodeMockStub implements MockStub, ChaincodeStub {
private name;

@@ -22,3 +23,3 @@ private cc;

event: Map<string, Buffer>;
history: Map<string, KeyModification[]>;
history: Map<string, Iterators.KeyModification[]>;
private invokables;

@@ -43,2 +44,5 @@ private signedProposal;

getArgs(): string[];
getSignedProposal(): ChaincodeProposal.SignedProposal;
mockInvokeWithSignedProposal(uuid: string, args: string[], sp: ChaincodeProposal.SignedProposal): Promise<ChaincodeResponse>;
setSignedProposal(sp: ChaincodeProposal.SignedProposal): void;
/**

@@ -107,3 +111,3 @@ * Same as getArgs()

*/
invokeChaincode(chaincodeName: string, args: Buffer[], channel: string): Promise<ChaincodeResponse>;
invokeChaincode(chaincodeName: string, args: string[], channel: string): Promise<ChaincodeResponse>;
/**

@@ -114,6 +118,6 @@ * Invoke this chaincode, also starts and ends a transaction.

* @param {string[]} args
* @param {"fabric-shim".SignedProposal} sp
* @param {"fabric-shim".ChaincodeProposal.SignedProposal} sp
* @returns {Promise<"fabric-shim".ChaincodeResponse>}
*/
mockInvokeWithSignedProposal(uuid: string, args: string[], sp: SignedProposal): Promise<ChaincodeResponse>;
mockInvokeWithChaincodeProposal(uuid: string, args: string[], sp: ChaincodeProposal.SignedProposal): Promise<ChaincodeResponse>;
/**

@@ -149,2 +153,5 @@ * Get a stored value for this key in the local state

getStateByRange(startKey: string, endKey: string): Promise<Iterators.StateQueryIterator>;
getStateByRangeWithPagination(startKey: string, endKey: string, pageSize: number, bookmark?: string): Promise<StateQueryResponse<Iterators.StateQueryIterator>>;
getStateByPartialCompositeKeyWithPagination(objectType: string, attributes: string[], pageSize: number, bookmark?: string): Promise<StateQueryResponse<Iterators.StateQueryIterator>>;
getQueryResultWithPagination(query: string, pageSize: number, bookmark?: string): Promise<StateQueryResponse<Iterators.StateQueryIterator>>;
/**

@@ -175,4 +182,4 @@ *

splitCompositeKey(compositeKey: string): SplitCompositekey;
getSignedProposal(): SignedProposal;
setSignedProposal(sp: SignedProposal): void;
getChaincodeProposal(): ChaincodeProposal.SignedProposal;
setChaincodeProposal(sp: ChaincodeProposal.SignedProposal): void;
setTxTimestamp(t: Timestamp): void;

@@ -187,3 +194,3 @@ getTxTimestamp(): Timestamp;

setCreator(mspId: string): void;
getCreator(): ProposalCreator;
getCreator(): ChaincodeProposalCreator;
/**

@@ -190,0 +197,0 @@ * GetHistory for key

@@ -46,4 +46,5 @@ "use strict";

var datatransform_1 = require("./utils/datatransform");
var MockProtoTimestamp_1 = require("./MockProtoTimestamp");
var MockHistoryQueryIterator_1 = require("./MockHistoryQueryIterator");
var mockKeyModification_1 = require("./models/mockKeyModification");
var mockKeyValue_1 = require("./models/mockKeyValue");
var defaultUserCert = '-----BEGIN CERTIFICATE-----' +

@@ -97,2 +98,12 @@ 'MIIB6TCCAY+gAwIBAgIUHkmY6fRP0ANTvzaBwKCkMZZPUnUwCgYIKoZIzj0EAwIw' +

};
ChaincodeMockStub.prototype.getSignedProposal = function () {
return this.signedProposal;
};
ChaincodeMockStub.prototype.mockInvokeWithSignedProposal = function (uuid, args, sp) {
this.setSignedProposal(sp);
return this.mockInvoke(uuid, args);
};
ChaincodeMockStub.prototype.setSignedProposal = function (sp) {
this.signedProposal = sp;
};
/**

@@ -131,3 +142,3 @@ * Same as getArgs()

this.txID = txid;
this.setSignedProposal({});
this.setChaincodeProposal({});
this.setTxTimestamp(new timestamp_pb_1.Timestamp());

@@ -240,6 +251,6 @@ this.transientMap = transientMap;

* @param {string[]} args
* @param {"fabric-shim".SignedProposal} sp
* @param {"fabric-shim".ChaincodeProposal.SignedProposal} sp
* @returns {Promise<"fabric-shim".ChaincodeResponse>}
*/
ChaincodeMockStub.prototype.mockInvokeWithSignedProposal = function (uuid, args, sp) {
ChaincodeMockStub.prototype.mockInvokeWithChaincodeProposal = function (uuid, args, sp) {
return __awaiter(this, void 0, void 0, function () {

@@ -286,8 +297,3 @@ var res;

}
this.history[key].push({
is_delete: false,
value: value,
timestamp: new MockProtoTimestamp_1.MockProtoTimestamp(),
tx_id: this.txID
});
this.history[key].push(new mockKeyModification_1.MockKeyModification(false, value, this.txID));
return Promise.resolve();

@@ -303,8 +309,3 @@ };

var value = this.state[key];
this.history[key].push({
is_delete: true,
value: value,
timestamp: new MockProtoTimestamp_1.MockProtoTimestamp(),
tx_id: this.txID
});
this.history[key].push(new mockKeyModification_1.MockKeyModification(true, value, this.txID));
delete this.state[key];

@@ -328,10 +329,16 @@ return Promise.resolve();

})
.map(function (k) {
return {
key: k,
value: _this.state[k]
};
});
.map(function (k) { return new mockKeyValue_1.MockKeyValue(k, _this.state[k]); });
return Promise.resolve(new MockStateQueryIterator_1.MockStateQueryIterator(items));
};
// tslint:disable-next-line:max-line-length
ChaincodeMockStub.prototype.getStateByRangeWithPagination = function (startKey, endKey, pageSize, bookmark) {
throw new Error('Method not implemented.');
};
// tslint:disable-next-line:max-line-length
ChaincodeMockStub.prototype.getStateByPartialCompositeKeyWithPagination = function (objectType, attributes, pageSize, bookmark) {
throw new Error('Method not implemented.');
};
ChaincodeMockStub.prototype.getQueryResultWithPagination = function (query, pageSize, bookmark) {
throw new Error('Method not implemented.');
};
/**

@@ -369,8 +376,3 @@ *

var items = queryEngine.parseQuery(keyValues, parsedQuery)
.map(function (item) {
return {
key: item.key,
value: datatransform_1.Transform.serialize(item.value)
};
});
.map(function (item) { return new mockKeyValue_1.MockKeyValue(item.key, datatransform_1.Transform.serialize(item.value)); });
return Promise.resolve(new MockStateQueryIterator_1.MockStateQueryIterator(items));

@@ -395,6 +397,6 @@ };

};
ChaincodeMockStub.prototype.getSignedProposal = function () {
ChaincodeMockStub.prototype.getChaincodeProposal = function () {
return this.signedProposal;
};
ChaincodeMockStub.prototype.setSignedProposal = function (sp) {
ChaincodeMockStub.prototype.setChaincodeProposal = function (sp) {
this.signedProposal = sp;

@@ -535,6 +537,3 @@ };

})
.map(function (k) { return ({
key: k,
value: privateCollection[k]
}); });
.map(function (k) { return new mockKeyValue_1.MockKeyValue(k, privateCollection[k]); });
return Promise.resolve(new MockStateQueryIterator_1.MockStateQueryIterator(items));

@@ -577,8 +576,3 @@ };

var items = queryEngine.parseQuery(keyValues, parsedQuery)
.map(function (item) {
return {
key: item.key,
value: datatransform_1.Transform.serialize(item.value)
};
});
.map(function (item) { return new mockKeyValue_1.MockKeyValue(item.key, datatransform_1.Transform.serialize(item.value)); });
return Promise.resolve(new MockStateQueryIterator_1.MockStateQueryIterator(items));

@@ -585,0 +579,0 @@ };

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

/// <reference types="@theledger/fabric-shim-types" />
import { ProposalCreator } from 'fabric-shim';
import { IdBytes } from './IdBytes';
/// <reference types="node" />
import { SerializedIdentity } from 'fabric-shim';
/**
* @hidden
*/
export declare class ChaincodeProposalCreator implements ProposalCreator {
export declare class ChaincodeProposalCreator implements SerializedIdentity {
private mspId;
private signingId;
id_bytes: Buffer;
[fieldName: string]: any;

@@ -14,3 +14,3 @@ mspid: string;

getMspid(): string;
getIdBytes(): IdBytes;
getIdBytes(): Buffer;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var IdBytes_1 = require("./IdBytes");
/**

@@ -11,2 +10,3 @@ * @hidden

this.signingId = signingId;
this.id_bytes = Buffer.from(signingId);
}

@@ -17,3 +17,3 @@ ChaincodeProposalCreator.prototype.getMspid = function () {

ChaincodeProposalCreator.prototype.getIdBytes = function () {
return new IdBytes_1.IdBytes(this.signingId);
return this.id_bytes;
};

@@ -20,0 +20,0 @@ return ChaincodeProposalCreator;

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

/// <reference types="@theledger/fabric-shim-types" />
import { SplitCompositekey } from 'fabric-shim';

@@ -3,0 +2,0 @@ /**

@@ -5,2 +5,4 @@ import { ChaincodeError } from './ChaincodeError';

import { Helpers } from './utils/helpers';
import { ChaincodeResponse, ChaincodeProposal } from 'fabric-shim';
import { Timestamp } from 'google-protobuf/google/protobuf/timestamp_pb';
export { ChaincodeError, Transform, ChaincodeMockStub, Helpers };

@@ -13,1 +15,15 @@ export interface KeyModificationItem {

}
export interface KV {
key: string;
value: any;
}
export interface MockStub {
mockTransactionStart(txid: string): void;
mockTransactionEnd(uuid: string): void;
mockInit(uuid: string, args: string[]): Promise<ChaincodeResponse>;
mockInvoke(uuid: string, args: string[]): Promise<ChaincodeResponse>;
mockPeerChaincode(invokableChaincodeName: string, otherStub: MockStub): void;
mockInvokeWithSignedProposal(uuid: string, args: string[], sp: ChaincodeProposal.SignedProposal): Promise<ChaincodeResponse>;
setSignedProposal(sp: ChaincodeProposal.SignedProposal): void;
setTxTimestamp(timestamp: Timestamp): void;
}

@@ -1,3 +0,2 @@

/// <reference types="@theledger/fabric-shim-types" />
import { Iterators, KeyModification, NextKeyModificationResult } from 'fabric-shim';
import { Iterators } from 'fabric-shim';
/**

@@ -10,5 +9,20 @@ * @hidden

private closed;
constructor(data: KeyModification[]);
next(): Promise<NextKeyModificationResult>;
close(): void;
constructor(data: Iterators.KeyModification[]);
next(): Promise<Iterators.NextKeyModificationResult>;
close(): Promise<void>;
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
on(event: string | symbol, listener: (...args: any[]) => void): this;
once(event: string | symbol, listener: (...args: any[]) => void): this;
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
off(event: string | symbol, listener: (...args: any[]) => void): this;
removeAllListeners(event?: string | symbol): this;
setMaxListeners(n: number): this;
getMaxListeners(): number;
listeners(event: string | symbol): Function[];
rawListeners(event: string | symbol): Function[];
emit(event: string | symbol, ...args: any[]): boolean;
eventNames(): (string | symbol)[];
listenerCount(type: string | symbol): number;
}
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -23,4 +58,58 @@ /**

MockHistoryQueryIterator.prototype.close = function () {
this.closed = true;
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
this.closed = true;
return [2 /*return*/];
});
});
};
MockHistoryQueryIterator.prototype.addListener = function (event, listener) {
throw new Error('Method not implemented.');
};
MockHistoryQueryIterator.prototype.on = function (event, listener) {
throw new Error('Method not implemented.');
};
MockHistoryQueryIterator.prototype.once = function (event, listener) {
throw new Error('Method not implemented.');
};
MockHistoryQueryIterator.prototype.prependListener = function (event, listener) {
throw new Error('Method not implemented.');
};
MockHistoryQueryIterator.prototype.prependOnceListener = function (event, listener) {
throw new Error('Method not implemented.');
};
MockHistoryQueryIterator.prototype.removeListener = function (event, listener) {
throw new Error('Method not implemented.');
};
MockHistoryQueryIterator.prototype.off = function (event, listener) {
throw new Error('Method not implemented.');
};
MockHistoryQueryIterator.prototype.removeAllListeners = function (event) {
throw new Error('Method not implemented.');
};
MockHistoryQueryIterator.prototype.setMaxListeners = function (n) {
throw new Error('Method not implemented.');
};
MockHistoryQueryIterator.prototype.getMaxListeners = function () {
throw new Error('Method not implemented.');
};
MockHistoryQueryIterator.prototype.listeners = function (event) {
throw new Error('Method not implemented.');
};
MockHistoryQueryIterator.prototype.rawListeners = function (event) {
throw new Error('Method not implemented.');
};
MockHistoryQueryIterator.prototype.emit = function (event) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
throw new Error('Method not implemented.');
};
MockHistoryQueryIterator.prototype.eventNames = function () {
throw new Error('Method not implemented.');
};
MockHistoryQueryIterator.prototype.listenerCount = function (type) {
throw new Error('Method not implemented.');
};
return MockHistoryQueryIterator;

@@ -27,0 +116,0 @@ }());

@@ -1,3 +0,2 @@

/// <reference types="@theledger/fabric-shim-types" />
import { Iterators, KV, NextResult } from 'fabric-shim';
import { Iterators } from 'fabric-shim';
/**

@@ -10,5 +9,20 @@ * @hidden

private closed;
constructor(data: KV[]);
next(): Promise<NextResult>;
close(): void;
constructor(data: Iterators.KV[]);
next(): Promise<Iterators.NextResult>;
close(): Promise<void>;
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
on(event: string | symbol, listener: (...args: any[]) => void): this;
once(event: string | symbol, listener: (...args: any[]) => void): this;
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
off(event: string | symbol, listener: (...args: any[]) => void): this;
removeAllListeners(event?: string | symbol): this;
setMaxListeners(n: number): this;
getMaxListeners(): number;
listeners(event: string | symbol): Function[];
rawListeners(event: string | symbol): Function[];
emit(event: string | symbol, ...args: any[]): boolean;
eventNames(): (string | symbol)[];
listenerCount(type: string | symbol): number;
}
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (_) try {
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -23,4 +58,58 @@ /**

MockStateQueryIterator.prototype.close = function () {
this.closed = true;
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
this.closed = true;
return [2 /*return*/];
});
});
};
MockStateQueryIterator.prototype.addListener = function (event, listener) {
throw new Error('Method not implemented.');
};
MockStateQueryIterator.prototype.on = function (event, listener) {
throw new Error('Method not implemented.');
};
MockStateQueryIterator.prototype.once = function (event, listener) {
throw new Error('Method not implemented.');
};
MockStateQueryIterator.prototype.prependListener = function (event, listener) {
throw new Error('Method not implemented.');
};
MockStateQueryIterator.prototype.prependOnceListener = function (event, listener) {
throw new Error('Method not implemented.');
};
MockStateQueryIterator.prototype.removeListener = function (event, listener) {
throw new Error('Method not implemented.');
};
MockStateQueryIterator.prototype.off = function (event, listener) {
throw new Error('Method not implemented.');
};
MockStateQueryIterator.prototype.removeAllListeners = function (event) {
throw new Error('Method not implemented.');
};
MockStateQueryIterator.prototype.setMaxListeners = function (n) {
throw new Error('Method not implemented.');
};
MockStateQueryIterator.prototype.getMaxListeners = function () {
throw new Error('Method not implemented.');
};
MockStateQueryIterator.prototype.listeners = function (event) {
throw new Error('Method not implemented.');
};
MockStateQueryIterator.prototype.rawListeners = function (event) {
throw new Error('Method not implemented.');
};
MockStateQueryIterator.prototype.emit = function (event) {
var args = [];
for (var _i = 1; _i < arguments.length; _i++) {
args[_i - 1] = arguments[_i];
}
throw new Error('Method not implemented.');
};
MockStateQueryIterator.prototype.eventNames = function () {
throw new Error('Method not implemented.');
};
MockStateQueryIterator.prototype.listenerCount = function (type) {
throw new Error('Method not implemented.');
};
return MockStateQueryIterator;

@@ -27,0 +116,0 @@ }());

/// <reference types="node" />
/// <reference types="@theledger/fabric-shim-types" />
import { Iterators, KV } from 'fabric-shim';
import { KeyModificationItem } from '../index';
import { Iterators } from 'fabric-shim';
import { KeyModificationItem, KV } from '../index';
import { LoggerInstance } from 'winston';

@@ -45,3 +44,3 @@ /**

*/
static iteratorToList(iterator: Iterators.Iterator): Promise<any[]>;
static iteratorToList(iterator: Iterators.CommonIterator): Promise<any[]>;
/**

@@ -53,3 +52,3 @@ * Transform iterator to array of objects

*/
static iteratorToKVList(iterator: Iterators.Iterator): Promise<KV[]>;
static iteratorToKVList(iterator: Iterators.CommonIterator): Promise<KV[]>;
/**

@@ -56,0 +55,0 @@ * Transform iterator to array of objects

{
"name": "@theledger/fabric-mock-stub",
"version": "2.0.3",
"version": "3.0.0",
"description": "Mock implementation of the hyperledger fabric-shim package for testing",

@@ -29,3 +29,2 @@ "main": "dist/index.js",

"devDependencies": {
"@theledger/fabric-shim-types": "^2.0.7",
"@types/chai": "^4.0.4",

@@ -51,3 +50,3 @@ "@types/mocha": "^5.2.1",

"@types/lodash": "^4.14.104",
"fabric-shim": "^1.1.0-alpha",
"fabric-shim": "^1.3",
"google-protobuf": "^3.5.0",

@@ -54,0 +53,0 @@ "lodash": "^4.17.5",

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

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