@opendaw/studio-core 0.0.31 → 0.0.32

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 +1 @@
1
- {"version":3,"file":"AudioWorklets.d.ts","sourceRoot":"","sources":["../src/AudioWorklets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAC/C,OAAO,EAAC,wBAAwB,EAAa,MAAM,0BAA0B,CAAA;AAC7E,OAAO,EAAC,OAAO,EAAC,MAAM,mBAAmB,CAAA;AACzC,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAA;AAC7C,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAA;AAKnD,qBAAa,aAAa;;WACT,OAAO,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,aAAa,CAAC;IAQvE,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,gBAAgB,GAAG,aAAa;gBAMxC,OAAO,EAAE,gBAAgB;IAErC,IAAI,OAAO,IAAI,gBAAgB,CAAuB;IAEtD,WAAW,CAAC,gBAAgB,EAAE,GAAG,GAAG,YAAY;IAIhD,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE,mBAAmB,CAAC,EAAE,wBAAwB,GAAG,aAAa;IAI7F,eAAe,CAAC,gBAAgB,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,aAAa,EAAE,MAAM,GAAG,gBAAgB;CAOlG"}
1
+ {"version":3,"file":"AudioWorklets.d.ts","sourceRoot":"","sources":["../src/AudioWorklets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,GAAG,EAAC,MAAM,kBAAkB,CAAA;AAC/C,OAAO,EAAC,wBAAwB,EAAa,MAAM,0BAA0B,CAAA;AAC7E,OAAO,EAAC,OAAO,EAAC,MAAM,mBAAmB,CAAA;AACzC,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAA;AAC7C,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAA;AAC3C,OAAO,EAAC,gBAAgB,EAAC,MAAM,oBAAoB,CAAA;AAInD,qBAAa,aAAa;;WACT,OAAO,CAAC,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,aAAa,CAAC;IAQvE,MAAM,CAAC,GAAG,CAAC,OAAO,EAAE,gBAAgB,GAAG,aAAa;gBAMxC,OAAO,EAAE,gBAAgB;IAErC,IAAI,OAAO,IAAI,gBAAgB,CAAuB;IAEtD,WAAW,CAAC,gBAAgB,EAAE,GAAG,GAAG,YAAY;IAIhD,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE,mBAAmB,CAAC,EAAE,wBAAwB,GAAG,aAAa;IAI7F,eAAe,CAAC,gBAAgB,EAAE,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE,aAAa,EAAE,MAAM,GAAG,gBAAgB;CAOlG"}
@@ -3,7 +3,7 @@ import { EngineWorklet } from "./EngineWorklet";
3
3
  import { MeterWorklet } from "./MeterWorklet";
4
4
  import { RecordingWorklet } from "./RecordingWorklet";
5
5
  import { RenderQuantum } from "./RenderQuantum";
6
- const WorkletsUrl = new URL("./processors.js", import.meta.url);
6
+ import { WorkletsUrl } from "./asset-urls";
7
7
  export class AudioWorklets {
8
8
  static async install(context) {
9
9
  return context.audioWorklet.addModule(WorkletsUrl).then(() => {
@@ -1 +1 @@
1
- {"version":3,"file":"WorkerAgents.d.ts","sourceRoot":"","sources":["../src/WorkerAgents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,MAAM,EAAY,MAAM,kBAAkB,CAAA;AACjF,OAAO,KAAK,EAAC,YAAY,EAAE,kBAAkB,EAAC,MAAM,qBAAqB,CAAA;AACzE,OAAO,EAAe,SAAS,EAAC,MAAM,sBAAsB,CAAA;AAI5D,qBAAa,YAAY;WACR,OAAO;IAgBpB,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,SAAS,CAAC,CAAc;IAGjD,MAAM,KAAK,IAAI,IAAI,kBAAkB,CAapC;IAGD,MAAM,KAAK,IAAI,IAAI,YAAY,CAS9B;CACJ"}
1
+ {"version":3,"file":"WorkerAgents.d.ts","sourceRoot":"","sources":["../src/WorkerAgents.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,MAAM,EAAY,MAAM,kBAAkB,CAAA;AACjF,OAAO,KAAK,EAAC,YAAY,EAAE,kBAAkB,EAAC,MAAM,qBAAqB,CAAA;AACzE,OAAO,EAAe,SAAS,EAAC,MAAM,sBAAsB,CAAA;AAG5D,qBAAa,YAAY;WACR,OAAO;IAgBpB,MAAM,CAAC,SAAS,EAAE,MAAM,CAAC,SAAS,CAAC,CAAc;IAGjD,MAAM,KAAK,IAAI,IAAI,kBAAkB,CAapC;IAGD,MAAM,KAAK,IAAI,IAAI,YAAY,CAS9B;CACJ"}
@@ -9,12 +9,12 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  };
10
10
  import { assert, Lazy, Option } from "@opendaw/lib-std";
11
11
  import { Communicator, Messenger } from "@opendaw/lib-runtime";
12
- const WorkerUrl = new URL("./workers.js", import.meta.url);
12
+ import { WorkersUrl } from "./asset-urls";
13
13
  export class WorkerAgents {
14
14
  static async install() {
15
15
  assert(this.messenger.isEmpty(), "WorkerAgents are already installed");
16
- console.debug("WorkerAgents", WorkerUrl);
17
- const message = Messenger.for(new Worker(WorkerUrl, { type: "module" }));
16
+ console.debug("WorkerAgents", WorkersUrl);
17
+ const message = Messenger.for(new Worker(WorkersUrl, { type: "module" }));
18
18
  this.messenger = Option.wrap(message);
19
19
  const { resolve, promise } = Promise.withResolvers();
20
20
  const subscription = message.channel("initialize").subscribe(data => {
@@ -0,0 +1,3 @@
1
+ export declare const WorkletsUrl: string;
2
+ export declare const WorkersUrl: string;
3
+ //# sourceMappingURL=asset-urls.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asset-urls.d.ts","sourceRoot":"","sources":["../src/asset-urls.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,QAAyD,CAAA;AACjF,eAAO,MAAM,UAAU,QAAsD,CAAA"}
@@ -0,0 +1,2 @@
1
+ export const WorkletsUrl = new URL("./processors.js", import.meta.url).toString();
2
+ export const WorkersUrl = new URL("./workers.js", import.meta.url).toString();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendaw/studio-core",
3
- "version": "0.0.31",
3
+ "version": "0.0.32",
4
4
  "license": "LGPL-3.0-or-later",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -16,9 +16,11 @@
16
16
  "./processors.js": "./dist/processors.js"
17
17
  },
18
18
  "files": [
19
- "dist/**/*",
20
- "dist/workers.js",
21
- "dist/processors.js"
19
+ "dist/**"
20
+ ],
21
+ "sideEffects": [
22
+ "dist/processors.js",
23
+ "dist/workers.js"
22
24
  ],
23
25
  "scripts": {
24
26
  "build": "tsc",
@@ -45,5 +47,5 @@
45
47
  "@opendaw/studio-forge-boxes": "^0.0.27",
46
48
  "@opendaw/typescript-config": "^0.0.20"
47
49
  },
48
- "gitHead": "b3c6f87d2fd02cd2907804b5728dc96153b490bb"
50
+ "gitHead": "05c5b90915986983ab319169f389ee6dae9c3312"
49
51
  }