@ironforge/sdk
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -7,3 +7,4 @@ "use strict"; | ||
const { body, cluster, program, cacheControl } = config; | ||
const res = await fetch(`https://${host}/v1/${cluster}/${program}/mongodb` + `?apiKey=${apiKey}`, { | ||
const res = await fetch(`https://${host}/v1/${cluster}/${program}/mongodb/aggregate` + | ||
`?apiKey=${apiKey}`, { | ||
headers: (0, utils_1.requestHeaders)({ cacheControl }), | ||
@@ -10,0 +11,0 @@ body: JSON.stringify(body), |
@@ -7,3 +7,4 @@ "use strict"; | ||
const { body, cluster, program, cacheControl } = config; | ||
const res = await fetch(`https://${host}/v1/${cluster}/${program}/mongodb` + `?apiKey=${apiKey}`, { | ||
const res = await fetch(`https://${host}/v1/${cluster}/${program}/mongodb/find` + | ||
`?apiKey=${apiKey}`, { | ||
headers: (0, utils_1.requestHeaders)({ cacheControl }), | ||
@@ -10,0 +11,0 @@ body: JSON.stringify(body), |
{ | ||
"name": "@ironforge/sdk", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "IronForge SDK.", | ||
@@ -5,0 +5,0 @@ "main": "dist/sdk.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
42463
841