@paulstinchcombe/gasless-nft-tx 0.20.7 → 0.20.8
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/package.json +60 -59
package/package.json
CHANGED
|
@@ -1,60 +1,61 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
2
|
+
"name": "@paulstinchcombe/gasless-nft-tx",
|
|
3
|
+
"version": "0.20.8",
|
|
4
|
+
"description": "Complete library for deploying and managing KAMI NFT contracts with truly gasless transactions using EIP-4337 Account Abstraction. Now compatible with OpenZeppelin Contracts v5.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsc && pnpm run copy-artifacts",
|
|
9
|
+
"copy-artifacts": "mkdir -p \"dist/KAMI Contracts/NFTs\" && cp -r \"src/KAMI Contracts/NFTs/artifacts\" \"dist/KAMI Contracts/NFTs/\" && cp -r \"src/KAMI Contracts/NFTs/libraries\" \"dist/KAMI Contracts/NFTs/\" 2>/dev/null || true && cp \"src/KAMI Contracts/NFTs\"/*.sol \"dist/KAMI Contracts/NFTs/\" 2>/dev/null || true && mkdir -p \"dist/KAMI Contracts/Paymaster\" && cp -r \"src/KAMI Contracts/Paymaster/artifacts\" \"dist/KAMI Contracts/Paymaster/\" 2>/dev/null || true && cp \"src/KAMI Contracts/Paymaster/KAMI-Paymaster.sol\" \"dist/KAMI Contracts/Paymaster/\" 2>/dev/null || true && mkdir -p \"dist/KAMI Contracts/SmartContractWallet\" && cp \"src/KAMI Contracts/SmartContractWallet\"/*.sol \"dist/KAMI Contracts/SmartContractWallet/\" 2>/dev/null || true",
|
|
10
|
+
"compile:contracts": "forge build && node scripts/rebuild-artifacts.cjs",
|
|
11
|
+
"compile:paymaster": "forge build",
|
|
12
|
+
"fund-paymaster": "tsx scripts/fund-kami-paymaster.ts",
|
|
13
|
+
"deploy-paymaster": "tsx scripts/deploy-kami-paymaster.ts",
|
|
14
|
+
"test": "vitest",
|
|
15
|
+
"test:coverage": "vitest --coverage",
|
|
16
|
+
"test:all": "pnpm exec tsx tests/run-tests.ts",
|
|
17
|
+
"test:infrastructure": "pnpm exec tsx tests/run-tests.ts infrastructure",
|
|
18
|
+
"test:sponsored": "pnpm exec tsx tests/run-tests.ts sponsored",
|
|
19
|
+
"test:legacy": "pnpm exec tsx tests/run-tests.ts legacy",
|
|
20
|
+
"test:utilities": "pnpm exec tsx tests/run-tests.ts utilities",
|
|
21
|
+
"dev": "tsc --watch",
|
|
22
|
+
"prepublishOnly": "pnpm run build",
|
|
23
|
+
"publish:beta": "pnpm publish --tag beta --access public",
|
|
24
|
+
"publish:dry-run": "pnpm publish --dry-run --access public"
|
|
25
|
+
},
|
|
26
|
+
"keywords": [
|
|
27
|
+
"ethereum",
|
|
28
|
+
"nft",
|
|
29
|
+
"gasless",
|
|
30
|
+
"simpleaccount",
|
|
31
|
+
"account-abstraction",
|
|
32
|
+
"openzeppelin-v5",
|
|
33
|
+
"erc721",
|
|
34
|
+
"erc1155"
|
|
35
|
+
],
|
|
36
|
+
"author": "Paul Stinchcombe | KAMI",
|
|
37
|
+
"license": "MIT",
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@account-abstraction/contracts": "0.7.0",
|
|
40
|
+
"ethers": "^6.13.0",
|
|
41
|
+
"ioredis": "^5.8.1",
|
|
42
|
+
"tslib": "^2.6.0",
|
|
43
|
+
"viem": "^2.21.0"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@types/node": "^20.0.0",
|
|
47
|
+
"@vitest/coverage-v8": "^1.0.0",
|
|
48
|
+
"anvil": "^0.0.6",
|
|
49
|
+
"tsx": "^4.20.6",
|
|
50
|
+
"typescript": "^5.0.0",
|
|
51
|
+
"vitest": "^1.0.0"
|
|
52
|
+
},
|
|
53
|
+
"files": [
|
|
54
|
+
"dist/**/*",
|
|
55
|
+
"README.md",
|
|
56
|
+
"LICENSE"
|
|
57
|
+
],
|
|
58
|
+
"engines": {
|
|
59
|
+
"node": ">=18.0.0"
|
|
60
|
+
}
|
|
61
|
+
}
|