@marigoldlabs/web3-tester 0.1.0
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/.env.example +27 -0
- package/README.md +181 -0
- package/dist/anvil.d.ts +52 -0
- package/dist/anvil.d.ts.map +1 -0
- package/dist/anvil.js +203 -0
- package/dist/anvil.js.map +1 -0
- package/dist/errors.d.ts +4 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +25 -0
- package/dist/errors.js.map +1 -0
- package/dist/fixtures.d.ts +15 -0
- package/dist/fixtures.d.ts.map +1 -0
- package/dist/fixtures.js +87 -0
- package/dist/fixtures.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/dist/injected-provider.d.ts +5 -0
- package/dist/injected-provider.d.ts.map +1 -0
- package/dist/injected-provider.js +141 -0
- package/dist/injected-provider.js.map +1 -0
- package/dist/live-fixtures.d.ts +9 -0
- package/dist/live-fixtures.d.ts.map +1 -0
- package/dist/live-fixtures.js +33 -0
- package/dist/live-fixtures.js.map +1 -0
- package/dist/mock-wallet-controller.d.ts +41 -0
- package/dist/mock-wallet-controller.d.ts.map +1 -0
- package/dist/mock-wallet-controller.js +224 -0
- package/dist/mock-wallet-controller.js.map +1 -0
- package/dist/private-key-rpc-client.d.ts +23 -0
- package/dist/private-key-rpc-client.d.ts.map +1 -0
- package/dist/private-key-rpc-client.js +112 -0
- package/dist/private-key-rpc-client.js.map +1 -0
- package/dist/types.d.ts +41 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/docs/API.md +175 -0
- package/docs/ARCHITECTURE.md +81 -0
- package/docs/CONSUMING_FROM_FJORD.md +123 -0
- package/docs/FJORD_LIVE_QA.md +87 -0
- package/docs/RELEASE_CHECKLIST.md +49 -0
- package/examples/live-sepolia.spec.ts +21 -0
- package/examples/local-wallet.spec.ts +34 -0
- package/examples/playwright.config.ts +16 -0
- package/package.json +70 -0
package/package.json
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@marigoldlabs/web3-tester",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"description": "A Playwright, Anvil, and Viem based Web3 E2E harness with an injected programmable wallet provider.",
|
|
7
|
+
"license": "UNLICENSED",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/AndyMarigoldLabs/web3-tester.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/AndyMarigoldLabs/web3-tester/issues"
|
|
14
|
+
},
|
|
15
|
+
"homepage": "https://github.com/AndyMarigoldLabs/web3-tester#readme",
|
|
16
|
+
"main": "./dist/index.js",
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"import": "./dist/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./anvil": {
|
|
24
|
+
"types": "./dist/anvil.d.ts",
|
|
25
|
+
"import": "./dist/anvil.js"
|
|
26
|
+
},
|
|
27
|
+
"./fixtures": {
|
|
28
|
+
"types": "./dist/fixtures.d.ts",
|
|
29
|
+
"import": "./dist/fixtures.js"
|
|
30
|
+
},
|
|
31
|
+
"./live-fixtures": {
|
|
32
|
+
"types": "./dist/live-fixtures.d.ts",
|
|
33
|
+
"import": "./dist/live-fixtures.js"
|
|
34
|
+
},
|
|
35
|
+
"./mock-wallet-controller": {
|
|
36
|
+
"types": "./dist/mock-wallet-controller.d.ts",
|
|
37
|
+
"import": "./dist/mock-wallet-controller.js"
|
|
38
|
+
},
|
|
39
|
+
"./private-key-rpc-client": {
|
|
40
|
+
"types": "./dist/private-key-rpc-client.d.ts",
|
|
41
|
+
"import": "./dist/private-key-rpc-client.js"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"dist",
|
|
46
|
+
"docs",
|
|
47
|
+
"examples",
|
|
48
|
+
"README.md",
|
|
49
|
+
".env.example"
|
|
50
|
+
],
|
|
51
|
+
"scripts": {
|
|
52
|
+
"build": "tsc -p tsconfig.build.json",
|
|
53
|
+
"clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
|
|
54
|
+
"prepare": "npm run build",
|
|
55
|
+
"test": "playwright test",
|
|
56
|
+
"typecheck": "tsc --noEmit",
|
|
57
|
+
"verify": "npm run typecheck && npm run build && npm test"
|
|
58
|
+
},
|
|
59
|
+
"dependencies": {
|
|
60
|
+
"viem": "^2.39.3"
|
|
61
|
+
},
|
|
62
|
+
"peerDependencies": {
|
|
63
|
+
"@playwright/test": ">=1.56.0"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@playwright/test": "^1.56.1",
|
|
67
|
+
"@types/node": "^24.10.1",
|
|
68
|
+
"typescript": "^5.9.3"
|
|
69
|
+
}
|
|
70
|
+
}
|