@candulabs/core
Advanced tools
Comparing version 0.8.8 to 0.8.9
@@ -6,2 +6,58 @@ # Change Log | ||
## [0.8.9](https://github.com/candulabs/candu-sdk/tree/master/packages/candu-core/compare/v0.8.9-alpha.5...v0.8.9) (2021-09-29) | ||
**Note:** Version bump only for package @candulabs/core | ||
## 0.8.9-alpha.5 (2021-09-29) | ||
**Note:** Version bump only for package @candulabs/core | ||
## 0.8.9-alpha.4 (2021-09-29) | ||
**Note:** Version bump only for package @candulabs/core | ||
## 0.8.9-alpha.3 (2021-09-28) | ||
**Note:** Version bump only for package @candulabs/core | ||
## 0.8.9-alpha.2 (2021-09-27) | ||
**Note:** Version bump only for package @candulabs/core | ||
## 0.8.9-alpha.1 (2021-09-27) | ||
**Note:** Version bump only for package @candulabs/core | ||
## 0.8.9-alpha.0 (2021-09-23) | ||
**Note:** Version bump only for package @candulabs/core | ||
## [0.8.8](https://github.com/candulabs/candu-sdk/tree/master/packages/candu-core/compare/v0.8.8-alpha.3...v0.8.8) (2021-09-23) | ||
@@ -8,0 +64,0 @@ |
export * from './init'; | ||
export * from './stores'; | ||
export { loadSegmentMembership } from './loadSegmentMembership'; | ||
export { loadRenderLocations } from './loadRenderLocations'; | ||
export * from './CanduAppState'; |
@@ -6,3 +6,2 @@ import { ProviderProps } from '../inputValidation'; | ||
/** SDK Info passed by js/react/cdn SDK, clients should not normally pass it */ | ||
/** NOTE: this field won't be needed once render locations branch is merged */ | ||
sdkInfo?: PackageInfo; | ||
@@ -20,2 +19,2 @@ } | ||
}; | ||
export declare function init(props: InitProps, rootStore: RootStore): void; | ||
export declare function initRootStore(props: InitProps, rootStore: RootStore): void; |
export * from './configFlux'; | ||
export * from './eventingFlux'; | ||
export * from './userFlux'; | ||
export * from './renderLocationFlux'; | ||
export * from './segmentMembershipsFlux'; |
@@ -38,4 +38,5 @@ export declare const ERROR_SLUGS: { | ||
SEGMENT_MEMBERSHIP_LOAD_TIME: string; | ||
CLIENT_CONFIG_LOAD_TIME: string; | ||
CONTENT_LOAD_TIME: string; | ||
DOCUMENT_MOUNT_TIME: string; | ||
}; |
export * from './constants'; | ||
export * from './options'; | ||
export * from './preview'; | ||
export * from './RenderLocation'; | ||
export * from './SegmentMembership'; | ||
export * from './types'; |
import React, { Component } from 'preact/compat'; | ||
import { ProviderProps } from '../../inputValidation'; | ||
import { RootStore } from '../../store'; | ||
export interface CanduProviderProps extends ProviderProps { | ||
/** Root store that holds all Candu state */ | ||
rootStore: RootStore; | ||
} | ||
/** | ||
* Entry point of the application. A CanduProvider is responsible for: | ||
* 1. Send an identify call that identifies the user and any traits associated to it. | ||
* 2. Send a request to SegmentMembership to get all the segmentIds that the user belongs to. | ||
* These will be used in the Portal to route the user to the correct content. | ||
* Entry point of the application. | ||
* This provider is mainly responsible for providing root store | ||
*/ | ||
export declare class CanduProvider extends Component<ProviderProps, RootStore> { | ||
constructor(props: ProviderProps); | ||
export declare class CanduProvider extends Component<CanduProviderProps> { | ||
render(): React.JSX.Element | null; | ||
} |
@@ -1,2 +0,2 @@ | ||
export { CanduProvider, defaultProviderContext } from './CanduProvider'; | ||
export { CanduProvider, CanduProviderProps, defaultProviderContext } from './CanduProvider'; | ||
export { DocumentDefinition as TutorialDocument, DocumentDefinition } from './DocumentDefinition'; | ||
@@ -6,1 +6,2 @@ export { Content } from './Content'; | ||
export { useEventing } from './hooks'; | ||
export { connect } from './connect'; |
import React from 'preact/compat'; | ||
import { StyleguideProps } from '../../../types'; | ||
export declare const Card: ({ attributes: { children, isDismissible, ...attributes }, api, }: StyleguideProps<{ | ||
isDismissible?: boolean | undefined; | ||
}>) => React.JSX.Element | null; | ||
interface CardProps { | ||
isDismissible?: boolean; | ||
variant?: string; | ||
} | ||
export declare const Card: ({ attributes: { children, isDismissible, variant, ...attributes }, api, }: StyleguideProps<CardProps>) => React.JSX.Element | null; | ||
export {}; |
@@ -6,5 +6,5 @@ import { StoreAction, Flux } from './createFlux'; | ||
getState(): State; | ||
subscribe(listener: (s: object) => any): () => void; | ||
subscribe(listener: (state: State, oldState: State) => any): () => void; | ||
dispatch(action: StoreAction): Store<State>; | ||
} | ||
export declare function createStore<State>({ name, initialValue, reducer }: Flux<State>): Store<State>; |
@@ -7,1 +7,2 @@ export * from './logger'; | ||
export * from './window'; | ||
export * from './RateLimiter'; |
@@ -12,3 +12,3 @@ { | ||
}, | ||
"version": "0.8.8", | ||
"version": "0.8.9", | ||
"main": "dist/index.js", | ||
@@ -30,3 +30,3 @@ "module": "dist/index.es.js", | ||
"dependencies": { | ||
"@candulabs/eventing": "^0.8.8", | ||
"@candulabs/eventing": "^0.8.9", | ||
"dataloader": "^2.0.0", | ||
@@ -37,3 +37,3 @@ "preact": "10.5.13", | ||
}, | ||
"gitHead": "548b778686f6eace496ebb3f2e616736c2a9194e" | ||
"gitHead": "e43db0385b5245aa257333f5d04fc3ec44f80bc2" | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
601291
205
3918
24
Updated@candulabs/eventing@^0.8.9