@sneat/app 0.3.0 → 0.5.0
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/environments/environment.base.d.ts +1 -1
- package/environments/index.d.ts +1 -1
- package/esm2022/environments/environment.base.js +1 -1
- package/esm2022/environments/environment.base.js.map +1 -1
- package/esm2022/environments/environment.local.js +2 -2
- package/esm2022/environments/environment.local.js.map +1 -1
- package/esm2022/environments/index.js +1 -1
- package/esm2022/environments/index.js.map +1 -1
- package/esm2022/index.js +0 -1
- package/esm2022/index.js.map +1 -1
- package/index.d.ts +0 -1
- package/package.json +1 -1
- package/tsconfig.lib.prod.tsbuildinfo +1 -1
- package/environments/environment.prod.d.ts +0 -3
- package/esm2022/environments/environment.prod.js +0 -16
- package/esm2022/environments/environment.prod.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { IEnvironmentConfig, IFirebaseEmulatorConfig } from '@sneat/core';
|
|
2
2
|
export declare const firebaseEmulatorConfig: IFirebaseEmulatorConfig;
|
|
3
3
|
export declare const notNeededForEmulator = "not-needed-for-emulator";
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const emulatorEnvironmentConfig: IEnvironmentConfig;
|
package/environments/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { emulatorEnvironmentConfig } from './environment.base';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment.base.js","sourceRoot":"","sources":["../../../../../libs/app/src/environments/environment.base.ts"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,oCAAoC;AAEpC,MAAM,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;AAC9D,MAAM,MAAM,GAAG,QAAQ,IAAI,MAAM,CAAC,QAAQ,CAAC,QAAQ,IAAI,oBAAoB,CAAC;AAE5E,6DAA6D;AAC7D,MAAM,qBAAqB,G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M,sBAAsB,GAA4B;IAC7D,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI;IAC7B,QAAQ,EAAE,QAAQ;QAChB,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ;QAC1B,CAAC,CAAC,MAAM;YACN,CAAC,CAAC,wBAAwB;YAC1B,CAAC,CAAC,qBAAqB;IAC3B,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI;IAClC,aAAa,EAAE,QAAQ;QACrB,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,QAAQ;QAC1B,CAAC,CAAC,MAAM;YACN,CAAC,CAAC,0BAA0B;YAC5B,CAAC,CAAC,qBAAqB;CAC5B,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,yBAAyB,CAAC;AAE9D,MAAM,cAAc,GAAoB;IACtC,QAAQ,EAAE,sBAAsB;IAChC,MAAM,EAAE,oBAAoB;IAC5B,UAAU,EAAE,WAAW;IACvB,SAAS,EAAE,iBAAiB,EAAE,sDAAsD;IACpF,KAAK,EAAE,oBAAoB;IAC3B,aAAa,EAAE,qBAAqB;CACrC,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAuB;IAC3D,UAAU,EAAE,KAAK;IACjB,QAAQ;IACR,MAAM,EAAE,EAAE;IACV,cAAc;CACf,CAAC","sourcesContent":["import {\n IEnvironmentConfig,\n IFirebaseConfig,\n IFirebaseEmulatorConfig,\n} from '@sneat/core';\n/*\n * For easier debugging in development mode, you can import the following file\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\n *\n * This import should be commented out in production mode because it will have a negative impact\n * on performance if an error is thrown.\n */\n// import 'zone.js/dist/zone-error';\n\nconst useNgrok = window.location.hostname.includes('.ngrok.');\nconst useSSL = useNgrok || window.location.hostname == 'local-app.sneat.ws';\n\n// const nonSecureEmulatorHost = '127.0.0.1'; // 'localhost';\nconst nonSecureEmulatorHost = '127.0.0.1'; // 'localhost';\n\nexport const firebaseEmulatorConfig: IFirebaseEmulatorConfig = {\n authPort: useSSL ? 443 : 9099,\n authHost: useNgrok\n ? window.location.hostname\n : useSSL\n ? 'local-fb-auth.sneat.ws'\n : nonSecureEmulatorHost,\n firestorePort: useSSL ? 443 : 8080,\n firestoreHost: useNgrok\n ? window.location.hostname\n : useSSL\n ? 'local-firestore.sneat.ws'\n : nonSecureEmulatorHost,\n};\n\nexport const notNeededForEmulator = 'not-needed-for-emulator';\n\nconst firebaseConfig: IFirebaseConfig = {\n emulator: firebaseEmulatorConfig,\n apiKey: notNeededForEmulator,\n authDomain: 'sneat.app',\n projectId: 'local-sneat-app', // The 'demo-' prefix is added if useEmulators is true\n appId: notNeededForEmulator,\n measurementId: 'G-PROVIDE_IF_NEEDED',\n};\n\nexport const emulatorEnvironmentConfig: IEnvironmentConfig = {\n production: false,\n useNgrok,\n agents: {},\n firebaseConfig,\n};\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { emulatorEnvironmentConfig } from './environment.base';
|
|
2
2
|
/*
|
|
3
3
|
* For easier debugging in development mode, you can import the following file
|
|
4
4
|
* to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
|
|
@@ -8,6 +8,6 @@ import { baseEnvironmentConfig } from './environment.base';
|
|
|
8
8
|
*/
|
|
9
9
|
// import 'zone.js/dist/zone-error';
|
|
10
10
|
export const environmentConfig = {
|
|
11
|
-
...
|
|
11
|
+
...emulatorEnvironmentConfig,
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=environment.local.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"environment.local.js","sourceRoot":"","sources":["../../../../../libs/app/src/environments/environment.local.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"environment.local.js","sourceRoot":"","sources":["../../../../../libs/app/src/environments/environment.local.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC/D;;;;;;GAMG;AACH,oCAAoC;AAEpC,MAAM,CAAC,MAAM,iBAAiB,GAAuB;IACnD,GAAG,yBAAyB;CAC7B,CAAC","sourcesContent":["import { IEnvironmentConfig } from '@sneat/core';\nimport { emulatorEnvironmentConfig } from './environment.base';\n/*\n * For easier debugging in development mode, you can import the following file\n * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.\n *\n * This import should be commented out in production mode because it will have a negative impact\n * on performance if an error is thrown.\n */\n// import 'zone.js/dist/zone-error';\n\nexport const environmentConfig: IEnvironmentConfig = {\n ...emulatorEnvironmentConfig,\n};\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { emulatorEnvironmentConfig } from './environment.base';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/app/src/environments/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/app/src/environments/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC","sourcesContent":["export { emulatorEnvironmentConfig } from './environment.base';\n"]}
|
package/esm2022/index.js
CHANGED
|
@@ -4,7 +4,6 @@ export * from './lib/sneat-base-app';
|
|
|
4
4
|
export * from './lib/get-standard-sneat-imports';
|
|
5
5
|
export * from './lib/app-component.service';
|
|
6
6
|
export * from './environments/environment.local';
|
|
7
|
-
export * from './environments/environment.prod';
|
|
8
7
|
export * from './lib/init-firebase';
|
|
9
8
|
export * from './lib/init-helpers';
|
|
10
9
|
export * from './lib/contact-extensions';
|
package/esm2022/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/app/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/app/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kCAAkC,CAAC;AACjD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kCAAkC,CAAC;AACjD,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,oCAAoC,CAAC;AACnD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC","sourcesContent":["export * from './environments';\nexport * from './lib/base-app.component';\nexport * from './lib/sneat-base-app';\nexport * from './lib/get-standard-sneat-imports';\nexport * from './lib/app-component.service';\nexport * from './environments/environment.local';\nexport * from './lib/init-firebase';\nexport * from './lib/init-helpers';\nexport * from './lib/contact-extensions';\nexport * from './lib/get-standard-sneat-providers';\nexport * from './lib/app-specific-providers';\nexport * from './lib/capacitator-http.service';\n"]}
|
package/index.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ export * from './lib/sneat-base-app';
|
|
|
4
4
|
export * from './lib/get-standard-sneat-imports';
|
|
5
5
|
export * from './lib/app-component.service';
|
|
6
6
|
export * from './environments/environment.local';
|
|
7
|
-
export * from './environments/environment.prod';
|
|
8
7
|
export * from './lib/init-firebase';
|
|
9
8
|
export * from './lib/init-helpers';
|
|
10
9
|
export * from './lib/contact-extensions';
|