@duely/client
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -12,4 +12,12 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "useMutation", { | ||
enumerable: true, | ||
get: function get() { | ||
return _useMutation.useMutation; | ||
} | ||
}); | ||
var _useQuery = require("./useQuery"); | ||
var _useMutation = require("./useMutation"); | ||
//# sourceMappingURL=index.js.map |
@@ -7,4 +7,3 @@ "use strict"; | ||
var _exportNames = { | ||
client: true, | ||
useQuery: true | ||
client: true | ||
}; | ||
@@ -17,8 +16,2 @@ Object.defineProperty(exports, "client", { | ||
}); | ||
Object.defineProperty(exports, "useQuery", { | ||
enumerable: true, | ||
get: function get() { | ||
return _hooks.useQuery; | ||
} | ||
}); | ||
@@ -29,2 +22,14 @@ var _client = require("./apollo/client"); | ||
Object.keys(_hooks).forEach(function (key) { | ||
if (key === "default" || key === "__esModule") return; | ||
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; | ||
if (key in exports && exports[key] === _hooks[key]) return; | ||
Object.defineProperty(exports, key, { | ||
enumerable: true, | ||
get: function get() { | ||
return _hooks[key]; | ||
} | ||
}); | ||
}); | ||
var _queries = require("./queries"); | ||
@@ -31,0 +36,0 @@ |
{ | ||
"name": "@duely/client", | ||
"type": "module", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"repository": "github:uoleevi/duely", | ||
@@ -6,0 +6,0 @@ "description": "GraphQL client by Duely (wrapper for @apollo/client)", |
export { useQuery } from './useQuery' | ||
export { useMutation } from './useMutation' |
export { client } from './apollo/client'; | ||
export { useQuery } from './hooks'; | ||
export * from './hooks'; | ||
export * from './queries'; | ||
export * from './mutations'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
116767
2199