@silvana-one/nft 0.2.1 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +19 -1
  2. package/package.json +12 -13
package/README.md CHANGED
@@ -2,8 +2,24 @@
2
2
 
3
3
  The MinaNFT project is an innovative Non-Fungible Token (NFT) platform that integrates the unique privacy features of the Mina blockchain. It is designed to redefine the NFT space by offering a range of functionalities that go beyond traditional NFT capabilities.
4
4
 
5
+ ## Documentation
6
+
7
+ https://docs.minanft.io/
8
+
9
+ ## Frontend
10
+
11
+ https://devnet.minanft.io/
12
+
13
+ ## API
14
+
15
+ Docs: https://docs.minanft.io/
16
+ Example: https://github.com/SilvanaOne/token-api-example/blob/main/tests/nft.test.ts
17
+ API monitoring and keys: https://minatokens.com/api
18
+
5
19
  ## Contracts Code
6
20
 
21
+ https://github.com/SilvanaOne/silvana-lib/tree/main/packages/nft
22
+
7
23
  ### NFT Standard Contracts
8
24
 
9
25
  Main contracts: packages/nft/src/contracts/
@@ -36,7 +52,9 @@ UpgradeAuthority: packages/upgradable
36
52
 
37
53
  ### Tests
38
54
 
39
- Test are available at https://github.com/dfstio/nft-standard-worker/tree/audit
55
+ Tests are available at packages/nft/test
56
+
57
+ See [TESTS.md](TESTS.md) for more information how to run tests
40
58
 
41
59
  ## Project Background
42
60
 
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@silvana-one/nft",
3
3
  "description": "Mina NFT library",
4
- "version": "0.2.1",
4
+ "version": "0.2.3",
5
5
  "author": "DFST",
6
6
  "bugs": "https://github.com/SilvanaOne/silvana-lib/issues",
7
7
  "dependencies": {
8
8
  "tslib": "^2.8.1"
9
9
  },
10
10
  "devDependencies": {
11
- "@silvana-one/mina-utils": "0.2.1",
12
- "@silvana-one/storage": "0.2.1",
13
- "@silvana-one/token": "0.2.1",
14
- "@silvana-one/upgradable": "0.2.1",
11
+ "@silvana-one/mina-utils": "0.2.3",
12
+ "@silvana-one/storage": "0.2.3",
13
+ "@silvana-one/token": "0.2.3",
14
+ "@silvana-one/upgradable": "0.2.3",
15
15
  "@types/node": "^22.13.8",
16
16
  "c8": "^10.1.3",
17
17
  "dotenv": "^16.4.7",
@@ -50,9 +50,9 @@
50
50
  "license": "Apache-2.0",
51
51
  "main": "dist/web/index.js",
52
52
  "peerDependencies": {
53
- "@silvana-one/storage": "0.2.1",
54
- "@silvana-one/token": "0.2.1",
55
- "@silvana-one/upgradable": "0.2.1",
53
+ "@silvana-one/storage": "0.2.3",
54
+ "@silvana-one/token": "0.2.3",
55
+ "@silvana-one/upgradable": "0.2.3",
56
56
  "o1js": "^2.2.0"
57
57
  },
58
58
  "publishConfig": {
@@ -63,11 +63,12 @@
63
63
  "build": "rm -rf dist && tsc --build tsconfig.node.json && tsc --build tsconfig.web.json && node build-cjs.js",
64
64
  "login": "npm login",
65
65
  "release": "npm publish --access public",
66
- "coverage": "rm -rf coverage && c8 npm run local:all",
66
+ "coverage": "rm -rf coverage && node --max-old-space-size=8192 ../../node_modules/.bin/c8 --merge-async npm run local:all",
67
+ "coverage:report": "node --max-old-space-size=8192 ../../node_modules/.bin/c8 report",
67
68
  "test": "NODE_NO_WARNINGS=1 node --loader=ts-node/esm --enable-source-maps -r dotenv/config --require dotenv/config --env-file=.env --test",
68
69
  "local:agent": "CHAIN=local CLOUD=local DEPLOY=true MINT=true TRANSFER=true SELL=true BUY=true npm run test test/agent.test.ts",
69
70
  "devnet:agent": "CHAIN=devnet DEPLOY=true MINT=true TRANSFER=true SELL=true BUY=true npm run test test/agent.test.ts",
70
- "local:contract": "CHAIN=local CLOUD=local ADVANCED=false npm run test test/contract.test.ts",
71
+ "local:contract": "CHAIN=local CLOUD=local ADVANCED=true npm run test test/contract.test.ts",
71
72
  "devnet:contract": "CHAIN=devnet CLOUD=local ADVANCED=false npm run test test/contract.test.ts",
72
73
  "lightnet:contract": "CHAIN=lightnet CLOUD=local ADVANCED=false npm run test test/contract.test.ts",
73
74
  "zeko:contract": "CHAIN=zeko CLOUD=local ADVANCED=false npm run test test/contract.test.ts",
@@ -114,9 +115,7 @@
114
115
  ".ts"
115
116
  ],
116
117
  "include": [
117
- "src/**",
118
- "../packages/upgradable/src/**",
119
- "../packages/storage/src/**"
118
+ "src/**"
120
119
  ],
121
120
  "exclude": [
122
121
  "test/**",