dce-reactkit 3.9.0 → 3.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +2 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/helpers/visitEndpointOnAnotherServer/index.d.ts +2 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/helpers/visitEndpointOnAnotherServer/index.d.ts +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
- package/src/helpers/visitEndpointOnAnotherServer/index.ts +3 -0
package/dist/cjs/index.js
CHANGED
|
@@ -16095,6 +16095,7 @@ const sendServerToServerRequest = (opts) => __awaiter(void 0, void 0, void 0, fu
|
|
|
16095
16095
|
* dce-reactkit [for server only]
|
|
16096
16096
|
* @author Gabe Abrams
|
|
16097
16097
|
* @param opts object containing all arguments
|
|
16098
|
+
* @param opts.host - the host of the other server
|
|
16098
16099
|
* @param opts.path - the path of the other server's endpoint
|
|
16099
16100
|
* @param [opts.method=GET] - the method of the endpoint
|
|
16100
16101
|
* @param [opts.params] - query/body parameters to include
|
|
@@ -16125,6 +16126,7 @@ const visitEndpointOnAnotherServer = (opts) => __awaiter(void 0, void 0, void 0,
|
|
|
16125
16126
|
}
|
|
16126
16127
|
// Send the request
|
|
16127
16128
|
const response = yield sendServerToServerRequest({
|
|
16129
|
+
host: opts.host,
|
|
16128
16130
|
path: opts.path,
|
|
16129
16131
|
method: (_a = opts.method) !== null && _a !== void 0 ? _a : 'GET',
|
|
16130
16132
|
params,
|