Skip to content

Commit

Permalink
Merge pull request #74 from backslash47/fixerrors
Browse files Browse the repository at this point in the history
fix build errors
  • Loading branch information
MickWang authored Jul 18, 2018
2 parents c12a819 + 690c105 commit 534b4cd
Show file tree
Hide file tree
Showing 5 changed files with 706 additions and 526 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"tslint-eslint-rules": "^5.3.1",
"tslint-no-circular-imports": "^0.4.0",
"typedoc": "^0.11.1",
"typedoc-webpack-plugin": "^1.1.4",
"typescript": "^2.8.3",
"webpack": "^4.8.3",
"webpack-cli": "^2.1.4",
Expand Down
8 changes: 4 additions & 4 deletions src/crypto/PrivateKeyFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ import { PrivateKey } from './PrivateKey';
/**
* Interface for Key deserializers
*/
export abstract class KeyDeserializer {
abstract getType(): string;
abstract deserialize(json: JsonKey): PrivateKey;
export interface KeyDeserializer {
getType(): string;
deserialize(json: JsonKey): PrivateKey;
}

/**
* Default private key deserializer.
*/
export class DefaultKeyDeserializer extends KeyDeserializer {
export class DefaultKeyDeserializer implements KeyDeserializer {
getType(): string {
return '';
}
Expand Down
2 changes: 1 addition & 1 deletion src/neocore/InvocationTransaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ export class InvocationTransaction extends TransactionNeo {
result += num2hexstring(this.gas, 8, true);
return result;
}
}
}
2 changes: 1 addition & 1 deletion src/sdk/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ import { HTTP_REST_PORT, HTTP_WS_PORT, ONT_BIP44_PATH, REST_API, TEST_NODE } fro
import { Address, PgpSignature, PrivateKey, PublicKey } from '../crypto';
import { ERROR_CODE } from '../error';
import { Identity } from '../identity';
import { Parameter } from '../index';
import { NeoRpc } from '../neocore/NeoRpc';
import { Program } from '../neocore/Program';
import { SmartContract } from '../neocore/SmartContract';
import RestClient from '../network/rest/restClient';
import * as scrypt from '../scrypt';
import AbiInfo from '../smartcontract/abi/abiInfo';
import { Parameter } from '../smartcontract/abi/parameter';
import { makeTransferTx, makeWithdrawOngTx, ONT_CONTRACT } from '../smartcontract/nativevm/ontAssetTxBuilder';
import { buildAddAttributeTx, buildGetDDOTx, buildRegisterOntidTx
} from '../smartcontract/nativevm/ontidContractTxBuilder';
Expand Down
Loading

0 comments on commit 534b4cd

Please sign in to comment.