@aws-amplify/rtn-push-notification 1.1.16 → 1.1.17

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/.tsbuildinfo CHANGED
@@ -1,3 +1 @@
1
- {
2
- "version": "3.8.3"
3
- }
1
+ {"version":"5.8.3"}
package/lib/index.d.ts CHANGED
@@ -1,3 +1,8 @@
1
1
  import { PushNotificationNativeModule } from './types';
2
2
  export { PushNotificationNativeModule } from './types';
3
+ /**
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/
7
+ */
3
8
  export declare const AmplifyRTNPushNotification: PushNotificationNativeModule;
package/lib/index.js CHANGED
@@ -2,7 +2,13 @@
2
2
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
  // SPDX-License-Identifier: Apache-2.0
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.AmplifyRTNPushNotification = void 0;
5
6
  var react_native_1 = require("react-native");
7
+ /**
8
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
9
+ * See the migration guide:
10
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
11
+ */
6
12
  exports.AmplifyRTNPushNotification = react_native_1.NativeModules.AmplifyRTNPushNotification;
7
13
  // chore: trigger v5-stable LTS release to complete partial publish (uuid-v11 RN fix, datastore). No functional change.
8
14
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;;AAEtC,6CAA6C;AAI5C,QAAA,0BAA0B,GAE1B,4BAAa,4BAAC;AAEf,uHAAuH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;;;AAEtC,6CAA6C;AAG7C;;;;GAIG;AAEF,QAAA,0BAA0B,GAE1B,4BAAa,4BAAC;AAEf,uHAAuH"}
package/lib/types.d.ts CHANGED
@@ -1,3 +1,8 @@
1
+ /**
2
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
3
+ * See the migration guide:
4
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
5
+ */
1
6
  export interface PushNotificationNativeModule {
2
7
  completeNotification?: (completionHandlerId: string) => void;
3
8
  getConstants: () => {
@@ -1,3 +1 @@
1
- {
2
- "version": "3.8.3"
3
- }
1
+ {"version":"5.8.3"}
@@ -1,3 +1,8 @@
1
1
  import { PushNotificationNativeModule } from './types';
2
2
  export { PushNotificationNativeModule } from './types';
3
+ /**
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/
7
+ */
3
8
  export declare const AmplifyRTNPushNotification: PushNotificationNativeModule;
package/lib-esm/index.js CHANGED
@@ -1,6 +1,11 @@
1
1
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  import { NativeModules } from 'react-native';
4
+ /**
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/
8
+ */
4
9
  export var AmplifyRTNPushNotification = NativeModules.AmplifyRTNPushNotification;
5
10
  // chore: trigger v5-stable LTS release to complete partial publish (uuid-v11 RN fix, datastore). No functional change.
6
11
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAG7C,MAAM,CACL,IAAA,qEAA0B,CAEZ;AAEf,uHAAuH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAG7C;;;;GAIG;AACH,MAAM,CACL,IAAA,0BAA0B,GAE1B,aAAa,2BAFa,CAEZ;AAEf,uHAAuH"}
@@ -1,3 +1,8 @@
1
+ /**
2
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
3
+ * See the migration guide:
4
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
5
+ */
1
6
  export interface PushNotificationNativeModule {
2
7
  completeNotification?: (completionHandlerId: string) => void;
3
8
  getConstants: () => {
package/lib-esm/types.js CHANGED
@@ -1,3 +1,4 @@
1
1
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  // SPDX-License-Identifier: Apache-2.0
3
+ export {};
3
4
  //# sourceMappingURL=types.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/rtn-push-notification",
3
- "version": "1.1.16",
3
+ "version": "1.1.17",
4
4
  "description": "React Native module for aws-amplify push notifications",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib-esm/index.js",
@@ -44,5 +44,5 @@
44
44
  "lib-esm",
45
45
  "src"
46
46
  ],
47
- "gitHead": "69166f4610eb60b3186782eca4fa2e034fdc4a71"
47
+ "gitHead": "d0b923913b92145813d1470bfbdc9b4dfa915c20"
48
48
  }
package/src/index.ts CHANGED
@@ -4,6 +4,11 @@
4
4
  import { NativeModules } from 'react-native';
5
5
  import { PushNotificationNativeModule } from './types';
6
6
  export { PushNotificationNativeModule } from './types';
7
+ /**
8
+ * @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
9
+ * See the migration guide:
10
+ * https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
11
+ */
7
12
  export const {
8
13
  AmplifyRTNPushNotification,
9
14
  }: { AmplifyRTNPushNotification?: PushNotificationNativeModule } =
package/src/types.ts CHANGED
@@ -1,6 +1,11 @@
1
1
  // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
+ /**
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/
8
+ */
4
9
  export interface PushNotificationNativeModule {
5
10
  completeNotification?: (completionHandlerId: string) => void;
6
11
  getConstants: () => {