glitch-javascript-sdk 3.10.5 → 3.10.6
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/browser/hosting-runtime.js +3 -3
- package/dist/browser/hosting-runtime.js.map +1 -1
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Hosting.d.ts +30 -6
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +48 -6
- package/package.json +1 -1
- package/src/api/Hosting.ts +32 -6
package/dist/cjs/index.js
CHANGED
|
@@ -39431,7 +39431,7 @@ var HostingRoute = /** @class */ (function () {
|
|
|
39431
39431
|
}());
|
|
39432
39432
|
|
|
39433
39433
|
/**
|
|
39434
|
-
* Typed SDK for game website hosting,
|
|
39434
|
+
* Typed SDK for game website hosting, managed database add-ons, domains, usage,
|
|
39435
39435
|
* deployment instructions, and hosted-play attribution.
|
|
39436
39436
|
*/
|
|
39437
39437
|
var Hosting = /** @class */ (function () {
|
|
@@ -39450,7 +39450,7 @@ var Hosting = /** @class */ (function () {
|
|
|
39450
39450
|
Hosting.billingCheckout = function (title_id, plan) {
|
|
39451
39451
|
return Requests.processRoute(HostingRoute.routes.billingCheckout, { plan: plan }, { title_id: title_id });
|
|
39452
39452
|
};
|
|
39453
|
-
/** Confirm a paid Stripe Checkout session before provisioning its
|
|
39453
|
+
/** Confirm a paid Stripe Checkout session before provisioning its add-on. */
|
|
39454
39454
|
Hosting.confirmBillingCheckout = function (title_id, checkout_session_id) {
|
|
39455
39455
|
return Requests.processRoute(HostingRoute.routes.confirmBillingCheckout, { checkout_session_id: checkout_session_id }, { title_id: title_id });
|
|
39456
39456
|
};
|
|
@@ -39487,7 +39487,7 @@ var Hosting = /** @class */ (function () {
|
|
|
39487
39487
|
Hosting.createUploadUrl = function (title_id, site_id) {
|
|
39488
39488
|
return Requests.processRoute(HostingRoute.routes.uploadUrl, {}, { title_id: title_id, site_id: site_id });
|
|
39489
39489
|
};
|
|
39490
|
-
/** Upload directly to the short-lived
|
|
39490
|
+
/** Upload directly to the short-lived signed URL returned by createUploadUrl. */
|
|
39491
39491
|
Hosting.uploadBuild = function (uploadUrl, file, requiredHeaders, onUploadProgress) {
|
|
39492
39492
|
if (requiredHeaders === void 0) { requiredHeaders = {}; }
|
|
39493
39493
|
return axios.put(uploadUrl, file, {
|