@capacitor/preferences
Advanced tools
Comparing version 7.0.0-dev-2288-20241220T172522.0 to 7.0.0-dev-2288-20250113T115140.0
@@ -46,3 +46,3 @@ 'use strict'; | ||
const key = oldkey.substring(oldprefix.length); | ||
const value = (_a = this.impl.getItem(oldkey)) !== null && _a !== void 0 ? _a : ''; | ||
const value = (_a = this.impl.getItem(oldkey)) !== null && _a !== undefined ? _a : ''; | ||
const { value: currentValue } = await this.get({ key }); | ||
@@ -49,0 +49,0 @@ if (typeof currentValue === 'string') { |
@@ -45,3 +45,3 @@ var capacitorPreferences = (function (exports, core) { | ||
const key = oldkey.substring(oldprefix.length); | ||
const value = (_a = this.impl.getItem(oldkey)) !== null && _a !== void 0 ? _a : ''; | ||
const value = (_a = this.impl.getItem(oldkey)) !== null && _a !== undefined ? _a : ''; | ||
const { value: currentValue } = await this.get({ key }); | ||
@@ -48,0 +48,0 @@ if (typeof currentValue === 'string') { |
{ | ||
"name": "@capacitor/preferences", | ||
"version": "7.0.0-dev-2288-20241220T172522.0", | ||
"version": "7.0.0-dev-2288-20250113T115140.0", | ||
"description": "The Preferences API provides a simple key/value persistent store for lightweight data.", | ||
@@ -5,0 +5,0 @@ "main": "dist/plugin.cjs.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
70582