datakeen-session-react 1.1.166 → 1.1.168
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/README.md +8 -8
- package/dist/cjs/_virtual/_commonjsHelpers.js +8 -0
- package/dist/cjs/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/cjs/_virtual/heic2any.js +12 -0
- package/dist/cjs/_virtual/heic2any.js.map +1 -0
- package/dist/cjs/_virtual/heic2any2.js +6 -0
- package/dist/cjs/_virtual/heic2any2.js.map +1 -0
- package/dist/cjs/components/selfie/selfie-flow/SelfieRecorder.js +1 -1
- package/dist/cjs/components/selfie/selfie-flow/SelfieRecorder.js.map +1 -1
- package/dist/cjs/components/start-flow/CGU.js +1 -1
- package/dist/cjs/components/start-flow/Start.js +1 -1
- package/dist/cjs/node_modules/heic2any/dist/heic2any.js +291 -0
- package/dist/cjs/node_modules/heic2any/dist/heic2any.js.map +1 -0
- package/dist/cjs/utils/fileConverter.js +2 -2
- package/dist/cjs/utils/fileConverter.js.map +1 -1
- package/dist/esm/_virtual/_commonjsHelpers.js +6 -0
- package/dist/esm/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/esm/_virtual/heic2any.js +8 -0
- package/dist/esm/_virtual/heic2any.js.map +1 -0
- package/dist/esm/_virtual/heic2any2.js +4 -0
- package/dist/esm/_virtual/heic2any2.js.map +1 -0
- package/dist/esm/components/selfie/selfie-flow/SelfieRecorder.js +1 -1
- package/dist/esm/components/selfie/selfie-flow/SelfieRecorder.js.map +1 -1
- package/dist/esm/components/start-flow/CGU.js +1 -1
- package/dist/esm/components/start-flow/Start.js +1 -1
- package/dist/esm/node_modules/heic2any/dist/heic2any.js +289 -0
- package/dist/esm/node_modules/heic2any/dist/heic2any.js.map +1 -0
- package/dist/esm/utils/fileConverter.js +1 -1
- package/examples/sdk-configuration.ts +4 -4
- package/examples/test-updated-urls.ts +2 -2
- package/package.json +1 -1
|
@@ -16,7 +16,7 @@ export const configureSDKForEnvironment = () => {
|
|
|
16
16
|
|
|
17
17
|
switch (environment) {
|
|
18
18
|
case "production":
|
|
19
|
-
apiBaseURL = "https://app
|
|
19
|
+
apiBaseURL = "https://app.datakeen.co/backend";
|
|
20
20
|
break;
|
|
21
21
|
|
|
22
22
|
case "staging":
|
|
@@ -64,9 +64,9 @@ export const configureSDKDynamically = () => {
|
|
|
64
64
|
|
|
65
65
|
let apiBaseURL: string;
|
|
66
66
|
|
|
67
|
-
if (hostname.includes("app
|
|
67
|
+
if (hostname.includes("app.datakeen.co")) {
|
|
68
68
|
// Production
|
|
69
|
-
apiBaseURL = "https://app
|
|
69
|
+
apiBaseURL = "https://app.datakeen.co/backend";
|
|
70
70
|
} else if (hostname.includes("app.staging.datakeen.co")) {
|
|
71
71
|
// Staging
|
|
72
72
|
apiBaseURL = "https://app.staging.datakeen.co/backend";
|
|
@@ -115,7 +115,7 @@ export const configureSDKAdvanced = (options: {
|
|
|
115
115
|
if (!apiBaseURL && environment) {
|
|
116
116
|
switch (environment) {
|
|
117
117
|
case "production":
|
|
118
|
-
apiBaseURL = "https://app
|
|
118
|
+
apiBaseURL = "https://app.datakeen.co/backend";
|
|
119
119
|
break;
|
|
120
120
|
case "staging":
|
|
121
121
|
apiBaseURL = "https://app.staging.datakeen.co/backend";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
|
|
14
14
|
// URLs attendues pour chaque environnement
|
|
15
15
|
const EXPECTED_URLS = {
|
|
16
|
-
production: "https://app
|
|
16
|
+
production: "https://app.datakeen.co/backend/session",
|
|
17
17
|
staging: "https://app.staging.datakeen.co/backend/session",
|
|
18
18
|
development: "https://app.dev.datakeen.co/backend/session",
|
|
19
19
|
localhost: "http://localhost:8888/backend/session",
|
|
@@ -63,7 +63,7 @@ const testDynamicConfiguration = () => {
|
|
|
63
63
|
const originalLocation = window.location;
|
|
64
64
|
|
|
65
65
|
const testCases = [
|
|
66
|
-
{ hostname: "app
|
|
66
|
+
{ hostname: "app.datakeen.co", expected: EXPECTED_URLS.production },
|
|
67
67
|
{ hostname: "app.staging.datakeen.co", expected: EXPECTED_URLS.staging },
|
|
68
68
|
{ hostname: "app.dev.datakeen.co", expected: EXPECTED_URLS.development },
|
|
69
69
|
{ hostname: "localhost", expected: EXPECTED_URLS.localhost },
|