arky-sdk 0.3.16 → 0.3.17
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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/types.d.cts +0 -1
- package/dist/types.d.ts +0 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -26,7 +26,7 @@ interface HttpClientConfig {
|
|
|
26
26
|
isAuthenticated?: () => boolean;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
declare const SDK_VERSION = "0.3.
|
|
29
|
+
declare const SDK_VERSION = "0.3.17";
|
|
30
30
|
declare const SUPPORTED_FRAMEWORKS: readonly ["astro", "react", "vue", "svelte", "vanilla"];
|
|
31
31
|
interface ApiConfig {
|
|
32
32
|
httpClient: any;
|
package/dist/index.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ interface HttpClientConfig {
|
|
|
26
26
|
isAuthenticated?: () => boolean;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
declare const SDK_VERSION = "0.3.
|
|
29
|
+
declare const SDK_VERSION = "0.3.17";
|
|
30
30
|
declare const SUPPORTED_FRAMEWORKS: readonly ["astro", "react", "vue", "svelte", "vanilla"];
|
|
31
31
|
interface ApiConfig {
|
|
32
32
|
httpClient: any;
|
package/dist/index.js
CHANGED
|
@@ -247,7 +247,7 @@ var createBusinessApi = (apiConfig) => {
|
|
|
247
247
|
return apiConfig.httpClient.delete(`/v1/businesses/${params.id}`, options);
|
|
248
248
|
},
|
|
249
249
|
async getBusiness(params, options) {
|
|
250
|
-
return apiConfig.httpClient.get(`/v1/businesses/${
|
|
250
|
+
return apiConfig.httpClient.get(`/v1/businesses/${apiConfig.businessId}`, options);
|
|
251
251
|
},
|
|
252
252
|
async getBusinesses(params, options) {
|
|
253
253
|
return apiConfig.httpClient.get(`/v1/businesses`, options);
|
|
@@ -1510,7 +1510,7 @@ async function injectSvgIntoElement(mediaObject, targetElement, className) {
|
|
|
1510
1510
|
}
|
|
1511
1511
|
|
|
1512
1512
|
// src/index.ts
|
|
1513
|
-
var SDK_VERSION = "0.3.
|
|
1513
|
+
var SDK_VERSION = "0.3.17";
|
|
1514
1514
|
var SUPPORTED_FRAMEWORKS = [
|
|
1515
1515
|
"astro",
|
|
1516
1516
|
"react",
|