Socket
Socket
Sign inDemoInstall

@candulabs/core

Package Overview
Dependencies
Maintainers
4
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@candulabs/core - npm Package Compare versions

Comparing version 0.8.12 to 0.8.13

16

CHANGELOG.md

@@ -6,2 +6,18 @@ # Change Log

## [0.8.13](https://github.com/candulabs/candu-sdk/tree/master/packages/candu-core/compare/v0.8.13-alpha.0...v0.8.13) (2021-10-20)
**Note:** Version bump only for package @candulabs/core
## 0.8.13-alpha.0 (2021-10-20)
**Note:** Version bump only for package @candulabs/core
## [0.8.12](https://github.com/candulabs/candu-sdk/tree/master/packages/candu-core/compare/v0.8.12-alpha.1...v0.8.12) (2021-10-19)

@@ -8,0 +24,0 @@

11

dist/content/content.d.ts
import { RootStore } from '../store';
import { CacheDocument } from './stores';
import { ContentProps } from '../inputValidation';
import { ClientToken, SegmentId, Slug } from '../models';
interface ContentResourceFetch {
clientToken: ClientToken;
slug: Slug;
segmentIds?: SegmentId[];
rootStore: RootStore;
cacheResult?: CacheDocument;
}
export declare const fetchContentResource: ({ clientToken, slug, segmentIds, rootStore, cacheResult, }: ContentResourceFetch) => void;
export declare function content(props: ContentProps, rootStore: RootStore): void;
export {};

9

dist/content/stores/contentFlux.d.ts

@@ -1,12 +0,5 @@

/// <reference types="lodash" />
import { FetchState } from '../../store';
import { ContentDocument, Slug } from '../../models';
import { ContentDocument } from '../../models';
declare type ContentState = Record<string, FetchState<ContentDocument>>;
export interface CacheDocument extends ContentDocument {
slug: Slug;
cache: boolean;
segmentSlugId: string;
}
export declare const mapToSlug: ((documents: CacheDocument[]) => Record<string, CacheDocument>) & import("lodash").MemoizedFunction;
export declare const contentFlux: import("../../store").Flux<ContentState>;
export {};
interface Store {
name: string;
options: IDBObjectStoreParameters;
indexes: Partial<IDBIndex>[];
}

@@ -13,5 +12,8 @@ declare type IndexedDBStores = Record<string, Store>;

* We must ensure we update STORES_VERSION when adding to STORES
*
* WARNING: The only type of upgrade we currently support is adding new stores
* Modifications to options are unsupported
*/
export declare const STORES_VERSION = 4;
export declare const STORES_VERSION = 2;
export declare const STORES: IndexedDBStores;
export {};

@@ -10,8 +10,7 @@ import { DBValue } from './KeyValue';

private openDB;
private createIndexes;
private getOptions;
private hasKeyPath;
save(value: Record<string, any>): void;
load(key: string, callback: (result: T) => void): void;
loadAll(callback: (result: T[]) => void): void;
load(key: string, callback: Function): void;
loadAll(callback: Function): void;
}

@@ -12,3 +12,3 @@ {

},
"version": "0.8.12",
"version": "0.8.13",
"main": "dist/index.js",

@@ -30,3 +30,3 @@ "module": "dist/index.es.js",

"dependencies": {
"@candulabs/eventing": "^0.8.12",
"@candulabs/eventing": "^0.8.13",
"dataloader": "^2.0.0",

@@ -37,3 +37,3 @@ "preact": "10.5.13",

},
"gitHead": "683797944709075696db7481d4288db32a9e51a7"
"gitHead": "2a30fa26eeb69f0eb21a7deb96b9cc8ee049087f"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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