@mpxjs/api-proxy 2.10.17-beta.6 → 2.10.17-beta.8
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,10 +1,7 @@
|
|
|
1
1
|
import { fromByteArray, toByteArray } from './base64'
|
|
2
2
|
|
|
3
3
|
function base64ToArrayBuffer (base64) {
|
|
4
|
-
|
|
5
|
-
return toByteArray(base64)?.buffer
|
|
6
|
-
}
|
|
7
|
-
return toByteArray(base64)
|
|
4
|
+
return toByteArray(base64)?.buffer // 判断了一下,RN下也是要.buffer才是buffer类型
|
|
8
5
|
}
|
|
9
6
|
|
|
10
7
|
function arrayBufferToBase64 (arrayBuffer) {
|