@bagelink/sdk 0.0.464 → 0.0.466

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
@@ -208,7 +208,7 @@ function generateFunctionForOperation(method, path, operation) {
208
208
  }
209
209
  const generateRandomString = () => Math.random().toString(36).substring(7);
210
210
  function fileTemplate(tsString, typeForImport, baseURL) {
211
- const templateCode = `import axios as ax from 'axios';
211
+ const templateCode = `import ax from 'axios';
212
212
  import type { AxiosResponse } from 'axios';
213
213
  import type {${typeForImport.join(", ")}} from './types.d';
214
214
 
package/dist/index.mjs CHANGED
@@ -202,7 +202,7 @@ function generateFunctionForOperation(method, path, operation) {
202
202
  }
203
203
  const generateRandomString = () => Math.random().toString(36).substring(7);
204
204
  function fileTemplate(tsString, typeForImport, baseURL) {
205
- const templateCode = `import axios as ax from 'axios';
205
+ const templateCode = `import ax from 'axios';
206
206
  import type { AxiosResponse } from 'axios';
207
207
  import type {${typeForImport.join(", ")}} from './types.d';
208
208
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/sdk",
3
3
  "type": "module",
4
- "version": "0.0.464",
4
+ "version": "0.0.466",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -163,7 +163,7 @@ const generateRandomString = () => Math.random().toString(36).substring(7);
163
163
 
164
164
  function fileTemplate(tsString: string, typeForImport: string[], baseURL: string) {
165
165
  const templateCode = (
166
- `import axios as ax from 'axios';
166
+ `import ax from 'axios';
167
167
  import type { AxiosResponse } from 'axios';
168
168
  import type {${typeForImport.join(', ')}} from './types.d';
169
169