@splinetool/runtime 0.9.65 → 0.9.68

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@splinetool/runtime",
3
- "version": "0.9.65",
3
+ "version": "0.9.68",
4
4
  "type": "module",
5
5
  "main": "./build/runtime.js",
6
6
  "module": "./build/runtime.js",
package/runtime.d.ts CHANGED
@@ -72,19 +72,19 @@ declare module '@splinetool/runtime' {
72
72
  };
73
73
  };
74
74
  /**
75
- * Triggers a Spline event associated to an object with provided uuid.
75
+ * Triggers a Spline event associated to an object with provided name or uuid.
76
76
  * Starts from first state to last state.
77
77
  * @param {string} eventName String that matches Spline event's name
78
- * @param {string} uuid
78
+ * @param {string} nameOrUuid The name or uuid of the object
79
79
  */
80
- emitEvent(eventName: SplineEventName, uuid: string): void;
80
+ emitEvent(eventName: SplineEventName, nameOrUuid: string): void;
81
81
  /**
82
- * Triggers a Spline event associated to an object with provided uuid in reverse order.
82
+ * Triggers a Spline event associated to an object with provided name or uuid in reverse order.
83
83
  * Starts from last state to first state.
84
84
  * @param {string} eventName String that matches Spline event's name
85
- * @param {string} uuid
85
+ * @param {string} nameOrUuid The name or uuid of the object
86
86
  */
87
- emitEventReverse(eventName: SplineEventName, uuid: string): void;
87
+ emitEventReverse(eventName: SplineEventName, nameOrUuid: string): void;
88
88
  /**
89
89
  * Add an event listener for Spline events
90
90
  * @param {string} eventName String that matches Spline event's name