@01.software/sdk 0.14.0 → 0.15.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.d.cts CHANGED
@@ -1,13 +1,13 @@
1
- import { O as Order, a as Cart, b as CartItem, P as Product, c as OrderItem$1, T as Transaction, d as Fulfillment, R as Return } from './payload-types-DH1fKdM3.cjs';
2
- export { D as Document, I as Image, e as Post, f as PostCategory, g as PostTag, h as ProductVariant, i as Tenant, V as Video } from './payload-types-DH1fKdM3.cjs';
1
+ import { O as Order, a as Cart, b as CartItem, P as Product, c as OrderItem$1, T as Transaction, d as Fulfillment, R as Return } from './payload-types-Cjbr7XZZ.cjs';
2
+ export { D as Document, I as Image, e as Post, f as PostCategory, g as PostTag, h as ProductVariant, i as Tenant, V as Video } from './payload-types-Cjbr7XZZ.cjs';
3
3
  import { Sort, Where } from 'payload';
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { QueryClient, InfiniteData } from '@tanstack/react-query';
6
6
  import { Metadata } from 'next';
7
- import { C as CollectionType } from './webhook-IX2MGQj2.cjs';
8
- export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-IX2MGQj2.cjs';
9
- import { P as PublicCollection } from './const-CxpAy8X_.cjs';
10
- export { a as COLLECTIONS, C as Collection } from './const-CxpAy8X_.cjs';
7
+ import { C as CollectionType } from './webhook-BVA28ptL.cjs';
8
+ export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-BVA28ptL.cjs';
9
+ import { P as PublicCollection } from './const-9RunqFfj.cjs';
10
+ export { a as COLLECTIONS, C as Collection } from './const-9RunqFfj.cjs';
11
11
  export { a as RealtimeConnection, R as RealtimeEvent, b as RealtimeListener } from './realtime-D7HtUpqt.cjs';
12
12
  export { b as IMAGE_SIZES, I as ImageData, a as ImagePalette, f as ImagePlaceholderOptions, d as getImageLqip, e as getImagePalette, h as getImagePlaceholderStyle, c as getImageSrcSet, g as getImageUrl } from './image-TT8lTsk5.cjs';
13
13
  export { e as VideoGifOptions, V as VideoThumbnailOptions, a as getVideoGif, c as getVideoMp4Url, d as getVideoStoryboard, b as getVideoStreamUrl, g as getVideoThumbnail } from './video-DbLL8yuc.cjs';
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
- import { O as Order, a as Cart, b as CartItem, P as Product, c as OrderItem$1, T as Transaction, d as Fulfillment, R as Return } from './payload-types-DH1fKdM3.js';
2
- export { D as Document, I as Image, e as Post, f as PostCategory, g as PostTag, h as ProductVariant, i as Tenant, V as Video } from './payload-types-DH1fKdM3.js';
1
+ import { O as Order, a as Cart, b as CartItem, P as Product, c as OrderItem$1, T as Transaction, d as Fulfillment, R as Return } from './payload-types-Cjbr7XZZ.js';
2
+ export { D as Document, I as Image, e as Post, f as PostCategory, g as PostTag, h as ProductVariant, i as Tenant, V as Video } from './payload-types-Cjbr7XZZ.js';
3
3
  import { Sort, Where } from 'payload';
4
4
  import * as _tanstack_react_query from '@tanstack/react-query';
5
5
  import { QueryClient, InfiniteData } from '@tanstack/react-query';
6
6
  import { Metadata } from 'next';
7
- import { C as CollectionType } from './webhook-CmJWfLjs.js';
8
- export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-CmJWfLjs.js';
9
- import { P as PublicCollection } from './const-CigSm8e_.js';
10
- export { a as COLLECTIONS, C as Collection } from './const-CigSm8e_.js';
7
+ import { C as CollectionType } from './webhook-2zxdCwB4.js';
8
+ export { a as WebhookEvent, b as WebhookHandler, W as WebhookOperation, c as WebhookOptions, d as createTypedWebhookHandler, h as handleWebhook, i as isValidWebhookEvent } from './webhook-2zxdCwB4.js';
9
+ import { P as PublicCollection } from './const-ovU3MmND.js';
10
+ export { a as COLLECTIONS, C as Collection } from './const-ovU3MmND.js';
11
11
  export { a as RealtimeConnection, R as RealtimeEvent, b as RealtimeListener } from './realtime-D7HtUpqt.js';
12
12
  export { b as IMAGE_SIZES, I as ImageData, a as ImagePalette, f as ImagePlaceholderOptions, d as getImageLqip, e as getImagePalette, h as getImagePlaceholderStyle, c as getImageSrcSet, g as getImageUrl } from './image-TT8lTsk5.js';
13
13
  export { e as VideoGifOptions, V as VideoThumbnailOptions, a as getVideoGif, c as getVideoMp4Url, d as getVideoStoryboard, b as getVideoStreamUrl, g as getVideoThumbnail } from './video-DbLL8yuc.js';
package/dist/index.js CHANGED
@@ -3089,7 +3089,8 @@ function createAnalytics(config) {
3089
3089
  publishableKey: config.publishableKey,
3090
3090
  pathname,
3091
3091
  referrer: document.referrer || "",
3092
- eventId: newEventId()
3092
+ eventId: newEventId(),
3093
+ eventTs: Date.now()
3093
3094
  });
3094
3095
  sendBeaconOrFetch(body);
3095
3096
  }
@@ -3188,7 +3189,8 @@ function createAnalytics(config) {
3188
3189
  referrer: document.referrer || "",
3189
3190
  eventId: newEventId(),
3190
3191
  eventName: name,
3191
- eventProps: props
3192
+ eventProps: props,
3193
+ eventTs: Date.now()
3192
3194
  });
3193
3195
  sendBeaconOrFetch(body);
3194
3196
  },