@ape.swap/bonds-sdk 2.0.7-test.2 → 2.0.7-test.3

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/main.js CHANGED
@@ -70802,6 +70802,28 @@ const remove0xPrefix = (str) => {
70802
70802
  return str;
70803
70803
  };
70804
70804
 
70805
+ const styles$a = {
70806
+ linkShareButton: {
70807
+ background: 'migration',
70808
+ width: '36px',
70809
+ height: '26px',
70810
+ justifyContent: 'center',
70811
+ alignItems: 'center',
70812
+ borderRadius: '8px',
70813
+ cursor: 'pointer',
70814
+ },
70815
+ containerLinksShare: {
70816
+ position: 'absolute',
70817
+ height: '28px',
70818
+ right: '8.5px',
70819
+ top: '9px',
70820
+ justifyContent: 'center',
70821
+ alignItems: 'center',
70822
+ gap: '10px',
70823
+ zIndex: 3,
70824
+ },
70825
+ };
70826
+
70805
70827
  var domToImage = {exports: {}};
70806
70828
 
70807
70829
  (function (module) {
@@ -71663,28 +71685,6 @@ function getTemplateHTML(data) {
71663
71685
  `;
71664
71686
  }
71665
71687
 
71666
- const styles$a = {
71667
- linkShareButton: {
71668
- background: 'migration',
71669
- width: '36px',
71670
- height: '26px',
71671
- justifyContent: 'center',
71672
- alignItems: 'center',
71673
- borderRadius: '8px',
71674
- cursor: 'pointer',
71675
- },
71676
- containerLinksShare: {
71677
- position: 'absolute',
71678
- height: '28px',
71679
- right: '8.5px',
71680
- top: '9px',
71681
- justifyContent: 'center',
71682
- alignItems: 'center',
71683
- gap: '10px',
71684
- zIndex: 3,
71685
- },
71686
- };
71687
-
71688
71688
  function generateImageFromTemplate(bondNFTData, link, apiUrl) {
71689
71689
  return __awaiter$9(this, void 0, void 0, function* () {
71690
71690
  var _a;
@@ -71740,6 +71740,7 @@ function checkImageExists(fileName) {
71740
71740
  return existImg;
71741
71741
  });
71742
71742
  }
71743
+
71743
71744
  const LinkShare = ({ bondNFTData, userBill, }) => {
71744
71745
  var _a;
71745
71746
  const mainUrl = useURLByEnvironment('mainUrl');
@@ -0,0 +1,2 @@
1
+ import { UserBillNftData } from "../../../../types/yourbonds";
2
+ export declare function generateImageFromTemplate(bondNFTData: UserBillNftData | undefined, link: string, apiUrl: string): Promise<void>;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Ape Bond SDK",
4
4
  "author": "Ape Bond",
5
5
  "license": "MIT",
6
- "version": "2.0.7-test.2",
6
+ "version": "2.0.7-test.3",
7
7
  "module": "dist/main.js",
8
8
  "type": "module",
9
9
  "types": "dist/main.d.ts",