@pru.pinya/contracts 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/index.js +5 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,5 +1,6 @@
1
- const KAP20 = require("./artifacts/contracts/token/KAP20.sol/KAP20.json");
2
- const KAP721 = require("./artifacts/contracts/nft/KAP721.sol/KAP721.json");
3
- const KAP1155 = require("./artifacts/contracts/multi/KAP1155.sol/KAP1155.json");
1
+ import KAP20 from "./artifacts/contracts/token/KAP-20/KAP20.sol/KAP20.json" with { type: "json" };
2
+ import KAP22 from "./artifacts/contracts/token/KAP-22/KAP22.sol/KAP22.json" with { type: "json" };
3
+ import KAP721 from "./artifacts/contracts/token/KAP-721/KAP721.sol/KAP721.json" with { type: "json" };
4
+ import KAP1155 from "./artifacts/contracts/token/KAP-1155/KAP1155.sol/KAP1155.json" with { type: "json" };
4
5
 
5
- module.exports = { KAP20, KAP721, KAP1155 };
6
+ export { KAP20, KAP22, KAP721, KAP1155 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pru.pinya/contracts",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "description": "KubChain smart contract library — KAP20, KAP721, KAP1155",
6
6
  "main": "index.js",