Browse Source

fix: fixed typing portability

benduran 3 weeks ago
parent
commit
998c74887b

+ 1 - 1
apps/entropy-tester/package.json

@@ -67,4 +67,4 @@
     "pnpm": ">=10.19.0"
   },
   "packageManager": "pnpm@10.19.0"
-}
+}

+ 7 - 2
apps/entropy-tester/tsconfig.build.json

@@ -7,5 +7,10 @@
     "declaration": true,
     "isolatedModules": false
   },
-  "exclude": ["node_modules", "dist", "examples/", "**/__tests__/*"]
-}
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/",
+    "**/__tests__/*"
+  ]
+}

+ 5 - 2
contract_manager/src/core/contracts/fuel.ts

@@ -279,7 +279,10 @@ export class FuelPriceFeedContract extends PriceFeedContract {
     };
   }
 
-  async executeUpdatePriceFeed(senderPrivateKey: PrivateKey, vaas: Buffer[]) {
+  async executeUpdatePriceFeed(
+    senderPrivateKey: PrivateKey,
+    vaas: Buffer[],
+  ): Promise<TxResult> {
     const wallet = await this.chain.getWallet(senderPrivateKey);
     const contract = await this.getContract(wallet);
     const priceFeedUpdateData = vaas.map((vaa) => new Uint8Array(vaa));
@@ -309,7 +312,7 @@ export class FuelPriceFeedContract extends PriceFeedContract {
   async executeGovernanceInstruction(
     senderPrivateKey: PrivateKey,
     vaa: Buffer,
-  ) {
+  ): Promise<TxResult> {
     const wallet = await this.chain.getWallet(senderPrivateKey);
     const contract = await this.getContract(wallet);
     const tx = await contract.functions

+ 1 - 1
target_chains/aptos/cli/package.json

@@ -70,4 +70,4 @@
   },
   "module": "./dist/esm/index.js",
   "types": "./dist/cjs/index.d.ts"
-}
+}

+ 7 - 2
target_chains/aptos/cli/tsconfig.build.json

@@ -6,5 +6,10 @@
     "declaration": true,
     "isolatedModules": false
   },
-  "exclude": ["node_modules", "dist", "examples/", "**/__tests__/*"]
-}
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/",
+    "**/__tests__/*"
+  ]
+}

+ 1 - 1
target_chains/cosmwasm/deploy-scripts/package.json

@@ -90,4 +90,4 @@
     },
     "./package.json": "./package.json"
   }
-}
+}

+ 7 - 2
target_chains/cosmwasm/deploy-scripts/tsconfig.build.json

@@ -6,5 +6,10 @@
     "declaration": true,
     "isolatedModules": false
   },
-  "exclude": ["node_modules", "dist", "examples/", "**/__tests__/*"]
-}
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/",
+    "**/__tests__/*"
+  ]
+}

+ 1 - 1
target_chains/sui/cli-iota/package.json

@@ -77,4 +77,4 @@
   },
   "module": "./dist/esm/index.js",
   "types": "./dist/cjs/index.d.ts"
-}
+}

+ 7 - 2
target_chains/sui/cli-iota/tsconfig.build.json

@@ -6,5 +6,10 @@
     "declaration": true,
     "isolatedModules": false
   },
-  "exclude": ["node_modules", "dist", "examples/", "**/__tests__/*"]
-}
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/",
+    "**/__tests__/*"
+  ]
+}

+ 1 - 1
target_chains/sui/cli/package.json

@@ -77,4 +77,4 @@
   "module": "./dist/esm/index.js",
   "types": "./dist/cjs/index.d.ts",
   "main": "./dist/cjs/index.js"
-}
+}

+ 7 - 2
target_chains/sui/cli/tsconfig.build.json

@@ -6,5 +6,10 @@
     "declaration": true,
     "isolatedModules": false
   },
-  "exclude": ["node_modules", "dist", "examples/", "**/__tests__/*"]
-}
+  "exclude": [
+    "node_modules",
+    "dist",
+    "examples/",
+    "**/__tests__/*"
+  ]
+}