@fraczled/sdk 1.29.0 → 1.30.1

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,4 +1,4 @@
1
- import { c as Da, _ as Va, g as il } from "./index-CKZGj1xb.js";
1
+ import { c as Da, _ as Va, g as il } from "./index-CXZBVuuc.js";
2
2
  var fn = {}, cn = {}, cr, vn;
3
3
  function Q() {
4
4
  if (vn) return cr;
package/index.d.ts CHANGED
@@ -255,6 +255,7 @@ export interface DesignState {
255
255
  }
256
256
 
257
257
  export type LicensePlan = 'free' | 'team' | 'business' | 'pro' | 'enterprise';
258
+ export type LicenseState = 'pending' | 'valid' | 'invalid' | 'offline';
258
259
 
259
260
  export interface LicenseEntitlements {
260
261
  ai: boolean;
@@ -277,6 +278,7 @@ export interface LicenseStatus {
277
278
  expiresAt?: string;
278
279
  message?: string;
279
280
  upgradeUrl?: string;
281
+ state?: LicenseState;
280
282
  }
281
283
 
282
284
  export type DeepPartial<T> = {
@@ -288,6 +290,19 @@ export interface LicenseValidationRequest {
288
290
  projectId: string;
289
291
  sdkVersion?: string;
290
292
  customerId?: string;
293
+ offlineLicense?: OfflineLicenseToken;
294
+ }
295
+
296
+ export interface OfflineLicenseToken {
297
+ payload: string;
298
+ signature: string;
299
+ }
300
+
301
+ export interface OfflineLicensePayload {
302
+ status: LicenseStatus;
303
+ projectId?: string;
304
+ issuedAt?: string;
305
+ expiresAt?: string;
291
306
  }
292
307
 
293
308
  export interface SDKServicesConfig {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fraczled/sdk",
3
- "version": "1.29.0",
3
+ "version": "1.30.1",
4
4
  "description": "Fraczled Design Studio SDK - Embed a powerful design editor in your application",
5
5
  "scripts": {
6
6
  "build": "vite build --config ../vite.sdk.config.ts && vite build --config ../vite.sdk.umd.config.ts",