jourycms-sdk 1.1.9 → 1.1.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAEhB,aAAa,EAEd,MAAM,OAAO,CAAC;AAEf,OAAO,oBAAoB,MAAM,qCAAqC,CAAC;AACvE,OAAO,uBAAuB,MAAM,wCAAwC,CAAC;AAC7E,OAAO,uBAAuB,MAAM,wCAAwC,CAAC;AAC7E,OAAO,gBAAgB,MAAM,qCAAqC,CAAC;AACnE,OAAO,UAAU,MAAM,eAAe,CAAC;AACvC,OAAO,EACL,OAAO,EACP,8BAA8B,EAC9B,gCAAgC,EACjC,MAAM,YAAY,CAAC;AACpB,OAAO,kBAAkB,MAAM,iBAAiB,CAAC;AAIjD,OAAO,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC;AAChC,OAAO,sBAAsB,MAAM,uCAAuC,CAAC;AAE3E,MAAM,CAAC,OAAO,OAAO,WAAY,YAAW,GAAG,CAAC,IAAI;IAClD,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;IAChC,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAC,UAAU,CAAC;IAChC,OAAO,CAAC,MAAM,CAAC,SAAS,CAEjB;IACP,OAAO,CAAC,aAAa,CAAK;IAC1B,SAAS,CAAC,iBAAiB,EAAE,OAAO,CAClC,MAAM,CACJ,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,KAAK,CAAC,eAAe,CAAC,aAAa,GAAG,UAAU,EAC/D,GAAG,CAAC,iBAAiB,CACtB,CACF,CAAM;IACP,SAAS,CAAC,gBAAgB,EAAE,kBAAkB,CAAC;IAE/C,MAAM,CAAC,WAAW,CAAC,MAAM,EAAE,GAAG,CAAC,UAAU,EAAE,EAAE,GAAE,MAAkB;gBAKrD,MAAM,EAAE,GAAG,CAAC,UAAU;IAMlC,IAAI,IAAI,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,GAAG,GAAG,GAAG,CAAC,MAAM;IAgBnC,kBAAkB,CAAC,KAAK,EAAE,GAAG,GAAG,KAAK,IAAI,gBAAgB;IAIzD,WAAW,CAAC,CAAC,SAAS,GAAG,CAAC,SAAS,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAC,EAAE,GAAG,CAAC;IAuJ7D,kBAAkB;IAIlB,qBAAqB;IAIrB,eAAe;CAGvB;AAED,OAAO,EACL,gBAAgB,EAAE,OAAO,EACzB,8BAA8B,EAC9B,gCAAgC,EACjC,CAAC"}
package/dist/index.js CHANGED
@@ -113,6 +113,7 @@ class JouryCMSSdk {
113
113
  return result;
114
114
  }
115
115
  handleError(error) {
116
+ console.log(error.message?.red, error);
116
117
  if (this.isApiResponseError(error))
117
118
  return error;
118
119
  if ((0, axios_1.isAxiosError)(error)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jourycms-sdk",
3
- "version": "1.1.9",
3
+ "version": "1.1.11",
4
4
  "description": "Sdk for Joury CMS",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -9,7 +9,7 @@
9
9
  ],
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "https://github.com/reevosolutions/jourycms-project"
12
+ "url": "git+https://github.com/reevosolutions/jourycms-project.git"
13
13
  },
14
14
  "keywords": [
15
15
  "levelup",
@@ -25,8 +25,8 @@
25
25
  "lint": "yarn lint:src && yarn lint:typing",
26
26
  "lint:fix": "eslint ./src --fix",
27
27
  "push": "git add . && git commit -m 'update' && git push",
28
- "publish": "yarn build && npm publish",
29
- "pub": "yarn push && yarn publish"
28
+ "pub": "npm run build && npm run push && npm publish",
29
+ "up": "npm version patch && npm publish"
30
30
  },
31
31
  "dependencies": {
32
32
  "axios": "^1.7.7",