@kynesyslabs/demosdk 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/types/blockchain/ISignature.js.map +1 -0
- package/build/types/{Transaction.d.ts → blockchain/Transaction.d.ts} +3 -3
- package/build/types/blockchain/Transaction.js.map +1 -0
- package/build/types/{TxFee.js.map → blockchain/TxFee.js.map} +1 -1
- package/build/types/{ValidityData.d.ts → blockchain/ValidityData.d.ts} +1 -1
- package/build/types/blockchain/ValidityData.js.map +1 -0
- package/build/types/blockchain/addressInfo.d.ts +6 -0
- package/build/types/blockchain/addressInfo.js.map +1 -0
- package/build/types/blockchain/blocks.js.map +1 -0
- package/build/types/blockchain/genesisTypes.js.map +1 -0
- package/build/types/blockchain/rawTransaction.js.map +1 -0
- package/build/types/blockchain/statusNative.js.map +1 -0
- package/build/types/blockchain/statusProperties.js.map +1 -0
- package/build/types/{Operation.d.ts → gls/Operation.d.ts} +3 -3
- package/build/types/gls/Operation.js.map +1 -0
- package/build/types/gls/StateChange.js.map +1 -0
- package/build/types/index.d.ts +14 -13
- package/build/types/network/ExecutionResult.d.ts +1 -1
- package/package.json +1 -1
- package/build/types/ISignature.js.map +0 -1
- package/build/types/Operation.js.map +0 -1
- package/build/types/StateChange.js.map +0 -1
- package/build/types/Transaction.js.map +0 -1
- package/build/types/TransactionContent.d.ts +0 -1
- package/build/types/TransactionContent.js +0 -3
- package/build/types/TransactionContent.js.map +0 -1
- package/build/types/ValidityData.js.map +0 -1
- package/build/types/addressInfo.d.ts +0 -6
- package/build/types/addressInfo.js.map +0 -1
- package/build/types/blocks.js.map +0 -1
- package/build/types/genesisTypes.js.map +0 -1
- package/build/types/rawTransaction.js.map +0 -1
- package/build/types/statusNative.js.map +0 -1
- package/build/types/statusProperties.js.map +0 -1
- /package/build/types/{ISignature.d.ts → blockchain/ISignature.d.ts} +0 -0
- /package/build/types/{ISignature.js → blockchain/ISignature.js} +0 -0
- /package/build/types/{Transaction.js → blockchain/Transaction.js} +0 -0
- /package/build/types/{TxFee.d.ts → blockchain/TxFee.d.ts} +0 -0
- /package/build/types/{TxFee.js → blockchain/TxFee.js} +0 -0
- /package/build/types/{ValidityData.js → blockchain/ValidityData.js} +0 -0
- /package/build/types/{addressInfo.js → blockchain/addressInfo.js} +0 -0
- /package/build/types/{blocks.d.ts → blockchain/blocks.d.ts} +0 -0
- /package/build/types/{blocks.js → blockchain/blocks.js} +0 -0
- /package/build/types/{genesisTypes.d.ts → blockchain/genesisTypes.d.ts} +0 -0
- /package/build/types/{genesisTypes.js → blockchain/genesisTypes.js} +0 -0
- /package/build/types/{rawTransaction.d.ts → blockchain/rawTransaction.d.ts} +0 -0
- /package/build/types/{rawTransaction.js → blockchain/rawTransaction.js} +0 -0
- /package/build/types/{statusNative.d.ts → blockchain/statusNative.d.ts} +0 -0
- /package/build/types/{statusNative.js → blockchain/statusNative.js} +0 -0
- /package/build/types/{statusProperties.d.ts → blockchain/statusProperties.d.ts} +0 -0
- /package/build/types/{statusProperties.js → blockchain/statusProperties.js} +0 -0
- /package/build/types/{Operation.js → gls/Operation.js} +0 -0
- /package/build/types/{StateChange.d.ts → gls/StateChange.d.ts} +0 -0
- /package/build/types/{StateChange.js → gls/StateChange.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ISignature.js","sourceRoot":"","sources":["../../../../src/types/blockchain/ISignature.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { TxFee } from
|
|
1
|
+
import * as forge from 'node-forge';
|
|
2
|
+
import { ISignature } from './ISignature';
|
|
3
|
+
import { TxFee } from './TxFee';
|
|
4
4
|
export interface TransactionContent {
|
|
5
5
|
type: string;
|
|
6
6
|
from: forge.pki.ed25519.BinaryBuffer | forge.pki.PublicKey | ISignature;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Transaction.js","sourceRoot":"","sources":["../../../../src/types/blockchain/Transaction.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TxFee.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"TxFee.js","sourceRoot":"","sources":["../../../../src/types/blockchain/TxFee.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ValidityData.js","sourceRoot":"","sources":["../../../../src/types/blockchain/ValidityData.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addressInfo.js","sourceRoot":"","sources":["../../../../src/types/blockchain/addressInfo.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blocks.js","sourceRoot":"","sources":["../../../../src/types/blockchain/blocks.ts"],"names":[],"mappings":";AAAA;;;;;;;;;EASE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"genesisTypes.js","sourceRoot":"","sources":["../../../../src/types/blockchain/genesisTypes.ts"],"names":[],"mappings":";AAAA,qBAAqB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rawTransaction.js","sourceRoot":"","sources":["../../../../src/types/blockchain/rawTransaction.ts"],"names":[],"mappings":";AAAA;;;;;;;;;EASE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statusNative.js","sourceRoot":"","sources":["../../../../src/types/blockchain/statusNative.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statusProperties.js","sourceRoot":"","sources":["../../../../src/types/blockchain/statusProperties.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TxFee } from
|
|
1
|
+
import { TxFee } from '../blockchain/TxFee';
|
|
2
2
|
export interface Operation {
|
|
3
3
|
operator: string;
|
|
4
4
|
actor: string;
|
|
@@ -6,7 +6,7 @@ export interface Operation {
|
|
|
6
6
|
hash: string;
|
|
7
7
|
nonce: number;
|
|
8
8
|
timestamp: number;
|
|
9
|
-
status: boolean |
|
|
9
|
+
status: boolean | 'pending';
|
|
10
10
|
fees: TxFee;
|
|
11
11
|
}
|
|
12
12
|
export interface OperationResult {
|
|
@@ -15,7 +15,7 @@ export interface OperationResult {
|
|
|
15
15
|
}
|
|
16
16
|
export interface OperationRegistrySlot {
|
|
17
17
|
operation: Operation;
|
|
18
|
-
status: boolean |
|
|
18
|
+
status: boolean | 'pending';
|
|
19
19
|
result: OperationResult;
|
|
20
20
|
timestamp: number;
|
|
21
21
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Operation.js","sourceRoot":"","sources":["../../../../src/types/gls/Operation.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StateChange.js","sourceRoot":"","sources":["../../../../src/types/gls/StateChange.ts"],"names":[],"mappings":";AAAA;;;;;;;;;EASE"}
|
package/build/types/index.d.ts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
export { GenesisArtifact, GenesisImmutableProperties, GenesisMutableProperties, StandardGenesis, forkGenesis, } from './genesisTypes';
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export { RawTransaction } from './rawTransaction';
|
|
1
|
+
export { GenesisArtifact, GenesisImmutableProperties, GenesisMutableProperties, StandardGenesis, forkGenesis, } from './blockchain/genesisTypes';
|
|
2
|
+
export { ISignature } from './blockchain/ISignature';
|
|
3
|
+
export { TxFee } from './blockchain/TxFee';
|
|
4
|
+
export { ValidityData } from './blockchain/ValidityData';
|
|
5
|
+
export { BlockContent } from './blockchain/blocks';
|
|
6
|
+
export { Transaction, TransactionContent } from './blockchain/Transaction';
|
|
7
|
+
export { RawTransaction } from './blockchain/rawTransaction';
|
|
8
8
|
export { Bundle, BundleContent } from './communication/transmit';
|
|
9
|
-
export {
|
|
10
|
-
export { StatusNative } from './statusNative';
|
|
11
|
-
export { statusNative as StatusProperties } from './statusProperties';
|
|
12
|
-
export { Operation, OperationRegistrySlot, OperationResult } from './Operation';
|
|
13
|
-
export {
|
|
9
|
+
export { AddressInfo } from './blockchain/addressInfo';
|
|
10
|
+
export { StatusNative } from './blockchain/statusNative';
|
|
11
|
+
export { statusNative as StatusProperties } from './blockchain/statusProperties';
|
|
12
|
+
export { Operation, OperationRegistrySlot, OperationResult, } from './gls/Operation';
|
|
13
|
+
export { StateChange } from './gls/StateChange';
|
|
14
14
|
export { ExecutionResult } from './network/ExecutionResult';
|
|
15
|
+
export { ISecurityReport, SIComlink, SIResponseRegistry, } from './network/SecurityTypes';
|
|
15
16
|
export { IPeerConfig } from './peers/Peer';
|
|
16
|
-
export { IParam,
|
|
17
|
+
export { IParam, IRawWeb2Request, IWeb2Attestation, IWeb2Payload, IWeb2Request, IWeb2Result, } from './web2';
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ISignature.js","sourceRoot":"","sources":["../../../src/types/ISignature.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Operation.js","sourceRoot":"","sources":["../../../src/types/Operation.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"StateChange.js","sourceRoot":"","sources":["../../../src/types/StateChange.ts"],"names":[],"mappings":";AAAA;;;;;;;;;EASE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Transaction.js","sourceRoot":"","sources":["../../../src/types/Transaction.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionContent.js","sourceRoot":"","sources":["../../../src/types/TransactionContent.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ValidityData.js","sourceRoot":"","sources":["../../../src/types/ValidityData.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"addressInfo.js","sourceRoot":"","sources":["../../../src/types/addressInfo.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blocks.js","sourceRoot":"","sources":["../../../src/types/blocks.ts"],"names":[],"mappings":";AAAA;;;;;;;;;EASE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"genesisTypes.js","sourceRoot":"","sources":["../../../src/types/genesisTypes.ts"],"names":[],"mappings":";AAAA,qBAAqB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rawTransaction.js","sourceRoot":"","sources":["../../../src/types/rawTransaction.ts"],"names":[],"mappings":";AAAA;;;;;;;;;EASE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"statusNative.js","sourceRoot":"","sources":["../../../src/types/statusNative.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"statusProperties.js","sourceRoot":"","sources":["../../../src/types/statusProperties.ts"],"names":[],"mappings":""}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|