@bagelink/sdk 0.0.481 → 0.0.487

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 CHANGED
@@ -216,7 +216,7 @@ function fileTemplate(tsString, typeForImport, baseURL) {
216
216
  import type { AxiosResponse } from 'axios';
217
217
  import type {${typeForImport.join(", ")}} from './types.d';
218
218
 
219
- const axios = ax.create({baseURL:${baseURL}});
219
+ export const axios = ax.create({baseURL:${baseURL}});
220
220
  ${tsString}`;
221
221
  const doubleQuoteRegex = /"([^"]+)":/g;
222
222
  return templateCode.replace(doubleQuoteRegex, "$1:");
package/dist/index.mjs CHANGED
@@ -210,7 +210,7 @@ function fileTemplate(tsString, typeForImport, baseURL) {
210
210
  import type { AxiosResponse } from 'axios';
211
211
  import type {${typeForImport.join(", ")}} from './types.d';
212
212
 
213
- const axios = ax.create({baseURL:${baseURL}});
213
+ export const axios = ax.create({baseURL:${baseURL}});
214
214
  ${tsString}`;
215
215
  const doubleQuoteRegex = /"([^"]+)":/g;
216
216
  return templateCode.replace(doubleQuoteRegex, "$1:");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/sdk",
3
3
  "type": "module",
4
- "version": "0.0.481",
4
+ "version": "0.0.487",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -176,7 +176,7 @@ function fileTemplate(tsString: string, typeForImport: string[], baseURL: string
176
176
  import type { AxiosResponse } from 'axios';
177
177
  import type {${typeForImport.join(', ')}} from './types.d';
178
178
 
179
- const axios = ax.create({baseURL:${baseURL}});
179
+ export const axios = ax.create({baseURL:${baseURL}});
180
180
  ${tsString}`
181
181
  )
182
182
  const doubleQuoteRegex = /"([^"]+)":/g