@pusher/chatkit-server
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -10,2 +10,8 @@ # Changelog | ||
## [2.0.1](https://github.com/pusher/chatkit-server-node/compare/2.0.0...2.0.1) | ||
### Fixes | ||
- Don't send unnecessary query parameters in fetch messages methods | ||
## [2.0.0](https://github.com/pusher/chatkit-server-node/compare/1.3.0...2.0.0) | ||
@@ -12,0 +18,0 @@ |
{ | ||
"name": "@pusher/chatkit-server", | ||
"description": "Pusher Chatkit server SDK", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"main": "target/src/index.js", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
{ | ||
"name": "@pusher/chatkit-server", | ||
"description": "Pusher Chatkit server SDK", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"main": "target/src/index.js", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
"use strict"; | ||
var __rest = (this && this.__rest) || function (s, e) { | ||
var t = {}; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) | ||
t[p] = s[p]; | ||
if (s != null && typeof Object.getOwnPropertySymbols === "function") | ||
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0) | ||
t[p[i]] = s[p[i]]; | ||
return t; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
@@ -287,7 +278,7 @@ return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}); | ||
const { initialId } = options, optionsMinusInitialId = __rest(options, ["initialId"]); | ||
let qs = optionsMinusInitialId; | ||
if (initialId) { | ||
qs["initial_id"] = initialId; | ||
} | ||
let qs = { | ||
direction: options.direction, | ||
limit: options.limit, | ||
initial_id: options.initialId, | ||
}; | ||
return options.serverInstance | ||
@@ -294,0 +285,0 @@ .request({ |
Sorry, the diff of this file is not supported yet
65651
953