@injectivelabs/exceptions 1.14.16 → 1.14.17-beta.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"HttpRequestException.d.ts","sourceRoot":"","sources":["../../../../src/exceptions/exceptions/HttpRequestException.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,OAAO,EAAE,YAAY,EAAa,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAErE,qBAAa,oBAAqB,SAAQ,iBAAiB;IAClD,UAAU,EAAE,MAAM,CAAyB;IAE3C,MAAM,EAAE,iBAAiB,CAAwB;gBAGtD,KAAK,EAAE,KAAK,EACZ,OAAO,CAAC,EAAE,YAAY,GAAG;QAAE,MAAM,CAAC,EAAE,iBAAiB,CAAA;KAAE;CAS1D"}
1
+ {"version":3,"file":"HttpRequestException.d.ts","sourceRoot":"","sources":["../../../../src/exceptions/exceptions/HttpRequestException.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,OAAO,EAAE,YAAY,EAAa,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAErE,qBAAa,oBAAqB,SAAQ,iBAAiB;IAClD,UAAU,EAAE,MAAM,CAAyB;IAE3C,MAAM,EAAE,iBAAiB,CAAwB;gBAGtD,KAAK,EAAE,KAAK,EACZ,OAAO,CAAC,EAAE,YAAY,GAAG;QAAE,MAAM,CAAC,EAAE,iBAAiB,CAAA;KAAE;CAU1D"}
@@ -12,6 +12,7 @@ class HttpRequestException extends base_1.ConcreteException {
12
12
  this.method = context
13
13
  ? context.method || types_1.HttpRequestMethod.Get
14
14
  : types_1.HttpRequestMethod.Get;
15
+ this.context = (context === null || context === void 0 ? void 0 : context.context) || 'Unknown';
15
16
  }
16
17
  }
17
18
  exports.HttpRequestException = HttpRequestException;
