@journeyapps/cloudcode
Advanced tools
Comparing version 1.9.3-dev.bb02b78.78da707 to 1.9.3-dev.c3a8635.c5a8af9
/// <reference types="node" /> | ||
import { EventEmitter } from 'events'; | ||
import { InternalTaskContext } from './InternalTaskContext'; | ||
declare type DefaultDB = typeof global.DB; | ||
import { Database } from 'journeyapps/lib'; | ||
export declare class TaskContext extends EventEmitter { | ||
@@ -15,3 +15,4 @@ private context; | ||
readonly backend: import("./TaskContextBackend").TaskContextBackend; | ||
readonly DB: DefaultDB; | ||
/** @internal */ | ||
readonly DB: Database; | ||
toJSON(): { | ||
@@ -28,2 +29,1 @@ appId: string; | ||
} | ||
export {}; |
@@ -20,2 +20,3 @@ "use strict"; | ||
} | ||
/** @internal */ | ||
get DB() { | ||
@@ -22,0 +23,0 @@ return this.backend.DB; |
{ | ||
"name": "@journeyapps/cloudcode", | ||
"version": "1.9.3-dev.bb02b78.78da707", | ||
"version": "1.9.3-dev.c3a8635.c5a8af9", | ||
"main": "./lib/index.js", | ||
@@ -30,3 +30,3 @@ "types": "./lib/index.d.ts", | ||
], | ||
"gitHead": "150b0aa66f95e94b68582b26b31fe02b814c1d65" | ||
"gitHead": "6ac260bba44ab3b855fd99df27a1950d8bc03ec5" | ||
} |
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
150954
2660