@aws-amplify/notifications 0.2.4-in-app-messaging.7286 → 1.0.0

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.
Files changed (80) hide show
  1. package/lib/InAppMessaging/InAppMessaging.js +24 -94
  2. package/lib/InAppMessaging/InAppMessaging.js.map +1 -1
  3. package/lib/InAppMessaging/Providers/AWSPinpointProvider/index.js +33 -92
  4. package/lib/InAppMessaging/Providers/AWSPinpointProvider/index.js.map +1 -1
  5. package/lib/InAppMessaging/Providers/AWSPinpointProvider/types.js +2 -12
  6. package/lib/InAppMessaging/Providers/AWSPinpointProvider/types.js.map +1 -1
  7. package/lib/InAppMessaging/Providers/AWSPinpointProvider/utils.js +8 -36
  8. package/lib/InAppMessaging/Providers/AWSPinpointProvider/utils.js.map +1 -1
  9. package/lib/InAppMessaging/Providers/index.js +2 -12
  10. package/lib/InAppMessaging/Providers/index.js.map +1 -1
  11. package/lib/InAppMessaging/SessionTracker/SessionTracker.js +4 -16
  12. package/lib/InAppMessaging/SessionTracker/SessionTracker.js.map +1 -1
  13. package/lib/InAppMessaging/SessionTracker/SessionTracker.native.js +4 -16
  14. package/lib/InAppMessaging/SessionTracker/SessionTracker.native.js.map +1 -1
  15. package/lib/InAppMessaging/SessionTracker/index.js +4 -16
  16. package/lib/InAppMessaging/SessionTracker/index.js.map +1 -1
  17. package/lib/InAppMessaging/SessionTracker/types.js +2 -12
  18. package/lib/InAppMessaging/SessionTracker/types.js.map +1 -1
  19. package/lib/InAppMessaging/eventListeners.js +2 -12
  20. package/lib/InAppMessaging/eventListeners.js.map +1 -1
  21. package/lib/InAppMessaging/index.js +2 -12
  22. package/lib/InAppMessaging/index.js.map +1 -1
  23. package/lib/InAppMessaging/types.js.map +1 -1
  24. package/lib/Notifications.js +5 -28
  25. package/lib/Notifications.js.map +1 -1
  26. package/lib/index.js +2 -12
  27. package/lib/index.js.map +1 -1
  28. package/lib-esm/InAppMessaging/InAppMessaging.js +3 -70
  29. package/lib-esm/InAppMessaging/InAppMessaging.js.map +1 -1
  30. package/lib-esm/InAppMessaging/Providers/AWSPinpointProvider/index.js +4 -60
  31. package/lib-esm/InAppMessaging/Providers/AWSPinpointProvider/index.js.map +1 -1
  32. package/lib-esm/InAppMessaging/Providers/AWSPinpointProvider/types.js +2 -12
  33. package/lib-esm/InAppMessaging/Providers/AWSPinpointProvider/types.js.map +1 -1
  34. package/lib-esm/InAppMessaging/Providers/AWSPinpointProvider/utils.js +3 -28
  35. package/lib-esm/InAppMessaging/Providers/AWSPinpointProvider/utils.js.map +1 -1
  36. package/lib-esm/InAppMessaging/Providers/index.js +2 -12
  37. package/lib-esm/InAppMessaging/Providers/index.js.map +1 -1
  38. package/lib-esm/InAppMessaging/SessionTracker/SessionTracker.js +2 -12
  39. package/lib-esm/InAppMessaging/SessionTracker/SessionTracker.js.map +1 -1
  40. package/lib-esm/InAppMessaging/SessionTracker/SessionTracker.native.js +2 -12
  41. package/lib-esm/InAppMessaging/SessionTracker/SessionTracker.native.js.map +1 -1
  42. package/lib-esm/InAppMessaging/SessionTracker/index.js +2 -12
  43. package/lib-esm/InAppMessaging/SessionTracker/index.js.map +1 -1
  44. package/lib-esm/InAppMessaging/SessionTracker/types.js +2 -12
  45. package/lib-esm/InAppMessaging/SessionTracker/types.js.map +1 -1
  46. package/lib-esm/InAppMessaging/eventListeners.js +2 -12
  47. package/lib-esm/InAppMessaging/eventListeners.js.map +1 -1
  48. package/lib-esm/InAppMessaging/index.js +2 -12
  49. package/lib-esm/InAppMessaging/index.js.map +1 -1
  50. package/lib-esm/InAppMessaging/types.js.map +1 -1
  51. package/lib-esm/Notifications.js +3 -23
  52. package/lib-esm/Notifications.js.map +1 -1
  53. package/lib-esm/index.js +2 -12
  54. package/lib-esm/index.js.map +1 -1
  55. package/package.json +13 -10
  56. package/src/InAppMessaging/InAppMessaging.ts +2 -12
  57. package/src/InAppMessaging/Providers/AWSPinpointProvider/index.ts +3 -13
  58. package/src/InAppMessaging/Providers/AWSPinpointProvider/types.ts +2 -12
  59. package/src/InAppMessaging/Providers/AWSPinpointProvider/utils.ts +2 -12
  60. package/src/InAppMessaging/Providers/index.ts +2 -12
  61. package/src/InAppMessaging/SessionTracker/SessionTracker.native.ts +2 -12
  62. package/src/InAppMessaging/SessionTracker/SessionTracker.ts +2 -12
  63. package/src/InAppMessaging/SessionTracker/index.ts +2 -12
  64. package/src/InAppMessaging/SessionTracker/types.ts +2 -12
  65. package/src/InAppMessaging/eventListeners.ts +2 -12
  66. package/src/InAppMessaging/index.ts +2 -12
  67. package/src/InAppMessaging/types.ts +2 -12
  68. package/src/Notifications.ts +2 -12
  69. package/src/index.ts +2 -12
  70. package/src/types.ts +2 -12
  71. package/build.js +0 -5
  72. package/dist/aws-amplify-notifications.js +0 -4423
  73. package/dist/aws-amplify-notifications.js.map +0 -1
  74. package/dist/aws-amplify-notifications.min.js +0 -2
  75. package/dist/aws-amplify-notifications.min.js.map +0 -1
  76. package/index.js +0 -7
  77. package/tsconfig.json +0 -21
  78. package/tslint.json +0 -50
  79. package/webpack.config.dev.js +0 -6
  80. package/webpack.config.js +0 -48
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  import { Amplify, ConsoleLogger as Logger } from '@aws-amplify/core';
15
5
  import InAppMessaging from './InAppMessaging';
package/src/index.ts CHANGED
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
 
14
4
  export { default as Notifications } from './Notifications';
15
5
  export {
package/src/types.ts CHANGED
@@ -1,15 +1,5 @@
1
- /*
2
- * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
- * the License. A copy of the License is located at
6
- *
7
- * http://aws.amazon.com/apache2.0/
8
- *
9
- * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
10
- * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
- * and limitations under the License.
12
- */
1
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ // SPDX-License-Identifier: Apache-2.0
13
3
  import { InAppMessagingConfig } from './InAppMessaging';
14
4
 
15
5
  export type NotificationsCategory = 'Notifications';
package/build.js DELETED
@@ -1,5 +0,0 @@
1
- 'use strict';
2
-
3
- const build = require('../../scripts/build');
4
-
5
- build(process.argv[2], process.argv[3]);