@kopynator/core 1.0.0 → 1.0.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/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -2
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -33,7 +33,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
33
33
|
var KopyFetcher = class {
|
|
34
34
|
constructor(config) {
|
|
35
35
|
this.config = config;
|
|
36
|
-
this.baseUrl = config.baseUrl || "
|
|
36
|
+
this.baseUrl = config.baseUrl || "https://api.kopynator.com/api";
|
|
37
37
|
}
|
|
38
38
|
baseUrl;
|
|
39
39
|
async fetchTranslations(locale) {
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kopynator/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Core agnostic logic for Kopynator SDKs",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -19,7 +19,10 @@
|
|
|
19
19
|
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
|
|
20
20
|
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
|
|
21
21
|
"lint": "eslint src/**/*.ts",
|
|
22
|
-
"test": "jest"
|
|
22
|
+
"test": "jest",
|
|
23
|
+
"release:patch": "npm version patch",
|
|
24
|
+
"release:minor": "npm version minor",
|
|
25
|
+
"release:major": "npm version major"
|
|
23
26
|
},
|
|
24
27
|
"devDependencies": {
|
|
25
28
|
"@types/jest": "^29.5.0",
|