glitch-javascript-sdk 0.5.0 → 0.5.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 CHANGED
@@ -18405,7 +18405,8 @@ var TipPackagePurchaseRoute = /** @class */ (function () {
18405
18405
  }
18406
18406
  TipPackagePurchaseRoute.routes = {
18407
18407
  stripe: { url: '/tipspackagepurchases/stripe', method: HTTP_METHODS.POST },
18408
- stripePaymentIntent: { url: '/tipspackagepurchases/stripepaymentintent', method: HTTP_METHODS.POST },
18408
+ getStripePaymentIntent: { url: '/tipspackagepurchases/getstripepaymentintent', method: HTTP_METHODS.POST },
18409
+ processStripePaymentIntent: { url: '/tipspackagepurchases/processstripepaymentintent', method: HTTP_METHODS.POST },
18409
18410
  };
18410
18411
  return TipPackagePurchaseRoute;
18411
18412
  }());
@@ -18430,8 +18431,18 @@ var TipPackagePurchases = /** @class */ (function () {
18430
18431
  *
18431
18432
  * @returns A promise
18432
18433
  */
18433
- TipPackagePurchases.stripePaymentIntent = function (data, params) {
18434
- return Requests.processRoute(TipPackagePurchaseRoute.routes.stripePaymentIntent, data, {}, params);
18434
+ TipPackagePurchases.getStripePaymentIntent = function (data, params) {
18435
+ return Requests.processRoute(TipPackagePurchaseRoute.routes.getStripePaymentIntent, data, {}, params);
18436
+ };
18437
+ /**
18438
+ * Process the stripe payment intent after payment is complete.
18439
+ *
18440
+ * @see https://api.glitch.fun/api/documentation#/Authentication%20Route/authLogin
18441
+ *
18442
+ * @returns A promise
18443
+ */
18444
+ TipPackagePurchases.processStripePaymentIntent = function (data, params) {
18445
+ return Requests.processRoute(TipPackagePurchaseRoute.routes.processStripePaymentIntent, data, {}, params);
18435
18446
  };
18436
18447
  return TipPackagePurchases;
18437
18448
  }());