Kaynağa Gözat

Merge pull request #3182 from pyth-network/bduran/solidity-package-missing-sol-files

fix(pyth-sdk-solidity): removed file glob that pointed to nothing and added an .npmignore to prevent extraneous things from being included
Ben Duran 1 hafta önce
ebeveyn
işleme
c7feb83e72

+ 4 - 0
target_chains/ethereum/sdk/solidity/.npmignore

@@ -0,0 +1,4 @@
+.gitignore
+.prettierignore
+prettier.config.js
+turbo.json

+ 2 - 5
target_chains/ethereum/sdk/solidity/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@pythnetwork/pyth-sdk-solidity",
-  "version": "4.3.0",
+  "version": "4.3.1",
   "description": "Read prices from the Pyth oracle",
   "type": "module",
   "repository": {
@@ -32,10 +32,7 @@
     "prettier-plugin-solidity": "catalog:",
     "solc": "^0.8.25"
   },
-  "files": [
-    "dist/**/*"
-  ],
   "engines": {
     "node": ">=22.14.0"
   }
-}
+}