arky-sdk 0.3.42 → 0.3.44
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 +4 -3
- package/dist/types.d.ts +4 -3
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -22,7 +22,7 @@ interface HttpClientConfig {
|
|
|
22
22
|
isAuthenticated?: () => boolean;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
declare const SDK_VERSION = "0.3.
|
|
25
|
+
declare const SDK_VERSION = "0.3.44";
|
|
26
26
|
declare const SUPPORTED_FRAMEWORKS: readonly ["astro", "react", "vue", "svelte", "vanilla"];
|
|
27
27
|
interface ApiConfig {
|
|
28
28
|
httpClient: any;
|
package/dist/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ interface HttpClientConfig {
|
|
|
22
22
|
isAuthenticated?: () => boolean;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
declare const SDK_VERSION = "0.3.
|
|
25
|
+
declare const SDK_VERSION = "0.3.44";
|
|
26
26
|
declare const SUPPORTED_FRAMEWORKS: readonly ["astro", "react", "vue", "svelte", "vanilla"];
|
|
27
27
|
interface ApiConfig {
|
|
28
28
|
httpClient: any;
|
package/dist/index.js
CHANGED
|
@@ -849,7 +849,7 @@ var createCmsApi = (apiConfig) => {
|
|
|
849
849
|
);
|
|
850
850
|
},
|
|
851
851
|
async subscribeToCollection(params, options) {
|
|
852
|
-
return apiConfig.httpClient.
|
|
852
|
+
return apiConfig.httpClient.put(
|
|
853
853
|
`/v1/businesses/${apiConfig.businessId}/collections/${params.collectionId}/subscribe`,
|
|
854
854
|
{
|
|
855
855
|
market: apiConfig.market,
|
|
@@ -1521,7 +1521,7 @@ async function injectSvgIntoElement(mediaObject, targetElement, className) {
|
|
|
1521
1521
|
}
|
|
1522
1522
|
|
|
1523
1523
|
// src/index.ts
|
|
1524
|
-
var SDK_VERSION = "0.3.
|
|
1524
|
+
var SDK_VERSION = "0.3.44";
|
|
1525
1525
|
var SUPPORTED_FRAMEWORKS = [
|
|
1526
1526
|
"astro",
|
|
1527
1527
|
"react",
|