snaptrade-typescript-sdk 9.0.179 → 9.0.180

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.
@@ -1 +1 @@
1
- /*! Axios v1.10.0 Copyright (c) 2025 Matt Zabriskie and contributors */
1
+ /*! Axios v1.14.0 Copyright (c) 2026 Matt Zabriskie and contributors */
package/dist/common.d.ts CHANGED
@@ -57,5 +57,5 @@ export declare const removeTrailingSlash: (url: string) => string;
57
57
  *
58
58
  * @export
59
59
  */
60
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
60
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
61
61
  export declare function isBrowser(): boolean;
@@ -32,7 +32,7 @@ class Configuration {
32
32
  this.accessToken = param.accessToken;
33
33
  this.basePath = param.basePath;
34
34
  this.baseOptions = (_a = param.baseOptions) !== null && _a !== void 0 ? _a : {};
35
- this.userAgent = param.userAgent === undefined ? "Konfig/9.0.179/typescript" : param.userAgent;
35
+ this.userAgent = param.userAgent === undefined ? "Konfig/9.0.180/typescript" : param.userAgent;
36
36
  this.formDataCtor = param.formDataCtor;
37
37
  }
38
38
  /**
@@ -47,7 +47,7 @@ export interface SnapTradeLoginUserRequestBody {
47
47
  */
48
48
  'darkMode'?: boolean;
49
49
  /**
50
- * Sets the connection portal version to render. Currently only v4 is supported and is the default. All other versions are deprecated and will automatically be set to v4.
50
+ * Sets the connection portal version to render. Currently only `v4` is supported and is the default. All other versions are deprecated and will automatically be set to v4.
51
51
  * @type {string}
52
52
  * @memberof SnapTradeLoginUserRequestBody
53
53
  */
@@ -411,22 +411,6 @@ exports.operationParameterMap = {
411
411
  },
412
412
  ]
413
413
  },
414
- '/accounts/{accountId}/quotes/options-GET': {
415
- parameters: [
416
- {
417
- name: 'userId'
418
- },
419
- {
420
- name: 'userSecret'
421
- },
422
- {
423
- name: 'accountId'
424
- },
425
- {
426
- name: 'symbol'
427
- },
428
- ]
429
- },
430
414
  '/accounts/{accountId}/options-GET': {
431
415
  parameters: [
432
416
  {
@@ -625,6 +609,22 @@ exports.operationParameterMap = {
625
609
  },
626
610
  ]
627
611
  },
612
+ '/accounts/{accountId}/quotes/options-GET': {
613
+ parameters: [
614
+ {
615
+ name: 'userId'
616
+ },
617
+ {
618
+ name: 'userSecret'
619
+ },
620
+ {
621
+ name: 'accountId'
622
+ },
623
+ {
624
+ name: 'symbol'
625
+ },
626
+ ]
627
+ },
628
628
  '/accounts/{accountId}/quotes-GET': {
629
629
  parameters: [
630
630
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snaptrade-typescript-sdk",
3
- "version": "9.0.179",
3
+ "version": "9.0.180",
4
4
  "description": "Client for SnapTrade",
5
5
  "author": "Konfig",
6
6
  "engines": {
@@ -31,7 +31,7 @@
31
31
  "test": "jest"
32
32
  },
33
33
  "dependencies": {
34
- "axios": "1.10.0"
34
+ "axios": "1.14.0"
35
35
  },
36
36
  "resolutions": {
37
37
  "semver": "^7.5.2",