@localazy/cdn-client 1.1.2 → 1.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@localazy/cdn-client",
3
- "version": "1.1.2",
3
+ "version": "1.2.1",
4
4
  "description": "Node.js module that allows you to easily interact with the Localazy CDN.",
5
5
  "author": "Localazy <team@localazy.com>",
6
6
  "license": "MIT",
@@ -27,9 +27,10 @@
27
27
  "g11n"
28
28
  ],
29
29
  "type": "module",
30
- "main": "./dist/localazy-cdn.js",
31
- "unpkg": "./dist/browser/localazy-cdn.umd.min.js",
32
- "jsdelivr": "./dist/browser/localazy-cdn.umd.min.js",
30
+ "main": "./dist/node/localazy-cdn-client.cjs",
31
+ "module": "./dist/localazy-cdn-client.js",
32
+ "unpkg": "./dist/browser/localazy-cdn-client.umd.min.js",
33
+ "jsdelivr": "./dist/browser/localazy-cdn-client.umd.min.js",
33
34
  "types": "./dist/index.d.ts",
34
35
  "exports": {
35
36
  ".": {
@@ -37,11 +38,11 @@
37
38
  "default": "./dist/index.d.ts"
38
39
  },
39
40
  "browser": {
40
- "default": "./dist/browser/localazy-cdn.umd.min.js"
41
+ "default": "./dist/browser/localazy-cdn-client.umd.min.js"
41
42
  },
42
43
  "default": {
43
- "require": "./dist/node/localazy-cdn.cjs",
44
- "default": "./dist/localazy-cdn.js"
44
+ "require": "./dist/node/localazy-cdn-client.cjs",
45
+ "default": "./dist/localazy-cdn-client.js"
45
46
  }
46
47
  }
47
48
  },
@@ -67,11 +68,12 @@
67
68
  "typedoc:md": "rimraf typedoc/md/* && typedoc --plugin typedoc-plugin-markdown --plugin typedoc-plugin-missing-exports --tsconfig tsconfig.typedoc.json --out typedoc/md src/main.ts"
68
69
  },
69
70
  "dependencies": {
70
- "axios": "^1.6.7",
71
+ "isomorphic-fetch": "^3.0.0",
71
72
  "lodash": "^4.17.21"
72
73
  },
73
74
  "devDependencies": {
74
75
  "@localazy/conventional-changelog-preset": "github:localazy/conventional-changelog-preset",
76
+ "@types/isomorphic-fetch": "^0.0.39",
75
77
  "@types/lodash": "^4.17.0",
76
78
  "@types/node": "^20.11.26",
77
79
  "@typescript-eslint/eslint-plugin": "^7.2.0",
@@ -86,6 +88,7 @@
86
88
  "eslint": "^8.57.0",
87
89
  "eslint-config-airbnb-base": "^15.0.0",
88
90
  "eslint-config-airbnb-typescript": "^18.0.0",
91
+ "fetch-mock": "^9.11.0",
89
92
  "reexport": "^1.4.1",
90
93
  "rollup-plugin-terser": "^7.0.2",
91
94
  "typedoc": "^0.25.12",