@connext/cf-core
Advanced tools
Comparing version 1.2.7 to 1.2.8
import { BigNumber } from "ethers/utils"; | ||
import { StateChannelJSON, SingleAssetTwoPartyIntermediaryAgreement } from "@connext/cf-types"; | ||
import { StateChannelJSON, SingleAssetTwoPartyIntermediaryAgreement } from "@connext/types"; | ||
import { Store } from "../store"; | ||
@@ -4,0 +4,0 @@ import { SolidityValueType } from "../types"; |
@@ -1,2 +0,2 @@ | ||
import { Node as NodeTypes } from "@connext/cf-types"; | ||
import { CFCoreTypes } from "@connext/types"; | ||
import { Wallet } from "ethers"; | ||
@@ -7,3 +7,3 @@ import { Provider } from "ethers/providers"; | ||
node: Node; | ||
store: NodeTypes.IStoreService; | ||
store: CFCoreTypes.IStoreService; | ||
} | ||
@@ -14,3 +14,3 @@ export interface SetupContext { | ||
export declare function setupWithMemoryMessagingAndPostgresStore(global: any, nodeCPresent?: boolean, newExtendedPrvKeys?: boolean): Promise<SetupContext>; | ||
export declare function setup(global: any, nodeCPresent?: boolean, newExtendedPrvKey?: boolean, messagingService?: NodeTypes.IMessagingService, storeServiceFactory?: NodeTypes.ServiceFactory): Promise<SetupContext>; | ||
export declare function setup(global: any, nodeCPresent?: boolean, newExtendedPrvKey?: boolean, messagingService?: CFCoreTypes.IMessagingService, storeServiceFactory?: CFCoreTypes.ServiceFactory): Promise<SetupContext>; | ||
export declare function generateNewFundedWallet(fundedPrivateKey: string, provider: Provider): Promise<Wallet>; | ||
@@ -17,0 +17,0 @@ export declare function generateNewFundedExtendedPrvKeys(fundedPrivateKey: string, provider: Provider): Promise<{ |
@@ -11,3 +11,3 @@ "use strict"; | ||
const TwoPartyFixedOutcomeApp_json_1 = __importDefault(require("@counterfactual/cf-funding-protocol-contracts/expected-build-artifacts/TwoPartyFixedOutcomeApp.json")); | ||
const cf_types_1 = require("@connext/cf-types"); | ||
const types_1 = require("@connext/types"); | ||
const ethers_1 = require("ethers"); | ||
@@ -87,3 +87,3 @@ const constants_1 = require("ethers/constants"); | ||
actionEncoding: undefined | ||
}, true, globalChannelNonce, 2, 1, 0, cf_types_1.OutcomeType.TWO_PARTY_FIXED_OUTCOME, { | ||
}, true, globalChannelNonce, 2, 1, 0, types_1.OutcomeType.TWO_PARTY_FIXED_OUTCOME, { | ||
playerAddrs: [constants_1.AddressZero, constants_1.AddressZero], | ||
@@ -90,0 +90,0 @@ amount: constants_1.Zero, |
@@ -1,8 +0,8 @@ | ||
import { Node } from "@connext/cf-types"; | ||
export declare class MemoryMessagingService implements Node.IMessagingService { | ||
import { CFCoreTypes } from "@connext/types"; | ||
export declare class MemoryMessagingService implements CFCoreTypes.IMessagingService { | ||
private readonly eventEmitter; | ||
constructor(); | ||
send(to: string, msg: Node.NodeMessage): Promise<void>; | ||
onReceive(address: string, callback: (msg: Node.NodeMessage) => void): void; | ||
send(to: string, msg: CFCoreTypes.NodeMessage): Promise<void>; | ||
onReceive(address: string, callback: (msg: CFCoreTypes.NodeMessage) => void): void; | ||
} | ||
//# sourceMappingURL=memory-messaging-service.d.ts.map |
{ | ||
"name": "@connext/cf-core", | ||
"version": "1.2.7", | ||
"version": "1.2.8", | ||
"main": "dist/src/index.js", | ||
@@ -22,3 +22,3 @@ "iife": "dist/src/index.iife.js", | ||
"@connext/cf-funding-protocol-contracts": "0.4.1", | ||
"@connext/types": "1.2.7", | ||
"@connext/types": "1.2.8", | ||
"@counterfactual/cf-adjudicator-contracts": "0.0.9", | ||
@@ -25,0 +25,0 @@ "@counterfactual/cf-funding-protocol-contracts": "0.0.12", |
import { BigNumber } from "ethers/utils"; | ||
import { StateChannelJSON, SingleAssetTwoPartyIntermediaryAgreement } from "@connext/cf-types"; | ||
import { StateChannelJSON, SingleAssetTwoPartyIntermediaryAgreement } from "@connext/types"; | ||
@@ -4,0 +4,0 @@ import { flip, flipTokenIndexedBalances } from "../ethereum/utils/free-balance-app"; |
@@ -1,2 +0,2 @@ | ||
import { StateChannelJSON } from "@connext/cf-types"; | ||
import { StateChannelJSON } from "@connext/types"; | ||
import { solidityKeccak256 } from "ethers/utils"; | ||
@@ -3,0 +3,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
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
1545316
+ Added@connext/cf-core@1.2.7(transitive)
+ Added@connext/cf-types@1.2.8(transitive)
+ Added@connext/types@1.2.8(transitive)
Updated@connext/types@1.2.8