ng-openapi 0.2.13 → 0.2.15

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.
Files changed (3) hide show
  1. package/cli.cjs +2 -2
  2. package/index.js +1 -1
  3. package/package.json +3 -3
package/cli.cjs CHANGED
@@ -44,7 +44,7 @@ var fs4 = __toESM(require("fs"));
44
44
  var path12 = __toESM(require("path"));
45
45
 
46
46
  // package.json
47
- var version = "0.2.12";
47
+ var version = "0.2.14";
48
48
 
49
49
  // src/lib/core/generator.ts
50
50
  var import_ts_morph7 = require("ts-morph");
@@ -1951,7 +1951,7 @@ return httpParams;`
1951
1951
  statements: `if (!key) {
1952
1952
  throw new Error("key may not be null if value is Date");
1953
1953
  }
1954
- return httpParams.append(key, date.toISOString().substring(0, 10));`
1954
+ return httpParams.append(key, date.toISOString());`
1955
1955
  },
1956
1956
  {
1957
1957
  name: "handleObject",
package/index.js CHANGED
@@ -2073,7 +2073,7 @@ return httpParams;`
2073
2073
  statements: `if (!key) {
2074
2074
  throw new Error("key may not be null if value is Date");
2075
2075
  }
2076
- return httpParams.append(key, date.toISOString().substring(0, 10));`
2076
+ return httpParams.append(key, date.toISOString());`
2077
2077
  },
2078
2078
  {
2079
2079
  name: "handleObject",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-openapi",
3
- "version": "0.2.13",
3
+ "version": "0.2.15",
4
4
  "description": "Generate Angular services and TypeScript types from OpenAPI/Swagger specifications",
5
5
  "keywords": [
6
6
  "ng-openapi",
@@ -36,8 +36,8 @@
36
36
  "directory": "packages/ng-openapi"
37
37
  },
38
38
  "funding": {
39
- "type": "buymeacoffee",
40
- "url": "https://buymeacoffee.com/ngopenapi"
39
+ "type": "github",
40
+ "url": "https://github.com/sponsors/ng-openapi"
41
41
  },
42
42
  "main": "./index.cjs",
43
43
  "module": "./index.js",