Skip to content

Commit 068991f

Browse files
ideexpbot
authored andcommitted
2.3.1 - Rename constant to pushNotificationChunkSizeLimit
fbshipit-source-id: b6ecaca
1 parent d56621c commit 068991f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "exponent-server-sdk",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "Server side library for working with Expo using Node.js",
55
"main": "build/ExpoClient.js",
66
"files": [

src/ExpoClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const PUSH_NOTIFICATION_CHUNK_LIMIT = 100;
2525
// not necessary because push notifications are the only API we have and the
2626
// push tokens are secret anyway.
2727
export default class ExpoClient {
28-
static pushNotificationChunkCapacity = PUSH_NOTIFICATION_CHUNK_LIMIT;
28+
static pushNotificationChunkSizeLimit = PUSH_NOTIFICATION_CHUNK_LIMIT;
2929

3030
_httpAgent: ?HttpAgent;
3131

src/__tests__/ExpoClient-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ it('can chunk small lists of push notification messages', () => {
2020
});
2121

2222
it('defines the push notification chunk size', () => {
23-
expect(ExpoClient.pushNotificationChunkCapacity).toBeDefined();
23+
expect(ExpoClient.pushNotificationChunkSizeLimit).toBeDefined();
2424
});

0 commit comments

Comments
 (0)