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/cjs/index.js
CHANGED
|
@@ -18686,6 +18686,8 @@ var UserRoutes = /** @class */ (function () {
|
|
|
18686
18686
|
clearStripeAuth: { url: '/users/clearStripeAuth', method: HTTP_METHODS.DELETE },
|
|
18687
18687
|
clearTikTokAuth: { url: '/users/clearTikTokAuth', method: HTTP_METHODS.DELETE },
|
|
18688
18688
|
clearYoutubeAuth: { url: '/users/clearYoutubeAuth', method: HTTP_METHODS.DELETE },
|
|
18689
|
+
clearRedditAuth: { url: '/users/clearRedditAuth', method: HTTP_METHODS.DELETE },
|
|
18690
|
+
clearTwitterAuth: { url: '/users/clearTwitterAuth', method: HTTP_METHODS.DELETE },
|
|
18689
18691
|
clearStreamElementsAuth: { url: '/users/clearStreamElementsAuth', method: HTTP_METHODS.DELETE },
|
|
18690
18692
|
getTipsReceivedForMonth: { url: '/users/getTipsReceivedForMonth', method: HTTP_METHODS.GET },
|
|
18691
18693
|
getTipsGivenForMonth: { url: '/users/getTipsGivenForMonth', method: HTTP_METHODS.GET },
|
|
@@ -18892,6 +18894,26 @@ var Users = /** @class */ (function () {
|
|
|
18892
18894
|
Users.clearYoutubeAuth = function () {
|
|
18893
18895
|
return Requests.processRoute(UserRoutes.routes.clearYoutubeAuth, {});
|
|
18894
18896
|
};
|
|
18897
|
+
/**
|
|
18898
|
+
* Clear Reddit authentication information from the current user.
|
|
18899
|
+
*
|
|
18900
|
+
* @see https://api.glitch.fun/api/documentation#/Users%20Route/userCreateDonationPage
|
|
18901
|
+
*
|
|
18902
|
+
* @returns promise
|
|
18903
|
+
*/
|
|
18904
|
+
Users.clearRedditAuth = function () {
|
|
18905
|
+
return Requests.processRoute(UserRoutes.routes.clearRedditAuth, {});
|
|
18906
|
+
};
|
|
18907
|
+
/**
|
|
18908
|
+
* Clear Twitter authentication information from the current user.
|
|
18909
|
+
*
|
|
18910
|
+
* @see https://api.glitch.fun/api/documentation#/Users%20Route/userCreateDonationPage
|
|
18911
|
+
*
|
|
18912
|
+
* @returns promise
|
|
18913
|
+
*/
|
|
18914
|
+
Users.clearTwitterAuth = function () {
|
|
18915
|
+
return Requests.processRoute(UserRoutes.routes.clearTwitterAuth, {});
|
|
18916
|
+
};
|
|
18895
18917
|
/**
|
|
18896
18918
|
* Clear StreamElements authentication information from the current user.
|
|
18897
18919
|
*
|