@xylabs/sdk-js 6.0.8 → 6.0.10

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.
Files changed (2) hide show
  1. package/README.md +0 -125
  2. package/package.json +37 -37
package/README.md CHANGED
@@ -2746,80 +2746,6 @@ insert(value): Promise<T>;
2746
2746
 
2747
2747
  `Promise`\<`T`\>
2748
2748
 
2749
- ### <a id="AxiosJson"></a>AxiosJson
2750
-
2751
- [**@xylabs/sdk-js**](#../README)
2752
-
2753
- ***
2754
-
2755
- ## Deprecated
2756
-
2757
- use axiosJsonConfig instead
2758
-
2759
- ## Extends
2760
-
2761
- - `Axios`
2762
-
2763
- ## Constructors
2764
-
2765
- ### Constructor
2766
-
2767
- ```ts
2768
- new AxiosJson(config?): AxiosJson;
2769
- ```
2770
-
2771
- ### Parameters
2772
-
2773
- #### config?
2774
-
2775
- `RawAxiosJsonRequestConfig`
2776
-
2777
- ### Returns
2778
-
2779
- `AxiosJson`
2780
-
2781
- ### Overrides
2782
-
2783
- ```ts
2784
- Axios.constructor
2785
- ```
2786
-
2787
- ## Methods
2788
-
2789
- ### ~~axiosConfig()~~
2790
-
2791
- ```ts
2792
- static axiosConfig(config?): RawAxiosJsonRequestConfig;
2793
- ```
2794
-
2795
- ### Parameters
2796
-
2797
- #### config?
2798
-
2799
- `RawAxiosJsonRequestConfig`
2800
-
2801
- ### Returns
2802
-
2803
- `RawAxiosJsonRequestConfig`
2804
-
2805
- ***
2806
-
2807
- ### ~~create()~~
2808
-
2809
- ```ts
2810
- static create(config?): Axios;
2811
- ```
2812
-
2813
- ### Parameters
2814
-
2815
- #### config?
2816
-
2817
- `RawAxiosJsonRequestConfig`
2818
-
2819
- ### Returns
2820
-
2821
- `Axios`
2822
-
2823
2749
  ### <a id="Base"></a>Base
2824
2750
 
2825
2751
  [**@xylabs/sdk-js**](#../README)
@@ -7392,33 +7318,6 @@ Custom error returned by errorFunc
7392
7318
  const user = assertEx(getUser(), () => new UserNotFoundError('User not found'))
7393
7319
  ```
7394
7320
 
7395
- ### <a id="axiosJsonConfig"></a>axiosJsonConfig
7396
-
7397
- [**@xylabs/sdk-js**](#../README)
7398
-
7399
- ***
7400
-
7401
- ```ts
7402
- function axiosJsonConfig(config?): RawAxiosJsonRequestConfig;
7403
- ```
7404
-
7405
- Creates an Axios config preconfigured for JSON requests with optional gzip compression.
7406
- Request bodies exceeding `compressLength` (default 1024 bytes) are automatically gzip-compressed.
7407
-
7408
- ## Parameters
7409
-
7410
- ### config?
7411
-
7412
- `RawAxiosJsonRequestConfig`\<`any`\>
7413
-
7414
- Base Axios config, optionally including a `compressLength` threshold
7415
-
7416
- ## Returns
7417
-
7418
- `RawAxiosJsonRequestConfig`
7419
-
7420
- A fully configured Axios request config with JSON transforms
7421
-
7422
7321
  ### <a id="cloneContextWithoutSpan"></a>cloneContextWithoutSpan
7423
7322
 
7424
7323
  [**@xylabs/sdk-js**](#../README)
@@ -15835,30 +15734,6 @@ Fallback message if no custom message is provided
15835
15734
 
15836
15735
  `undefined`
15837
15736
 
15838
- ### <a id="axios"></a>axios
15839
-
15840
- [**@xylabs/sdk-js**](#../README)
15841
-
15842
- ***
15843
-
15844
- ```ts
15845
- const axios: Axios;
15846
- ```
15847
-
15848
- ## Deprecated
15849
-
15850
- use axiosJson instead
15851
-
15852
- ### <a id="axiosJson"></a>axiosJson
15853
-
15854
- [**@xylabs/sdk-js**](#../README)
15855
-
15856
- ***
15857
-
15858
- ```ts
15859
- const axiosJson: Axios;
15860
- ```
15861
-
15862
15737
  ### <a id="bitsToNibbles"></a>bitsToNibbles
15863
15738
 
15864
15739
  [**@xylabs/sdk-js**](#../README)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xylabs/sdk-js",
3
- "version": "6.0.8",
3
+ "version": "6.0.10",
4
4
  "description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
5
5
  "keywords": [
6
6
  "xylabs",
@@ -44,46 +44,46 @@
44
44
  "README.md"
45
45
  ],
46
46
  "dependencies": {
47
- "@xylabs/api": "~6.0.8",
48
- "@xylabs/assert": "~6.0.8",
49
- "@xylabs/arraybuffer": "~6.0.8",
50
- "@xylabs/base": "~6.0.8",
51
- "@xylabs/bignumber": "~6.0.8",
52
- "@xylabs/creatable": "~6.0.8",
53
- "@xylabs/buffer": "~6.0.8",
54
- "@xylabs/decimal-precision": "~6.0.8",
55
- "@xylabs/delay": "~6.0.8",
56
- "@xylabs/enum": "~6.0.8",
57
- "@xylabs/error": "~6.0.8",
58
- "@xylabs/eth-address": "~6.0.8",
59
- "@xylabs/array": "~6.0.8",
60
- "@xylabs/events": "~6.0.8",
61
- "@xylabs/exists": "~6.0.8",
62
- "@xylabs/forget": "~6.0.8",
63
- "@xylabs/fetch": "~6.0.8",
64
- "@xylabs/function-name": "~6.0.8",
65
- "@xylabs/hex": "~6.0.8",
66
- "@xylabs/logger": "~6.0.8",
67
- "@xylabs/object": "~6.0.8",
68
- "@xylabs/platform": "~6.0.8",
69
- "@xylabs/profile": "~6.0.8",
70
- "@xylabs/promise": "~6.0.8",
71
- "@xylabs/retry": "~6.0.8",
72
- "@xylabs/set": "~6.0.8",
73
- "@xylabs/static-implements": "~6.0.8",
74
- "@xylabs/storage": "~6.0.8",
75
- "@xylabs/telemetry": "~6.0.8",
76
- "@xylabs/telemetry-exporter": "~6.0.8",
77
- "@xylabs/timer": "~6.0.8",
78
- "@xylabs/url": "~6.0.8",
79
- "@xylabs/zod": "~6.0.8",
80
- "@xylabs/typeof": "~6.0.8"
47
+ "@xylabs/assert": "~6.0.10",
48
+ "@xylabs/array": "~6.0.10",
49
+ "@xylabs/arraybuffer": "~6.0.10",
50
+ "@xylabs/api": "~6.0.10",
51
+ "@xylabs/bignumber": "~6.0.10",
52
+ "@xylabs/creatable": "~6.0.10",
53
+ "@xylabs/buffer": "~6.0.10",
54
+ "@xylabs/decimal-precision": "~6.0.10",
55
+ "@xylabs/delay": "~6.0.10",
56
+ "@xylabs/enum": "~6.0.10",
57
+ "@xylabs/error": "~6.0.10",
58
+ "@xylabs/eth-address": "~6.0.10",
59
+ "@xylabs/base": "~6.0.10",
60
+ "@xylabs/events": "~6.0.10",
61
+ "@xylabs/exists": "~6.0.10",
62
+ "@xylabs/fetch": "~6.0.10",
63
+ "@xylabs/forget": "~6.0.10",
64
+ "@xylabs/hex": "~6.0.10",
65
+ "@xylabs/logger": "~6.0.10",
66
+ "@xylabs/function-name": "~6.0.10",
67
+ "@xylabs/object": "~6.0.10",
68
+ "@xylabs/platform": "~6.0.10",
69
+ "@xylabs/profile": "~6.0.10",
70
+ "@xylabs/promise": "~6.0.10",
71
+ "@xylabs/retry": "~6.0.10",
72
+ "@xylabs/set": "~6.0.10",
73
+ "@xylabs/static-implements": "~6.0.10",
74
+ "@xylabs/telemetry": "~6.0.10",
75
+ "@xylabs/telemetry-exporter": "~6.0.10",
76
+ "@xylabs/timer": "~6.0.10",
77
+ "@xylabs/storage": "~6.0.10",
78
+ "@xylabs/typeof": "~6.0.10",
79
+ "@xylabs/url": "~6.0.10",
80
+ "@xylabs/zod": "~6.0.10"
81
81
  },
82
82
  "devDependencies": {
83
83
  "@opentelemetry/api": "^1.9.1",
84
84
  "@opentelemetry/sdk-trace-base": "^2.7.1",
85
- "@xylabs/toolchain": "^8.1.14",
86
- "@xylabs/tsconfig": "^8.1.14",
85
+ "@xylabs/toolchain": "^8.1.16",
86
+ "@xylabs/tsconfig": "^8.1.16",
87
87
  "async-mutex": "^0.5.0",
88
88
  "bn.js": "^5.2.3",
89
89
  "buffer": "^6.0.3",