@igniter-js/caller 0.1.52 → 0.1.54
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/client/index.js +5 -2
- package/dist/client/index.js.map +1 -1
- package/dist/client/index.mjs +5 -2
- package/dist/client/index.mjs.map +1 -1
- package/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -8
package/dist/index.mjs
CHANGED
|
@@ -2157,14 +2157,13 @@ var IgniterCallerBuilder = class _IgniterCallerBuilder {
|
|
|
2157
2157
|
});
|
|
2158
2158
|
}
|
|
2159
2159
|
withSchemas(schemas, validation) {
|
|
2160
|
+
const { mock: _removedMock, ...stateWithoutMock } = this.state;
|
|
2160
2161
|
const nextState = {
|
|
2161
|
-
...
|
|
2162
|
+
...stateWithoutMock,
|
|
2162
2163
|
schemas,
|
|
2163
2164
|
schemaValidation: validation
|
|
2164
2165
|
};
|
|
2165
|
-
return new _IgniterCallerBuilder(
|
|
2166
|
-
nextState
|
|
2167
|
-
);
|
|
2166
|
+
return new _IgniterCallerBuilder(nextState);
|
|
2168
2167
|
}
|
|
2169
2168
|
/**
|
|
2170
2169
|
* Attaches telemetry for request monitoring and observability.
|