@ayasofyazilim/saas 0.0.26 → 0.0.27

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/generator.mjs CHANGED
@@ -47,7 +47,7 @@ const api_list = [
47
47
  input: "swagger-json/Setting",
48
48
  output: "Setting",
49
49
  port: 44335,
50
- dereference: false,
50
+ dereference: true,
51
51
  },
52
52
  {
53
53
  input: "swagger-json/Merchant",
@@ -84,7 +84,7 @@ for (const api of api_list) {
84
84
  console.log(`✨ Processing ${api.output}...`);
85
85
  const port = api?.port ? api.port : WEBGATEWAY_PORT;
86
86
  const apiURL = clean_URL(
87
- `${BASE_URL + port}/${api.input}` + "/swagger/v1/swagger.json"
87
+ `${BASE_URL + port}/${api.input}` + "/swagger/v1/swagger.json",
88
88
  );
89
89
  const swaggerText = await SwaggerParser.dereference(apiURL);
90
90
  let temp_swagger = apiURL;
@@ -94,7 +94,7 @@ for (const api of api_list) {
94
94
  temp_swagger = `temp_${api.output}_swagger.json`;
95
95
  fs.writeFileSync(
96
96
  temp_swagger,
97
- JSON.stringify(swaggerText, getCircularReplacer())
97
+ JSON.stringify(swaggerText, getCircularReplacer()),
98
98
  );
99
99
  }
100
100
  await createClient({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ayasofyazilim/saas",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
4
4
  "description": "Ayasofyazılım SAAS",
5
5
  "exports": {
6
6
  "./AccountService": "./AccountService/index.ts",