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

@xyo-network/origin-chain

Package Overview
Dependencies
Maintainers
6
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xyo-network/origin-chain - npm Package Compare versions

Comparing version 0.55.3-alpha.0 to 0.55.6-alpha.0

2

dist/@types/index.js

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

* @Filename: index.ts
* @Last modified time: Friday, 22nd February 2019 10:14:01 am

@@ -10,0 +10,0 @@ * @License: All Rights Reserved

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

* @Filename: index.ts
* @Last modified time: Friday, 22nd February 2019 10:11:30 am

@@ -10,0 +10,0 @@ * @License: All Rights Reserved

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

import { XyoBaseSerializable, IXyoDeserializer } from "@xyo-network/serialization";
import { IXyoBoundWitness } from "@xyo-network/bound-witness";
import { XyoBaseSerializable, IXyoDeserializer } from '@xyo-network/serialization';
import { IXyoBoundWitness } from '@xyo-network/bound-witness';
export declare class XyoBridgeBlockSet extends XyoBaseSerializable {

@@ -4,0 +4,0 @@ readonly boundWitnesses: IXyoBoundWitness[];

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

* @Filename: xyo-bridge-block-set.ts
* @Last modified time: Wednesday, 12th December 2018 1:55:26 pm

@@ -10,0 +10,0 @@ * @License: All Rights Reserved

/// <reference types="node" />
import { XyoBaseSerializable, IXyoSerializableObject, IXyoDeserializer } from "@xyo-network/serialization";
import { IXyoHash } from "@xyo-network/hashing";
import { XyoBaseSerializable, IXyoSerializableObject, IXyoDeserializer } from '@xyo-network/serialization';
import { IXyoHash } from '@xyo-network/hashing';
export declare class XyoBridgeHashSet extends XyoBaseSerializable {

@@ -5,0 +5,0 @@ readonly hashSet: IXyoHash[];

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

* @Filename: xyo-bridge-hash-set.ts
* @Last modified time: Tuesday, 5th February 2019 10:11:51 am

@@ -10,0 +10,0 @@ * @License: All Rights Reserved

/// <reference types="node" />
import { XyoBaseSerializable, IXyoDeserializer } from "@xyo-network/serialization";
import { XyoBaseSerializable, IXyoDeserializer } from '@xyo-network/serialization';
export declare class XyoIndex extends XyoBaseSerializable {

@@ -4,0 +4,0 @@ readonly number: number;

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

* @Filename: xyo-index.ts
* @Last modified time: Wednesday, 12th December 2018 1:56:16 pm

@@ -10,0 +10,0 @@ * @License: All Rights Reserved

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

import { XyoBaseSerializable, IXyoDeserializer, IXyoSerializableObject } from "@xyo-network/serialization";
import { IXyoPublicKey } from "@xyo-network/signing";
import { XyoBaseSerializable, IXyoDeserializer, IXyoSerializableObject } from '@xyo-network/serialization';
import { IXyoPublicKey } from '@xyo-network/signing';
export declare class XyoNextPublicKey extends XyoBaseSerializable {

@@ -4,0 +4,0 @@ readonly publicKey: IXyoPublicKey;

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

* @Filename: xyo-next-public-key.ts
* @Last modified time: Wednesday, 23rd January 2019 12:38:37 pm

@@ -10,0 +10,0 @@ * @License: All Rights Reserved

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

* @Filename: xyo-origin-chain-in-memory-repository.ts
* @Last modified time: Wednesday, 6th March 2019 4:42:51 pm

@@ -75,3 +75,3 @@ * @License: All Rights Reserved

if (this.mutex !== mutex)
throw new errors_1.XyoError(`Can not release mutex, does not exist`);
throw new errors_1.XyoError('Can not release mutex, does not exist');
this.mutex.isActive = false;

@@ -107,5 +107,5 @@ this.mutex = undefined;

if (currentIndex !== 0) {
throw new errors_1.XyoError(`Could not create Genesis block as one already exists`);
throw new errors_1.XyoError('Could not create Genesis block as one already exists');
}
this.logInfo(`Creating genesis block`);
this.logInfo('Creating genesis block');
const signers = yield this.getSigners();

@@ -234,3 +234,3 @@ const fetter = new bound_witness_1.XyoFetter(new bound_witness_1.XyoKeySet(signers.map(signer => signer.publicKey)), [new xyo_index_1.XyoIndex(0)]);

if (this.idx === 0) {
this.logInfo(`Updating genesis signer`);
this.logInfo('Updating genesis signer');
this.genesisSigner = this.currentSigners.length > 0 ? this.currentSigners[0] : this.genesisSigner;

@@ -237,0 +237,0 @@ }

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

* @Filename: xyo-origin-chain-local-storage-repository.ts
* @Last modified time: Wednesday, 6th March 2019 1:52:49 pm

@@ -10,0 +10,0 @@ * @License: All Rights Reserved

/// <reference types="node" />
import { XyoBaseSerializable } from "@xyo-network/serialization";
import { XyoBaseSerializable } from '@xyo-network/serialization';
export declare class XyoPaymentKey extends XyoBaseSerializable {

@@ -4,0 +4,0 @@ private paymentKey;

/// <reference types="node" />
import { XyoBaseSerializable, IXyoDeserializer, IXyoSerializableObject } from "@xyo-network/serialization";
import { IXyoHash } from "@xyo-network/hashing";
import { XyoBaseSerializable, IXyoDeserializer, IXyoSerializableObject } from '@xyo-network/serialization';
import { IXyoHash } from '@xyo-network/hashing';
export declare class XyoPreviousHash extends XyoBaseSerializable {

@@ -5,0 +5,0 @@ readonly hash: IXyoHash;

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

* @Filename: xyo-previous-hash.ts
* @Last modified time: Thursday, 13th December 2018 11:51:36 am

@@ -10,0 +10,0 @@ * @License: All Rights Reserved

{
"name": "@xyo-network/origin-chain",
"version": "0.55.3-alpha.0",
"version": "0.55.6-alpha.0",
"description": "Utilities for managing an origin chain in the xyo network",

@@ -10,11 +10,11 @@ "main": "dist/index.js",

"dependencies": {
"@xyo-network/base": "^0.55.2-alpha.0",
"@xyo-network/bound-witness": "^0.55.3-alpha.0",
"@xyo-network/buffer-utils": "^0.55.2-alpha.0",
"@xyo-network/errors": "^0.55.2-alpha.0",
"@xyo-network/hashing": "^0.55.3-alpha.0",
"@xyo-network/serialization": "^0.55.2-alpha.0",
"@xyo-network/serialization-schema": "^0.55.2-alpha.0",
"@xyo-network/signing": "^0.55.2-alpha.0",
"@xyo-network/storage": "^0.55.2-alpha.0"
"@xyo-network/base": "^0.55.6-alpha.0",
"@xyo-network/bound-witness": "^0.55.6-alpha.0",
"@xyo-network/buffer-utils": "^0.55.6-alpha.0",
"@xyo-network/errors": "^0.55.6-alpha.0",
"@xyo-network/hashing": "^0.55.6-alpha.0",
"@xyo-network/serialization": "^0.55.6-alpha.0",
"@xyo-network/serialization-schema": "^0.55.6-alpha.0",
"@xyo-network/signing": "^0.55.6-alpha.0",
"@xyo-network/storage": "^0.55.6-alpha.0"
},

@@ -30,3 +30,3 @@ "devDependencies": {

},
"gitHead": "c7a41178a3662773688aee61ce79dce7b8749572"
"gitHead": "e75c364eb6fc7be583feb2c92757f5039d555292"
}

@@ -6,3 +6,3 @@ /*

* @Filename: index.ts
* @Last modified time: Friday, 22nd February 2019 10:14:01 am

@@ -9,0 +9,0 @@ * @License: All Rights Reserved

@@ -6,3 +6,3 @@ /*

* @Filename: index.ts
* @Last modified time: Friday, 22nd February 2019 10:11:30 am

@@ -9,0 +9,0 @@ * @License: All Rights Reserved

@@ -6,3 +6,3 @@ /*

* @Filename: xyo-bridge-block-set.ts
* @Last modified time: Wednesday, 12th December 2018 1:55:26 pm

@@ -13,5 +13,5 @@ * @License: All Rights Reserved

import { XyoBaseSerializable, IXyoDeserializer, ParseQuery, IXyoSerializationService } from "@xyo-network/serialization"
import { schema } from "@xyo-network/serialization-schema"
import { IXyoBoundWitness } from "@xyo-network/bound-witness"
import { XyoBaseSerializable, IXyoDeserializer, ParseQuery, IXyoSerializationService } from '@xyo-network/serialization'
import { schema } from '@xyo-network/serialization-schema'
import { IXyoBoundWitness } from '@xyo-network/bound-witness'

@@ -18,0 +18,0 @@ export class XyoBridgeBlockSet extends XyoBaseSerializable {

@@ -7,3 +7,3 @@

* @Filename: xyo-bridge-hash-set.ts
* @Last modified time: Tuesday, 5th February 2019 10:11:51 am

@@ -14,5 +14,5 @@ * @License: All Rights Reserved

import { XyoBaseSerializable, IXyoSerializableObject, IXyoDeserializer, IXyoSerializationService, ParseQuery } from "@xyo-network/serialization"
import { XyoBaseSerializable, IXyoSerializableObject, IXyoDeserializer, IXyoSerializationService, ParseQuery } from '@xyo-network/serialization'
import { schema } from '@xyo-network/serialization-schema'
import { IXyoHash } from "@xyo-network/hashing"
import { IXyoHash } from '@xyo-network/hashing'

@@ -19,0 +19,0 @@ export class XyoBridgeHashSet extends XyoBaseSerializable {

@@ -6,3 +6,3 @@ /*

* @Filename: xyo-index.ts
* @Last modified time: Wednesday, 12th December 2018 1:56:16 pm

@@ -13,3 +13,3 @@ * @License: All Rights Reserved

import { XyoBaseSerializable, IXyoDeserializer, ParseQuery, IXyoSerializationService } from "@xyo-network/serialization"
import { XyoBaseSerializable, IXyoDeserializer, ParseQuery, IXyoSerializationService } from '@xyo-network/serialization'
import { schema } from '@xyo-network/serialization-schema'

@@ -16,0 +16,0 @@ import { unsignedIntegerToBuffer, readIntegerFromBuffer } from '@xyo-network/buffer-utils'

@@ -6,3 +6,3 @@ /*

* @Filename: xyo-next-public-key.ts
* @Last modified time: Wednesday, 23rd January 2019 12:38:37 pm

@@ -13,5 +13,5 @@ * @License: All Rights Reserved

import { XyoBaseSerializable, IXyoDeserializer, IXyoSerializationService, IXyoSerializableObject } from "@xyo-network/serialization"
import { XyoBaseSerializable, IXyoDeserializer, IXyoSerializationService, IXyoSerializableObject } from '@xyo-network/serialization'
import { schema } from '@xyo-network/serialization-schema'
import { IXyoPublicKey } from "@xyo-network/signing"
import { IXyoPublicKey } from '@xyo-network/signing'

@@ -18,0 +18,0 @@ export class XyoNextPublicKey extends XyoBaseSerializable {

@@ -6,3 +6,3 @@ /*

* @Filename: xyo-origin-chain-in-memory-repository.ts
* @Last modified time: Wednesday, 6th March 2019 4:42:51 pm

@@ -82,3 +82,3 @@ * @License: All Rights Reserved

if (this.mutex !== mutex) throw new XyoError(`Can not release mutex, does not exist`)
if (this.mutex !== mutex) throw new XyoError('Can not release mutex, does not exist')
this.mutex.isActive = false

@@ -116,6 +116,6 @@ this.mutex = undefined

if (currentIndex !== 0) {
throw new XyoError(`Could not create Genesis block as one already exists`)
throw new XyoError('Could not create Genesis block as one already exists')
}
this.logInfo(`Creating genesis block`)
this.logInfo('Creating genesis block')
const signers = await this.getSigners()

@@ -245,3 +245,3 @@

if (this.idx === 0) {
this.logInfo(`Updating genesis signer`)
this.logInfo('Updating genesis signer')
this.genesisSigner = this.currentSigners.length > 0 ? this.currentSigners[0] : this.genesisSigner

@@ -248,0 +248,0 @@ }

@@ -6,3 +6,3 @@ /*

* @Filename: xyo-origin-chain-local-storage-repository.ts
* @Last modified time: Wednesday, 6th March 2019 1:52:49 pm

@@ -9,0 +9,0 @@ * @License: All Rights Reserved

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

import { XyoBaseSerializable, IXyoDeserializer, IXyoSerializationService, IXyoSerializableObject } from "@xyo-network/serialization"
import { XyoBaseSerializable, IXyoDeserializer, IXyoSerializationService, IXyoSerializableObject } from '@xyo-network/serialization'
import { schema } from '@xyo-network/serialization-schema'

@@ -3,0 +3,0 @@

@@ -6,3 +6,3 @@ /*

* @Filename: xyo-previous-hash.ts
* @Last modified time: Thursday, 13th December 2018 11:51:36 am

@@ -13,5 +13,5 @@ * @License: All Rights Reserved

import { XyoBaseSerializable, IXyoDeserializer, IXyoSerializationService, IXyoSerializableObject, ParseQuery } from "@xyo-network/serialization"
import { XyoBaseSerializable, IXyoDeserializer, IXyoSerializationService, IXyoSerializableObject, ParseQuery } from '@xyo-network/serialization'
import { schema } from '@xyo-network/serialization-schema'
import { IXyoHash } from "@xyo-network/hashing"
import { IXyoHash } from '@xyo-network/hashing'

@@ -18,0 +18,0 @@ export class XyoPreviousHash extends XyoBaseSerializable {

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