snaptrade-typescript-sdk 6.0.0 → 6.1.0

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
- 1a4ca3ec-249e-4ab5-99d4-b6bd3947c8bb
1
+ ad266aa9-80cf-402e-ba8a-ca28db5f917a
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## snaptrade-typescript-sdk@6.0.0
1
+ ## snaptrade-typescript-sdk@6.1.0
2
2
 
3
3
  This library that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -28,7 +28,7 @@ npm run build
28
28
  navigate to the folder of your consuming project and run the following command.
29
29
 
30
30
  ```
31
- npm install snaptrade-typescript-sdk@6.0.0 --save
31
+ npm install snaptrade-typescript-sdk@6.1.0 --save
32
32
  ```
33
33
 
34
34
  ### Getting Started
@@ -51,9 +51,7 @@ async function main() {
51
51
  const userId = uuid();
52
52
  const { userSecret } = (
53
53
  await snaptrade.authentication.registerSnapTradeUser({
54
- requestBody: {
55
- userId,
56
- },
54
+ userId,
57
55
  })
58
56
  ).data;
59
57
 
package/configuration.ts CHANGED
@@ -109,7 +109,7 @@ export class Configuration {
109
109
  this.accessToken = param.accessToken;
110
110
  this.basePath = param.basePath;
111
111
  this.baseOptions = param.baseOptions;
112
- this.userAgent = param.userAgent === undefined ? "Konfig/6.0.0/typescript" : param.userAgent;
112
+ this.userAgent = param.userAgent === undefined ? "Konfig/6.1.0/typescript" : param.userAgent;
113
113
  this.formDataCtor = param.formDataCtor;
114
114
  }
115
115
 
@@ -33,7 +33,7 @@ var Configuration = /** @class */ (function () {
33
33
  this.accessToken = param.accessToken;
34
34
  this.basePath = param.basePath;
35
35
  this.baseOptions = param.baseOptions;
36
- this.userAgent = param.userAgent === undefined ? "Konfig/6.0.0/typescript" : param.userAgent;
36
+ this.userAgent = param.userAgent === undefined ? "Konfig/6.1.0/typescript" : param.userAgent;
37
37
  this.formDataCtor = param.formDataCtor;
38
38
  }
39
39
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snaptrade-typescript-sdk",
3
- "version": "6.0.0",
3
+ "version": "6.1.0",
4
4
  "description": "Client for SnapTrade",
5
5
  "author": "Konfig",
6
6
  "repository": {