@delopay/sdk 0.140.0 → 0.141.0

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/internal.cjs CHANGED
@@ -170,6 +170,7 @@ __export(internal_exports, {
170
170
  isCheckboxChecked: () => isCheckboxChecked,
171
171
  isDarkSurface: () => isDarkSurface,
172
172
  isHexColor: () => isHexColor,
173
+ isSubscriptionLifecycleWebhook: () => isSubscriptionLifecycleWebhook,
173
174
  knownSectionLabelKey: () => knownSectionLabelKey,
174
175
  leaf: () => leaf,
175
176
  logoDimensions: () => logoDimensions,
@@ -3870,6 +3871,9 @@ var Verification = class {
3870
3871
  };
3871
3872
 
3872
3873
  // src/resources/webhooks.ts
3874
+ function isSubscriptionLifecycleWebhook(object) {
3875
+ return typeof object.transition_id === "string";
3876
+ }
3873
3877
  function hexToBytes(hex) {
3874
3878
  if (hex.length === 0 || hex.length % 2 !== 0) return null;
3875
3879
  const bytes = new Uint8Array(hex.length / 2);
@@ -9495,6 +9499,7 @@ var DelopayInternal = class extends Delopay {
9495
9499
  isCheckboxChecked,
9496
9500
  isDarkSurface,
9497
9501
  isHexColor,
9502
+ isSubscriptionLifecycleWebhook,
9498
9503
  knownSectionLabelKey,
9499
9504
  leaf,
9500
9505
  logoDimensions,