@atomic.io/action-cards-web-sdk-cdn-icons
Advanced tools
Comparing version 24.2.1 to 24.3.0-beta1
{ | ||
"name": "@atomic.io/action-cards-web-sdk-cdn-icons", | ||
"version": "24.2.1", | ||
"version": "24.3.0-beta1", | ||
"description": "The Atomic Web SDK", | ||
@@ -5,0 +5,0 @@ "main": "public/sdk.js", |
@@ -1,2 +0,2 @@ | ||
The Atomic Web SDK (24.2.1) uses the following open sources libraries: | ||
The Atomic Web SDK (24.3.0-beta1) uses the following open sources libraries: | ||
@@ -3,0 +3,0 @@ ----------------------- |
@@ -152,2 +152,3 @@ /// <reference types="preact" /> | ||
containerId: string; | ||
containerIds?: Array<string>; | ||
} | ||
@@ -188,3 +189,3 @@ | ||
static readonly SDKEvents: SDKEventName; | ||
static readonly userMetricsTriggerEvents: Set<"sdk-initialized" | "card-displayed" | "stream-displayed" | "card-completed" | "card-dismissed" | "card-snoozed" | "card-feed-updated">; | ||
static readonly userMetricsTriggerEvents: Set<"card-completed" | "card-dismissed" | "card-snoozed" | "card-feed-updated" | "card-displayed" | "stream-displayed" | "sdk-initialized">; | ||
static onAuthTokenRequested: AuthTokenCallback | undefined; | ||
@@ -478,2 +479,3 @@ static tokenRetryInterval: number; | ||
containerId?: string; | ||
containerIds?: Array<string>; | ||
streamLength?: number; | ||
@@ -558,7 +560,11 @@ streamLengthVisible?: number; | ||
receivedAt: string; | ||
processedAt: string; | ||
updatedAt: string; | ||
priority: number; | ||
payloadMetadata?: PayloadMetadata; | ||
expires?: string; | ||
} | ||
export declare interface CardResponse { | ||
[key: string]: string | number | boolean | undefined | null; | ||
[key: string]: string | number | boolean | undefined | FileResponse | CheckboxGroupResponse | null; | ||
} | ||
@@ -579,2 +585,6 @@ | ||
export declare type CheckboxGroupResponse = { | ||
[key: string]: boolean; | ||
}; | ||
/** | ||
@@ -643,2 +653,4 @@ * Wrapper around the Broadcast Channel API to provide an interface that shows the open status of the channel object | ||
tryAgainTitle?: string; | ||
processingStateMessage?: string; | ||
processingStateCancelButtonTitle?: string; | ||
} | ||
@@ -691,2 +703,19 @@ | ||
export declare type FileResponse = { | ||
filename: string; | ||
targetBucketId: string; | ||
destinationFilename?: string; | ||
size?: number; | ||
type?: UploadFileType; | ||
}; | ||
declare interface FileUploadDetail { | ||
filename: string; | ||
targetBucketId: string; | ||
} | ||
export declare type FileUploadsEventProperties = SubviewDetailProperties & { | ||
[key: string]: FileUploadDetail; | ||
}; | ||
export declare type FilterObject = { | ||
@@ -768,2 +797,22 @@ [key: string]: any; | ||
export declare interface MaxCheckedValidationAttributes extends ValidationAttributes { | ||
maxChecked: number; | ||
} | ||
export declare interface MaxDateValidationAttributes extends ValidationAttributes { | ||
maximumDate: string; | ||
} | ||
export declare interface MaximumValidationAttributes extends ValidationAttributes { | ||
maximum: number; | ||
} | ||
export declare interface MaxLengthValidationAttributes extends ValidationAttributes { | ||
maximumLength: number; | ||
} | ||
export declare interface MaxSizeBytesValidationAttributes extends ValidationAttributes { | ||
maxSizeBytes: number; | ||
} | ||
export declare interface Metric { | ||
@@ -774,2 +823,18 @@ active: number; | ||
export declare interface MinCheckedValidationAttributes extends ValidationAttributes { | ||
minChecked: number; | ||
} | ||
export declare interface MinDateValidationAttributes extends ValidationAttributes { | ||
minimumDate: string; | ||
} | ||
export declare interface MinimumValidationAttributes extends ValidationAttributes { | ||
minimum: number; | ||
} | ||
export declare interface MinLengthValidationAttributes extends ValidationAttributes { | ||
minimumLength: number; | ||
} | ||
export declare type NativePlatform = 'iOS' | 'Android'; | ||
@@ -811,2 +876,6 @@ | ||
export declare interface PayloadMetadata { | ||
[key: string]: any; | ||
} | ||
export declare type PriorityFilterValue = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10; | ||
@@ -822,2 +891,10 @@ | ||
export declare interface RegularExpressionValidationAttributes extends ValidationAttributes { | ||
regexp: string; | ||
} | ||
export declare interface RequiredValidationAttributes extends ValidationAttributes { | ||
required: boolean; | ||
} | ||
export declare interface RuntimeVariable { | ||
@@ -921,3 +998,3 @@ name: string; | ||
export declare type SDKEvent = SDKCardCompletedEvent | SDKCardDismissedEvent | SDKCardSnoozedEvent | SDKFeedEvent | SDKCardDisplayedEvent | SDKCardVotedUpEvent | SDKCardVotedDownEvent | SDKRuntimeVarsUpdatedEvent | SDKStreamDisplayedEvent | SDKRedirectedEvent | SDKSnoozeOptionsDisplayedEvent | SDKSnoozeOptionsCanceledEvent | SDKSubviewDisplayedEvent | SDKSubviewExitedEvent | SDKVideoPlayedEvent | SDKVideoCompletedEvent | SDKInitEvent | SDKRequestFailedEvent | SDKNotificationReceivedEvent; | ||
export declare type SDKEvent = SDKCardCompletedEvent | SDKCardDismissedEvent | SDKCardSnoozedEvent | SDKFeedEvent | SDKCardDisplayedEvent | SDKCardVotedUpEvent | SDKCardVotedDownEvent | SDKRuntimeVarsUpdatedEvent | SDKStreamDisplayedEvent | SDKRedirectedEvent | SDKSnoozeOptionsDisplayedEvent | SDKSnoozeOptionsCanceledEvent | SDKSubviewDisplayedEvent | SDKSubviewExitedEvent | SDKVideoPlayedEvent | SDKVideoCompletedEvent | SDKInitEvent | SDKRequestFailedEvent | SDKNotificationReceivedEvent | SDKUserFileUploadsStartedEvent | SDKUserFileUploadsCompletedEvent | SDKUserFileUploadsFailedEvent; | ||
@@ -957,2 +1034,5 @@ export declare interface SDKEventBase { | ||
notificationReceived: 'notification-received'; | ||
userFileUploadsStarted: 'user-file-uploads-started'; | ||
userFileUploadsCompleted: 'user-file-uploads-completed'; | ||
userFileUploadsFailed: 'user-file-uploads-failed'; | ||
}; | ||
@@ -979,3 +1059,6 @@ | ||
requestFailed = "request-failed", | ||
notificationReceived = "notification-received" | ||
notificationReceived = "notification-received", | ||
userFileUploadsStarted = "user-file-uploads-started", | ||
userFileUploadsCompleted = "user-file-uploads-completed", | ||
userFileUploadsFailed = "user-file-uploads-failed" | ||
} | ||
@@ -1050,2 +1133,3 @@ | ||
containerId?: string; | ||
containerIds?: Array<string>; | ||
}; | ||
@@ -1100,2 +1184,19 @@ cardContext: { | ||
export declare interface SDKUserFileUploadsCompletedEvent extends SDKAnalyticsEvent { | ||
eventName: SDKEventNameEnum.userFileUploadsCompleted; | ||
properties: FileUploadsEventProperties; | ||
} | ||
export declare interface SDKUserFileUploadsFailedEvent extends SDKAnalyticsEvent { | ||
eventName: SDKEventNameEnum.userFileUploadsFailed; | ||
properties: FileUploadsEventProperties & { | ||
error: string; | ||
}; | ||
} | ||
export declare interface SDKUserFileUploadsStartedEvent extends SDKAnalyticsEvent { | ||
eventName: SDKEventNameEnum.userFileUploadsStarted; | ||
properties: FileUploadsEventProperties; | ||
} | ||
export declare interface SDKVideoCompletedEvent extends SDKAnalyticsEvent { | ||
@@ -1148,2 +1249,8 @@ eventName: SDKEventNameEnum.videoCompleted; | ||
declare interface SubviewDetailProperties { | ||
subviewId?: string; | ||
subviewLevel?: number; | ||
subviewTitle?: string; | ||
} | ||
export declare interface SubviewLayout { | ||
@@ -1161,2 +1268,3 @@ title: string; | ||
feedbackReceived?: string; | ||
fileUploadFailed?: string; | ||
}; | ||
@@ -1177,2 +1285,4 @@ } | ||
export declare type UploadFileType = 'image'; | ||
/** | ||
@@ -1232,17 +1342,26 @@ * Returns card-related metrics for the current user. | ||
export declare interface Validation { | ||
attributes: ValidationAttributes; | ||
export declare interface Validation<A> { | ||
attributes: A; | ||
} | ||
export declare interface ValidationAttributes { | ||
[key: string]: string | number | boolean; | ||
errorMessage?: string; | ||
} | ||
export declare interface ValidationMap { | ||
[key: ValidationType]: Validation; | ||
export declare type ValidationMap = Partial<ValidationTypeMap>; | ||
export declare interface ValidationTypeMap { | ||
required: Validation<RequiredValidationAttributes>; | ||
minimumDate: Validation<MinDateValidationAttributes>; | ||
maximumDate: Validation<MaxDateValidationAttributes>; | ||
regexp: Validation<RegularExpressionValidationAttributes>; | ||
minimum: Validation<MinimumValidationAttributes>; | ||
maximum: Validation<MaximumValidationAttributes>; | ||
minimumLength: Validation<MinLengthValidationAttributes>; | ||
maximumLength: Validation<MaxLengthValidationAttributes>; | ||
minChecked: Validation<MinCheckedValidationAttributes>; | ||
maxChecked: Validation<MaxCheckedValidationAttributes>; | ||
maxSizeBytes: Validation<MaxSizeBytesValidationAttributes>; | ||
} | ||
export declare type ValidationType = 'required'; | ||
export declare interface VotingOptions { | ||
@@ -1249,0 +1368,0 @@ canVoteUseful: boolean; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
929944
1233
1782
2
10