dexie-cloud-addon 4.1.0-beta.47 → 4.1.0-beta.48

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.
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * ==========================================================================
10
10
  *
11
- * Version 4.1.0-beta.47, Mon May 12 2025
11
+ * Version 4.1.0-beta.48, Tue Jun 03 2025
12
12
  *
13
13
  * https://dexie.org
14
14
  *
@@ -3068,8 +3068,12 @@
3068
3068
  }
3069
3069
  }
3070
3070
  : hasArrayBufferToBase64
3071
- ? // @ts-ignore https://github.com/tc39/proposal-arraybuffer-base64
3072
- (b) => b.toBase64() // Modern Javascript standard
3071
+ ? (b) => {
3072
+ // Uint8Array.prototype.toBase64 is available in modern browsers
3073
+ const u8a = ArrayBuffer.isView(b) ? b : new Uint8Array(b);
3074
+ // @ts-ignore: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array/toBase64
3075
+ return u8a.toBase64();
3076
+ }
3073
3077
  : (b) => {
3074
3078
  // Legacy DOM workaround
3075
3079
  const u8a = ArrayBuffer.isView(b) ? b : new Uint8Array(b);
@@ -8449,7 +8453,7 @@
8449
8453
  const syncComplete = new rxjs.Subject();
8450
8454
  dexie.cloud = {
8451
8455
  // @ts-ignore
8452
- version: "4.1.0-beta.47",
8456
+ version: "4.1.0-beta.48",
8453
8457
  options: Object.assign({}, DEFAULT_OPTIONS),
8454
8458
  schema: null,
8455
8459
  get currentUserId() {
@@ -8767,7 +8771,7 @@
8767
8771
  }
8768
8772
  }
8769
8773
  // @ts-ignore
8770
- dexieCloud.version = "4.1.0-beta.47";
8774
+ dexieCloud.version = "4.1.0-beta.48";
8771
8775
  Dexie.Cloud = dexieCloud;
8772
8776
 
8773
8777
  exports.default = dexieCloud;