@signosoft/signpad-js 0.4.4 → 0.4.5

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.
@@ -4165,7 +4165,7 @@ window.SignatureDeviceConfigData = {
4165
4165
  }
4166
4166
  },
4167
4167
  STU430: {
4168
- delay: 4e3,
4168
+ delay: 5e3,
4169
4169
  images: {
4170
4170
  idle: "idle_stu430",
4171
4171
  signing: "signing_stu430"
@@ -4761,7 +4761,7 @@ let kA = class extends Wg {
4761
4761
  * Used for smooth mode switching (mouse <-> physical).
4762
4762
  */
4763
4763
  async disconnectForSeamlessSwitch(Q) {
4764
- this.stateManager.transitionTo(h.DISCONNECTING, Q), await this.connectionManager.disconnect(), this.resetDrawingState(), this.dispatch(n.SIGN_DISCONNECT);
4764
+ this.stateManager.transitionTo(h.DISCONNECTING, Q), await this.connectionManager.stopSigning(), await this.connectionManager.disconnect(), this.resetDrawingState(), this.dispatch(n.SIGN_DISCONNECT);
4765
4765
  }
4766
4766
  /**
4767
4767
  * Forces the component into mouse fallback mode without re-attempting physical reconnection.