@moonbase.sh/gorilla-engine 0.3.3 → 0.3.4

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/dist/index.cjs CHANGED
@@ -53,7 +53,7 @@ var import_node_process = __toESM(require("process"), 1);
53
53
  var import_licensing = require("@moonbase.sh/licensing");
54
54
 
55
55
  // package.json
56
- var version = "0.3.3";
56
+ var version = "0.3.4";
57
57
 
58
58
  // src/download.ts
59
59
  var import_node_fs = __toESM(require("fs"), 1);
@@ -491,8 +491,8 @@ var MoonbaseGorillaEngine = class extends import_licensing.ActivationController
491
491
  this.host = host;
492
492
  this.lockAudioAndMidi = (_d = options.lockAudioAndMidi) != null ? _d : true;
493
493
  this.previousLicenseFiles = (_e = options.previousLicenseFiles) != null ? _e : [];
494
- const warn = (_g = (_f = options.log) == null ? void 0 : _f.warn) != null ? _g : (message) => console.warn(message);
495
- this.onError = (_h = options.onError) != null ? _h : (failure) => warn(`moonbase: ${failure.action} failed: ${failure.message}`);
494
+ const warn = (_g = (_f = options.log) == null ? void 0 : _f.warn) != null ? _g : ((message) => console.warn(message));
495
+ this.onError = (_h = options.onError) != null ? _h : ((failure) => warn(`moonbase: ${failure.action} failed: ${failure.message}`));
496
496
  this.subscribe((state) => this.afterStateChange(state));
497
497
  }
498
498
  /**
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { ActivationStatus, ActivationUiOptions, ActivationControllerOptions, ActivationScreen, ActivationController, ActivationState } from '@moonbase.sh/licensing';
1
+ import { ActivationScreen, ActivationStatus, ActivationUiOptions, ActivationController, ActivationControllerOptions, ActivationState } from '@moonbase.sh/licensing';
2
2
  export { ActivationError, ActivationErrorKind, ActivationLogger, ActivationScreen, ActivationState, ActivationStatus, ActivationStrings, ActivationUiOptions, LicenseView, LockReason, MoonbaseError, ReleaseNotCoveredError, TrialFeature } from '@moonbase.sh/licensing';
3
3
  import { ReactElement } from 'react';
4
4
 
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ActivationStatus, ActivationUiOptions, ActivationControllerOptions, ActivationScreen, ActivationController, ActivationState } from '@moonbase.sh/licensing';
1
+ import { ActivationScreen, ActivationStatus, ActivationUiOptions, ActivationController, ActivationControllerOptions, ActivationState } from '@moonbase.sh/licensing';
2
2
  export { ActivationError, ActivationErrorKind, ActivationLogger, ActivationScreen, ActivationState, ActivationStatus, ActivationStrings, ActivationUiOptions, LicenseView, LockReason, MoonbaseError, ReleaseNotCoveredError, TrialFeature } from '@moonbase.sh/licensing';
3
3
  import { ReactElement } from 'react';
4
4
 
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import process from "process";
9
9
  import { ActivationController, ActivationError, licensingVersion, MoonbaseError, ReleaseNotCoveredError } from "@moonbase.sh/licensing";
10
10
 
11
11
  // package.json
12
- var version = "0.3.3";
12
+ var version = "0.3.4";
13
13
 
14
14
  // src/download.ts
15
15
  import fs from "fs";
@@ -447,8 +447,8 @@ var MoonbaseGorillaEngine = class extends ActivationController {
447
447
  this.host = host;
448
448
  this.lockAudioAndMidi = (_d = options.lockAudioAndMidi) != null ? _d : true;
449
449
  this.previousLicenseFiles = (_e = options.previousLicenseFiles) != null ? _e : [];
450
- const warn = (_g = (_f = options.log) == null ? void 0 : _f.warn) != null ? _g : (message) => console.warn(message);
451
- this.onError = (_h = options.onError) != null ? _h : (failure) => warn(`moonbase: ${failure.action} failed: ${failure.message}`);
450
+ const warn = (_g = (_f = options.log) == null ? void 0 : _f.warn) != null ? _g : ((message) => console.warn(message));
451
+ this.onError = (_h = options.onError) != null ? _h : ((failure) => warn(`moonbase: ${failure.action} failed: ${failure.message}`));
452
452
  this.subscribe((state) => this.afterStateChange(state));
453
453
  }
454
454
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@moonbase.sh/gorilla-engine",
3
3
  "type": "module",
4
- "version": "0.3.3",
4
+ "version": "0.3.4",
5
5
  "description": "Moonbase.sh licensing for Gorilla Engine plugins, with a finished activation overlay",
6
6
  "author": "Tobias Lønnerød Madsen <m@dsen.tv>",
7
7
  "license": "MIT",
@@ -32,7 +32,7 @@
32
32
  "react": ">=18"
33
33
  },
34
34
  "dependencies": {
35
- "@moonbase.sh/licensing": "3.7.0"
35
+ "@moonbase.sh/licensing": "3.7.1"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@types/jsonwebtoken": "^9.0.9",
@@ -45,7 +45,7 @@
45
45
  "react-test-renderer": "19.3.0",
46
46
  "tsup": "^8.5.0",
47
47
  "typescript": "~5.8.3",
48
- "vitest": "^2.1.4"
48
+ "vitest": "^4.1.12"
49
49
  },
50
50
  "scripts": {
51
51
  "build": "tsup && tsc -p tsconfig.dist.json",