@builder.io/sdk-svelte 2.0.21 → 2.0.22

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.
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.0.21";
1
+ export declare const SDK_VERSION = "2.0.22";
@@ -1 +1 @@
1
- export const SDK_VERSION = "2.0.21";
1
+ export const SDK_VERSION = "2.0.22";
@@ -117,6 +117,6 @@ export interface Input {
117
117
  valueType?: {
118
118
  type?: string;
119
119
  };
120
- onChange?: ((options: Map<string, any>) => void | Promise<void>) | string;
120
+ onChange?: ((options: Map<string, any>, previousOptions?: Map<string, any>) => void | Promise<void>) | string;
121
121
  meta?: Record<string, any>;
122
122
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.0.21";
1
+ export declare const SDK_VERSION = "2.0.22";
@@ -1 +1 @@
1
- export const SDK_VERSION = "2.0.21";
1
+ export const SDK_VERSION = "2.0.22";
@@ -117,6 +117,6 @@ export interface Input {
117
117
  valueType?: {
118
118
  type?: string;
119
119
  };
120
- onChange?: ((options: Map<string, any>) => void | Promise<void>) | string;
120
+ onChange?: ((options: Map<string, any>, previousOptions?: Map<string, any>) => void | Promise<void>) | string;
121
121
  meta?: Record<string, any>;
122
122
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.0.21";
1
+ export declare const SDK_VERSION = "2.0.22";
@@ -1 +1 @@
1
- export const SDK_VERSION = "2.0.21";
1
+ export const SDK_VERSION = "2.0.22";
@@ -117,6 +117,6 @@ export interface Input {
117
117
  valueType?: {
118
118
  type?: string;
119
119
  };
120
- onChange?: ((options: Map<string, any>) => void | Promise<void>) | string;
120
+ onChange?: ((options: Map<string, any>, previousOptions?: Map<string, any>) => void | Promise<void>) | string;
121
121
  meta?: Record<string, any>;
122
122
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@builder.io/sdk-svelte",
3
3
  "description": "Builder.io SDK for Svelte",
4
- "version": "2.0.21",
4
+ "version": "2.0.22",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "lib",
@@ -1 +1 @@
1
- export const SDK_VERSION = "2.0.21"
1
+ export const SDK_VERSION = "2.0.22"
@@ -118,6 +118,6 @@ export interface Input {
118
118
  valueType?: {
119
119
  type?: string;
120
120
  };
121
- onChange?: ((options: Map<string, any>) => void | Promise<void>) | string;
121
+ onChange?: ((options: Map<string, any>, previousOptions?: Map<string, any>) => void | Promise<void>) | string;
122
122
  meta?: Record<string, any>;
123
123
  }