icms-api 0.0.5 → 0.0.7

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.
@@ -2821,15 +2821,18 @@ var ICMSServer = class {
2821
2821
  throw Error(n.msg);
2822
2822
  }
2823
2823
  }, APIMAP = {};
2824
- const icmsRouter = async ({ request: e, routeAdapter: t, storage: n }) => await new Gr({
2825
- config: {
2826
- userType: Qt.TYPE_C,
2827
- APIMAP,
2828
- helloURL
2829
- },
2830
- adapter: t,
2831
- storage: n
2832
- }).handleRequest(e);
2824
+ const icmsRouter = async ({ request: e, routeAdapter: t, storage: n }) => {
2825
+ let r = await new Gr({
2826
+ config: {
2827
+ userType: Qt.TYPE_C,
2828
+ APIMAP,
2829
+ helloURL
2830
+ },
2831
+ adapter: t,
2832
+ storage: n
2833
+ }).handleRequest(e);
2834
+ return r.cleanCookies && r.cleanCookies(n.cookies), r;
2835
+ };
2833
2836
  export { ICMSServer, helloURL, icmsRouter };
2834
2837
 
2835
2838
  //# sourceMappingURL=icms-api.es.js.map