@cyclomedia/streetsmart-api 23.14.1 → 23.14.2

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/esm/index.js CHANGED
@@ -63,7 +63,7 @@ function replaceDoubleSlashes(url) {
63
63
  return url.replace(/([^:]\/)\/+/g, '$1');
64
64
  }
65
65
  function getStaticBaseUrl() {
66
- return addTrailingSlash(replaceDoubleSlashes(`${"https://streetsmart.cyclomedia.com/api"}/v${formatVersionToMajorMinor("23.14.0")}`));
66
+ return addTrailingSlash(replaceDoubleSlashes(`${"https://streetsmart.cyclomedia.com/api"}/v${formatVersionToMajorMinor("23.14.1")}`));
67
67
  }
68
68
 
69
69
  // @ts-ignore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cyclomedia/streetsmart-api",
3
- "version": "23.14.1",
3
+ "version": "23.14.2",
4
4
  "description": "The Streetsmart API wrapped as a npm package",
5
5
  "scripts": {
6
6
  "build": "scripts/build.sh",
@@ -33,16 +33,19 @@
33
33
  "@types/jest": "^29.5.7",
34
34
  "jest": "^29.7.0",
35
35
  "rollup": "^4.1.4",
36
- "rollup-plugin-dts": "^6.1.0",
37
36
  "ts-jest": "^29.1.1",
38
37
  "typedoc": "^0.25.2",
39
38
  "typescript": "^5.2.2"
40
39
  },
41
- "main": "dist/cjs/index.js",
42
40
  "module": "dist/esm/index.js",
41
+ "exports": {
42
+ ".": {
43
+ "default": "./dist/esm/index.js"
44
+ }
45
+ },
43
46
  "files": [
44
47
  "dist",
45
48
  "index.d.ts"
46
49
  ],
47
- "types": "index.d.ts"
50
+ "typings": "index.d.ts"
48
51
  }