@soltech/fluid-common 0.6.23 → 0.6.25

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/lib/index.d.ts CHANGED
@@ -11,7 +11,8 @@ export declare enum ContentType {
11
11
  export declare enum TraitType {
12
12
  COLOR = "COLOR",
13
13
  IMAGE = "IMAGE",
14
- TEXT = "TEXT"
14
+ TEXT = "TEXT",
15
+ SOUND = "SOUND"
15
16
  }
16
17
  export declare enum PaymentType {
17
18
  BANK_TRANSFER = "BankTransfer",
@@ -168,10 +169,11 @@ export declare enum TransactionState {
168
169
  WAITING_INPUT = "WAITING_INPUT"
169
170
  }
170
171
  export interface ProviderTransactionError {
172
+ action: Action;
171
173
  code: string;
172
- textTitle: string;
174
+ providerCode: string;
173
175
  text: string;
174
- action: Action;
176
+ textTitle: string;
175
177
  }
176
178
  export declare enum Action {
177
179
  RESTART_PRESERVING_DETAILS = "RESTART_PRESERVING_DETAILS",
package/lib/index.js CHANGED
@@ -15,6 +15,7 @@ export var TraitType;
15
15
  TraitType["COLOR"] = "COLOR";
16
16
  TraitType["IMAGE"] = "IMAGE";
17
17
  TraitType["TEXT"] = "TEXT";
18
+ TraitType["SOUND"] = "SOUND";
18
19
  })(TraitType || (TraitType = {}));
19
20
  export var PaymentType;
20
21
  (function (PaymentType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.6.23",
3
+ "version": "0.6.25",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend, API and AI common interfaces & enums",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -13,7 +13,8 @@ export enum ContentType {
13
13
  export enum TraitType {
14
14
  COLOR = 'COLOR',
15
15
  IMAGE = 'IMAGE',
16
- TEXT = 'TEXT'
16
+ TEXT = 'TEXT',
17
+ SOUND = 'SOUND'
17
18
  }
18
19
 
19
20
  export enum PaymentType {
@@ -193,10 +194,11 @@ export enum TransactionState {
193
194
  }
194
195
 
195
196
  export interface ProviderTransactionError {
197
+ action: Action;
196
198
  code: string;
197
- textTitle: string;
199
+ providerCode: string;
198
200
  text: string;
199
- action: Action;
201
+ textTitle: string;
200
202
  }
201
203
 
202
204
  export enum Action {