@riocrypto/common 1.0.2709 → 1.0.2710

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.
@@ -10,6 +10,7 @@ export interface ProcessorRoutingRule {
10
10
  percentages: {
11
11
  [key in Processor]?: number;
12
12
  };
13
+ appliesToAllUsers?: boolean;
13
14
  }
14
15
  export type ProcessorRoutingConfig = {
15
16
  [country in Country]?: {
@@ -70,6 +70,7 @@ export interface RioSettings {
70
70
  };
71
71
  processorRouting?: ProcessorRoutingConfig;
72
72
  requireExplicitPayinEnablement?: boolean;
73
+ requireExplicitPayoutEnablement?: boolean;
73
74
  TVFXDataProvider: {
74
75
  [key in Fiat]?: TVFXDataProvider;
75
76
  };
@@ -17,6 +17,7 @@ export interface RoutingDecision {
17
17
  excluded?: Processor[];
18
18
  disabled?: Processor[];
19
19
  unset?: Processor[];
20
+ enablementOverridden?: boolean;
20
21
  percentages?: {
21
22
  [processor in Processor]?: number;
22
23
  };
@@ -23,8 +23,8 @@ var RoutingDecisionReason;
23
23
  RoutingDecisionReason["NoEligibleCandidate"] = "noEligibleCandidate";
24
24
  // Rails exist but the customer has switched all of them off.
25
25
  RoutingDecisionReason["NoEnabledCandidate"] = "noEnabledCandidate";
26
- // Buys only, while payin accounts are opt-in. The customer has turned none of
27
- // the corridor's rails on, so there is nowhere they have agreed to pay.
26
+ // The customer has turned none of the corridor's rails on, so there is nowhere
27
+ // they have agreed to. Only while that direction is opt-in.
28
28
  RoutingDecisionReason["NoAcceptedCandidate"] = "noAcceptedCandidate";
29
29
  // Structural routing, where the corridor has a single rail and nothing to
30
30
  // decide.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.2709",
3
+ "version": "1.0.2710",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",