@nizza/core 0.6.7-beta.0 → 0.6.7
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 +14 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +12 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -20,7 +20,7 @@ function xl(t, e) {
|
|
|
20
20
|
}
|
|
21
21
|
return Object.freeze(Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }));
|
|
22
22
|
}
|
|
23
|
-
const me = { BASE_URL: "/", DEV: !1, MODE: "production", NZ_AWS_REGION: "us-east-1", PROD: !0, SSR: !1, STAGE: "
|
|
23
|
+
const me = { BASE_URL: "/", DEV: !1, MODE: "production", NZ_AWS_REGION: "us-east-1", PROD: !0, SSR: !1, STAGE: "prod" };
|
|
24
24
|
let Rl = 0;
|
|
25
25
|
function Wn(t, e) {
|
|
26
26
|
const n = `atom${++Rl}`, i = {
|
|
@@ -323,7 +323,7 @@ const ns = (t, e) => t.unstable_is ? t.unstable_is(e) : e === t, yi = (t) => "in
|
|
|
323
323
|
let It;
|
|
324
324
|
const Ml = () => (It || (It = Ul(), (me ? "production" : void 0) !== "production" && (globalThis.__JOTAI_DEFAULT_STORE__ || (globalThis.__JOTAI_DEFAULT_STORE__ = It), globalThis.__JOTAI_DEFAULT_STORE__ !== It && console.warn(
|
|
325
325
|
"Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"
|
|
326
|
-
))), It), Ca = { BASE_URL: "/", DEV: !1, MODE: "production", NZ_AWS_REGION: "us-east-1", PROD: !0, SSR: !1, STAGE: "
|
|
326
|
+
))), It), Ca = { BASE_URL: "/", DEV: !1, MODE: "production", NZ_AWS_REGION: "us-east-1", PROD: !0, SSR: !1, STAGE: "prod" }, Vl = Oa(
|
|
327
327
|
void 0
|
|
328
328
|
), xa = (t) => Er(Vl) || Ml(), Ra = (t) => typeof (t == null ? void 0 : t.then) == "function", jl = (t) => {
|
|
329
329
|
t.status = "pending", t.then(
|
|
@@ -399,7 +399,7 @@ function Si(t, e) {
|
|
|
399
399
|
}
|
|
400
400
|
const ql = Wn(null);
|
|
401
401
|
ql.debugLabel = "accountAtom";
|
|
402
|
-
const zl = { BASE_URL: "/", DEV: !1, MODE: "production", NZ_AWS_REGION: "us-east-1", PROD: !0, SSR: !1, STAGE: "
|
|
402
|
+
const zl = { BASE_URL: "/", DEV: !1, MODE: "production", NZ_AWS_REGION: "us-east-1", PROD: !0, SSR: !1, STAGE: "prod" }, {
|
|
403
403
|
NZ_AWS_REGION: Gl,
|
|
404
404
|
NZ_BACKOFFICE_BACK_URL: Kl,
|
|
405
405
|
NZ_CORE_SERVICES_GRAPHQL_URL: Wl,
|
|
@@ -408,28 +408,28 @@ const zl = { BASE_URL: "/", DEV: !1, MODE: "production", NZ_AWS_REGION: "us-east
|
|
|
408
408
|
AWS: {
|
|
409
409
|
region: Gl,
|
|
410
410
|
cognito: {
|
|
411
|
-
userPoolId: "us-east-
|
|
412
|
-
userPoolWebClientId: "
|
|
411
|
+
userPoolId: "us-east-1_EZ7wuZ4ig",
|
|
412
|
+
userPoolWebClientId: "2jok7cst8ebf6ppscrhji57gvr"
|
|
413
413
|
}
|
|
414
414
|
},
|
|
415
415
|
// Back services
|
|
416
416
|
apiUrls: {
|
|
417
|
-
restV1: Kl || "https://
|
|
418
|
-
restV2: Jl || "https://core-services-
|
|
419
|
-
graphql: Wl || "https://core-services-
|
|
420
|
-
corsProxy: "https://
|
|
417
|
+
restV1: Kl || "https://b133h34s56.execute-api.us-east-1.amazonaws.com",
|
|
418
|
+
restV2: Jl || "https://core-services-prod.nizza.com/api",
|
|
419
|
+
graphql: Wl || "https://core-services-prod.nizza.com/graphql",
|
|
420
|
+
corsProxy: "https://3hvqfl2xcg.execute-api.us-east-1.amazonaws.com"
|
|
421
421
|
},
|
|
422
422
|
publicUrls: {
|
|
423
423
|
// Public app url
|
|
424
|
-
platformSite: "https://
|
|
424
|
+
platformSite: "https://platform.nizza.com",
|
|
425
425
|
// Nizza CDN
|
|
426
426
|
nizzaCdn: "https://cdn.nizza.com",
|
|
427
427
|
// Bundle
|
|
428
|
-
bundleSite: "https://
|
|
428
|
+
bundleSite: "https://bundle.nizza.com",
|
|
429
429
|
// WSS IVS CHAT
|
|
430
430
|
wssIVSChat: "wss://edge.ivschat.us-east-1.amazonaws.com",
|
|
431
431
|
// Global Page
|
|
432
|
-
globalPage: "https://live
|
|
432
|
+
globalPage: "https://live.nizza.com"
|
|
433
433
|
}
|
|
434
434
|
};
|
|
435
435
|
function Wg(t, e) {
|