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": {