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

@0xcert/ethereum-generic-provider

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xcert/ethereum-generic-provider - npm Package Compare versions

Comparing version 2.0.0-alpha4 to 2.0.0-alpha5

4

CHANGELOG.json

@@ -5,4 +5,4 @@ {

{
"version": "2.0.0-alpha4",
"tag": "@0xcert/ethereum-generic-provider_v2.0.0-alpha4",
"version": "2.0.0-alpha5",
"tag": "@0xcert/ethereum-generic-provider_v2.0.0-alpha5",
"date": "Wed, 19 Jun 2019 10:31:05 GMT",

@@ -9,0 +9,0 @@ "comments": {}

@@ -5,3 +5,3 @@ # Change Log - @0xcert/ethereum-generic-provider

## 2.0.0-alpha4
## 2.0.0-alpha5
Wed, 19 Jun 2019 10:31:05 GMT

@@ -8,0 +8,0 @@

import { NetworkKind } from './types';
export declare function buildGatewayConfig(networkKind: NetworkKind): {
multiOrderId: string;
actionsOrderId: string;
assetLedgerDeployOrderId: string;
valueLedgerDeployOrderId: string;
};

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

return {
multiOrderId: '0x0000000000000000000000000000000000000000',
actionsOrderId: '0x0000000000000000000000000000000000000000',
assetLedgerDeployOrderId: '0x0000000000000000000000000000000000000000',

@@ -15,3 +15,3 @@ valueLedgerDeployOrderId: '0x0000000000000000000000000000000000000000',

return {
multiOrderId: '0x0000000000000000000000000000000000000000',
actionsOrderId: '0x0000000000000000000000000000000000000000',
assetLedgerDeployOrderId: '0x0000000000000000000000000000000000000000',

@@ -22,3 +22,3 @@ valueLedgerDeployOrderId: '0x0000000000000000000000000000000000000000',

return {
multiOrderId: '0x0000000000000000000000000000000000000000',
actionsOrderId: '0x0000000000000000000000000000000000000000',
assetLedgerDeployOrderId: '0x0000000000000000000000000000000000000000',

@@ -25,0 +25,0 @@ valueLedgerDeployOrderId: '0x0000000000000000000000000000000000000000',

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

this._gatewayConfig = {
multiOrderId: this.encoder.normalizeAddress(config.multiOrderId),
actionsOrderId: this.encoder.normalizeAddress(config.actionsOrderId),
assetLedgerDeployOrderId: this.encoder.normalizeAddress(config.assetLedgerDeployOrderId),

@@ -61,0 +61,0 @@ valueLedgerDeployOrderId: this.encoder.normalizeAddress(config.valueLedgerDeployOrderId),

export interface GatewayConfig {
multiOrderId: string;
actionsOrderId: string;
assetLedgerDeployOrderId: string;

@@ -4,0 +4,0 @@ valueLedgerDeployOrderId: string;

@@ -22,5 +22,5 @@ "use strict";

});
ctx.is(provider.gatewayConfig.multiOrderId, '0x0000000000000000000000000000000000000000');
ctx.is(provider.gatewayConfig.actionsOrderId, '0x0000000000000000000000000000000000000000');
}));
exports.default = spec;
//# sourceMappingURL=build-gateway-config-instance-method.test.js.map

@@ -23,7 +23,7 @@ "use strict";

provider.gatewayConfig = {
multiOrderId: '0xf9196f9f176fd2ef9243e8960817d5fbe63d79aa',
actionsOrderId: '0xf9196f9f176fd2ef9243e8960817d5fbe63d79aa',
assetLedgerDeployOrderId: '0xf9196f9f176fd2ef9243e8960817d5fbe63d79aa',
valueLedgerDeployOrderId: '0xf9196f9f176fd2ef9243e8960817d5fbe63d79aa',
};
ctx.is(provider.gatewayConfig.multiOrderId, '0xF9196F9f176fd2eF9243E8960817d5FbE63D79aa');
ctx.is(provider.gatewayConfig.actionsOrderId, '0xF9196F9f176fd2eF9243E8960817d5FbE63D79aa');
ctx.is(provider.gatewayConfig.assetLedgerDeployOrderId, '0xF9196F9f176fd2eF9243E8960817d5FbE63D79aa');

@@ -30,0 +30,0 @@ ctx.is(provider.gatewayConfig.valueLedgerDeployOrderId, '0xF9196F9f176fd2eF9243E8960817d5FbE63D79aa');

{
"files": {
"packages/0xcert-ethereum-generic-provider/CHANGELOG.json": "31dab44bfa97d789b08c7a0b94f7bb63336c1366",
"packages/0xcert-ethereum-generic-provider/CHANGELOG.md": "c0529144380ebc2bdac39c243eebf01970ddd600",
"packages/0xcert-ethereum-generic-provider/CHANGELOG.json": "843966216077fd2ccb14097267eced435702c141",
"packages/0xcert-ethereum-generic-provider/CHANGELOG.md": "2ddf41e11d1f9b103a4851bdeaa1b1703a583b36",
"packages/0xcert-ethereum-generic-provider/README.md": "22522c3dc727189e74e28372635710c1bdc9bfb2",
"packages/0xcert-ethereum-generic-provider/nodemon.json": "82b893373db9861f1df4b55d8ea68a5d37b118de",
"packages/0xcert-ethereum-generic-provider/package.json": "c3580506646f707caf47bfb8a1dd2352037841d5",
"packages/0xcert-ethereum-generic-provider/package.json": "42f4dba462b88b1119293df71b66afeb3dc21f4b",
"packages/0xcert-ethereum-generic-provider/src/core/errors.ts": "b232b31b2020e1dd06dbe71b1c4b15e274e5ae55",
"packages/0xcert-ethereum-generic-provider/src/core/helpers.ts": "03f94c8c3f6db51521af66c8c7b74db8e517831f",
"packages/0xcert-ethereum-generic-provider/src/core/helpers.ts": "ec019e9cff709feaae6954d40c749b1a0144007e",
"packages/0xcert-ethereum-generic-provider/src/core/mutation.ts": "154a03ce372dbb144d4f91e33ef6d1c820367d5d",
"packages/0xcert-ethereum-generic-provider/src/core/provider.ts": "3e785596baa7c5b7f27158ee38dc531efa6c51db",
"packages/0xcert-ethereum-generic-provider/src/core/types.ts": "7e961a1be60cdcc411e61bcc43d9655067132da3",
"packages/0xcert-ethereum-generic-provider/src/core/provider.ts": "9136ac708cecc9a6bdeda187b34a587b5067dee6",
"packages/0xcert-ethereum-generic-provider/src/core/types.ts": "03e322d039e8bc550c38298698d803616d26519c",
"packages/0xcert-ethereum-generic-provider/src/index.ts": "bf5e4056d37d3b3deedc0cfb677226e0557fa842",
"packages/0xcert-ethereum-generic-provider/src/tests/core/helpers/build-gateway-config-instance-method.test.ts": "cd45eb1eb36135bbbcc2ea900f6e1a7101f4d21d",
"packages/0xcert-ethereum-generic-provider/src/tests/core/helpers/build-gateway-config-instance-method.test.ts": "28d59ffff27c9dff31918b7c8bfa497bf4cd6639",
"packages/0xcert-ethereum-generic-provider/src/tests/core/mutation/cancel-instance-method.test.ts": "a1a3cc8b966d4b7bd6798e28615f1c5d7d3e979d",

@@ -21,3 +21,3 @@ "packages/0xcert-ethereum-generic-provider/src/tests/core/mutation/complete-instance-method.test.ts": "e4d506706c64b0bb03fc88eca457380da91a7209",

"packages/0xcert-ethereum-generic-provider/src/tests/core/provider/account-id-instance-variable.test.ts": "80f43f7cd257883c978ca1e453d6e3f75ee4c788",
"packages/0xcert-ethereum-generic-provider/src/tests/core/provider/gateway-config-instance-variable.test.ts": "bcfef75bf130cedde2882d72801c2e360df77739",
"packages/0xcert-ethereum-generic-provider/src/tests/core/provider/gateway-config-instance-variable.test.ts": "8266013aca8c6b53a83b342fb9aab94fbefd78e1",
"packages/0xcert-ethereum-generic-provider/src/tests/core/provider/get-available-accounts-instance-variable.test.ts": "66a9e082c5066dee4908803e71629351bd33471b",

@@ -33,5 +33,5 @@ "packages/0xcert-ethereum-generic-provider/src/tests/core/provider/get-network-version-instance-method.test.ts": "0c6a8f19567ee84bbd3c5b7afba4a525e31e9bf8",

"packages/0xcert-ethereum-generic-provider/tslint.json": "c57b3f0cdb7aa74ab2ab02888380f613589cbe66",
"common/config/rush/npm-shrinkwrap.json": "2f2d9986f7c1d779a61e645ffd67426c179b336e"
"common/config/rush/npm-shrinkwrap.json": "61a980a58792c3190cc96ec3982261423bf45f2e"
},
"arguments": "npm run lint && npx nyc npx specron test "
"arguments": "npm run clean && npx tsc "
}
{
"name": "@0xcert/ethereum-generic-provider",
"version": "2.0.0-alpha4",
"version": "2.0.0-alpha5",
"description": "Basic implementation of communication provider for the Ethereum blockchain.",

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

"devDependencies": {
"@0xcert/ethereum-sandbox": "2.0.0-alpha4",
"@0xcert/ethereum-sandbox": "2.0.0-alpha5",
"@types/node": "^10.12.24",

@@ -84,6 +84,6 @@ "@specron/cli": "0.6.0",

"dependencies": {
"@0xcert/ethereum-utils": "2.0.0-alpha4",
"@0xcert/scaffold": "2.0.0-alpha4",
"@0xcert/ethereum-utils": "2.0.0-alpha5",
"@0xcert/scaffold": "2.0.0-alpha5",
"events": "^3.0.0"
}
}

@@ -12,3 +12,3 @@ import { NetworkKind } from './types';

return {
multiOrderId: '0x0000000000000000000000000000000000000000',
actionsOrderId: '0x0000000000000000000000000000000000000000',
assetLedgerDeployOrderId: '0x0000000000000000000000000000000000000000',

@@ -19,3 +19,3 @@ valueLedgerDeployOrderId: '0x0000000000000000000000000000000000000000',

return {
multiOrderId: '0x0000000000000000000000000000000000000000',
actionsOrderId: '0x0000000000000000000000000000000000000000',
assetLedgerDeployOrderId: '0x0000000000000000000000000000000000000000',

@@ -26,3 +26,3 @@ valueLedgerDeployOrderId: '0x0000000000000000000000000000000000000000',

return {
multiOrderId: '0x0000000000000000000000000000000000000000',
actionsOrderId: '0x0000000000000000000000000000000000000000',
assetLedgerDeployOrderId: '0x0000000000000000000000000000000000000000',

@@ -29,0 +29,0 @@ valueLedgerDeployOrderId: '0x0000000000000000000000000000000000000000',

@@ -225,3 +225,3 @@ import { Encode, Encoder } from '@0xcert/ethereum-utils';

this._gatewayConfig = {
multiOrderId: this.encoder.normalizeAddress(config.multiOrderId),
actionsOrderId: this.encoder.normalizeAddress(config.actionsOrderId),
assetLedgerDeployOrderId: this.encoder.normalizeAddress(config.assetLedgerDeployOrderId),

@@ -228,0 +228,0 @@ valueLedgerDeployOrderId: this.encoder.normalizeAddress(config.valueLedgerDeployOrderId),

@@ -9,3 +9,3 @@ /**

*/
multiOrderId: string;
actionsOrderId: string;

@@ -12,0 +12,0 @@ /**

@@ -14,5 +14,5 @@ import { Spec } from '@specron/spec';

});
ctx.is(provider.gatewayConfig.multiOrderId, '0x0000000000000000000000000000000000000000');
ctx.is(provider.gatewayConfig.actionsOrderId, '0x0000000000000000000000000000000000000000');
});
export default spec;

@@ -18,7 +18,7 @@ import { Spec } from '@specron/spec';

provider.gatewayConfig = {
multiOrderId: '0xf9196f9f176fd2ef9243e8960817d5fbe63d79aa',
actionsOrderId: '0xf9196f9f176fd2ef9243e8960817d5fbe63d79aa',
assetLedgerDeployOrderId: '0xf9196f9f176fd2ef9243e8960817d5fbe63d79aa',
valueLedgerDeployOrderId: '0xf9196f9f176fd2ef9243e8960817d5fbe63d79aa',
};
ctx.is(provider.gatewayConfig.multiOrderId, '0xF9196F9f176fd2eF9243E8960817d5FbE63D79aa');
ctx.is(provider.gatewayConfig.actionsOrderId, '0xF9196F9f176fd2eF9243E8960817d5FbE63D79aa');
ctx.is(provider.gatewayConfig.assetLedgerDeployOrderId, '0xF9196F9f176fd2eF9243E8960817d5FbE63D79aa');

@@ -25,0 +25,0 @@ ctx.is(provider.gatewayConfig.valueLedgerDeployOrderId, '0xF9196F9f176fd2eF9243E8960817d5FbE63D79aa');

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