glitch-javascript-sdk 0.6.0 → 0.6.1
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/cjs/index.js +22 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Users.d.ts +16 -0
- package/dist/esm/index.js +22 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +16 -0
- package/package.json +1 -1
- package/src/api/Users.ts +24 -0
- package/src/routes/UserRoutes.ts +2 -0
package/dist/esm/api/Users.d.ts
CHANGED
|
@@ -159,6 +159,22 @@ declare class Users {
|
|
|
159
159
|
* @returns promise
|
|
160
160
|
*/
|
|
161
161
|
static clearYoutubeAuth<T>(): AxiosPromise<Response<T>>;
|
|
162
|
+
/**
|
|
163
|
+
* Clear Reddit authentication information from the current user.
|
|
164
|
+
*
|
|
165
|
+
* @see https://api.glitch.fun/api/documentation#/Users%20Route/userCreateDonationPage
|
|
166
|
+
*
|
|
167
|
+
* @returns promise
|
|
168
|
+
*/
|
|
169
|
+
static clearRedditAuth<T>(): AxiosPromise<Response<T>>;
|
|
170
|
+
/**
|
|
171
|
+
* Clear Twitter authentication information from the current user.
|
|
172
|
+
*
|
|
173
|
+
* @see https://api.glitch.fun/api/documentation#/Users%20Route/userCreateDonationPage
|
|
174
|
+
*
|
|
175
|
+
* @returns promise
|
|
176
|
+
*/
|
|
177
|
+
static clearTwitterAuth<T>(): AxiosPromise<Response<T>>;
|
|
162
178
|
/**
|
|
163
179
|
* Clear StreamElements authentication information from the current user.
|
|
164
180
|
*
|
package/dist/esm/index.js
CHANGED
|
@@ -32330,6 +32330,8 @@ var UserRoutes = /** @class */ (function () {
|
|
|
32330
32330
|
clearStripeAuth: { url: '/users/clearStripeAuth', method: HTTP_METHODS.DELETE },
|
|
32331
32331
|
clearTikTokAuth: { url: '/users/clearTikTokAuth', method: HTTP_METHODS.DELETE },
|
|
32332
32332
|
clearYoutubeAuth: { url: '/users/clearYoutubeAuth', method: HTTP_METHODS.DELETE },
|
|
32333
|
+
clearRedditAuth: { url: '/users/clearRedditAuth', method: HTTP_METHODS.DELETE },
|
|
32334
|
+
clearTwitterAuth: { url: '/users/clearTwitterAuth', method: HTTP_METHODS.DELETE },
|
|
32333
32335
|
clearStreamElementsAuth: { url: '/users/clearStreamElementsAuth', method: HTTP_METHODS.DELETE },
|
|
32334
32336
|
getTipsReceivedForMonth: { url: '/users/getTipsReceivedForMonth', method: HTTP_METHODS.GET },
|
|
32335
32337
|
getTipsGivenForMonth: { url: '/users/getTipsGivenForMonth', method: HTTP_METHODS.GET },
|
|
@@ -32536,6 +32538,26 @@ var Users = /** @class */ (function () {
|
|
|
32536
32538
|
Users.clearYoutubeAuth = function () {
|
|
32537
32539
|
return Requests.processRoute(UserRoutes.routes.clearYoutubeAuth, {});
|
|
32538
32540
|
};
|
|
32541
|
+
/**
|
|
32542
|
+
* Clear Reddit authentication information from the current user.
|
|
32543
|
+
*
|
|
32544
|
+
* @see https://api.glitch.fun/api/documentation#/Users%20Route/userCreateDonationPage
|
|
32545
|
+
*
|
|
32546
|
+
* @returns promise
|
|
32547
|
+
*/
|
|
32548
|
+
Users.clearRedditAuth = function () {
|
|
32549
|
+
return Requests.processRoute(UserRoutes.routes.clearRedditAuth, {});
|
|
32550
|
+
};
|
|
32551
|
+
/**
|
|
32552
|
+
* Clear Twitter authentication information from the current user.
|
|
32553
|
+
*
|
|
32554
|
+
* @see https://api.glitch.fun/api/documentation#/Users%20Route/userCreateDonationPage
|
|
32555
|
+
*
|
|
32556
|
+
* @returns promise
|
|
32557
|
+
*/
|
|
32558
|
+
Users.clearTwitterAuth = function () {
|
|
32559
|
+
return Requests.processRoute(UserRoutes.routes.clearTwitterAuth, {});
|
|
32560
|
+
};
|
|
32539
32561
|
/**
|
|
32540
32562
|
* Clear StreamElements authentication information from the current user.
|
|
32541
32563
|
*
|