@wcstack/state 2.1.1 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1069,6 +1069,7 @@ Object.freeze(tmpIndexByIndexName);
1069
1069
  const STATE_CONNECTED_CALLBACK_NAME = "$connectedCallback";
1070
1070
  const STATE_DISCONNECTED_CALLBACK_NAME = "$disconnectedCallback";
1071
1071
  const STATE_UPDATED_CALLBACK_NAME = "$updatedCallback";
1072
+ const STATE_ERROR_CALLBACK_NAME = "$errorCallback";
1072
1073
  const WEBCOMPONENT_STATE_READY_CALLBACK_NAME = "$stateReadyCallback";
1073
1074
  const STATE_BINDABLES_NAME = "$bindables";
1074
1075
  const STATE_COMMANDS_NAME = "$commands";
@@ -1143,6 +1144,7 @@ function getWcsManifest() {
1143
1144
  STATE_CONNECTED_CALLBACK_NAME,
1144
1145
  STATE_DISCONNECTED_CALLBACK_NAME,
1145
1146
  STATE_UPDATED_CALLBACK_NAME,
1147
+ STATE_ERROR_CALLBACK_NAME,
1146
1148
  WEBCOMPONENT_STATE_READY_CALLBACK_NAME,
1147
1149
  ],
1148
1150
  reservedStateApi: [
@@ -630,6 +630,7 @@
630
630
  "$connectedCallback",
631
631
  "$disconnectedCallback",
632
632
  "$updatedCallback",
633
+ "$errorCallback",
633
634
  "$stateReadyCallback"
634
635
  ],
635
636
  "reservedStateApi": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wcstack/state",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "description": "Reactive state management with declarative data binding for Web Components. Zero dependencies, buildless.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.esm.js",