@rendley/sdk 1.12.14 → 1.12.15

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.
@@ -1228,7 +1228,7 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
1228
1228
  protected setupBlendingMode(pixiBlendMode: PIXI.BLEND_MODES | undefined): void;
1229
1229
  private updatePIXIFilters;
1230
1230
  hasSprite(): boolean;
1231
- protected fitToSize(oldWidth: number, oldHeight: number, oldScale: number[], newCrop: number[], fitStyle: FitStyleEnum, crop?: boolean): void;
1231
+ protected fitToSize(oldFullWidth: number, oldFullHeight: number, oldWidth: number, oldHeight: number, oldScale: number[], newCrop: number[], fitStyle: FitStyleEnum, crop?: boolean): void;
1232
1232
  update(currentTime: number): void;
1233
1233
  preload(currentTime: number): void;
1234
1234
  clone(): Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>>;
@@ -39,6 +39,7 @@ export declare enum EventsEnum {
39
39
  LIBRARY_MEDIA_UPDATED = "library:media:updated",
40
40
  LIBRARY_MEDIA_SAMPLES_UPDATED = "library:media:samples:updated",
41
41
  LIBRARY_MEDIA_FILMSTRIP_UPDATED = "library:media:filmstrip:updated",
42
+ LIBRARY_MEDIA_READY = "library:media:ready",// This is called when media is loaded and is part of the library!
42
43
  LIBRARY_PROGRESS = "library:progress",
43
44
  LIBRARY_EFFECT_ADDED = "library:effect:added",// To Libary
44
45
  LIBRARY_EFFECT_REMOVED = "library:effect:removed",// From Library
@@ -207,6 +208,9 @@ export type EventPayloadMap = {
207
208
  [EventsEnum.LIBRARY_MEDIA_FILMSTRIP_UPDATED]: {
208
209
  mediaDataId: string;
209
210
  };
211
+ [EventsEnum.LIBRARY_MEDIA_READY]: {
212
+ mediaDataId: string;
213
+ };
210
214
  [EventsEnum.LIBRARY_PROGRESS]: {
211
215
  mediaDataId: string;
212
216
  status: string;
@@ -55,5 +55,6 @@ export declare enum FitStyleEnum {
55
55
  ORIGINAL = "original",// Don't inherit source size
56
56
  MATCH_SCALE = "scale",// Inherit target scale
57
57
  OUTSIDE = "outside",// Touch edges from outside, source size >= target size
58
- INSIDE = "inside"
58
+ INSIDE = "inside",// Touch edges from inside, source size <= target size
59
+ MATCH_SIZE = "size"
59
60
  }
@@ -0,0 +1 @@
1
+ export declare function hasSimd(): Promise<boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rendley/sdk",
3
- "version": "1.12.14",
3
+ "version": "1.12.15",
4
4
  "license": "LICENSE",
5
5
  "author": "Onix Technologies",
6
6
  "homepage": "https://rendleysdk.com",
@@ -79,6 +79,7 @@
79
79
  "pixi.js": "7.4.0",
80
80
  "unplugin-preprocessor-directives": "^1.0.3",
81
81
  "uuid": "9.0.1",
82
+ "wasm-feature-detect": "^1.8.0",
82
83
  "zod": "3.22.4"
83
84
  }
84
85
  }