hackpro-sdk
Version:
23 lines • 1.05 kB
JavaScript
;
/*
* Copyright 2018 balena.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.PROGRESS_EMISSION_INTERVAL = 1000 / 2; // emit progress events 2 times per second
exports.RETRY_BASE_TIMEOUT = 100;
exports.CHUNK_SIZE = Math.pow(1024, 2);
exports.NO_MATCHING_FILE_MSG = "Can't find a matching file in this zip archive";
exports.XXHASH_SEED = 0x45544348; // Seed value 0x45544348 = ASCII "ETCH"
//# sourceMappingURL=constants.js.map