@snagsolutions/sdk 0.1.0-alpha.35 → 0.1.0-alpha.36

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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.36 (2025-04-08)
4
+
5
+ Full Changelog: [v0.1.0-alpha.35...v0.1.0-alpha.36](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.35...v0.1.0-alpha.36)
6
+
7
+ ### Features
8
+
9
+ * **api:** open api update ([#253](https://github.com/Snag-Solutions/node-sdk/issues/253)) ([6be8d39](https://github.com/Snag-Solutions/node-sdk/commit/6be8d3932ca997836f1fd7cdbd84bef94f6e44a4))
10
+
3
11
  ## 0.1.0-alpha.35 (2025-04-08)
4
12
 
5
13
  Full Changelog: [v0.1.0-alpha.34...v0.1.0-alpha.35](https://github.com/Snag-Solutions/node-sdk/compare/v0.1.0-alpha.34...v0.1.0-alpha.35)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snagsolutions/sdk",
3
- "version": "0.1.0-alpha.35",
3
+ "version": "0.1.0-alpha.36",
4
4
  "description": "The official TypeScript library for the Snag Solutions API",
5
5
  "author": "Snag Solutions <dev-feedback@snag-solutions.com>",
6
6
  "types": "./index.d.ts",
@@ -2,7 +2,7 @@ import { APIResource } from "../resource.js";
2
2
  import * as Core from "../core.js";
3
3
  export declare class Auth extends APIResource {
4
4
  /**
5
- * This endpoint allows you to connect your Twitter account to a Snag account
5
+ * This endpoint allows you to connect your auth account to a Snag account
6
6
  */
7
7
  connectAuth(authType: 'twitter' | 'discord' | 'telegram' | 'epic' | 'steam', query?: AuthConnectAuthParams, options?: Core.RequestOptions): Core.APIPromise<AuthConnectAuthResponse>;
8
8
  connectAuth(authType: 'twitter' | 'discord' | 'telegram' | 'epic' | 'steam', options?: Core.RequestOptions): Core.APIPromise<AuthConnectAuthResponse>;
@@ -29,6 +29,10 @@ export interface AuthConnectAuthParams {
29
29
  * The ID of the user
30
30
  */
31
31
  userId?: string;
32
+ /**
33
+ * The wallet address of the user
34
+ */
35
+ walletAddress?: string;
32
36
  /**
33
37
  * The ID of the website
34
38
  */
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../src/resources/auth.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,WAAW,CACT,QAAQ,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,EAC/D,KAAK,CAAC,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,uBAAuB,CAAC;IAC3C,WAAW,CACT,QAAQ,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,EAC/D,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,uBAAuB,CAAC;CAW5C;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,YAAY,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;IAEnC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
1
+ {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../src/resources/auth.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAEhC,qBAAa,IAAK,SAAQ,WAAW;IACnC;;OAEG;IACH,WAAW,CACT,QAAQ,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,EAC/D,KAAK,CAAC,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,uBAAuB,CAAC;IAC3C,WAAW,CACT,QAAQ,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,EAC/D,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,uBAAuB,CAAC;CAW5C;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,YAAY,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;IAEnC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
@@ -6,7 +6,7 @@ import * as Core from '../core';
6
6
 
7
7
  export class Auth extends APIResource {
8
8
  /**
9
- * This endpoint allows you to connect your Twitter account to a Snag account
9
+ * This endpoint allows you to connect your auth account to a Snag account
10
10
  */
11
11
  connectAuth(
12
12
  authType: 'twitter' | 'discord' | 'telegram' | 'epic' | 'steam',
@@ -55,6 +55,11 @@ export interface AuthConnectAuthParams {
55
55
  */
56
56
  userId?: string;
57
57
 
58
+ /**
59
+ * The wallet address of the user
60
+ */
61
+ walletAddress?: string;
62
+
58
63
  /**
59
64
  * The ID of the website
60
65
  */
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.1.0-alpha.35'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.36'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-alpha.35";
1
+ export declare const VERSION = "0.1.0-alpha.36";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.1.0-alpha.35'; // x-release-please-version
4
+ exports.VERSION = '0.1.0-alpha.36'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.1.0-alpha.35'; // x-release-please-version
1
+ export const VERSION = '0.1.0-alpha.36'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map