Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

castle-api-client

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

castle-api-client - npm Package Compare versions

Comparing version 5.1.1 to 5.1.2

2

package.json
{
"name": "castle-api-client",
"version": "5.1.1",
"version": "5.1.2",
"description": "Castle API Client",

@@ -5,0 +5,0 @@ "main": "CastleApiClient.js",

@@ -5,3 +5,3 @@ let ReactNative = require('react-native');

class ReactNativeAsyncStorage {
module.exports = class ReactNativeAsyncStorage {
constructor(opts) {

@@ -17,3 +17,3 @@ this._opts = { ...opts };

async getAsync(key) {
let jsonValue = await AsyncStorage(this._prefix + key);
let jsonValue = await AsyncStorage.getItem(this._prefix + key);
if (jsonValue) {

@@ -25,4 +25,4 @@ return JSON.parse(jsonValue);

async deleteAsync(key) {
await _AsyncStorage.deleteAsync(this._prefix + key);
await AsyncStorage.removeItem(this._prefix + key);
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc