@jctrans-materials/shared 1.0.41-beta.4 → 1.0.41-beta.5

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.cjs.js CHANGED
Binary file
package/dist/index.d.ts CHANGED
@@ -1071,6 +1071,8 @@ export declare type ReportType = "City" | "Seaport" | "Airport" | "Line" | "Carr
1071
1071
  declare interface RequestAdapter {
1072
1072
  get(url: string, config?: RequestConfig): Promise<any>;
1073
1073
  post(url: string, data?: any, config?: RequestConfig): Promise<any>;
1074
+ patch(url: string, data?: any, config?: RequestConfig): Promise<any>;
1075
+ delete(url: string, config?: RequestConfig): Promise<any>;
1074
1076
  }
1075
1077
 
1076
1078
  declare interface RequestConfig {
@@ -1079,7 +1081,7 @@ declare interface RequestConfig {
1079
1081
  isToken?: boolean;
1080
1082
  }
1081
1083
 
1082
- declare type RequestDriver = "axios" | "fetch";
1084
+ declare type RequestDriver = "axios" | "fetch" | "custom";
1083
1085
 
1084
1086
  declare interface RequestOptions {
1085
1087
  onUnauthorized?: () => void;
package/dist/index.esm.js CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jctrans-materials/shared",
3
- "version": "1.0.41-beta.4",
3
+ "version": "1.0.41-beta.5",
4
4
  "private": false,
5
5
  "description": "Shared utilities including auth, request, crypto, and GrowingIO analytics.",
6
6
  "main": "dist/index.cjs.js",