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

@cloudbase/types

Package Overview
Dependencies
Maintainers
10
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudbase/types - npm Package Compare versions

Comparing version 0.1.0-beta.2 to 0.1.0-beta.5

15

cache.d.ts

@@ -1,3 +0,2 @@

import { ICloudbaseConfig } from "@cloudbase/types";
import { ICloudbasePlatformInfo, KV } from ".";
import { ICloudbasePlatformInfo, KV,ICloudbaseConfig } from ".";

@@ -12,7 +11,17 @@ export type ICacheConfig = Pick < ICloudbaseConfig, 'debug' | 'persistence' > & {

keys:KV<string>;
mode: 'async' | 'sync';
setStore(key: string, value: string, version?: string):void;
setStoreAsync(key: string, value: string, version?: string):Promise<void>;
getStore(key: string, version?: string):string;
getStoreAsync(key: string, version?: string):Promise<string>;
removeStore(key:string):void;
removeStoreAsync(key:string):Promise<void>;
updatePersistence?(persistence:string):void;
updatePersistenceAsync?(persistence:string):Promise<void>;
clear?():void;
updatePersistence?(persistence:string):void;
}

2

package.json
{
"name": "@cloudbase/types",
"version": "0.1.0-beta.2",
"version": "0.1.0-beta.5",
"description": "cloudbase javascript sdk types",

@@ -5,0 +5,0 @@ "files": [

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