@aws-amplify/notifications 0.2.5-in-app-messaging.7287 → 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.
- package/lib/InAppMessaging/InAppMessaging.js +24 -94
- package/lib/InAppMessaging/InAppMessaging.js.map +1 -1
- package/lib/InAppMessaging/Providers/AWSPinpointProvider/index.js +33 -92
- package/lib/InAppMessaging/Providers/AWSPinpointProvider/index.js.map +1 -1
- package/lib/InAppMessaging/Providers/AWSPinpointProvider/types.js +2 -12
- package/lib/InAppMessaging/Providers/AWSPinpointProvider/types.js.map +1 -1
- package/lib/InAppMessaging/Providers/AWSPinpointProvider/utils.js +8 -36
- package/lib/InAppMessaging/Providers/AWSPinpointProvider/utils.js.map +1 -1
- package/lib/InAppMessaging/Providers/index.js +2 -12
- package/lib/InAppMessaging/Providers/index.js.map +1 -1
- package/lib/InAppMessaging/SessionTracker/SessionTracker.js +4 -16
- package/lib/InAppMessaging/SessionTracker/SessionTracker.js.map +1 -1
- package/lib/InAppMessaging/SessionTracker/SessionTracker.native.js +4 -16
- package/lib/InAppMessaging/SessionTracker/SessionTracker.native.js.map +1 -1
- package/lib/InAppMessaging/SessionTracker/index.js +4 -16
- package/lib/InAppMessaging/SessionTracker/index.js.map +1 -1
- package/lib/InAppMessaging/SessionTracker/types.js +2 -12
- package/lib/InAppMessaging/SessionTracker/types.js.map +1 -1
- package/lib/InAppMessaging/eventListeners.js +2 -12
- package/lib/InAppMessaging/eventListeners.js.map +1 -1
- package/lib/InAppMessaging/index.js +2 -12
- package/lib/InAppMessaging/index.js.map +1 -1
- package/lib/InAppMessaging/types.js.map +1 -1
- package/lib/Notifications.js +5 -28
- package/lib/Notifications.js.map +1 -1
- package/lib/index.js +2 -12
- package/lib/index.js.map +1 -1
- package/lib-esm/InAppMessaging/InAppMessaging.js +3 -70
- package/lib-esm/InAppMessaging/InAppMessaging.js.map +1 -1
- package/lib-esm/InAppMessaging/Providers/AWSPinpointProvider/index.js +4 -60
- package/lib-esm/InAppMessaging/Providers/AWSPinpointProvider/index.js.map +1 -1
- package/lib-esm/InAppMessaging/Providers/AWSPinpointProvider/types.js +2 -12
- package/lib-esm/InAppMessaging/Providers/AWSPinpointProvider/types.js.map +1 -1
- package/lib-esm/InAppMessaging/Providers/AWSPinpointProvider/utils.js +3 -28
- package/lib-esm/InAppMessaging/Providers/AWSPinpointProvider/utils.js.map +1 -1
- package/lib-esm/InAppMessaging/Providers/index.js +2 -12
- package/lib-esm/InAppMessaging/Providers/index.js.map +1 -1
- package/lib-esm/InAppMessaging/SessionTracker/SessionTracker.js +2 -12
- package/lib-esm/InAppMessaging/SessionTracker/SessionTracker.js.map +1 -1
- package/lib-esm/InAppMessaging/SessionTracker/SessionTracker.native.js +2 -12
- package/lib-esm/InAppMessaging/SessionTracker/SessionTracker.native.js.map +1 -1
- package/lib-esm/InAppMessaging/SessionTracker/index.js +2 -12
- package/lib-esm/InAppMessaging/SessionTracker/index.js.map +1 -1
- package/lib-esm/InAppMessaging/SessionTracker/types.js +2 -12
- package/lib-esm/InAppMessaging/SessionTracker/types.js.map +1 -1
- package/lib-esm/InAppMessaging/eventListeners.js +2 -12
- package/lib-esm/InAppMessaging/eventListeners.js.map +1 -1
- package/lib-esm/InAppMessaging/index.js +2 -12
- package/lib-esm/InAppMessaging/index.js.map +1 -1
- package/lib-esm/InAppMessaging/types.js.map +1 -1
- package/lib-esm/Notifications.js +3 -23
- package/lib-esm/Notifications.js.map +1 -1
- package/lib-esm/index.js +2 -12
- package/lib-esm/index.js.map +1 -1
- package/package.json +13 -10
- package/src/InAppMessaging/InAppMessaging.ts +2 -12
- package/src/InAppMessaging/Providers/AWSPinpointProvider/index.ts +3 -13
- package/src/InAppMessaging/Providers/AWSPinpointProvider/types.ts +2 -12
- package/src/InAppMessaging/Providers/AWSPinpointProvider/utils.ts +2 -12
- package/src/InAppMessaging/Providers/index.ts +2 -12
- package/src/InAppMessaging/SessionTracker/SessionTracker.native.ts +2 -12
- package/src/InAppMessaging/SessionTracker/SessionTracker.ts +2 -12
- package/src/InAppMessaging/SessionTracker/index.ts +2 -12
- package/src/InAppMessaging/SessionTracker/types.ts +2 -12
- package/src/InAppMessaging/eventListeners.ts +2 -12
- package/src/InAppMessaging/index.ts +2 -12
- package/src/InAppMessaging/types.ts +2 -12
- package/src/Notifications.ts +2 -12
- package/src/index.ts +2 -12
- package/src/types.ts +2 -12
- package/build.js +0 -5
- package/dist/aws-amplify-notifications.js +0 -4423
- package/dist/aws-amplify-notifications.js.map +0 -1
- package/dist/aws-amplify-notifications.min.js +0 -2
- package/dist/aws-amplify-notifications.min.js.map +0 -1
- package/index.js +0 -7
- package/tsconfig.json +0 -21
- package/tslint.json +0 -50
- package/webpack.config.dev.js +0 -6
- package/webpack.config.js +0 -48
package/src/Notifications.ts
CHANGED
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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';
|