Skip to content

Commit

Permalink
Bump to version 1.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
pusher-ci committed Dec 17, 2024
1 parent 5696d11 commit 293279e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog
# Changelog

## 1.2.7

* [CHANGED] jsonwebtoken package version from v8 to v9

## 1.2.6

Expand Down
6 changes: 3 additions & 3 deletions __tests__/publishToInterests.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ describe('publishToInterests', () => {
expect(headers).toEqual({
authorization: 'Bearer SECRET_KEY',
accept: 'application/json',
'x-pusher-library': 'pusher-push-notifications-node 1.2.6',
'x-pusher-library': 'pusher-push-notifications-node 1.2.7',
host: 'instance_id.pushnotifications.pusher.com',
'content-type': 'application/json',
'content-length': 55
Expand Down Expand Up @@ -114,7 +114,7 @@ describe('publishToInterests', () => {
'content-type': 'application/json',
'content-length': 55,
authorization: 'Bearer SECRET_KEY',
'x-pusher-library': 'pusher-push-notifications-node 1.2.6',
'x-pusher-library': 'pusher-push-notifications-node 1.2.7',
host: 'instance_id.pushnotifications.pusher.com'
});
expect(body).toEqual({
Expand Down Expand Up @@ -202,7 +202,7 @@ describe('publishToInterests', () => {
'content-type': 'application/json',
'content-length': 1846,
authorization: 'Bearer 1234',
'x-pusher-library': 'pusher-push-notifications-node 1.2.6',
'x-pusher-library': 'pusher-push-notifications-node 1.2.7',
host: '1234.pushnotifications.pusher.com'
});
expect(body).toEqual({
Expand Down
2 changes: 1 addition & 1 deletion __tests__/publishToUsers.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ describe('publishToUsers', () => {
'content-type': 'application/json',
'content-length': 72,
authorization: 'Bearer SECRET_KEY',
'x-pusher-library': 'pusher-push-notifications-node 1.2.6',
'x-pusher-library': 'pusher-push-notifications-node 1.2.7',
host: 'instance_id.pushnotifications.pusher.com'
});
expect(body).toEqual({
Expand Down
2 changes: 1 addition & 1 deletion push-notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const jwt = require('jsonwebtoken');
const http = require('http');
const https = require('https');

const SDK_VERSION = '1.2.6';
const SDK_VERSION = '1.2.7';
const INTERESTS_REGEX = new RegExp('^(_|\\-|=|@|,|\\.|;|[A-Z]|[a-z]|[0-9])*$');
const {
INTEREST_STRING_MAX_LENGTH,
Expand Down

0 comments on commit 293279e

Please sign in to comment.