@rango-dev/widget-embedded 0.1.11-next.6 → 0.1.11-next.8
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/services/httpService.d.ts.map +1 -1
- package/dist/widget-embedded.cjs.development.js +4 -1
- package/dist/widget-embedded.cjs.development.js.map +1 -1
- package/dist/widget-embedded.cjs.production.min.js +4 -1
- package/dist/widget-embedded.cjs.production.min.js.map +1 -1
- package/dist/widget-embedded.esm.js +4 -1
- package/dist/widget-embedded.esm.js.map +1 -1
- package/package.json +3 -3
- package/src/services/httpService.ts +5 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"httpService.d.ts","sourceRoot":"","sources":["../src/services/httpService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"httpService.d.ts","sourceRoot":"","sources":["../src/services/httpService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAMxC,eAAO,MAAM,WAAW,aAEvB,CAAC"}
|
|
@@ -711,7 +711,10 @@ const createSelectors = _store => {
|
|
|
711
711
|
return store;
|
|
712
712
|
};
|
|
713
713
|
|
|
714
|
-
|
|
714
|
+
// this API key is limited and
|
|
715
|
+
// it is only for test purpose
|
|
716
|
+
const RANGO_PUBLIC_API_KEY = 'c6381a79-2817-4602-83bf-6a641a409e32';
|
|
717
|
+
const httpService = /*#__PURE__*/new rangoSdk.RangoClient(process.env.REACT_APP_API_KEY || RANGO_PUBLIC_API_KEY);
|
|
715
718
|
|
|
716
719
|
const SLIPPAGES = [0.5, 1, 3, 5, 8, 13, 20];
|
|
717
720
|
const DEFAULT_SLIPPAGE = 1;
|