@amityco/ts-sdk-react-native 6.25.1 → 6.25.2-843ba7e.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/.env +26 -26
- package/dist/index.cjs.js +4 -4
- package/dist/index.esm.js +4 -4
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
- package/src/client/api/registerPushNotification.ts +1 -1
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@ export const registerPushNotification = async (deviceToken: string): Promise<boo
|
|
|
14
14
|
throw new ASCInvalidParameterError('Unsupported platform');
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
const deviceId = getDeviceId();
|
|
17
|
+
const deviceId = await getDeviceId();
|
|
18
18
|
|
|
19
19
|
const {
|
|
20
20
|
data: { status, error },
|