tone 14.9.13 → 14.9.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.
@@ -1,5 +1,4 @@
1
1
  export { getContext, setContext } from "./core/Global";
2
- import { BaseContext } from "./core/context/BaseContext";
3
2
  export * from "./classes";
4
3
  export * from "./version";
5
4
  import { ToneAudioBuffer } from "./core/context/ToneAudioBuffer";
@@ -8,13 +7,13 @@ import { Seconds } from "./core/type/Units";
8
7
  export { supported } from "./core/context/AudioContext";
9
8
  /**
10
9
  * The current audio context time of the global {@link BaseContext}.
11
- * @see {@link BaseContext.now}
10
+ * @see {@link Context.now}
12
11
  * @category Core
13
12
  */
14
13
  export declare function now(): Seconds;
15
14
  /**
16
- * The current audio context time of the global {@link BaseContext} without the {@link BaseContext.lookAhead}
17
- * @see {@link BaseContext.immediate}
15
+ * The current audio context time of the global {@link Context} without the {@link Context.lookAhead}
16
+ * @see {@link Context.immediate}
18
17
  * @category Core
19
18
  */
20
19
  export declare function immediate(): Seconds;
@@ -75,10 +74,10 @@ export declare const Draw: import("./core/util/Draw").DrawClass;
75
74
  export declare function getDraw(): import("./core/util/Draw").DrawClass;
76
75
  /**
77
76
  * A reference to the global context
78
- * @see {@link BaseContext}
77
+ * @see {@link Context}
79
78
  * @deprecated Use {@link getContext} instead
80
79
  */
81
- export declare const context: BaseContext;
80
+ export declare const context: import("./classes").BaseContext;
82
81
  /**
83
82
  * Promise which resolves when all of the loading promises are resolved.
84
83
  * Alias for static {@link ToneAudioBuffer.loaded} method.
@@ -7,15 +7,15 @@ export { start } from "./core/Global";
7
7
  export { supported } from "./core/context/AudioContext";
8
8
  /**
9
9
  * The current audio context time of the global {@link BaseContext}.
10
- * @see {@link BaseContext.now}
10
+ * @see {@link Context.now}
11
11
  * @category Core
12
12
  */
13
13
  export function now() {
14
14
  return getContext().now();
15
15
  }
16
16
  /**
17
- * The current audio context time of the global {@link BaseContext} without the {@link BaseContext.lookAhead}
18
- * @see {@link BaseContext.immediate}
17
+ * The current audio context time of the global {@link Context} without the {@link Context.lookAhead}
18
+ * @see {@link Context.immediate}
19
19
  * @category Core
20
20
  */
21
21
  export function immediate() {
@@ -86,7 +86,7 @@ export function getDraw() {
86
86
  }
87
87
  /**
88
88
  * A reference to the global context
89
- * @see {@link BaseContext}
89
+ * @see {@link Context}
90
90
  * @deprecated Use {@link getContext} instead
91
91
  */
92
92
  export const context = getContext();
@@ -1,2 +1,2 @@
1
- export const version = "14.9.13";
1
+ export const version = "14.9.15";
2
2
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tone",
3
- "version": "14.9.13",
3
+ "version": "14.9.15",
4
4
  "description": "A Web Audio framework for making interactive music in the browser.",
5
5
  "browser": "build/Tone.js",
6
6
  "main": "build/esm/index.js",