@liquidcommerce/elements-sdk 2.7.16 → 2.7.18

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.
@@ -34,8 +34,6 @@ export interface IAuthWithConfigs {
34
34
  }
35
35
  export declare class AuthClientService {
36
36
  private static readonly TOKEN_EXPIRATION_BUFFER_MS;
37
- private static readonly MAX_RETRIES;
38
- private static readonly RETRY_DELAY_MS;
39
37
  private readonly apiKey;
40
38
  private readonly baseUrl;
41
39
  private readonly env;
@@ -64,6 +62,5 @@ export declare class AuthClientService {
64
62
  private buildUrl;
65
63
  private buildHeaders;
66
64
  private getProxyHeaders;
67
- private isAuthError;
68
- private shouldRetryNonAuth;
65
+ private isAccessTokenError;
69
66
  }
@@ -21,23 +21,16 @@ export interface IRequestOptions {
21
21
  export interface IHttpRequestConfig {
22
22
  url: string;
23
23
  options: IHttpClientOptions;
24
- retryConfig?: {
25
- maxRetries: number;
26
- retryDelay: number;
27
- shouldRetry?: (error: any, response?: ICustomResponse) => boolean;
28
- };
29
24
  }
30
25
  export declare class HttpClientService {
31
26
  private readonly fetchImpl;
32
27
  private readonly logger;
33
28
  constructor();
34
29
  request(config: IHttpRequestConfig): Promise<ICustomResponse>;
35
- private defaultShouldRetry;
36
30
  private logFailedResponse;
37
31
  private logNetworkError;
38
32
  private diagnosePossibleCauses;
39
33
  private enhanceError;
40
- private delay;
41
34
  private getFetchImplementation;
42
35
  private fetchAdapter;
43
36
  private xhrFetch;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "LiquidCommerce Elements SDK",
4
4
  "license": "UNLICENSED",
5
5
  "author": "LiquidCommerce Team",
6
- "version": "2.7.16",
6
+ "version": "2.7.18",
7
7
  "homepage": "https://docs.liquidcommerce.co/elements-sdk",
8
8
  "repository": {
9
9
  "type": "git",
@@ -77,9 +77,9 @@
77
77
  "embeddable commerce"
78
78
  ],
79
79
  "devDependencies": {
80
- "@biomejs/biome": "^2.4.14",
81
- "@commitlint/cli": "^21.0.0",
82
- "@commitlint/config-conventional": "^21.0.0",
80
+ "@biomejs/biome": "^2.4.15",
81
+ "@commitlint/cli": "^21.0.1",
82
+ "@commitlint/config-conventional": "^21.0.1",
83
83
  "@rollup/plugin-alias": "^6.0.0",
84
84
  "@rollup/plugin-commonjs": "^29.0.2",
85
85
  "@rollup/plugin-json": "^6.1.0",
@@ -89,11 +89,11 @@
89
89
  "@semantic-release/changelog": "^6.0.3",
90
90
  "@semantic-release/commit-analyzer": "^13.0.1",
91
91
  "@semantic-release/git": "^10.0.1",
92
- "@semantic-release/github": "^12.0.6",
92
+ "@semantic-release/github": "^12.0.8",
93
93
  "@semantic-release/npm": "^13.1.5",
94
- "@semantic-release/release-notes-generator": "^14.1.0",
94
+ "@semantic-release/release-notes-generator": "^14.1.1",
95
95
  "@types/core-js": "^2.5.8",
96
- "@types/node": "^25.6.2",
96
+ "@types/node": "^25.7.0",
97
97
  "conventional-changelog": "^7.2.0",
98
98
  "husky": "^9.1.7",
99
99
  "process": "^0.11.10",
@@ -102,7 +102,7 @@
102
102
  "rollup-plugin-typescript2": "^0.37.0",
103
103
  "semantic-release": "^25.0.3",
104
104
  "ts-node": "^10.9.2",
105
- "typescript": "^5.9.3"
105
+ "typescript": "5.9.3"
106
106
  },
107
107
  "engines": {
108
108
  "node": ">=22"