b23-lib 1.2.10 → 1.2.11

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 CHANGED
@@ -319,6 +319,11 @@ declare const ResponseUtility: {
319
319
  };
320
320
  };
321
321
 
322
+ type ErrorType = {
323
+ status: number;
324
+ statusText: string;
325
+ error: any;
326
+ };
322
327
  type SuccessType = {
323
328
  status: number;
324
329
  statusText: string;
@@ -334,4 +339,4 @@ declare const Logger: {
334
339
  logInvalidPayload: (functionName: string, errorMessage: string) => void;
335
340
  };
336
341
 
337
- export { type AuthMiddlewareConfig, type AuthTokenType, AuthUtility, type AuthUtilityConfig, DefaultAuthMiddlewareConfig, DefaultAuthUtilityConfig, DynamoDBUtility as DynamoDB, Fetch, Logger, ResponseUtility, Schema, Utils };
342
+ export { type AuthMiddlewareConfig, type AuthTokenType, AuthUtility, type AuthUtilityConfig, DefaultAuthMiddlewareConfig, DefaultAuthUtilityConfig, DynamoDBUtility as DynamoDB, type ErrorType, Fetch, Logger, ResponseUtility, Schema, type SuccessType, Utils };
package/dist/index.d.ts CHANGED
@@ -319,6 +319,11 @@ declare const ResponseUtility: {
319
319
  };
320
320
  };
321
321
 
322
+ type ErrorType = {
323
+ status: number;
324
+ statusText: string;
325
+ error: any;
326
+ };
322
327
  type SuccessType = {
323
328
  status: number;
324
329
  statusText: string;
@@ -334,4 +339,4 @@ declare const Logger: {
334
339
  logInvalidPayload: (functionName: string, errorMessage: string) => void;
335
340
  };
336
341
 
337
- export { type AuthMiddlewareConfig, type AuthTokenType, AuthUtility, type AuthUtilityConfig, DefaultAuthMiddlewareConfig, DefaultAuthUtilityConfig, DynamoDBUtility as DynamoDB, Fetch, Logger, ResponseUtility, Schema, Utils };
342
+ export { type AuthMiddlewareConfig, type AuthTokenType, AuthUtility, type AuthUtilityConfig, DefaultAuthMiddlewareConfig, DefaultAuthUtilityConfig, DynamoDBUtility as DynamoDB, type ErrorType, Fetch, Logger, ResponseUtility, Schema, type SuccessType, Utils };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "b23-lib",
3
- "version": "1.2.10",
3
+ "version": "1.2.11",
4
4
  "description": "This repo hold common classes, type and util functiona",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",