@plyaz/config 1.7.18 → 1.7.19
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/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/dist/payments/index.cjs +2 -2
- package/dist/payments/index.cjs.map +1 -1
- package/dist/payments/index.mjs +3 -3
- package/dist/payments/index.mjs.map +1 -1
- package/dist/payments/routing/methods/ab-testing/ab-testing.d.ts +13 -0
- package/dist/payments/routing/methods/ab-testing/ab-testing.d.ts.map +1 -1
- package/dist/payments/routing/methods/cost-optimization/cost-optimization-registry.d.ts +3 -0
- package/dist/payments/routing/methods/cost-optimization/cost-optimization-registry.d.ts.map +1 -0
- package/dist/payments/routing/methods/cost-optimization/index.d.ts +3 -0
- package/dist/payments/routing/methods/cost-optimization/index.d.ts.map +1 -0
- package/dist/payments/routing/methods/cost-optimization/strategies/aggressive.config.d.ts +3 -0
- package/dist/payments/routing/methods/cost-optimization/strategies/aggressive.config.d.ts.map +1 -0
- package/dist/payments/routing/methods/cost-optimization/strategies/balanced.config.d.ts +3 -0
- package/dist/payments/routing/methods/cost-optimization/strategies/balanced.config.d.ts.map +1 -0
- package/dist/payments/routing/methods/cost-optimization/strategies/conservative.config.d.ts +3 -0
- package/dist/payments/routing/methods/cost-optimization/strategies/conservative.config.d.ts.map +1 -0
- package/dist/payments/routing/methods/cost-optimization/strategies/index.d.ts +5 -0
- package/dist/payments/routing/methods/cost-optimization/strategies/index.d.ts.map +1 -0
- package/dist/payments/routing/methods/cost-optimization/strategies/targeted.config.d.ts +3 -0
- package/dist/payments/routing/methods/cost-optimization/strategies/targeted.config.d.ts.map +1 -0
- package/dist/payments/routing/methods/index.d.ts +1 -0
- package/dist/payments/routing/methods/index.d.ts.map +1 -1
- package/dist/payments/routing/provider-selection/amount-based-selection.d.ts.map +1 -1
- package/dist/payments/routing/provider-selection/region-specific-providers.d.ts +1 -1
- package/dist/payments/routing/provider-selection/region-specific-providers.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @file ABTestingConfig.ts
|
|
3
|
+
* @description
|
|
4
|
+
* Production-ready A/B testing configuration for routing experiments.
|
|
5
|
+
* Currently supports Cost Optimization strategy, with future extensibility
|
|
6
|
+
* for reliability, performance, and hybrid routing.
|
|
7
|
+
*/
|
|
1
8
|
import { type ABTestingConfig } from '@plyaz/types';
|
|
9
|
+
/**
|
|
10
|
+
* Global A/B Testing Configuration
|
|
11
|
+
*
|
|
12
|
+
* Used by the routing engine to control experiment behavior, traffic allocation,
|
|
13
|
+
* and dynamic routing strategy selection.
|
|
14
|
+
*/
|
|
2
15
|
export declare const ABTesting: ABTestingConfig;
|
|
3
16
|
//# sourceMappingURL=ab-testing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ab-testing.d.ts","sourceRoot":"","sources":["../../../../../src/payments/routing/methods/ab-testing/ab-testing.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,eAAe,EAKrB,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"ab-testing.d.ts","sourceRoot":"","sources":["../../../../../src/payments/routing/methods/ab-testing/ab-testing.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,KAAK,eAAe,EAKrB,MAAM,cAAc,CAAC;AAGtB;;;;;GAKG;AACH,eAAO,MAAM,SAAS,EAAE,eAmHvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cost-optimization-registry.d.ts","sourceRoot":"","sources":["../../../../../src/payments/routing/methods/cost-optimization/cost-optimization-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,KAAK,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAMvF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,0BAA0B,EAAE,sBAAsB,CAKxF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/payments/routing/methods/cost-optimization/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aggressive.config.d.ts","sourceRoot":"","sources":["../../../../../../src/payments/routing/methods/cost-optimization/strategies/aggressive.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,sBAAsB,EAE5B,MAAM,cAAc,CAAC;AAEtB,eAAO,MAAM,4BAA4B,EAAE,sBAqC1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"balanced.config.d.ts","sourceRoot":"","sources":["../../../../../../src/payments/routing/methods/cost-optimization/strategies/balanced.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,sBAAsB,EAE5B,MAAM,cAAc,CAAC;AAEtB,eAAO,MAAM,0BAA0B,EAAE,sBAqCxC,CAAC"}
|
package/dist/payments/routing/methods/cost-optimization/strategies/conservative.config.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conservative.config.d.ts","sourceRoot":"","sources":["../../../../../../src/payments/routing/methods/cost-optimization/strategies/conservative.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAA8B,KAAK,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAEvF,eAAO,MAAM,8BAA8B,EAAE,sBAyB5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/payments/routing/methods/cost-optimization/strategies/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"targeted.config.d.ts","sourceRoot":"","sources":["../../../../../../src/payments/routing/methods/cost-optimization/strategies/targeted.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,sBAAsB,EAE5B,MAAM,cAAc,CAAC;AAEtB,eAAO,MAAM,0BAA0B,EAAE,sBAqCxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/payments/routing/methods/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/payments/routing/methods/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,YAAY,CAAC;AAC3B,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"amount-based-selection.d.ts","sourceRoot":"","sources":["../../../../src/payments/routing/provider-selection/amount-based-selection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAyB,MAAM,cAAc,CAAC;AAE3E,eAAO,MAAM,sBAAsB,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"amount-based-selection.d.ts","sourceRoot":"","sources":["../../../../src/payments/routing/provider-selection/amount-based-selection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAyB,MAAM,cAAc,CAAC;AAE3E,eAAO,MAAM,sBAAsB,EAAE,eAAe,EAuNnD,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type ProviderPreference } from '@plyaz/types';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const regionSpecificProviders: Record<string, ProviderPreference[]>;
|
|
3
3
|
//# sourceMappingURL=region-specific-providers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"region-specific-providers.d.ts","sourceRoot":"","sources":["../../../../src/payments/routing/provider-selection/region-specific-providers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAE9E,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"region-specific-providers.d.ts","sourceRoot":"","sources":["../../../../src/payments/routing/provider-selection/region-specific-providers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAE9E,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,EAAE,CA2LxE,CAAC"}
|