arky-sdk 0.3.5 → 0.3.7
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/package.json +1 -4
package/dist/index.d.cts
CHANGED
|
@@ -213,7 +213,7 @@ declare function buildQueryString(params: QueryParams): string;
|
|
|
213
213
|
*/
|
|
214
214
|
declare function appendQueryString(url: string, params: QueryParams): string;
|
|
215
215
|
|
|
216
|
-
declare const SDK_VERSION = "0.3.
|
|
216
|
+
declare const SDK_VERSION = "0.3.7";
|
|
217
217
|
declare const SUPPORTED_FRAMEWORKS: readonly ["astro", "react", "vue", "svelte", "vanilla"];
|
|
218
218
|
interface ApiConfig {
|
|
219
219
|
httpClient: any;
|
package/dist/index.d.ts
CHANGED
|
@@ -213,7 +213,7 @@ declare function buildQueryString(params: QueryParams): string;
|
|
|
213
213
|
*/
|
|
214
214
|
declare function appendQueryString(url: string, params: QueryParams): string;
|
|
215
215
|
|
|
216
|
-
declare const SDK_VERSION = "0.3.
|
|
216
|
+
declare const SDK_VERSION = "0.3.7";
|
|
217
217
|
declare const SUPPORTED_FRAMEWORKS: readonly ["astro", "react", "vue", "svelte", "vanilla"];
|
|
218
218
|
interface ApiConfig {
|
|
219
219
|
httpClient: any;
|
package/dist/index.js
CHANGED
|
@@ -1746,7 +1746,7 @@ function createHttpClient(cfg) {
|
|
|
1746
1746
|
}
|
|
1747
1747
|
|
|
1748
1748
|
// src/index.ts
|
|
1749
|
-
var SDK_VERSION = "0.3.
|
|
1749
|
+
var SDK_VERSION = "0.3.7";
|
|
1750
1750
|
var SUPPORTED_FRAMEWORKS = [
|
|
1751
1751
|
"astro",
|
|
1752
1752
|
"react",
|
|
@@ -1756,7 +1756,7 @@ var SUPPORTED_FRAMEWORKS = [
|
|
|
1756
1756
|
];
|
|
1757
1757
|
function createArkySDK(config) {
|
|
1758
1758
|
console.log(
|
|
1759
|
-
`[
|
|
1759
|
+
`[Arky SDK v${SDK_VERSION}] Initializing with market: ${config.market}, businessId: ${config.businessId}`
|
|
1760
1760
|
);
|
|
1761
1761
|
const httpClient = createHttpClient(config);
|
|
1762
1762
|
const storageUrl = config.storageUrl || "https://storage.arky.io/dev";
|