@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/index.cjs CHANGED
@@ -157,6 +157,7 @@ __export(index_exports, {
157
157
  isCheckboxChecked: () => isCheckboxChecked,
158
158
  isDarkSurface: () => isDarkSurface,
159
159
  isHexColor: () => isHexColor,
160
+ isSubscriptionLifecycleWebhook: () => isSubscriptionLifecycleWebhook,
160
161
  knownSectionLabelKey: () => knownSectionLabelKey,
161
162
  leaf: () => leaf,
162
163
  logoDimensions: () => logoDimensions,
@@ -3857,6 +3858,9 @@ var Verification = class {
3857
3858
  };
3858
3859
 
3859
3860
  // src/resources/webhooks.ts
3861
+ function isSubscriptionLifecycleWebhook(object) {
3862
+ return typeof object.transition_id === "string";
3863
+ }
3860
3864
  function hexToBytes(hex) {
3861
3865
  if (hex.length === 0 || hex.length % 2 !== 0) return null;
3862
3866
  const bytes = new Uint8Array(hex.length / 2);
@@ -8276,6 +8280,7 @@ var encodeNativePanes = encodePanes;
8276
8280
  isCheckboxChecked,
8277
8281
  isDarkSurface,
8278
8282
  isHexColor,
8283
+ isSubscriptionLifecycleWebhook,
8279
8284
  knownSectionLabelKey,
8280
8285
  leaf,
8281
8286
  logoDimensions,