@naylence/runtime 0.3.5-test.8 → 0.3.5-test.900

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.
@@ -4894,8 +4894,6 @@ const ENV_VAR_STORAGE_MASTER_KEY = 'FAME_STORAGE_MASTER_KEY';
4894
4894
  const ENV_VAR_STORAGE_ENCRYPTED = 'FAME_STORAGE_ENCRYPTED';
4895
4895
  const PROFILE_NAME_MEMORY = 'memory';
4896
4896
  const PROFILE_NAME_INDEXEDDB = 'indexeddb';
4897
- const PROFILE_NAME_SQLITE = 'sqlite';
4898
- const PROFILE_NAME_ENCRYPTED_SQLITE = 'encrypted-sqlite';
4899
4897
  const storageProfileSchema = z
4900
4898
  .object({
4901
4899
  type: z.literal('StorageProfile').default('StorageProfile'),
@@ -4911,20 +4909,13 @@ const MEMORY_PROFILE_CONFIG = {
4911
4909
  const INDEXEDDB_PROFILE_CONFIG = {
4912
4910
  type: 'IndexedDBStorageProvider',
4913
4911
  };
4914
- const SQLITE_PROFILE_CONFIG = {
4915
- type: 'SQLiteStorageProvider',
4912
+ ({
4916
4913
  dbDirectory: Expressions.env(ENV_VAR_STORAGE_DB_DIRECTORY, './data/sqlite'),
4917
4914
  isEncrypted: Expressions.env(ENV_VAR_STORAGE_ENCRYPTED, 'false'),
4918
- masterKey: Expressions.env(ENV_VAR_STORAGE_MASTER_KEY, ''),
4919
- isCached: true,
4920
- };
4921
- const ENCRYPTED_SQLITE_PROFILE_CONFIG = {
4922
- type: 'SQLiteStorageProvider',
4915
+ masterKey: Expressions.env(ENV_VAR_STORAGE_MASTER_KEY, '')});
4916
+ ({
4923
4917
  dbDirectory: Expressions.env(ENV_VAR_STORAGE_DB_DIRECTORY, './data/sqlite'),
4924
- isEncrypted: 'true',
4925
- masterKey: Expressions.env(ENV_VAR_STORAGE_MASTER_KEY),
4926
- isCached: true,
4927
- };
4918
+ masterKey: Expressions.env(ENV_VAR_STORAGE_MASTER_KEY)});
4928
4919
  // Base profile map with browser-safe options
4929
4920
  const BASE_PROFILE_MAP = {
4930
4921
  [PROFILE_NAME_MEMORY]: MEMORY_PROFILE_CONFIG,
@@ -4934,12 +4925,6 @@ const BASE_PROFILE_MAP = {
4934
4925
  const PROFILE_MAP$1 = {
4935
4926
  ...BASE_PROFILE_MAP,
4936
4927
  };
4937
- // Register SQLite profiles if we're in Node.js environment
4938
- // This check allows the code to work in both browser and Node.js
4939
- if (typeof process !== 'undefined' && process.versions?.node) {
4940
- PROFILE_MAP$1[PROFILE_NAME_SQLITE] = SQLITE_PROFILE_CONFIG;
4941
- PROFILE_MAP$1[PROFILE_NAME_ENCRYPTED_SQLITE] = ENCRYPTED_SQLITE_PROFILE_CONFIG;
4942
- }
4943
4928
  class StorageProfileFactory extends StorageProviderFactory {
4944
4929
  constructor() {
4945
4930
  super(...arguments);