@aws-amplify/storage 5.9.23 → 5.9.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/Storage.d.ts CHANGED
@@ -1,6 +1,9 @@
1
1
  import { StorageCopySource, StorageCopyDestination, StorageGetConfig, StorageProvider, StoragePutConfig, StorageRemoveConfig, StorageListConfig, StorageCopyConfig, StorageGetOutput, StoragePutOutput, StorageRemoveOutput, StorageListOutput, StorageCopyOutput, UploadTask, StorageGetPropertiesConfig, StorageGetPropertiesOutput } from './types';
2
2
  /**
3
3
  * Provide storage methods to use AWS S3
4
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
5
+ * See the migration guide:
6
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
4
7
  */
5
8
  export declare class Storage {
6
9
  /**
@@ -104,4 +107,9 @@ export declare class Storage {
104
107
  */
105
108
  list<T extends Record<string, any>>(key: string, config?: StorageListConfig<T>): StorageListOutput<T>;
106
109
  }
110
+ /**
111
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
112
+ * See the migration guide:
113
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
114
+ */
107
115
  export declare const StorageInstance: Storage;
package/lib/Storage.js CHANGED
@@ -39,6 +39,9 @@ var loggerStorageInstance = new core_1.ConsoleLogger('Storage'); // Logging rela
39
39
  var DEFAULT_PROVIDER = 'AWSS3';
40
40
  /**
41
41
  * Provide storage methods to use AWS S3
42
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
43
+ * See the migration guide:
44
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
42
45
  */
43
46
  var Storage = /** @class */ (function () {
44
47
  /**
@@ -279,5 +282,10 @@ var getInstance = function () {
279
282
  };
280
283
  return _instance;
281
284
  };
285
+ /**
286
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
287
+ * See the migration guide:
288
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
289
+ */
282
290
  exports.StorageInstance = getInstance();
283
291
  core_1.Amplify.register(exports.StorageInstance);
@@ -2,6 +2,9 @@ import { PutObjectInput } from '../AwsClients/S3';
2
2
  import { StorageOptions, StorageProvider, S3ProviderGetConfig, S3ProviderGetOuput, S3ProviderPutConfig, S3ProviderRemoveConfig, S3ProviderListConfig, S3ProviderCopyConfig, S3ProviderCopyOutput, S3CopySource, S3CopyDestination, S3ProviderRemoveOutput, S3ProviderPutOutput, S3ProviderListOutput, S3ProviderGetPropertiesConfig, S3ProviderGetPropertiesOutput } from '../types';
3
3
  /**
4
4
  * Provide storage methods to use AWS S3
5
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
6
+ * See the migration guide:
7
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
5
8
  */
6
9
  export declare class AWSS3Provider implements StorageProvider {
7
10
  static readonly CATEGORY = "Storage";
@@ -123,6 +123,9 @@ var DEFAULT_STORAGE_LEVEL = 'public';
123
123
  var DEFAULT_PRESIGN_EXPIRATION = 900;
124
124
  /**
125
125
  * Provide storage methods to use AWS S3
126
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
127
+ * See the migration guide:
128
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
126
129
  */
127
130
  var AWSS3Provider = /** @class */ (function () {
128
131
  /**