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

@limetech/lime-web-components-interfaces

Package Overview
Dependencies
Maintainers
4
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@limetech/lime-web-components-interfaces - npm Package Compare versions

Comparing version 2.6.2 to 3.0.0

20

CHANGELOG.md

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

# [3.0.0](https://github.com/Lundalogik/lime-web-components/compare/v2.6.2...v3.0.0) (2020-04-23)
### Bug Fixes
* **decorators:** emit new value when context has changed ([a87c93a](https://github.com/Lundalogik/lime-web-components/commit/a87c93a9ba0dbe3436111898a1bb43ef2de19558)), closes [Lundalogik/crm-feature#1011](https://github.com/Lundalogik/crm-feature/issues/1011)
### BREAKING CHANGES
* **decorators:** The `LimePluginLoader` interface now requires the method `componentWillUpdate` to
be implemented. This is due to an issue in Stencil where the functionality of the function is not
included in the build unless at least one component in the project is using it. Since this fix is
using the `componentWillUpdate` function under the hood, it is now required that plugins add it to
their projects.
## [2.6.2](https://github.com/Lundalogik/lime-web-components/compare/v2.6.1...v2.6.2) (2020-04-22)

@@ -8,0 +28,0 @@

@@ -11,2 +11,7 @@ import { LimeWebComponent } from './lime-web-component.interface';

/**
* This method will never be called since the component will never
* be updated. It must still be present on the component though.
*/
componentWillUpdate(): void | Promise<any>;
/**
* This method will never be called since the component will live

@@ -13,0 +18,0 @@ * during the whole lifespan of the application. It must still be

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

import { Observable } from 'rxjs';
import { LimeWebComponentContext } from '../lime-web-component-context.interface';
/**

@@ -30,2 +32,11 @@ * Service for letting a Lime web component subscribe to state changes

}
export interface ContextAwareStateOptions extends StateOptions {
/**
* An observable that emits a new value when the context of the component
* is changed. If set, the corresponding state service will emit a new value
* when the context has changed as well. Only applies to states that are
* aware of the context, e.g. `CurrentLimetype` and `CurrentLimeobject`
*/
context?: Observable<LimeWebComponentContext>;
}
export * from './state/limeobjects-service.interface';

4

package.json
{
"name": "@limetech/lime-web-components-interfaces",
"version": "2.6.2",
"version": "3.0.0",
"author": "Lime Technologies",

@@ -33,3 +33,3 @@ "homepage": "https://github.com/Lundalogik/lime-web-components",

},
"gitHead": "1f0299588581a0f76a06cc65312930995433c7d3"
"gitHead": "c93988fca090e92d67e38b03247d6305c6224c7d"
}
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