diff --git a/dist/index.js b/dist/index.js index 79ecba7..a8e4820 100644 --- a/dist/index.js +++ b/dist/index.js @@ -364,7 +364,7 @@ var Shopware = function () { return this.handleRequest({ url: 'orders/', method: 'GET', - params: params + qs: params }, 'data'); } }, { @@ -930,4 +930,4 @@ var Shopware = function () { }(); module.exports = Shopware; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIl0sIm5hbWVzIjpbInJlcXVlc3QiLCJyZXF1aXJlIiwiRVJST1IiLCJNSVNTSU5HX0lEIiwiY29kZSIsIm1lc3NhZ2UiLCJNSVNTSU5HX0JPRFkiLCJoYW5kbGVFcnJvciIsIlByb21pc2UiLCJyZXNvbHZlIiwicmVqZWN0IiwiZXJyIiwiU2hvcHdhcmUiLCJvcHRpb25zIiwiY29uc29sZSIsImVycm9yIiwiaG9zdCIsInVzZXIiLCJhcGlLZXkiLCJkZWZhdWx0cyIsImJhc2VVcmwiLCJ0aW1lb3V0IiwianNvbiIsImhlYWRlcnMiLCJhdXRoIiwicGFzcyIsInNlbmRJbW1lZGlhdGVseSIsImNvbmZpZyIsInNlbGVjdG9yIiwidGhlbiIsInJlc3BvbnNlRGF0YSIsInJlcyIsImNhdGNoIiwiaGFuZGxlUmVxdWVzdCIsInVybCIsIm1ldGhvZCIsImlkIiwiaWRzIiwiYm9keSIsInBhcmFtcyIsIm1vZHVsZSIsImV4cG9ydHMiXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLElBQU1BLFVBQVVDLFFBQVEsd0JBQVIsQ0FBaEI7O0FBRUEsSUFBTUMsUUFBUTtBQUNaQyxjQUFZO0FBQ1ZDLFVBQU0sWUFESTtBQUVWQyxhQUFTO0FBRkMsR0FEQTtBQUtaQyxnQkFBYztBQUNaRixVQUFNLGNBRE07QUFFWkMsYUFBUztBQUZHO0FBTEYsQ0FBZDs7QUFXQSxJQUFNRSxjQUFjLFNBQWRBLFdBQWM7QUFBQSx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xuICAgICAgcmV0dXJuIGhhbmRsZUVycm9yKEVSUk9SLk1JU1NJTkdfSUQpXG4gICAgfVxuXG4gICAgaWYgKCFib2R5KSB7XG4gICAgICByZXR1cm4gaGFuZGxlRXJyb3IoRVJST1IuTUlTU0lOR19CT0RZKVxuICAgIH1cblxuICAgIHJldHVybiB0aGlzLmhhbmRsZVJlcXVlc3Qoe1xuICAgICAgdXJsOiBgdHJhbnNsYXRpb25zLyR7aWR9YCxcbiAgICAgIG1ldGhvZDogJ1BVVCcsXG4gICAgICBib2R5XG4gICAgfSlcbiAgfVxuXG4gIGRlbGV0ZVRyYW5zbGF0aW9uKGlkKSB7XG4gICAgaWYgKCFpZCkge1xuICAgICAgcmV0dXJuIGhhbmRsZUVycm9yKEVSUk9SLk1JU1NJTkdfSUQpXG4gICAgfVxuXG4gICAgcmV0dXJuIHRoaXMuaGFuZGxlUmVxdWVzdCh7XG4gICAgICB1cmw6IGB0cmFuc2xhdGlvbnMvJHtpZH1gLFxuICAgICAgbWV0aG9kOiAnREVMRVRFJ1xuICAgIH0pXG4gIH1cblxufVxuXG5tb2R1bGUuZXhwb3J0cyA9IFNob3B3YXJlXG4iXX0= \ No newline at end of file diff --git a/package.json b/package.json index 391ba23..921deea 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "shopware-api-client", - "version": "1.1.2", + "version": "1.1.3", "description": "node client for shopware api", "main": "dist/index.js", "author": "Jakub Juszczak ",