dexie-cloud-common
Advanced tools
Comparing version 1.0.47 to 1.0.48
@@ -33,3 +33,3 @@ import { __asyncGenerator, __asyncValues, __await } from "tslib"; | ||
for (let i = 0; i < inputData.length; i += chunkSize) { | ||
console.log('Yielding chunk of size ' + ('' + i) + ':' + (i + chunkSize)); | ||
//console.log('Yielding chunk of size ' + (''+i)+':'+(i + chunkSize)); | ||
yield yield __await(inputData.slice(i, i + chunkSize)); | ||
@@ -50,5 +50,5 @@ } | ||
return __asyncGenerator(this, arguments, function* generateChunkSizes_1() { | ||
console.log('yield 1024'); | ||
//console.log('yield 1024'); | ||
yield yield __await(1040); | ||
console.log('yield 512'); | ||
//console.log('yield 512'); | ||
yield yield __await(520); | ||
@@ -55,0 +55,0 @@ yield yield __await(260); |
@@ -73,2 +73,7 @@ export type TokenRequest = OTPTokenRequest1 | OTPTokenRequest2 | ClientCredentialsTokenRequest | RefreshTokenRequest | DemoTokenRequest; | ||
} | ||
export interface TokenOtpDetailsResponse { | ||
type: 'otp-details'; | ||
otp: string; | ||
otp_id: string; | ||
} | ||
export interface TokenErrorResponse { | ||
@@ -93,3 +98,3 @@ type: 'error'; | ||
} | ||
export type TokenResponse = TokenFinalResponse | TokenOtpSentResponse | TokenErrorResponse | TokenResponseInvalidTimestamp; | ||
export type TokenResponse = TokenFinalResponse | TokenOtpSentResponse | TokenOtpDetailsResponse | TokenErrorResponse | TokenResponseInvalidTimestamp; | ||
export interface CreateDbResponse { | ||
@@ -96,0 +101,0 @@ url: string; |
export {}; | ||
/*export interface YDocumentClosed { // Probably not needed. We have an awareness update for that. Just we need to identify clientID. | ||
type: 'doc-closed'; | ||
utbl: string; | ||
k: any; | ||
} | ||
*/ |
{ | ||
"name": "dexie-cloud-common", | ||
"version": "1.0.47", | ||
"version": "1.0.48", | ||
"description": "Library for shared code between dexie-cloud-addon, dexie-cloud (CLI) and dexie-cloud-server", | ||
@@ -5,0 +5,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
113975
1406