fix(core): update

This commit is contained in:
Philipp Kunz 2023-08-15 01:24:29 +02:00
parent 009f3297b2
commit 842e4b280b
4 changed files with 3 additions and 5 deletions

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@push.rocks/smartdata', name: '@push.rocks/smartdata',
version: '5.0.27', version: '5.0.28',
description: 'do more with data' description: 'do more with data'
} }

View File

@ -269,7 +269,7 @@ export class SmartdataCollection<T> {
* if this.objectValidation is not set it passes. * if this.objectValidation is not set it passes.
*/ */
private checkDoc(docArg: T): Promise<void> { private checkDoc(docArg: T): Promise<void> {
const done = plugins.smartq.defer<void>(); const done = plugins.smartpromise.defer<void>();
let validationResult = true; let validationResult = true;
if (this.objectValidation) { if (this.objectValidation) {
validationResult = this.objectValidation(docArg); validationResult = this.objectValidation(docArg);

View File

@ -11,7 +11,7 @@ export class DistributedClass extends SmartDataDbDoc<DistributedClass, Distribut
@svDb() @svDb()
public data: { public data: {
status: 'bidding' | 'settled' | 'initializing' | 'stopped'; status: 'initializing' | 'bidding' | 'settled' | 'stopped';
biddingShortcode?: string; biddingShortcode?: string;
biddingStartTime?: number; biddingStartTime?: number;
lastUpdated: number; lastUpdated: number;

View File

@ -8,7 +8,6 @@ import * as lik from '@push.rocks/lik';
import * as smartdelay from '@push.rocks/smartdelay'; import * as smartdelay from '@push.rocks/smartdelay';
import * as smartlog from '@push.rocks/smartlog'; import * as smartlog from '@push.rocks/smartlog';
import * as smartpromise from '@push.rocks/smartpromise'; import * as smartpromise from '@push.rocks/smartpromise';
import * as smartq from '@push.rocks/smartpromise';
import * as smartrx from '@push.rocks/smartrx'; import * as smartrx from '@push.rocks/smartrx';
import * as smartstring from '@push.rocks/smartstring'; import * as smartstring from '@push.rocks/smartstring';
import * as smarttime from '@push.rocks/smarttime'; import * as smarttime from '@push.rocks/smarttime';
@ -21,7 +20,6 @@ export {
smartdelay, smartdelay,
smartpromise, smartpromise,
smartlog, smartlog,
smartq,
smartrx, smartrx,
mongodb, mongodb,
smartstring, smartstring,