@stigg/node-server-sdk 1.0.0 → 1.0.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/client.d.ts CHANGED
@@ -214,9 +214,9 @@ export declare class Stigg implements StiggEntitlementAPI, StiggManagementAPI {
214
214
  */
215
215
  initiateCheckout(initiateCheckout: InitiateCheckout): Promise<Checkout>;
216
216
  /**
217
- * Get a list of plans for rendering the paywall
217
+ * Get the paywall data
218
218
  *
219
- * @returns {Promise<Plan[]>}
219
+ * @returns {Promise<Paywall>}
220
220
  */
221
221
  getPaywall({ productId, customerId, billingCountryCode, fetchAllCountriesPrices, }?: GetPaywall): Promise<Paywall>;
222
222
  /**
package/dist/client.js CHANGED
@@ -457,9 +457,9 @@ class Stigg {
457
457
  });
458
458
  }
459
459
  /**
460
- * Get a list of plans for rendering the paywall
460
+ * Get the paywall data
461
461
  *
462
- * @returns {Promise<Plan[]>}
462
+ * @returns {Promise<Paywall>}
463
463
  */
464
464
  async getPaywall({ productId, customerId, billingCountryCode, fetchAllCountriesPrices, } = {}) {
465
465
  const params = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stigg/node-server-sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Stigg server-side node SDK",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",