@injectivelabs/exceptions 1.14.5-beta.3 → 1.14.5-beta.4

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.
@@ -12,8 +12,8 @@ class GrpcUnaryRequestException extends exception_1.ConcreteException {
12
12
  parse() {
13
13
  const { message } = this;
14
14
  if (message.toLowerCase().includes('response closed without headers')) {
15
- this.setMessage("Hang tight, we're under heavy load, refresh the page in a few seconds.");
16
- this.setOriginalMessage(`Hang tight, we're experiencing higher than usual demand, and are doing everything we can to improve performance. In the meantime, try refreshing the page until our code monkeys at our headquarters fix this.`);
15
+ this.setMessage('Product is under heavy load, refresh the page in a few seconds.');
16
+ this.setOriginalMessage(`The product is experiencing higher than usual demand. Hang tight, engineers are doing their best to improve the performance and efficiency.`);
17
17
  }
18
18
  }
19
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"GrpcUnaryRequestException.js","sourceRoot":"","sources":["../../../src/exceptions/GrpcUnaryRequestException.ts"],"names":[],"mappings":";;;AAAA,4CAAgD;AAChD,oCAAkD;AAElD,MAAa,yBAA0B,SAAQ,6BAAiB;IAG9D,YAAY,KAAY,EAAE,OAAsB;QAC9C,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;QAHhB,eAAU,GAAW,2BAA2B,CAAA;QAKrD,IAAI,CAAC,IAAI,GAAG,iBAAS,CAAC,gBAAgB,CAAA;IACxC,CAAC;IAEM,KAAK;QACV,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAA;QAExB,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC,EAAE;YACrE,IAAI,CAAC,UAAU,CACb,wEAAwE,CACzE,CAAA;YACD,IAAI,CAAC,kBAAkB,CACrB,gNAAgN,CACjN,CAAA;SACF;IACH,CAAC;CACF;AArBD,8DAqBC"}
1
+ {"version":3,"file":"GrpcUnaryRequestException.js","sourceRoot":"","sources":["../../../src/exceptions/GrpcUnaryRequestException.ts"],"names":[],"mappings":";;;AAAA,4CAAgD;AAChD,oCAAkD;AAElD,MAAa,yBAA0B,SAAQ,6BAAiB;IAG9D,YAAY,KAAY,EAAE,OAAsB;QAC9C,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;QAHhB,eAAU,GAAW,2BAA2B,CAAA;QAKrD,IAAI,CAAC,IAAI,GAAG,iBAAS,CAAC,gBAAgB,CAAA;IACxC,CAAC;IAEM,KAAK;QACV,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAA;QAExB,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC,EAAE;YACrE,IAAI,CAAC,UAAU,CACb,iEAAiE,CAClE,CAAA;YACD,IAAI,CAAC,kBAAkB,CACrB,6IAA6I,CAC9I,CAAA;SACF;IACH,CAAC;CACF;AArBD,8DAqBC"}
@@ -9,8 +9,8 @@ export class GrpcUnaryRequestException extends ConcreteException {
9
9
  parse() {
10
10
  const { message } = this;
11
11
  if (message.toLowerCase().includes('response closed without headers')) {
12
- this.setMessage("Hang tight, we're under heavy load, refresh the page in a few seconds.");
13
- this.setOriginalMessage(`Hang tight, we're experiencing higher than usual demand, and are doing everything we can to improve performance. In the meantime, try refreshing the page until our code monkeys at our headquarters fix this.`);
12
+ this.setMessage('Product is under heavy load, refresh the page in a few seconds.');
13
+ this.setOriginalMessage(`The product is experiencing higher than usual demand. Hang tight, engineers are doing their best to improve the performance and efficiency.`);
14
14
  }
15
15
  }
16
16
  }
@@ -1 +1 @@
1
- {"version":3,"file":"GrpcUnaryRequestException.js","sourceRoot":"","sources":["../../../src/exceptions/GrpcUnaryRequestException.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAgB,SAAS,EAAE,MAAM,UAAU,CAAA;AAElD,MAAM,OAAO,yBAA0B,SAAQ,iBAAiB;IACvD,UAAU,GAAW,2BAA2B,CAAA;IAEvD,YAAY,KAAY,EAAE,OAAsB;QAC9C,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;QAErB,IAAI,CAAC,IAAI,GAAG,SAAS,CAAC,gBAAgB,CAAA;IACxC,CAAC;IAEM,KAAK;QACV,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAA;QAExB,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC,EAAE;YACrE,IAAI,CAAC,UAAU,CACb,wEAAwE,CACzE,CAAA;YACD,IAAI,CAAC,kBAAkB,CACrB,gNAAgN,CACjN,CAAA;SACF;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"GrpcUnaryRequestException.js","sourceRoot":"","sources":["../../../src/exceptions/GrpcUnaryRequestException.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAgB,SAAS,EAAE,MAAM,UAAU,CAAA;AAElD,MAAM,OAAO,yBAA0B,SAAQ,iBAAiB;IACvD,UAAU,GAAW,2BAA2B,CAAA;IAEvD,YAAY,KAAY,EAAE,OAAsB;QAC9C,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;QAErB,IAAI,CAAC,IAAI,GAAG,SAAS,CAAC,gBAAgB,CAAA;IACxC,CAAC;IAEM,KAAK;QACV,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAA;QAExB,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAAC,EAAE;YACrE,IAAI,CAAC,UAAU,CACb,iEAAiE,CAClE,CAAA;YACD,IAAI,CAAC,kBAAkB,CACrB,6IAA6I,CAC9I,CAAA;SACF;IACH,CAAC;CACF"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@injectivelabs/exceptions",
3
3
  "description": "List of exceptions that can be reused throughout Injective's projects.",
4
- "version": "1.14.5-beta.3",
4
+ "version": "1.14.5-beta.4",
5
5
  "sideEffects": false,
6
6
  "license": "Apache-2.0",
7
7
  "main": "dist/cjs/index.js",
@@ -37,5 +37,5 @@
37
37
  "link-module-alias": "^1.2.0",
38
38
  "shx": "^0.3.2"
39
39
  },
40
- "gitHead": "c4ee8eafbea5f5ebe4af3447eb8d97c05bf2be44"
40
+ "gitHead": "c611ecc31df3db436f3be8329cd12467aa1c4818"
41
41
  }