Skip to content

Commit

Permalink
Upgrade expo-server-sdk version 3.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKim20 committed Sep 4, 2024
1 parent bbf54a2 commit 6c9e15d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/relay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"ethereum-waffle": "^4.0.10",
"ethereumjs-util": "^7.1.5",
"ethers": "^5.7.0",
"expo-server-sdk": "^3.7.0",
"expo-server-sdk": "^3.10.0",
"express": "^4.17.1",
"express-validator": "^6.14.0",
"extend": "^3.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/relay/src/delegator/NotificationSender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class NotificationSender implements INotificationSender {
body,
data,
});
const expo = new Expo({ accessToken: this.config.relay.expoAccessToken });
const expo = new Expo({ accessToken: this.config.relay.expoAccessToken, useFcmV1: true });
const chunks = expo.chunkPushNotifications(messages);
const tickets = [];
for (const chunk of chunks) {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4018,10 +4018,10 @@ [email protected]:
signal-exit "^3.0.3"
strip-final-newline "^2.0.0"

expo-server-sdk@^3.7.0:
version "3.7.0"
resolved "https://registry.npmjs.org/expo-server-sdk/-/expo-server-sdk-3.7.0.tgz"
integrity sha512-SMZuBiIWejAdMMIOTjGQlprcwvSyLfeUQlooyGB5q6GvZ8zHjp+if8Q4k7xczUBTqIqTzs5IvTZnTiqA9Oe9WA==
expo-server-sdk@^3.10.0:
version "3.10.0"
resolved "https://registry.yarnpkg.com/expo-server-sdk/-/expo-server-sdk-3.10.0.tgz#ad4c475667b4f81dba39bd9fa837c4886658380c"
integrity sha512-isymUVz18Syp9G+TPs2MVZ6WdMoyLw8hDLhpywOd8JqM6iGTka6Dr8Dzq7mjGQ8C8486rxLawZx/W+ps+vkjLQ==
dependencies:
node-fetch "^2.6.0"
promise-limit "^2.7.0"
Expand Down

0 comments on commit 6c9e15d

Please sign in to comment.