@xube/kit-request 0.0.99 → 0.0.101

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,2 @@
1
1
  export declare const XUBE_BASE_API_URL = "https://api.xube.io";
2
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,wBAAwB,CAAC"}
package/dist/helpers.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export declare const suggestSupportRequest: (message: string) => string;
2
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,YAAa,MAAM,WAA8C,CAAA"}
package/dist/index.d.ts CHANGED
@@ -3,3 +3,4 @@ export * from "./helpers";
3
3
  export * from "./request/headers";
4
4
  export * from "./request/request";
5
5
  export * from "./response/response";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export declare const contentTypeJSONHeader: {
2
2
  "Content-Type": string;
3
3
  };
4
+ //# sourceMappingURL=headers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"headers.d.ts","sourceRoot":"","sources":["../../src/request/headers.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB;;CAEjC,CAAC"}
@@ -1,2 +1,3 @@
1
1
  import { XubeResponse } from "../response/response";
2
2
  export declare const xubePostRequest: <TResponse = any>(body: Record<string, any> | string, path: string, headers?: Record<string, string>) => Promise<XubeResponse<TResponse>>;
3
+ //# sourceMappingURL=request.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../src/request/request.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD,eAAO,MAAM,eAAe,GAAU,SAAS,cACvC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,QAC5B,MAAM,YACF,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAC/B,OAAO,CAAC,YAAY,CAAC,SAAS,CAAC,CA4BjC,CAAC"}
@@ -17,3 +17,4 @@ export declare class XubeResponse<TData> implements XubeResponseProps<TData> {
17
17
  export declare const xubeResponseSucceeded: <TData>(xubeResponse: XubeResponse<TData>) => boolean;
18
18
  export declare const xubeResponseFailed: <TData>(xubeResponse: XubeResponse<TData>) => boolean;
19
19
  export declare const switchXubeResponseType: <TDATA_IN, TDATA_OUT>(inXubeResponse: XubeResponse<TDATA_IN>, log?: XubeLog) => XubeResponse<TDATA_OUT>;
20
+ //# sourceMappingURL=response.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../src/response/response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAG3E,MAAM,WAAW,iBAAiB,CAAC,KAAK;IACtC,CAAC,WAAW,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;IACnC,CAAC,KAAK,CAAC,CAAC,EAAE,MAAM,CAAC;IACjB,CAAC,IAAI,CAAC,CAAC,EAAE,KAAK,CAAC;CAChB;AAED,qBAAa,YAAY,CAAC,KAAK,CAAE,YAAW,iBAAiB,CAAC,KAAK,CAAC;IAC3D,UAAU,EAAE,UAAU,GAAG,MAAM,CAAC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,KAAK,CAAC;gBAER,KAAK,EAAE,iBAAiB,CAAC,KAAK,CAAC;IAS3C,YAAY,QAAO,OAAO,CAAgC;IAC1D,SAAS,QAAO,OAAO,CAA6B;IACpD,sBAAsB,GAAI,QAAQ,EAAE,SAAS,+BACO;CACrD;AAED,eAAO,MAAM,qBAAqB,GAAI,KAAK,gBAC3B,YAAY,CAAC,KAAK,CAAC,KAChC,OAAyC,CAAC;AAE7C,eAAO,MAAM,kBAAkB,GAAI,KAAK,gBACxB,YAAY,CAAC,KAAK,CAAC,KAChC,OAA+C,CAAC;AAEnD,eAAO,MAAM,sBAAsB,GAAI,QAAQ,EAAE,SAAS,kBACxC,YAAY,CAAC,QAAQ,CAAC,QACjC,OAAO,KACX,YAAY,CAAC,SAAS,CAWxB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xube/kit-request",
3
- "version": "0.0.99",
3
+ "version": "0.0.101",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -17,11 +17,11 @@
17
17
  },
18
18
  "homepage": "https://github.com/XubeLtd/data-logger#readme",
19
19
  "dependencies": {
20
- "@xube/kit-constants": "^0.0.99",
21
- "@xube/kit-generator": "^0.0.99",
22
- "@xube/kit-log": "^0.0.99"
20
+ "@xube/kit-constants": "^0.0.101",
21
+ "@xube/kit-generator": "^0.0.101",
22
+ "@xube/kit-log": "^0.0.101"
23
23
  },
24
24
  "devDependencies": {
25
- "@xube/kit-build": "^0.0.99"
25
+ "@xube/kit-build": "^0.0.101"
26
26
  }
27
27
  }