@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.
@@ -3334,8 +3334,6 @@ const ENV_VAR_STORAGE_MASTER_KEY = 'FAME_STORAGE_MASTER_KEY';
3334
3334
  const ENV_VAR_STORAGE_ENCRYPTED = 'FAME_STORAGE_ENCRYPTED';
3335
3335
  const PROFILE_NAME_MEMORY = 'memory';
3336
3336
  const PROFILE_NAME_INDEXEDDB = 'indexeddb';
3337
- const PROFILE_NAME_SQLITE = 'sqlite';
3338
- const PROFILE_NAME_ENCRYPTED_SQLITE = 'encrypted-sqlite';
3339
3337
  const storageProfileSchema = zod.z
3340
3338
  .object({
3341
3339
  type: zod.z.literal('StorageProfile').default('StorageProfile'),
@@ -3351,20 +3349,13 @@ const MEMORY_PROFILE_CONFIG = {
3351
3349
  const INDEXEDDB_PROFILE_CONFIG = {
3352
3350
  type: 'IndexedDBStorageProvider',
3353
3351
  };
3354
- const SQLITE_PROFILE_CONFIG = {
3355
- type: 'SQLiteStorageProvider',
3352
+ ({
3356
3353
  dbDirectory: factory.Expressions.env(ENV_VAR_STORAGE_DB_DIRECTORY, './data/sqlite'),
3357
3354
  isEncrypted: factory.Expressions.env(ENV_VAR_STORAGE_ENCRYPTED, 'false'),
3358
- masterKey: factory.Expressions.env(ENV_VAR_STORAGE_MASTER_KEY, ''),
3359
- isCached: true,
3360
- };
3361
- const ENCRYPTED_SQLITE_PROFILE_CONFIG = {
3362
- type: 'SQLiteStorageProvider',
3355
+ masterKey: factory.Expressions.env(ENV_VAR_STORAGE_MASTER_KEY, '')});
3356
+ ({
3363
3357
  dbDirectory: factory.Expressions.env(ENV_VAR_STORAGE_DB_DIRECTORY, './data/sqlite'),
3364
- isEncrypted: 'true',
3365
- masterKey: factory.Expressions.env(ENV_VAR_STORAGE_MASTER_KEY),
3366
- isCached: true,
3367
- };
3358
+ masterKey: factory.Expressions.env(ENV_VAR_STORAGE_MASTER_KEY)});
3368
3359
  // Base profile map with browser-safe options
3369
3360
  const BASE_PROFILE_MAP = {
3370
3361
  [PROFILE_NAME_MEMORY]: MEMORY_PROFILE_CONFIG,
@@ -3374,12 +3365,6 @@ const BASE_PROFILE_MAP = {
3374
3365
  const PROFILE_MAP$1 = {
3375
3366
  ...BASE_PROFILE_MAP,
3376
3367
  };
3377
- // Register SQLite profiles if we're in Node.js environment
3378
- // This check allows the code to work in both browser and Node.js
3379
- if (typeof process !== 'undefined' && process.versions?.node) {
3380
- PROFILE_MAP$1[PROFILE_NAME_SQLITE] = SQLITE_PROFILE_CONFIG;
3381
- PROFILE_MAP$1[PROFILE_NAME_ENCRYPTED_SQLITE] = ENCRYPTED_SQLITE_PROFILE_CONFIG;
3382
- }
3383
3368
  class StorageProfileFactory extends StorageProviderFactory {
3384
3369
  constructor() {
3385
3370
  super(...arguments);