@soltech/fluid-common 0.6.45 → 0.6.47

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
@@ -26,6 +26,7 @@ export interface WalletRequestBody {
26
26
  }
27
27
  export interface WalletInitParams {
28
28
  country: string;
29
+ ipAddess: string;
29
30
  locale: string;
30
31
  operatorId: number;
31
32
  sessionId: string;
@@ -174,7 +175,8 @@ export declare enum TransactionState {
174
175
  FAIL = "FAIL",
175
176
  PROCESSING = "PROCESSING",
176
177
  WAITING_APPROVAL = "WAITING_APPROVAL",
177
- WAITING_INPUT = "WAITING_INPUT"
178
+ WAITING_INPUT = "WAITING_INPUT",
179
+ CANCELLED = "CANCELLED"
178
180
  }
179
181
  export interface ProviderTransactionError {
180
182
  action: Action;
package/lib/index.js CHANGED
@@ -31,6 +31,7 @@ export var TransactionState;
31
31
  TransactionState["PROCESSING"] = "PROCESSING";
32
32
  TransactionState["WAITING_APPROVAL"] = "WAITING_APPROVAL";
33
33
  TransactionState["WAITING_INPUT"] = "WAITING_INPUT";
34
+ TransactionState["CANCELLED"] = "CANCELLED";
34
35
  })(TransactionState || (TransactionState = {}));
35
36
  export var Action;
36
37
  (function (Action) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.6.45",
3
+ "version": "0.6.47",
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
@@ -31,6 +31,7 @@ export interface WalletRequestBody {
31
31
 
32
32
  export interface WalletInitParams {
33
33
  country: string;
34
+ ipAddess: string;
34
35
  locale: string;
35
36
  operatorId: number;
36
37
  sessionId: string;
@@ -198,7 +199,8 @@ export enum TransactionState {
198
199
  FAIL = 'FAIL',
199
200
  PROCESSING = 'PROCESSING',
200
201
  WAITING_APPROVAL = 'WAITING_APPROVAL',
201
- WAITING_INPUT = 'WAITING_INPUT'
202
+ WAITING_INPUT = 'WAITING_INPUT',
203
+ CANCELLED = 'CANCELLED'
202
204
  }
203
205
 
204
206
  export interface ProviderTransactionError {