From 5a310d5d2dcaa176ab21688f9aee626009d1985a Mon Sep 17 00:00:00 2001 From: Adam Rackis Date: Sun, 1 Apr 2018 16:56:20 -0500 Subject: [PATCH] fix old bug, version bump --- lib/mutation.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mutation.js b/lib/mutation.js index ca3e9d4d..19bb1fff 100644 --- a/lib/mutation.js +++ b/lib/mutation.js @@ -23,7 +23,7 @@ exports.default = (clientDeprecated, mutation, packet = {}) => BaseComponent => clientDeprecated = null; } - const { mapProps = props => props, clientOption } = packet; + const { mapProps = props => props, client: clientOption } = packet; const client = clientOption || clientDeprecated || _client.defaultClientManager.getDefaultClient(); if (!client) { diff --git a/package.json b/package.json index 744a3c43..4e02e69c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "micro-graphql-react", - "version": "0.1.1-beta2", + "version": "0.1.2", "description": "", "main": "index.js", "repository": {