@tarojs/taro 4.0.9-alpha.1 → 4.0.9-alpha.2

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": "@tarojs/taro",
3
- "version": "4.0.9-alpha.1",
3
+ "version": "4.0.9-alpha.2",
4
4
  "description": "Taro framework",
5
5
  "author": "O2Team",
6
6
  "license": "MIT",
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@types/postcss-url": "^10.0.4",
27
- "@tarojs/api": "4.0.9-alpha.1",
28
- "@tarojs/runtime": "4.0.9-alpha.1"
27
+ "@tarojs/api": "4.0.9-alpha.2",
28
+ "@tarojs/runtime": "4.0.9-alpha.2"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@types/react": "^18.3.1",
@@ -35,9 +35,9 @@
35
35
  "webpack-chain": "^6.5.1",
36
36
  "webpack-dev-server": "^4.15.2",
37
37
  "rollup": "^3.29.4",
38
- "@tarojs/components": "4.0.9-alpha.1",
39
- "@tarojs/helper": "4.0.9-alpha.1",
40
- "@tarojs/shared": "4.0.9-alpha.1"
38
+ "@tarojs/components": "4.0.9-alpha.2",
39
+ "@tarojs/helper": "4.0.9-alpha.2",
40
+ "@tarojs/shared": "4.0.9-alpha.2"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "@types/react": "^18",
@@ -48,9 +48,9 @@
48
48
  "webpack": "^5",
49
49
  "webpack-chain": "^6",
50
50
  "webpack-dev-server": "^4",
51
- "@tarojs/components": "4.0.9-alpha.1",
52
- "@tarojs/helper": "4.0.9-alpha.1",
53
- "@tarojs/shared": "4.0.9-alpha.1"
51
+ "@tarojs/shared": "4.0.9-alpha.2",
52
+ "@tarojs/components": "4.0.9-alpha.2",
53
+ "@tarojs/helper": "4.0.9-alpha.2"
54
54
  },
55
55
  "peerDependenciesMeta": {
56
56
  "@types/react": {
@@ -740,7 +740,11 @@ declare module '../../index' {
740
740
  * ```
741
741
  * @see https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/WebAudioContext.decodeAudioData.html
742
742
  */
743
- decodeAudioData(): AudioBuffer
743
+ decodeAudioData(
744
+ audioData: ArrayBuffer,
745
+ successCallback: (buffer: AudioBuffer) => void,
746
+ errorCallback: (error: any) => void
747
+ ): Promise<AudioBuffer>
744
748
  }
745
749
 
746
750
  namespace WebAudioContext {