Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean repo #30

Merged
merged 2 commits into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .changeset/brown-planes-wait.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/curvy-pets-report.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/few-fans-cheer.md

This file was deleted.

17 changes: 17 additions & 0 deletions packages/agent-app-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# @livechat/agent-app-sdk

## 1.11.0

### Minor Changes

- 1f78de6: Added `startTransaction` for all widget types to support One-click Payment flow

### Patch Changes

- Updated dependencies [1f78de6]
- @livechat/widget-core-sdk@1.1.0

## 1.10.0

### Minor Changes

- [DPS-4294] extend page_data event for Fullscreen apps

## 1.9.0

### Minor Changes
Expand Down
9 changes: 5 additions & 4 deletions packages/agent-app-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ All widgets allow you to pass a registered charge and display a summary of it to
Emitted when a payment transaction is approved by the customer and successfully processed by the Billing API.

```ts
interface ITransactionAccepted {
type TransactionEvent {
chargeId: string;
}
```
Expand All @@ -127,7 +127,7 @@ interface ITransactionAccepted {
Emitted when a payment transaction is declined by the customer (e.g., the user closes the payment modal or clicks the cancel button), and the charge is subsequently marked as declined in the Billing API.

```ts
interface ITransactionDeclined {
type TransactionEvent {
chargeId: string;
}
```
Expand All @@ -136,7 +136,7 @@ interface ITransactionDeclined {
Emitted when a payment transaction fails and cannot be processed by the billing API.

```ts
interface ITransactionAccepted {
type TransactionError {
error: unknown;
}
```
Expand All @@ -146,8 +146,9 @@ interface ITransactionAccepted {
This event is triggered when a customer selects a different billing cycle for a transaction. It only emits if the `showBillingCyclePicker` flag is set to `true` in the `metadata` object at the start of the transaction. The event includes the new billing cycle number and key charge details, allowing you to register the updated charge with the provided information.

```ts
interface ITransactionAccepted {
type UpdateBillingCycleEvent {
billingCycle: number,
chargeId: string,
paymentIntent: {
name: string,
price: number,
Expand Down
4 changes: 2 additions & 2 deletions packages/agent-app-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@livechat/agent-app-sdk",
"version": "1.9.0",
"version": "1.11.0",
"description": "SDK for extending LiveChat's Agent App",
"license": "MIT",
"repository": {
Expand Down Expand Up @@ -30,7 +30,7 @@
"@babel/runtime": "^7.2.0",
"@livechat/mitt": "0.1.2",
"@livechat/postmessage": "^0.3.2",
"@livechat/widget-core-sdk": "^1.0.2"
"@livechat/widget-core-sdk": "^1.1.0"
},
"devDependencies": {
"@babel/cli": "^7.1.5",
Expand Down
11 changes: 11 additions & 0 deletions packages/helpdesk-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @livechat/helpdesk-sdk

## 1.1.0

### Minor Changes

- 1f78de6: Added `startTransaction` for all widget types to support One-click Payment flow

### Patch Changes

- Updated dependencies [1f78de6]
- @livechat/widget-core-sdk@1.1.0

## 1.0.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/helpdesk-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@livechat/helpdesk-sdk",
"version": "1.0.3",
"version": "1.1.0",
"description": "SDK for extending HelpDesk App",
"license": "MIT",
"repository": {
Expand All @@ -26,7 +26,7 @@
"@babel/runtime": "^7.2.0",
"@livechat/mitt": "0.1.2",
"@livechat/postmessage": "0.3.2",
"@livechat/widget-core-sdk": "^1.0.2"
"@livechat/widget-core-sdk": "^1.1.0"
},
"devDependencies": {
"@babel/cli": "^7.1.5",
Expand Down
6 changes: 6 additions & 0 deletions packages/widget-core-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @livechat/widget-core-sdk

## 1.1.0

### Minor Changes

- 1f78de6: Added `startTransaction` for all widget types to support One-click Payment flow

## 1.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/widget-core-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@livechat/widget-core-sdk",
"version": "1.0.2",
"version": "1.1.0",
"description": "Products widget core library",
"license": "MIT",
"repository": {
Expand Down
Loading