@tagadapay/plugin-sdk 2.7.14 → 2.7.18
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/v2/core/__tests__/pathRemapping.test.d.ts +11 -0
- package/dist/v2/core/__tests__/pathRemapping.test.js +776 -0
- package/dist/v2/core/pathRemapping.d.ts +92 -0
- package/dist/v2/core/pathRemapping.js +295 -21
- package/dist/v2/core/resources/funnel.d.ts +29 -1
- package/dist/v2/core/resources/funnel.js +6 -2
- package/dist/v2/core/utils/env.d.ts +5 -0
- package/dist/v2/core/utils/env.js +20 -0
- package/dist/v2/core/utils/order.d.ts +1 -0
- package/dist/v2/core/utils/pluginConfig.d.ts +1 -4
- package/dist/v2/core/utils/pluginConfig.js +14 -24
- package/dist/v2/index.d.ts +1 -1
- package/dist/v2/index.js +1 -1
- package/dist/v2/react/hooks/useApiClient.d.ts +19 -0
- package/dist/v2/react/hooks/useApiClient.js +22 -0
- package/dist/v2/react/hooks/useCredits.js +0 -1
- package/dist/v2/react/hooks/useFunnel.js +31 -4
- package/dist/v2/react/hooks/useRemappableParams.d.ts +21 -0
- package/dist/v2/react/hooks/useRemappableParams.js +104 -0
- package/dist/v2/react/index.d.ts +1 -0
- package/dist/v2/react/index.js +1 -0
- package/dist/v2/react/providers/TagadaProvider.js +15 -2
- package/dist/v2/react/utils/sessionWaiter.d.ts +26 -0
- package/dist/v2/react/utils/sessionWaiter.js +72 -0
- package/package.json +8 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Path Remapping Tests
|
|
3
|
+
*
|
|
4
|
+
* Comprehensive test suite for path remapping functionality including:
|
|
5
|
+
* - Exact path matching
|
|
6
|
+
* - Parameter matching with different names
|
|
7
|
+
* - Wildcards and optional segments
|
|
8
|
+
* - Edge cases and error handling
|
|
9
|
+
* - SDK functions: shouldMatchRoute, getInternalPath, getPathInfo
|
|
10
|
+
*/
|
|
11
|
+
export {};
|