@@ -1 +1 @@
1
- {"version":3,"file":"HttpRequestException.js","sourceRoot":"","sources":["../../../../src/exceptions/exceptions/HttpRequestException.ts"],"names":[],"mappings":";;;AAAA,kCAA2C;AAE3C,oCAAqE;AAErE,MAAa,oBAAqB,SAAQ,wBAAiB;IAKzD,YACE,KAAY,EACZ,OAAuD;QAEvD,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;QARhB,eAAU,GAAW,sBAAsB,CAAA;QAE3C,WAAM,GAAsB,yBAAiB,CAAC,GAAG,CAAA;QAQtD,IAAI,CAAC,IAAI,GAAG,iBAAS,CAAC,WAAW,CAAA;QACjC,IAAI,CAAC,MAAM,GAAG,OAAO;YACnB,CAAC,CAAC,OAAO,CAAC,MAAM,IAAI,yBAAiB,CAAC,GAAG;YACzC,CAAC,CAAC,yBAAiB,CAAC,GAAG,CAAA;IAC3B,CAAC;CACF;AAhBD,oDAgBC"}
1
+ {"version":3,"file":"HttpRequestException.js","sourceRoot":"","sources":["../../../../src/exceptions/exceptions/HttpRequestException.ts"],"names":[],"mappings":";;;AAAA,kCAA2C;AAE3C,oCAAqE;AAErE,MAAa,oBAAqB,SAAQ,wBAAiB;IAKzD,YACE,KAAY,EACZ,OAAuD;QAEvD,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;QARhB,eAAU,GAAW,sBAAsB,CAAA;QAE3C,WAAM,GAAsB,yBAAiB,CAAC,GAAG,CAAA;QAQtD,IAAI,CAAC,IAAI,GAAG,iBAAS,CAAC,WAAW,CAAA;QACjC,IAAI,CAAC,MAAM,GAAG,OAAO;YACnB,CAAC,CAAC,OAAO,CAAC,MAAM,IAAI,yBAAiB,CAAC,GAAG;YACzC,CAAC,CAAC,yBAAiB,CAAC,GAAG,CAAA;QACzB,IAAI,CAAC,OAAO,GAAG,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,KAAI,SAAS,CAAA;IAC9C,CAAC;CACF;AAjBD,oDAiBC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HttpRequestException.d.ts","sourceRoot":"","sources":["../../../../src/exceptions/exceptions/HttpRequestException.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,OAAO,EAAE,YAAY,EAAa,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAErE,qBAAa,oBAAqB,SAAQ,iBAAiB;IAClD,UAAU,EAAE,MAAM,CAAyB;IAE3C,MAAM,EAAE,iBAAiB,CAAwB;gBAGtD,KAAK,EAAE,KAAK,EACZ,OAAO,CAAC,EAAE,YAAY,GAAG;QAAE,MAAM,CAAC,EAAE,iBAAiB,CAAA;KAAE;CAS1D"}
1
+ {"version":3,"file":"HttpRequestException.d.ts","sourceRoot":"","sources":["../../../../src/exceptions/exceptions/HttpRequestException.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,OAAO,EAAE,YAAY,EAAa,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAErE,qBAAa,oBAAqB,SAAQ,iBAAiB;IAClD,UAAU,EAAE,MAAM,CAAyB;IAE3C,MAAM,EAAE,iBAAiB,CAAwB;gBAGtD,KAAK,EAAE,KAAK,EACZ,OAAO,CAAC,EAAE,YAAY,GAAG;QAAE,MAAM,CAAC,EAAE,iBAAiB,CAAA;KAAE;CAU1D"}
@@ -9,6 +9,7 @@ export class HttpRequestException extends ConcreteException {
9
9
  this.method = context
10
10
  ? context.method || HttpRequestMethod.Get
11
11
  : HttpRequestMethod.Get;
12
+ this.context = context?.context || 'Unknown';
12
13
  }
13
14
  }
14
15
  //# sourceMappingURL=HttpRequestException.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HttpRequestException.js","sourceRoot":"","sources":["../../../../src/exceptions/exceptions/HttpRequestException.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,OAAO,EAAgB,SAAS,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAErE,MAAM,OAAO,oBAAqB,SAAQ,iBAAiB;IAClD,UAAU,GAAW,sBAAsB,CAAA;IAE3C,MAAM,GAAsB,iBAAiB,CAAC,GAAG,CAAA;IAExD,YACE,KAAY,EACZ,OAAuD;QAEvD,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;QAErB,IAAI,CAAC,IAAI,GAAG,SAAS,CAAC,WAAW,CAAA;QACjC,IAAI,CAAC,MAAM,GAAG,OAAO;YACnB,CAAC,CAAC,OAAO,CAAC,MAAM,IAAI,iBAAiB,CAAC,GAAG;YACzC,CAAC,CAAC,iBAAiB,CAAC,GAAG,CAAA;IAC3B,CAAC;CACF"}
1
+ {"version":3,"file":"HttpRequestException.js","sourceRoot":"","sources":["../../../../src/exceptions/exceptions/HttpRequestException.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE3C,OAAO,EAAgB,SAAS,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAA;AAErE,MAAM,OAAO,oBAAqB,SAAQ,iBAAiB;IAClD,UAAU,GAAW,sBAAsB,CAAA;IAE3C,MAAM,GAAsB,iBAAiB,CAAC,GAAG,CAAA;IAExD,YACE,KAAY,EACZ,OAAuD;QAEvD,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;QAErB,IAAI,CAAC,IAAI,GAAG,SAAS,CAAC,WAAW,CAAA;QACjC,IAAI,CAAC,MAAM,GAAG,OAAO;YACnB,CAAC,CAAC,OAAO,CAAC,MAAM,IAAI,iBAAiB,CAAC,GAAG;YACzC,CAAC,CAAC,iBAAiB,CAAC,GAAG,CAAA;QACzB,IAAI,CAAC,OAAO,GAAG,OAAO,EAAE,OAAO,IAAI,SAAS,CAAA;IAC9C,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.16",
4
+ "version": "1.14.17-beta.0",
5
5
  "sideEffects": false,
6
6
  "license": "Apache-2.0",
7
7
  "types": "dist/cjs/index.d.ts",
@@ -36,5 +36,5 @@
36
36
  "http-status-codes": "^2.2.0",
37
37
  "shx": "^0.3.2"
38
38
  },
39
- "gitHead": "d36e6b972a245f8288032f26cf717d7bb0bfc60d"
39
+ "gitHead": "c416c26ad818e9388da90a56a0687a4390a4b90d"
40
40
  }