jubo-sdk 1.4.0-beta.1 → 1.5.0-beta.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/dist/JuboSdk.d.ts CHANGED
@@ -94,12 +94,6 @@ declare class JuboSdk {
94
94
  * @param content 内容
95
95
  */
96
96
  writeToClipboard(content: string): void;
97
- /**
98
- * 保存图片到相册
99
- * @environment [ios, android]
100
- * @param content 内容
101
- */
102
- saveImageToAlbum(base64: string): void;
103
97
  /**
104
98
  * 隐藏或显示原生导航栏
105
99
  * @environment [ios, android]
@@ -92,12 +92,6 @@ declare class OldJuboSdk {
92
92
  * @param content 内容
93
93
  */
94
94
  writeToClipboard(content: string): void;
95
- /**
96
- * 保存图片到相册
97
- * @environment [ios, android]
98
- * @param base64 内容
99
- */
100
- saveImageToAlbum(base64: string): void;
101
95
  /**
102
96
  * 隐藏或显示原生导航栏
103
97
  * @environment [ios, android]
package/dist/index.cjs.js CHANGED
@@ -6782,19 +6782,6 @@ var OldJuboSdk = /** @class */function () {
6782
6782
  console.log('🚀 ~ file: OldJuboSdk.ts:270 ~ OldJuboSdk ~ title:', content);
6783
6783
  }
6784
6784
  });
6785
- /**
6786
- * 保存图片到相册
6787
- * @environment [ios, android]
6788
- * @param base64 内容
6789
- */
6790
- Object.defineProperty(OldJuboSdk.prototype, "saveImageToAlbum", {
6791
- enumerable: false,
6792
- configurable: true,
6793
- writable: true,
6794
- value: function value(base64) {
6795
- console.log('🚀 ~ file: OldJuboSdk.ts:270 ~ OldJuboSdk ~ title:', base64);
6796
- }
6797
- });
6798
6785
  /**
6799
6786
  * 隐藏或显示原生导航栏
6800
6787
  * @environment [ios, android]
@@ -7652,27 +7639,6 @@ var JuboSdk = /** @class */function () {
7652
7639
  }
7653
7640
  }
7654
7641
  });
7655
- /**
7656
- * 保存图片到相册
7657
- * @environment [ios, android]
7658
- * @param content 内容
7659
- */
7660
- Object.defineProperty(JuboSdk.prototype, "saveImageToAlbum", {
7661
- enumerable: false,
7662
- configurable: true,
7663
- writable: true,
7664
- value: function value(base64) {
7665
- console.log('juboSDK.saveImageToAlbum', base64);
7666
- if (!this.detection && this.isMiniProgram) return;
7667
- try {
7668
- dsBridge.call('saveImageToAlbum', {
7669
- base64: base64
7670
- });
7671
- } catch (error) {
7672
- console.log('🚀 ~ juboSDK.saveImageToAlbum', error);
7673
- }
7674
- }
7675
- });
7676
7642
  /**
7677
7643
  * 隐藏或显示原生导航栏
7678
7644
  * @environment [ios, android]
@@ -7966,6 +7932,6 @@ exports.default = JuboSdk;
7966
7932
  exports.ls = ls;
7967
7933
 
7968
7934
  if(typeof window !== 'undefined') {
7969
- window._juboSDK_VERSION_ = '1.4.0-beta.1'
7935
+ window._juboSDK_VERSION_ = '1.5.0-beta.2'
7970
7936
  }
7971
7937
  //# sourceMappingURL=index.cjs.js.map