@xyo-network/bound-witness
Advanced tools
Comparing version 0.55.8-alpha.0 to 0.55.9-alpha.0
{ | ||
"name": "@xyo-network/bound-witness", | ||
"version": "0.55.8-alpha.0", | ||
"version": "0.55.9-alpha.0", | ||
"description": "BoundWitness description, interfaces and services for XYO Network", | ||
@@ -10,9 +10,9 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@xyo-network/base": "^0.55.8-alpha.0", | ||
"@xyo-network/buffer-utils": "^0.55.8-alpha.0", | ||
"@xyo-network/errors": "^0.55.8-alpha.0", | ||
"@xyo-network/hashing": "^0.55.8-alpha.0", | ||
"@xyo-network/serialization": "^0.55.8-alpha.0", | ||
"@xyo-network/serialization-schema": "^0.55.8-alpha.0", | ||
"@xyo-network/signing": "^0.55.8-alpha.0" | ||
"@xyo-network/base": "^0.55.9-alpha.0", | ||
"@xyo-network/buffer-utils": "^0.55.9-alpha.0", | ||
"@xyo-network/errors": "^0.55.9-alpha.0", | ||
"@xyo-network/hashing": "^0.55.9-alpha.0", | ||
"@xyo-network/serialization": "^0.55.9-alpha.0", | ||
"@xyo-network/serialization-schema": "^0.55.9-alpha.0", | ||
"@xyo-network/signing": "^0.55.9-alpha.0" | ||
}, | ||
@@ -28,3 +28,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "276868c46de4a29d5163cf7cbadf2a11c5aec959" | ||
"gitHead": "70501fb6695d77441d4836fb19b7cbf617ed102a" | ||
} |
@@ -101,4 +101,4 @@ /* | ||
} | ||
}, Promise.resolve() as Promise<void>) | ||
}, Promise.resolve() as Promise<void>) | ||
}, Promise.resolve() as Promise<void>) | ||
}, Promise.resolve() as Promise<void>) | ||
} | ||
@@ -105,0 +105,0 @@ } |
@@ -41,3 +41,3 @@ /* | ||
return memo + ((fw.schemaObjectId === schema.fetter.id) ? 1 : 0) | ||
}, 0) | ||
}, 0) | ||
} | ||
@@ -121,7 +121,7 @@ | ||
return memo | ||
}, {}), | ||
}, {}), | ||
metadata: this.metadata[partyIndex].reduce((memo: {[s: string]: any}, metadata) => { | ||
memo[metadata.getReadableName()] = metadata.getReadableValue() | ||
return memo | ||
}, {}), | ||
}, {}), | ||
} | ||
@@ -146,10 +146,11 @@ }) | ||
const getFetterWitnessPair = (fetterOrWitnesses: FetterOrWitness[]) => { | ||
const result = fetterOrWitnesses.reduce((memo, fetterOrWitness, index) => { | ||
if (index < fetterOrWitnesses.length / 2) { | ||
memo.fetters.push(fetterOrWitness as IXyoFetter) | ||
} else { | ||
memo.witnesses.push(fetterOrWitness as IXyoWitness) | ||
} | ||
return memo | ||
}, | ||
const result = fetterOrWitnesses.reduce( | ||
(memo, fetterOrWitness, index) => { | ||
if (index < fetterOrWitnesses.length / 2) { | ||
memo.fetters.push(fetterOrWitness as IXyoFetter) | ||
} else { | ||
memo.witnesses.push(fetterOrWitness as IXyoWitness) | ||
} | ||
return memo | ||
}, | ||
{ | ||
@@ -183,3 +184,4 @@ fetters: [] as IXyoFetter[], | ||
.hydrate<IXyoFetter | IXyoWitness>() | ||
), data | ||
), | ||
data | ||
) | ||
@@ -186,0 +188,0 @@ } |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
476844
1669
+ Added@xyo-network/base@0.55.9-alpha.0(transitive)
+ Added@xyo-network/buffer-utils@0.55.9-alpha.0(transitive)
+ Added@xyo-network/errors@0.55.9-alpha.0(transitive)
+ Added@xyo-network/hashing@0.55.9-alpha.0(transitive)
+ Added@xyo-network/meta-list@0.55.9-alpha.0(transitive)
+ Added@xyo-network/serialization@0.55.9-alpha.0(transitive)
+ Added@xyo-network/serialization-schema@0.55.9-alpha.0(transitive)
+ Added@xyo-network/signing@0.55.9-alpha.0(transitive)
+ Added@xyo-network/utils@0.55.9-alpha.0(transitive)
- Removed@xyo-network/base@0.55.8-alpha.0(transitive)
- Removed@xyo-network/buffer-utils@0.55.8-alpha.0(transitive)
- Removed@xyo-network/errors@0.55.8-alpha.0(transitive)
- Removed@xyo-network/hashing@0.55.8-alpha.0(transitive)
- Removed@xyo-network/meta-list@0.55.8-alpha.0(transitive)
- Removed@xyo-network/serialization@0.55.8-alpha.0(transitive)
- Removed@xyo-network/serialization-schema@0.55.8-alpha.0(transitive)
- Removed@xyo-network/signing@0.55.8-alpha.0(transitive)
- Removed@xyo-network/utils@0.55.8-alpha.0(transitive)