UNPKG

@aws-amplify/storage

Version:

Storage category of aws-amplify

1 lines 1.01 kB
{"version":3,"file":"constants.mjs","sources":["../../../../../../../src/providers/s3/utils/client/runtime/constants.ts"],"sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nexport const SEND_UPLOAD_PROGRESS_EVENT = 'sendUploadProgress';\nexport const SEND_DOWNLOAD_PROGRESS_EVENT = 'sendDownloadProgress';\nexport const NETWORK_ERROR_MESSAGE = 'Network Error';\nexport const NETWORK_ERROR_CODE = 'ERR_NETWORK';\nexport const ABORT_ERROR_MESSAGE = 'Request aborted';\nexport const ABORT_ERROR_CODE = 'ERR_ABORTED';\nexport const CANCELED_ERROR_MESSAGE = 'canceled';\nexport const CANCELED_ERROR_CODE = 'ERR_CANCELED';\nexport const CONTENT_SHA256_HEADER = 'x-amz-content-sha256';\n"],"names":[],"mappings":"AAAA;AACA;AACY,MAAC,0BAA0B,GAAG;AAC9B,MAAC,4BAA4B,GAAG;AAChC,MAAC,qBAAqB,GAAG;AACzB,MAAC,kBAAkB,GAAG;AACtB,MAAC,mBAAmB,GAAG;AACvB,MAAC,gBAAgB,GAAG;AACpB,MAAC,sBAAsB,GAAG;AAC1B,MAAC,mBAAmB,GAAG;AACvB,MAAC,qBAAqB,GAAG;;;;"}