@medusajs/js-sdk 2.20.0 → 2.20.2-preview-20260904091918
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/admin/user.d.ts +2 -2
- package/dist/admin/user.js +2 -2
- package/dist/esm/admin/user.d.ts +2 -2
- package/dist/esm/admin/user.js +2 -2
- package/package.json +2 -2
package/dist/admin/user.d.ts
CHANGED
|
@@ -127,7 +127,7 @@ export declare class User {
|
|
|
127
127
|
* console.log(providers)
|
|
128
128
|
* })
|
|
129
129
|
*
|
|
130
|
-
* @since 2.
|
|
130
|
+
* @since 2.20.0
|
|
131
131
|
*/
|
|
132
132
|
listAuthProviders(id: string, headers?: ClientHeaders): Promise<HttpTypes.AdminUserAuthProvidersResponse>;
|
|
133
133
|
/**
|
|
@@ -149,7 +149,7 @@ export declare class User {
|
|
|
149
149
|
* console.log(token)
|
|
150
150
|
* })
|
|
151
151
|
*
|
|
152
|
-
* @since 2.
|
|
152
|
+
* @since 2.20.0
|
|
153
153
|
*/
|
|
154
154
|
generateResetPasswordToken(id: string, headers?: ClientHeaders): Promise<HttpTypes.AdminUserResetPasswordTokenResponse>;
|
|
155
155
|
/**
|
package/dist/admin/user.js
CHANGED
|
@@ -142,7 +142,7 @@ class User {
|
|
|
142
142
|
* console.log(providers)
|
|
143
143
|
* })
|
|
144
144
|
*
|
|
145
|
-
* @since 2.
|
|
145
|
+
* @since 2.20.0
|
|
146
146
|
*/
|
|
147
147
|
async listAuthProviders(id, headers) {
|
|
148
148
|
return this.client.fetch(`/admin/users/${id}/auth-providers`, {
|
|
@@ -168,7 +168,7 @@ class User {
|
|
|
168
168
|
* console.log(token)
|
|
169
169
|
* })
|
|
170
170
|
*
|
|
171
|
-
* @since 2.
|
|
171
|
+
* @since 2.20.0
|
|
172
172
|
*/
|
|
173
173
|
async generateResetPasswordToken(id, headers) {
|
|
174
174
|
return this.client.fetch(`/admin/users/${id}/reset-password`, {
|
package/dist/esm/admin/user.d.ts
CHANGED
|
@@ -127,7 +127,7 @@ export declare class User {
|
|
|
127
127
|
* console.log(providers)
|
|
128
128
|
* })
|
|
129
129
|
*
|
|
130
|
-
* @since 2.
|
|
130
|
+
* @since 2.20.0
|
|
131
131
|
*/
|
|
132
132
|
listAuthProviders(id: string, headers?: ClientHeaders): Promise<HttpTypes.AdminUserAuthProvidersResponse>;
|
|
133
133
|
/**
|
|
@@ -149,7 +149,7 @@ export declare class User {
|
|
|
149
149
|
* console.log(token)
|
|
150
150
|
* })
|
|
151
151
|
*
|
|
152
|
-
* @since 2.
|
|
152
|
+
* @since 2.20.0
|
|
153
153
|
*/
|
|
154
154
|
generateResetPasswordToken(id: string, headers?: ClientHeaders): Promise<HttpTypes.AdminUserResetPasswordTokenResponse>;
|
|
155
155
|
/**
|
package/dist/esm/admin/user.js
CHANGED
|
@@ -154,7 +154,7 @@ export class User {
|
|
|
154
154
|
* console.log(providers)
|
|
155
155
|
* })
|
|
156
156
|
*
|
|
157
|
-
* @since 2.
|
|
157
|
+
* @since 2.20.0
|
|
158
158
|
*/
|
|
159
159
|
listAuthProviders(id, headers) {
|
|
160
160
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -182,7 +182,7 @@ export class User {
|
|
|
182
182
|
* console.log(token)
|
|
183
183
|
* })
|
|
184
184
|
*
|
|
185
|
-
* @since 2.
|
|
185
|
+
* @since 2.20.0
|
|
186
186
|
*/
|
|
187
187
|
generateResetPasswordToken(id, headers) {
|
|
188
188
|
return __awaiter(this, void 0, void 0, function* () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/js-sdk",
|
|
3
|
-
"version": "2.20.
|
|
3
|
+
"version": "2.20.2-preview-20260904091918",
|
|
4
4
|
"description": "SDK for the Medusa API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"author": "Medusa",
|
|
33
33
|
"license": "SEE LICENSE IN LICENSE",
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@medusajs/types": "2.20.
|
|
35
|
+
"@medusajs/types": "2.20.2-preview-20260904091918"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"fetch-event-stream": "^0.1.5",
|