Socket
Socket
Sign inDemoInstall

@neo-one/client-full-common

Package Overview
Dependencies
Maintainers
2
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neo-one/client-full-common - npm Package Compare versions

Comparing version 3.1.0-preview4.2 to 3.2.0-preview5

31

CHANGELOG.json

@@ -5,2 +5,33 @@ {

{
"version": "3.1.0",
"tag": "@neo-one/client-full-common_v3.1.0",
"date": "Mon, 08 Feb 2021 21:00:42 GMT",
"comments": {
"patch": [
{
"comment": "3.0.1-preview3 release"
},
{
"comment": "Update for Preview3, primarily in compiler, client, and CLI."
},
{
"comment": "Update compiler, client, and CLI for Preview4"
}
],
"minor": [
{
"comment": "Preview4 release"
}
],
"dependency": [
{
"comment": "Updating dependency \"@neo-one/client-common\" from `^3.0.0` to `^3.1.0`"
},
{
"comment": "Updating dependency \"@neo-one/utils\" from `^3.0.0` to `^3.1.0`"
}
]
}
},
{
"version": "3.0.0",

@@ -7,0 +38,0 @@ "tag": "@neo-one/client-full-common_v3.0.0",

15

CHANGELOG.md
# Change Log - @neo-one/client-full-common
This log was last generated on Tue, 08 Dec 2020 19:29:01 GMT and should not be manually modified.
This log was last generated on Mon, 08 Feb 2021 21:00:42 GMT and should not be manually modified.
## 3.1.0
Mon, 08 Feb 2021 21:00:42 GMT
### Minor changes
- Preview4 release
### Patches
- 3.0.1-preview3 release
- Update for Preview3, primarily in compiler, client, and CLI.
- Update compiler, client, and CLI for Preview4
## 3.0.0

@@ -6,0 +19,0 @@ Tue, 08 Dec 2020 19:29:01 GMT

13

dist/cjs/models/ContractStateModel.d.ts

@@ -1,18 +0,17 @@

/// <reference types="node" />
import { UInt160 } from '@neo-one/client-common';
import { NefFileModel, UInt160 } from '@neo-one/client-common';
import { ContractManifestModel } from './manifest';
export interface ContractStateModelAdd<TContractManifest extends ContractManifestModel = ContractManifestModel> {
export interface ContractStateModelAdd<TContractManifest extends ContractManifestModel = ContractManifestModel, TNefFile extends NefFileModel = NefFileModel> {
readonly id: number;
readonly updateCounter: number;
readonly hash: UInt160;
readonly script: Buffer;
readonly nef: TNefFile;
readonly manifest: TContractManifest;
}
export declare class ContractStateModel<TContractManifest extends ContractManifestModel = ContractManifestModel> {
export declare class ContractStateModel<TContractManifest extends ContractManifestModel = ContractManifestModel, TNefFile extends NefFileModel = NefFileModel> {
readonly id: number;
readonly updateCounter: number;
readonly hash: UInt160;
readonly script: Buffer;
readonly nef: TNefFile;
readonly manifest: TContractManifest;
constructor({ script, hash, manifest, id, updateCounter }: ContractStateModelAdd<TContractManifest>);
constructor({ nef, hash, manifest, id, updateCounter }: ContractStateModelAdd<TContractManifest, TNefFile>);
}

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

class ContractStateModel {
constructor({ script, hash, manifest, id, updateCounter }) {
constructor({ nef, hash, manifest, id, updateCounter }) {
this.id = id;
this.updateCounter = updateCounter;
this.hash = hash;
this.script = script;
this.nef = nef;
this.manifest = manifest;

@@ -12,0 +12,0 @@ }

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

serializeJSON() {
return Object.assign(Object.assign({}, super.serializeJSON()), { offset: this.offset, returntype: client_common_1.toJSONContractParameterType(this.returnType), safe: this.safe });
return Object.assign(Object.assign({}, super.serializeJSON()), { returntype: client_common_1.toJSONContractParameterType(this.returnType), offset: this.offset, safe: this.safe });
}

@@ -17,0 +17,0 @@ }

@@ -1,18 +0,17 @@

/// <reference types="node" />
import { UInt160 } from '@neo-one/client-common';
import { NefFileModel, UInt160 } from '@neo-one/client-common';
import { ContractManifestModel } from './manifest';
export interface ContractStateModelAdd<TContractManifest extends ContractManifestModel = ContractManifestModel> {
export interface ContractStateModelAdd<TContractManifest extends ContractManifestModel = ContractManifestModel, TNefFile extends NefFileModel = NefFileModel> {
readonly id: number;
readonly updateCounter: number;
readonly hash: UInt160;
readonly script: Buffer;
readonly nef: TNefFile;
readonly manifest: TContractManifest;
}
export declare class ContractStateModel<TContractManifest extends ContractManifestModel = ContractManifestModel> {
export declare class ContractStateModel<TContractManifest extends ContractManifestModel = ContractManifestModel, TNefFile extends NefFileModel = NefFileModel> {
readonly id: number;
readonly updateCounter: number;
readonly hash: UInt160;
readonly script: Buffer;
readonly nef: TNefFile;
readonly manifest: TContractManifest;
constructor({ script, hash, manifest, id, updateCounter }: ContractStateModelAdd<TContractManifest>);
constructor({ nef, hash, manifest, id, updateCounter }: ContractStateModelAdd<TContractManifest, TNefFile>);
}
export class ContractStateModel {
constructor({ script, hash, manifest, id, updateCounter }) {
constructor({ nef, hash, manifest, id, updateCounter }) {
this.id = id;
this.updateCounter = updateCounter;
this.hash = hash;
this.script = script;
this.nef = nef;
this.manifest = manifest;

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

@@ -13,4 +13,4 @@ import { toJSONContractParameterType, } from '@neo-one/client-common';

...super.serializeJSON(),
returntype: toJSONContractParameterType(this.returnType),
offset: this.offset,
returntype: toJSONContractParameterType(this.returnType),
safe: this.safe,

@@ -17,0 +17,0 @@ };

{
"name": "@neo-one/client-full-common",
"version": "3.1.0-preview4.2",
"version": "3.2.0-preview5",
"description": "NEO•ONE full client common code.",

@@ -16,4 +16,4 @@ "main": "./dist/cjs/index",

"dependencies": {
"@neo-one/client-common": "3.1.0-preview4.2",
"@neo-one/utils": "3.1.0-preview4.2",
"@neo-one/client-common": "3.2.0-preview5",
"@neo-one/utils": "^3.1.0",
"tslib": "^1.10.0"

@@ -20,0 +20,0 @@ },

@@ -1,12 +0,4 @@

## Warning
This branch is under heavy development during our migration to neo3 protocols. Please see the [master-2.x](https://github.com/neo-one-suite/neo-one/tree/master-2.x) branch for currently published source code.
Currently we support syncing a NEO•ONE node and retrieving information from it.
We have a node deployed publicly at `staging.neotracker.io/rpc` which can be used for demonstrating the current capabilities.
For a more in-depth view of currently supported features visit our demo repository at: https://github.com/neo-one-suite/neo-one-3.0-alpha-demo
# NEO•ONE
[![All Contributors](https://img.shields.io/badge/all_contributors-5-orange.svg?style=shield)](#contributors)
[![All Contributors](https://img.shields.io/badge/all_contributors-6-orange.svg?style=shield)](#contributors)
[![CircleCI](https://circleci.com/gh/neo-one-suite/neo-one.svg?style=shield)](https://circleci.com/gh/neo-one-suite/neo-one)

@@ -29,6 +21,18 @@ [![codecov](https://codecov.io/gh/neo-one-suite/neo-one/branch/master/graph/badge.svg)](https://codecov.io/gh/neo-one-suite/neo-one)

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore -->
| [<img src="https://avatars0.githubusercontent.com/u/1311014?v=4" width="100px;"/><br /><sub><b>Alex DiCarlo</b></sub>](https://github.com/dicarlo2)<br />[💻](https://github.com/neo-one-suite/neo-one/commits?author=dicarlo2 "Code") [🐛](https://github.com/neo-one-suite/neo-one/issues?q=author%3Adicarlo2 "Bug reports") [📖](https://github.com/neo-one-suite/neo-one/commits?author=dicarlo2 "Documentation") [🔍](#fundingFinding-dicarlo2 "Funding Finding") [👀](#review-dicarlo2 "Reviewed Pull Requests") [📢](#talk-dicarlo2 "Talks") | [<img src="https://avatars0.githubusercontent.com/u/34611820?v=4" width="100px;"/><br /><sub><b>Alex Fragapane</b></sub>](https://github.com/afragapane)<br />[💻](https://github.com/neo-one-suite/neo-one/commits?author=afragapane "Code") | [<img src="https://avatars3.githubusercontent.com/u/39564353?v=4" width="100px;"/><br /><sub><b>davemneo</b></sub>](https://github.com/davemneo)<br />[💻](https://github.com/neo-one-suite/neo-one/commits?author=davemneo "Code") | [<img src="https://avatars1.githubusercontent.com/u/9561608?v=4" width="100px;"/><br /><sub><b>Daniel Byrne</b></sub>](https://github.com/danwbyrne)<br />[💻](https://github.com/neo-one-suite/neo-one/commits?author=danwbyrne "Code") | [<img src="https://avatars1.githubusercontent.com/u/29364457?v=4" width="100px;"/><br /><sub><b>Spencer Corwin</b></sub>](http://spencercorwin.com)<br />[💻](https://github.com/neo-one-suite/neo-one/commits?author=spencercorwin "Code") |
| :---: | :---: | :---: | :---: | :---: |
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tr>
<td align="center"><a href="https://github.com/dicarlo2"><img src="https://avatars0.githubusercontent.com/u/1311014?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Alex DiCarlo</b></sub></a><br /><a href="https://github.com/neo-one-suite/neo-one/commits?author=dicarlo2" title="Code">💻</a> <a href="https://github.com/neo-one-suite/neo-one/issues?q=author%3Adicarlo2" title="Bug reports">🐛</a> <a href="https://github.com/neo-one-suite/neo-one/commits?author=dicarlo2" title="Documentation">📖</a> <a href="#fundingFinding-dicarlo2" title="Funding Finding">🔍</a> <a href="https://github.com/neo-one-suite/neo-one/pulls?q=is%3Apr+reviewed-by%3Adicarlo2" title="Reviewed Pull Requests">👀</a> <a href="#talk-dicarlo2" title="Talks">📢</a></td>
<td align="center"><a href="https://spencercorwin.io"><img src="https://avatars1.githubusercontent.com/u/29364457?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Spencer Corwin</b></sub></a><br /><a href="https://github.com/neo-one-suite/neo-one/commits?author=spencercorwin" title="Code">💻</a> <a href="https://github.com/neo-one-suite/neo-one/commits?author=spencercorwin" title="Documentation">📖</a> <a href="https://github.com/neo-one-suite/neo-one/pulls?q=is%3Apr+reviewed-by%3Aspencercorwin" title="Reviewed Pull Requests">👀</a></td>
<td align="center"><a href="https://github.com/danwbyrne"><img src="https://avatars1.githubusercontent.com/u/9561608?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Daniel Byrne</b></sub></a><br /><a href="https://github.com/neo-one-suite/neo-one/commits?author=danwbyrne" title="Code">💻</a> <a href="https://github.com/neo-one-suite/neo-one/commits?author=danwbyrne" title="Documentation">📖</a> <a href="https://github.com/neo-one-suite/neo-one/pulls?q=is%3Apr+reviewed-by%3Adanwbyrne" title="Reviewed Pull Requests">👀</a></td>
<td align="center"><a href="https://github.com/afragapane"><img src="https://avatars0.githubusercontent.com/u/34611820?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Alex Fragapane</b></sub></a><br /><a href="https://github.com/neo-one-suite/neo-one/commits?author=afragapane" title="Code">💻</a> <a href="https://github.com/neo-one-suite/neo-one/commits?author=afragapane" title="Documentation">📖</a> <a href="https://github.com/neo-one-suite/neo-one/pulls?q=is%3Apr+reviewed-by%3Aafragapane" title="Reviewed Pull Requests">👀</a></td>
<td align="center"><a href="http://github.com/ndhuutai"><img src="https://avatars.githubusercontent.com/u/30916803?s=400&v=4?s=100" width="100px;" alt=""/><br /><sub><b>Tai Ng</b></sub></a><br /><a href="https://github.com/neo-one-suite/neo-one/commits?author=ndhuutai" title="Code">💻</a> <a href="https://github.com/neo-one-suite/neo-one/commits?author=ndhuutai" title="Documentation">📖</a></td>
<td align="center"><a href="https://github.com/davemneo"><img src="https://avatars3.githubusercontent.com/u/39564353?v=4?s=100" width="100px;" alt=""/><br /><sub><b>davemneo</b></sub></a><br /><a href="https://github.com/neo-one-suite/neo-one/commits?author=davemneo" title="Code">💻</a></td>
</tr>
</table>
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

@@ -35,0 +39,0 @@

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