infinity-forge 3.8.6 → 3.8.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.
@@ -63,9 +63,10 @@ var sites_1 = require("../sites/index.js");
63
63
  var ui_1 = require("../ui/index.js");
64
64
  function createClient() {
65
65
  function replaceUrlParams(url, params) {
66
+ var _a;
66
67
  if (!params)
67
- return url;
68
- return url.replace(/\{(\w+)\}/g, function (_, key) { return params[key] || "{".concat(key, "}"); });
68
+ return url === null || url === void 0 ? void 0 : url.slice(1);
69
+ return (_a = url.replace(/\{(\w+)\}/g, function (_, key) { return params[key] || "{".concat(key, "}"); })) === null || _a === void 0 ? void 0 : _a.slice(1);
69
70
  }
70
71
  function client(_a) {
71
72
  return __awaiter(this, arguments, void 0, function (_b) {
@@ -1 +1 @@
1
- {"version":3,"file":"create-client-open-api.js","sourceRoot":"","sources":["../../src/infra/create-client-open-api.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,iCAA6B;AAC7B,2BAA8C;AAE9C,SAAgB,YAAY;IAE1B,SAAS,gBAAgB,CAAqB,GAAQ,EAAE,MAA4B;QAClF,IAAI,CAAC,MAAM;YAAE,OAAO,GAAG,CAAA;QACvB,OAAO,GAAG,CAAC,OAAO,CAAC,YAAY,EAAE,UAAC,CAAC,EAAE,GAAG,IAAK,OAAA,MAAM,CAAC,GAAG,CAAC,IAAI,WAAI,GAAG,MAAG,EAAzB,CAAyB,CAAC,CAAA;IACzE,CAAC;IAED,SAAe,MAAM;4DAA+D,EAQnF;;gBAPC,GAAG,SAAA,EACH,MAAM,YAAA,EACN,IAAI,UAAA;;;;wBAME,QAAQ,GAAG,gBAAgB,CAAC,GAAa,EAAG,IAAY,aAAZ,IAAI,uBAAJ,IAAI,CAAU,MAAM,CAAC,CAAA;wBAE3D,qBAAM,IAAA,WAAG,EAAC,EAAE,GAAG,EAAE,QAA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AC,CAAC,CAAC,CAAA;IACnF,CAAC;IAED,SAAe,MAAM;4DAA+D,EAQnF;;gBAPC,GAAG,SAAA,EACH,MAAM,YAAA,EACN,IAAI,UAAA;;;;wBAME,QAAQ,GAAG,gBAAgB,CAAC,GAAa,EAAG,IAAY,aAAZ,IAAI,uBAAJ,IAAI,CAAU,MAAM,CAAC,CAAA;wBAE3D,qBAAM,IAAA,WAAG,EAAC,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAa,EAAE,IAAI,EAAG,IAAY,aAAZ,IAAI,uBAAJ,IAAI,CAAU,WAAW,EAAE,CAAC,EAAA;;wBAA3F,GAAG,GAAG,SAAqF;wBAEjG,sBAAO,GAAmE,EAAA;;;;KAC3E;IAED,SAAS,eAAe,CAA+D,EASvC;QAThD,iBAkBC;QAjBC,IAAA,GAAG,SAAA,EACH,MAAM,YAAA,EACN,IAAI,UAAA,EACD,IAAI,cAJ8E,yBAKtF,CADQ;QAMP,OAAO,IAAA,aAAQ,sBACb,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,IACpB,IAAI,KACP,OAAO,EAAE;;;;gCACK,qBAAM,MAAM,CAAC,EAAE,GAAG,KAAA,EAAE,MAAM,QAAA,EAAE,IAAI,MAAA,EAAE,CAAC,EAAA;;4BAAzC,GAAG,GAAG,SAAmC;4BAC/C,sBAAO,GAAmE,EAAA;;;iBAC3E,IACD,CAAA;IACJ,CAAC;IAED,OAAO,EAAE,MAAM,QAAA,EAAE,eAAe,iBAAA,EAAE,CAAA;AACpC,CAAC;AA5CD,oCA4CC"}
package/package.json CHANGED
@@ -1,76 +1,76 @@
1
- {
2
- "name": "infinity-forge",
3
- "version": "3.8.6",
4
- "description": "codie Library",
5
- "main": "./dist/index",
6
- "module": "./dist/index",
7
- "types": "./dist/index.d.ts",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/CodieDigital/codiedigital-library"
11
- },
12
- "scripts": {
13
- "dev": "next -p 3052",
14
- "deploy": "npm version patch && npm publish",
15
- "next": "next build",
16
- "start": "next start -p 3015",
17
- "build": "tsc && tsc-alias --resolve-full-paths && npm run build:CSS",
18
- "build:CSS": "npm run minify-css && node combine-css.ts && cpx \"src/**/*.css\" dist --watch",
19
- "minify-css": "postcss src/**/*.css --use cssnano -d dist --no-map"
20
- },
21
- "peerDependencies": {
22
- "react": ">=16"
23
- },
24
- "files": [
25
- "dist",
26
- "LICENSE",
27
- "README.md"
28
- ],
29
- "keywords": [
30
- "react",
31
- "typescript",
32
- "awesome-project"
33
- ],
34
- "author": "Codie Digital",
35
- "license": "MIT",
36
- "devDependencies": {
37
- "@types/node": "^20.12.12",
38
- "@types/react": "^18.3.3",
39
- "@types/react-dom": "^18.3.0",
40
- "@types/styled-components": "^5.1.34",
41
- "concurrently": "^8.2.2",
42
- "copyfiles": "^2.4.1",
43
- "cssnano": "^7.0.1",
44
- "fs-extra": "^11.2.0",
45
- "postcss": "^8.4.38",
46
- "postcss-cli": "^11.0.0",
47
- "tsc-alias": "^1.8.10",
48
- "typescript": "^5.4.5"
49
- },
50
- "dependencies": {
51
- "@types/lodash": "^4.17.7",
52
- "axios": "^1.7.2",
53
- "chroma-js": "^2.4.2",
54
- "formik": "^2.4.6",
55
- "inversify": "^6.0.2",
56
- "lodash": "^4.17.21",
57
- "messageprovider": "^0.1.6",
58
- "moment": "^2.30.1",
59
- "next": "^14.2.3",
60
- "react": "18.3.1",
61
- "react-dom": "18.3.1",
62
- "react-ga": "^3.3.1",
63
- "react-google-recaptcha": "^3.1.0",
64
- "react-is": "^18.3.1",
65
- "react-rte": "^0.16.5",
66
- "react-select": "^5.8.0",
67
- "react-share": "^5.1.0",
68
- "react-webcam": "^7.2.0",
69
- "reflect-metadata": "^0.2.2",
70
- "sharp": "^0.33.4",
71
- "styled-components": "^6.1.13",
72
- "swagger-generator-codie": "^0.0.8",
73
- "yup": "^1.4.0",
74
- "zustand": "^4.5.2"
75
- }
76
- }
1
+ {
2
+ "name": "infinity-forge",
3
+ "version": "3.8.7",
4
+ "description": "codie Library",
5
+ "main": "./dist/index",
6
+ "module": "./dist/index",
7
+ "types": "./dist/index.d.ts",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/CodieDigital/codiedigital-library"
11
+ },
12
+ "scripts": {
13
+ "dev": "next -p 3052",
14
+ "deploy": "npm version patch && npm publish",
15
+ "next": "next build",
16
+ "start": "next start -p 3015",
17
+ "build": "tsc && tsc-alias --resolve-full-paths && npm run build:CSS",
18
+ "build:CSS": "npm run minify-css && node combine-css.ts && cpx \"src/**/*.css\" dist --watch",
19
+ "minify-css": "postcss src/**/*.css --use cssnano -d dist --no-map"
20
+ },
21
+ "peerDependencies": {
22
+ "react": ">=16"
23
+ },
24
+ "files": [
25
+ "dist",
26
+ "LICENSE",
27
+ "README.md"
28
+ ],
29
+ "keywords": [
30
+ "react",
31
+ "typescript",
32
+ "awesome-project"
33
+ ],
34
+ "author": "Codie Digital",
35
+ "license": "MIT",
36
+ "devDependencies": {
37
+ "@types/node": "^20.12.12",
38
+ "@types/react": "^18.3.3",
39
+ "@types/react-dom": "^18.3.0",
40
+ "@types/styled-components": "^5.1.34",
41
+ "concurrently": "^8.2.2",
42
+ "copyfiles": "^2.4.1",
43
+ "cssnano": "^7.0.1",
44
+ "fs-extra": "^11.2.0",
45
+ "postcss": "^8.4.38",
46
+ "postcss-cli": "^11.0.0",
47
+ "tsc-alias": "^1.8.10",
48
+ "typescript": "^5.4.5"
49
+ },
50
+ "dependencies": {
51
+ "@types/lodash": "^4.17.7",
52
+ "axios": "^1.7.2",
53
+ "chroma-js": "^2.4.2",
54
+ "formik": "^2.4.6",
55
+ "inversify": "^6.0.2",
56
+ "lodash": "^4.17.21",
57
+ "messageprovider": "^0.1.6",
58
+ "moment": "^2.30.1",
59
+ "next": "^14.2.3",
60
+ "react": "18.3.1",
61
+ "react-dom": "18.3.1",
62
+ "react-ga": "^3.3.1",
63
+ "react-google-recaptcha": "^3.1.0",
64
+ "react-is": "^18.3.1",
65
+ "react-rte": "^0.16.5",
66
+ "react-select": "^5.8.0",
67
+ "react-share": "^5.1.0",
68
+ "react-webcam": "^7.2.0",
69
+ "reflect-metadata": "^0.2.2",
70
+ "sharp": "^0.33.4",
71
+ "styled-components": "^6.1.13",
72
+ "swagger-generator-codie": "^0.0.8",
73
+ "yup": "^1.4.0",
74
+ "zustand": "^4.5.2"
75
+ }
76
+ }