@ley0x/better-auth-lastfm 1.1.4 → 1.1.5

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.
@@ -17,12 +17,12 @@ var __copyProps = (to, from, except, desc) => {
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
- // src/client.ts
21
- var client_exports = {};
22
- __export(client_exports, {
20
+ // src/client/index.ts
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
23
  lastfmClientPlugin: () => lastfmClientPlugin
24
24
  });
25
- module.exports = __toCommonJS(client_exports);
25
+ module.exports = __toCommonJS(index_exports);
26
26
 
27
27
  // src/client/plugin.ts
28
28
  var lastfmClientPlugin = () => {
@@ -21,18 +21,6 @@ interface LastfmPluginOptions {
21
21
  */
22
22
  redirectTo?: string;
23
23
  }
24
- interface LastfmSession {
25
- key: string;
26
- name: string;
27
- subscriber: number;
28
- }
29
- interface LastfmAuthResponse {
30
- session: LastfmSession;
31
- }
32
- interface LastfmUserProfile {
33
- username: string;
34
- sessionKey: string;
35
- }
36
24
 
37
25
  /**
38
26
  * Last.fm authentication plugin for BetterAuth
@@ -65,4 +53,4 @@ declare const lastfmClientPlugin: () => {
65
53
  };
66
54
  };
67
55
 
68
- export { type LastfmAuthResponse, type LastfmPluginOptions, type LastfmSession, type LastfmUserProfile, lastfmClientPlugin };
56
+ export { lastfmClientPlugin };
@@ -21,18 +21,6 @@ interface LastfmPluginOptions {
21
21
  */
22
22
  redirectTo?: string;
23
23
  }
24
- interface LastfmSession {
25
- key: string;
26
- name: string;
27
- subscriber: number;
28
- }
29
- interface LastfmAuthResponse {
30
- session: LastfmSession;
31
- }
32
- interface LastfmUserProfile {
33
- username: string;
34
- sessionKey: string;
35
- }
36
24
 
37
25
  /**
38
26
  * Last.fm authentication plugin for BetterAuth
@@ -65,4 +53,4 @@ declare const lastfmClientPlugin: () => {
65
53
  };
66
54
  };
67
55
 
68
- export { type LastfmAuthResponse, type LastfmPluginOptions, type LastfmSession, type LastfmUserProfile, lastfmClientPlugin };
56
+ export { lastfmClientPlugin };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ley0x/better-auth-lastfm",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "type": "module",
5
5
  "description": "Last.fm authentication plugin for BetterAuth",
6
6
  "main": "dist/index.cjs",
File without changes